@font-face { font-family: Montserrat; src: url(fonts/Montserrat-VariableFont_wght.ttf); } @font-face { font-family: Montserrat-italic; src: url(fonts/Montserrat-Italic-VariableFont_wght.ttf); } @font-face { font-family: VG5000; src: url(fonts/VG5000-Regular.otf); } *{ overflow-x: hidden; } body{ font-family: Montserrat; } .nav{ width: 100%; z-index: 9001; background-color: #212529; position: fixed; top: -2%; left: 0; } .nav>h3{ font-size: 1.5em; color: #81d742; font-family: VG5000; width: fit-content; } .menu{ display: none; width: fit-content; margin: auto; color: white; font-weight: lighter; padding-bottom: 2vh; display: block; } .landingimage{ background: url("images/postcard.jpg"); background-size: 100vw 600px; background-repeat: no-repeat; width: 100vw; height: 600px; } .imagedescription{ background: rgba(5, 5, 5, 0.3); position: relative; top: 92%; left: 2%; padding: 4px; width: fit-content; color: rgba(255,255,255,0.7); pointer-events: none; } h1{ font-family: VG5000; font-size: clamp(1.5rem, 1rem + 9vw, 6rem); } p{ font-size: larger; } .index{ background: #81d742; width: 100%; } .index>*{ padding: 2%; max-width: 70ch; text-align: center; margin: auto; } .tours{ display: flex; flex-wrap: wrap; justify-content: space-around; margin-top: 50px; max-width: 2000px; } .tourcard{ position: relative; max-width: 500px; margin: 2%; flex-grow: 1; } .tourcard >img{ width: 100%; } .tour-text{ position: absolute; width: 80%; bottom:8%; left: 8%; padding: 2%; font-family:Montserrat; font-size: .7em; background: white; } .reviews{ width: 90vw; text-wrap: wrap; } .review>p{ margin-left: 2%; } .review:nth-child(odd){ background-color: #ececec; } @media only screen and (min-width: 801px) { .nav{ width: 90vw; max-width: 1500px; z-index: 9001; display: flex; align-items: center; position: fixed; left: 5vw; } .nav>h3{ color: #81d742; padding-left: 2%; font-family: VG5000; } .menu{ width: 80%; display: flex; color: white; font-weight: lighter; justify-content: space-evenly; background-color: rgba(0, 0, 0, 0); } }