/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } :root { --main-bg: #E8D7B9; --text-color: #1E1E1E; --lt-orange:#EC8D00; --lt-green:#9F8D1F; --lt-red:#E8644B; } .ibm-plex-sans-regular { font-family: "IBM Plex Sans", sans-serif; font-weight: 400; font-style: normal; } .ibm-plex-sans-medium { font-family: "IBM Plex Sans", sans-serif; font-weight: 500; font-style: normal; } .ibm-plex-sans-semibold { font-family: "IBM Plex Sans", sans-serif; font-weight: 600; font-style: normal; } .ibm-plex-sans-bold { font-family: "IBM Plex Sans", sans-serif; font-weight: 700; font-style: normal; } .fraunces-regular { font-family: "Fraunces", serif; font-weight: 400; font-style: normal; font-variation-settings: "SOFT" 0, "WONK" 0; } body { width: 1440px; margin: 0 auto; background-color: var(--main-bg); } header, main, footer { width: 100%; max-width: 1440px; margin: 0 auto; background-color: var(--main-bg); } header, footer { text-align: center; } header { display: flex; flex-direction: row; align-items: center; border-bottom: 2px solid var(--lt-green); } h1 { display: flex; float: left; padding: 20px; font-size: 2rem; font-family: "Fraunces", "Times New Roman", serif; font-weight: 400; } h1 > a { text-decoration: none; color: var(--text-color); } h1 a:hover { cursor: pointer; text-decoration: 2px var(--lt-green) underline; } h1 a:focus { border: 4px solid var(--lt-green); } nav { width: 75%; } nav .current { padding-bottom: 4%; border-bottom: 2px dashed #9F8D1F; } nav ul { display: flex; justify-content: flex-end; } nav a { padding: 1rem 1rem; text-decoration: none; font-weight: bold; font-family: "Fraunces", "Times New Roman", serif; color: var(--text-color); } nav a:hover{ color: var(--text-color); background-color: var(--lt-green); } nav a:focus { border: 4px solid var(--lt-green); } .hero { width: 100%; } p { font-family: "IBM Plex Sans", Arial, sans-serif; font-size: 1rem; color: var(--text-color); } .intro { margin: 0 auto; padding: 1rem; text-align: center; } h2 { font-family: "Fraunces", "Times New Roman", serif; font-size: 1.5rem; font-weight: 700; color: var(--text-color); padding: 1rem; margin: 0 auto; } .intro p { padding: 26px; margin: 0 auto; max-width: 60ch; } .amenities { display: flex; justify-content: center; padding: 2rem; } .amenities h3 { font-family: "Fraunces", "Times New Roman", serif; font-size: 1.25rem; font-weight: 700; color: var(--text-color); padding-top:20%; padding-left: 2rem; padding-bottom: 1rem; } .amenities img { align-items: center; max-width: 590px; max-height: 360px; } .amenities p { align-items: center; max-width: 60ch; padding-left: 2rem; } .escape { display: flex; justify-content: center; padding: 2rem; } .escape h3 { font-family: "Fraunces", "Times New Roman", serif; font-size: 1.25rem; font-weight: 700; color: var(--text-color); padding-top:20%; padding-left: 2rem; padding-bottom: 1rem; } .escape img { align-items: center; max-width: 590px; max-height: 360px; } .escape p { align-items: center; max-width: 60ch; padding-left: 2rem; } .contact { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; } .hero-img { grid-column: 1 / 5; grid-row: 1 / 2; } .hero-img > img { width: 100%; margin-top: 12px; } .info { grid-column: 2 / 3; grid-row: 2 / 3; padding-bottom: 12px; margin-bottom: 12px; } .info > p { margin: 0 auto; padding: 18px; } p > span { font-style: italic; padding-bottom: 12px; margin-bottom: 12px; } .form { grid-column: 3 / 4; grid-row: 2 / 3; margin-bottom: 12px; padding-bottom: 12px; } form { display: flex; flex-direction: column; padding: 12px; margin-top: 10%; justify-content: center; align-content: center; } label { font-family: "IBM Plex Sans", Arial, sans-serif; font-size: 1.15rem; font-weight: 700; padding-bottom: 8px; padding-top: 8px; } input { max-height: 40px; padding: 8px; } input:focus { border: 4px solid var(--lt-green); } input:invalid { border: 2px solid var(--lt-red); } fieldset { padding: 16px; margin-top: 16px; border: 2px groove #EC8D00; } legend { font-family: "IBM Plex Sans", Arial, sans-serif; font-size: 1rem; font-weight: 700; padding: 2px; margin: 2px; } fieldset > input, fieldset > label { margin-left: 6px; margin-right: 6px; padding-left: 6px; padding-right: 6px; } textarea { height: 60px; max-height: 80px; margin-top: 8px; margin-bottom: 8px; } textarea:focus { border: 4px solid var(--lt-green); } textarea:invalid { border: 2px solid var(--lt-red); } .required { color: red; } #my-submit { background-color: var(--lt-orange); font-family: "Fraunces", "Times New Roman", serif; font-size: 1.25rem; height: 40px; max-height: 40px; border-radius: 5px; border: none; stroke: none; color: var(--text-color); text-align: center; padding: 6px; margin-top: 12px; } #my-submit:hover { background-color: var(--lt-green); cursor: pointer; } #my-submit:focus { border: 4px solid var(--lt-green); background-color: var(--main-bg); } footer { max-width: 1440px; padding: 26px; margin: 0 auto; border-top: 2px solid var(--lt-orange); } footer p { padding-bottom:26px; }