* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body { 
    font-family: "Roboto", sans-serif;
    background: indigo; 
    color:  lavender;
    margin: 0; 
    padding: 2rem; 
    line-height: 1.5; 
    max-width: 1920px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#hero img {
    width: 90vw;
    height: auto;
    border: none;
    border-radius: 10px;
}

.img-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.img-box img {
    width: 90vw;
    height: auto;
    border: none;
    border-radius: 10px;
}

#video-overlay {
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 40vw;
    height: calc(40*56.25vw); /* 100/16*9 = 56.25 */
}

.centered-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  width: 300px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  border-radius: 8px;
  background-color: white;
  padding: 10px;
}

.quote {
    border: navy;
    background-color: rgba(25, 25, 112, 0.5);
    /* background-color: rgb(50, 43, 94); */
    border-radius: 20%;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

h1, h2 {
    text-transform: uppercase;
    font-family: "Jost", serif;
    font-size: 13px;
}

h1 {
    letter-spacing: 0.2em;
    color: white;
}

h2 {
    letter-spacing: 0.1em;
    color: lavenderblush;
}

h3, h4 {
    color: lavenderblush;
    margin: 1em 1em 1em;
    text-transform: uppercase;
    font-family: "Jost", serif;
}

section {
    margin-bottom:1.5rem; 
    padding: 1em; 
    background-color: darkslateblue; 
    border-radius:8px; 
}

p {
    margin-left: 1em;
    margin-right: 1em;
}

ul {
    margin: 0.5rem 0 0.5rem 1.2rem; 
}

li {
    margin-bottom: 1em;
}

footer { 
    margin-top: 2rem; 
    font-size: 0.85rem; 
    color: #aaa; 
    border-top: 1px solid #333; 
    padding-top: 1rem; 
}

a { 
    color: #c0c0c0; 
    text-decoration: none;
    font-weight: normal;
}
a:hover {
    text-decoration: none;
    font-weight: bold;
}
a:active {
    text-decoration: none;
}
a:visited {
    text-decoration: none;
    color: #888;
}

@media (min-width: 768px) {
    section, footer {
        padding-left: 1em;
        width: 80%;
    }
    h1, h2 {
        font-size: 1rem;
    }
    h1 {
        letter-spacing: 0.2em;
    }
    h2 {
        letter-spacing: 0.1em;
    }
    p {
        margin-left: 2em;
        margin-right: 2em;
    }
    #hero img {
        width: 70vw;
    }
    .img-box img {
        width: 70vw;
    }
    #closing {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

}

@media (min-width: 1024px) {
    section, footer {
        width: 75%;
    }
}