* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Source Sans Pro', sans-serif; } /*#maincon { width: 100vh; height: auto; margin: 0; }*/ h1 { font-family: "antonia"; font-size: 4em; color: #16ffbd; } .subtitle { font-family: "future"; font-size: 1em; } #button { float: right; } #navhome { padding: 0; margin: 0; font-style: "lactosa"; } #maincon2{ min-height: 50vh; margin-top: 0; background-image: url("../images/main.jpg"); background-repeat: no-repeat; background-size: cover; background-position: center center; overflow-x: hidden; } .nav-link{ font-size: 25px; padding: 10px; font-weight: bold; font-color: #050d57; font-family: "sunrise"; letter-spacing: 5px; margin-bottom: 0; } h1{ margin-top: 20px; } /*downloaded fonts */ @font-face { font-family: "lactosa"; src: url("../fonts/lactosa.otf"); } @font-face { font-family: "sunrise"; src: url("../fonts/sunrise.ttf"); } @font-face { font-family: "future"; src: url("../fonts/future.ttf"); } @font-face { font-family: "antonia"; src: url("../fonts/antonia.otf"); } /*Media Queries */ @media (max-width: 575.98px) { ... } /*Small devices (landscape phones, less than 768px)*/ @media (max-width: 767.98px) { ... } /*Medium devices (tablets, less than 992px)*/ @media (max-width: 991.98px) { ... } /*Large devices (desktops, less than 1200px*/) @media (max-width: 1199.98px) { ... }