section {
    width: 100%;
    background-color: rgb(230, 230, 230);
    color: rgb(49, 49, 49);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scale-height {
    flex: 1;
}

#info-banner {
    height: 550px;
    position: relative;
    justify-content: center;
    background: linear-gradient(135deg, rgb(1, 23, 28),rgb(7, 17, 26)); 
}

.info-banner-image {
    margin: 0 !important;
    width: 100vw;
    max-width: 100vw;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
    border-radius: 0;
}

#info-banner h1 {
    margin: 0;
    color: rgb(255, 255, 255);
    font-family: 'Roboto', sans-serif;
    font-size: 10em;
    font-weight: 700;
    font-variant: small-caps;
    letter-spacing: 0.1em;
    z-index: 1;
    text-align: center;
}

.smaller-info-banner-heading {
    font-size: 6em !important;
}

@media screen and (max-width: 1300px) {
    #info-banner {
        height: 100lvh;
    }


    #info-banner h1 {
        font-size: 14vw;
    }

    .smaller-info-banner-heading {
        font-size: 9vw !important;
    }
}

/* Content */

.info-container {
    width: 1200px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    background-color: rgb(255, 255, 255);
    flex:1;
}

h1 {
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 1.1px;
    margin: 0;
    padding: 0;
}

p {
    font-size: 1.2em;
    margin: 10px 0 20px 0;
}

img {
    width: 800px;
    height: auto;
    margin: 20px auto 40px auto;
    border-radius: 10px;
}

.info-text-image {
    display: flex;
    flex-direction:row;
}

.info-text-image div {
    width: 50%;
    padding: 40px 40px 40px 0;
}

.info-text-image img {
    width: 50%;
    height: auto;
    margin: auto 0 auto 40px;
}

.gallery {
    padding-top: 20px;
    position: relative;
    left: -30px;
}

/* ##### Grid Item Link ######*/
.grid-item {
    width: 30%;
    height: 90px;
    position: relative;
    display: block;
    align-items: center;
    overflow: hidden;
}
.grid-item-content {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-item-link {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-color: rgba(0, 45, 73, 0.886);
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.grid-item-link:hover {
    opacity: 1;
    transition: opacity 0.3s;
}

.grid-item-link i {
    color: rgb(72, 255, 59);
    font-size: 1.7em;
    margin: 5px;
}

.grid-item-link p {
    color: rgb(72, 255, 59);
    font-weight: bold;
    font-size: 1.3em;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    margin: 5px;
}

.contact {
    background-color: rgb(41, 193, 168);
    color: rgb(16, 16, 16);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact h2 {
    color: rgb(16, 16, 16);
    font-size: 2em;
    text-align: center;
}

.info-buttons {
    display: flex;
    justify-content: space-evenly;
    margin: 20px 0;
}


/* ##### Media Queries ##### */

@media screen and (max-width: 1300px) {
    .info-container {
        width: 100%;
    }

    img {
        width: 100%;
        max-width: 800px;
    }

    .info-text-image {
        flex-direction: column;
    }

    .info-text-image div {
        width: 100%;
        padding: 0;
    }

    .info-text-image img {
        width: 100%;
        max-width: 600px;
        padding: 0;
        margin: 0 auto 20px auto;
    }
    
    .gallery {
        width: 100vw !important;
        left: calc(-50vw + 50%);
    }

    .contact h2 {
        font-size: 2.5vw;
    }

    .info-buttons {
        justify-content: space-evenly;
        
    }

    .grid-item-content {
        height: 80px;
        width: 40vw;
    }

    .grid-item {
        width: 40vw;
        height: 80px;
    }
}


@media screen and (max-width: 700px) {
    .contact h2 {
        font-size: 4vw;
    }
}