/* Text formatting */ body { font-family: sans-serif; margin-right: auto; margin-left: auto; margin-top: auto; } h1 { font-size: 3rem; text-align: center; margin-right: auto; margin-left: auto; max-width: 800px; margin-top: 75px; } h2,h3,h4,h5 { font-size: 2rem; text-align: center; margin-right: auto; margin-left: auto; margin-top: 75px; max-width: 800px; } p { font-size: 1.2rem; text-align: justify; margin-right: auto; margin-left: auto; max-width: 800px; } ul { font-size: 1.2rem; margin-right: auto; margin-left: auto; max-width: 800px; } div.desc { vertical-align: middle; text-align: center; line-height: 10px; padding: 10px; color: white; } div.banner h1 { text-shadow: 0 0 5vw black; font-size: 6vw; text-overflow: ellipsis; white-space: nowrap; margin-top: 165px; line-height: 0; } div.banner p { text-align: center; font-size: 1.5vw; } div.cardscontainer { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); max-width: 95%; display: grid; padding: 75px; margin: auto; } div.cardscontainer p { font-size: 1rem; text-align: left; } input { background-color: #dcdcdc; border-radius: 50px; border-width: 1px; border-style: solid; border-color: white; text-align: left; font-size: 1.2rem; min-width: 32rem; width: 35vh; height: 3vh; padding: 25px; } div.search { text-align: center; } div.card { border-radius: 5px; padding: 15px; height: 90px; color: black; } div.card h2,a { text-decoration: none; text-align: left; margin: 0px; } div.card:hover { background-color: #dcdcdc; } /* Images */ /* div.gallery { width: 30%; margin: 10px; float: left; } div.gallery img { height: auto; width: 100%; margin-bottom: 75px; } div.gallerycontainer { width: 80%; max-width: 1200px; padding: 75px; margin-right: auto; margin-left: auto; } */ .banner { background-position: 50%; background-size: cover; }