@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@600&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap'); /* -- CSS RESET -- */ /* 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; } /* -- END CSS RESET -- */ /* variables */ :root { --silver: #dfdcd6; --green: #8a9174; --peach: #c9a989; --gold: #c6925d; --red: #c6605d; } body { background-color: var(--red); font-family: "Open Sans", sans-serif; font-size: 1rem; font-optical-sizing: auto; font-weight: 400; font-style: normal; font-variation-settings: "wdth" 100; } #container { max-width: 1280px; margin: auto 0; } /* header */ header { display: flex; flex-direction: column; } header a { text-decoration: none; color: var(--silver); } h1 { font-family: "Fredoka", sans-serif; font-size: 2.8rem; font-optical-sizing: auto; font-weight: 500; font-style: normal; font-variation-settings: "wdth" 100; margin: 2rem 0 0 2rem; } nav { font-family: Tahoma, Verdana, sans-serif; margin-bottom: 1rem; } nav ul { display: flex; justify-content: flex-end; gap: 2rem; padding: 1rem; font-size: 1.5rem; } nav li { margin: 0 8px 0 8px; } nav li a:hover { background-color: var(--gold); transition: background-color 0.3s ease; } /* main */ main { background-color: var(--silver); padding: 2rem; text-align: center; align-items: center; justify-content: center; } main p { margin-bottom: 2rem; } section { display: flex; gap: 2rem; align-items: center; margin: 2rem; } .text-wrap { display: flex; flex-direction: column; gap: 2rem; } .text-wrap p { text-align: left; } h2 { font-size: 1.9rem; margin-bottom: 2rem; } h3 { font-size: 1.5rem; } /* form */ form { display: flex; flex-direction: column; gap: 1rem; max-width: 500px; width: 100%; } #form-wrap { display: flex; gap: 2rem; align-items: flex-start; justify-content: center; margin-top: 2rem; } /* footer */ footer { background-color: var(--green); text-align: center; justify-content: center; padding: 1rem; } footer p { padding: 5px; }