/**
* General settings
*/
h2 {
    margin-bottom: 3rem;
}
.gold-underline {
    border-bottom-color: var(--gold-color);
    border-bottom-style: solid;
    border-bottom-width: 0.2rem;
    width: 100%;
}
div.gold-underline {
    width: 80%;
    margin: 10px auto 0;
}
h2 > .gold-underline {
    padding-bottom: 0.75rem;
}
p {
    margin-bottom: 2.4rem;
    line-height: 1.6em;
}

/**
* Landing
*/
.landing {
    background: url("../images/portfolio/landing-2-efbd5d3c45ec2cbfcc7097d4c0603c0d.png");
}

/**
* Description
*/
#about-description figure:first-of-type {
    width: 100%;
    text-align: center;
    margin-top: 6.7rem;
}
#about-description figure:first-of-type img {
    height: 400px;
    width: auto;
}
#about-description .description {
    margin: 7.5rem 0;
    width: 75%;
    max-width: 1750px;
}

/**
* Team
*/
figure.contact-form {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 40px;
    margin: 7.5rem 0 10rem;
    color: var(--main-text-color);
}
figure.contact-form img {
    max-width: 320px;
}
figure.contact-form h4 {
    font-size: 2.8rem;
    margin-bottom: 1.6rem;
}
figure.contact-form h5 {
    font-size: 2.4rem;
}
figure.contact-form .information .role {
    margin-bottom: 4.5rem;
}
figure.contact-form .information .contact p {
    margin-bottom: 0;
}
/**
* Gallery
*/
#portfolio-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 4rem;
    margin-bottom: 5rem;
}
#portfolio-gallery .image-container {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
#portfolio-gallery .image-container img {
    width: auto;
    height: 555px;
    --scale: 1;
    --brightness: 1;
    transform: scale(var(--scale));
    filter: brightness(var(--brightness));
    transition: all 0.66s ease-in-out;
}
#portfolio-gallery .image-container img:hover,
#portfolio-gallery .image-container .image-text:hover {
    --scale: 1.25;
    --brightness: 0.5;
}
#portfolio-gallery .image-container .image-text {
    position: absolute;
    top: 60px;
    left: 40px;
    width: 80%;
    max-width: 437px;
    background-color: #ffffff5c;
    color: #fff;
    padding: 1.6rem;
    font-size: 2.4rem;
}
#portfolio-gallery .image-container .image-text h3 {
    margin-bottom: 2rem;
    color: var(--main-text-color);
}
#portfolio-gallery .image-container .image-text p {
    color: var(--main-text-color);
    margin-bottom: 0;
}
/**
* Modal
*/
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Add Animation - Zoom in the Modal */
.modal-content,
#caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}
