/* Global */

html {
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

* {
    box-sizing: border-box;
}

body {
    background: -webkit-linear-gradient(180deg, indigo 0%, #234470 37.25%, midnightblue 100%);
    margin: .5% 7.5%;
}

.container {
    display: grid;
    grid-template-rows: auto 1fr auto;
    margin: 0.25rem;
    row-gap: .1%;
    height: 100vh;
}

a {
    color: darkorange;
    cursor: pointer;
}

    a:hover {
        color: lightskyblue;
    }

/* Header */

header {
    padding-left: 0.5%;
    letter-spacing: .3rem;
    border-bottom: 1px solid #979797;
}

h1 {
    text-shadow: 2px 2px 0 gray;
    color: white;
    font-size: 2.5rem;
    align-self: center;
    margin: 0;
    padding: 0 0 1rem .25rem;
}

/* Main */

.main-content {
    position: relative;
    top: .25rem;
}

.banner {
    height: 88vh;
    background: url('./banner-3.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
    border-radius: 5px;
}

.content-container {
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    position: relative;
    top: 8rem;
}

.content {
    background-color: #4D70A1;
    border: 1px solid #979797;
    border-radius: 4px;
    z-index: 2;
    left: 6rem;
    text-align: center;
    opacity: .9;
}

    .content p {
        font-size: 2rem;
        letter-spacing: 0.25rem;
        line-height: 4rem;
        margin: 0.5rem 1rem;
        color: white;
    }


/* Footer */

footer {
    color: white;
    margin-top: .5rem;
    width: 100%;
    letter-spacing: .1rem;
    padding-left: .5rem;
    border-top: 1px solid #979797;
}

.copyright {
    font-size: 1rem;
    text-align: left;
    margin-bottom: 0.5%;
}

    .copyright p {
        margin-top: 0.5rem;
    }


/* Media Queries */

@media only screen and (max-width: 1420px) {
    .content p {
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 600px) {
    html {
        font-size: 12px;
    }
}

@media only screen and (max-width: 425px) {
    html {
        font-size: 9px;
    }
}

@media only screen and (max-width: 340px) {
    html {
        font-size: 7px;
    }
}

@media only screen and (max-height: 950px) {
    .banner {
        height: 85vh;
    }
}

@media only screen and (max-height: 900px) and (max-width: 800px) {
    .content-container {
        top: 4rem;
    }

        .content-container p {
            font-size: 1.25rem;
        }
}

@media only screen and (max-height: 820px) {
    .banner {
        height: 80vh;
    }
}

@media only screen and (max-height: 750px) {
    .content-container {
        top: 4rem;
    }
}
