/* 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; background-image: url('css-pattern-by-magicpattern.png'); } 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{ --beige:#F9F6E6; --lt-green:#b6c692; --green:#6a8330; --md-green:#445c1d; --dk-green:#2e3d0e; --brown:#6b3a20; --dk-brown:#3a2119; --font-family: "Moirai One", system-ui; --h2: "Buda", serif; } header{ width: 1000px; margin: 0 auto; background-color:var(--green); padding: 20px; box-sizing: border-box; text-align: center; } .logo{ margin-left: -50rem; border-radius: 50px; } h1{ font-size: 4rem; margin-top: -110px; padding: 30px; color: var(--beige); font-family: var(--font-family); } nav ul { text-align: center; padding: 0; margin: 0; list-style: none; } nav li { display: inline-block; padding: 10px; font-size: 1.5rem; font-family: var(--h2); } nav li a{ text-decoration: none; color: var(--beige); } nav li a:hover{ color:var(--dk-green); } nav li a:active{ color:var(--lt-green); } main{ width: 1000px; height: 600px; margin: 0 auto; background-color: beige; padding: 100px 20px; box-sizing: border-box; display: flex; gap: 60px; align-items: flex-start; } main { width: 1000px; margin: 0 auto; background-color: beige; padding: 100px 20px; box-sizing: border-box; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 10px 60px; align-items: start; } main > h2 { grid-column: 1; grid-row: 1; font-size: 2rem; margin: 0 0 10px 0; color: var(--dk-brown); font-family: var(--h2); } main > p { grid-column: 1; grid-row: 2; font-size: 1.2rem; line-height: 1.2; margin: 0; text-align: left; color: var(--dk-brown); } main > iframe { grid-column: 2; grid-row: 1 / 3; width: 560px; height: 315px; border: none; } footer{ background-color: var(--md-green); color: var(--beige); width: 1000px; margin: 0 auto; padding: 40px; box-sizing: border-box; text-align: center; }