body {
    background-image: url("./images/crew/background-crew-desktop.jpg");
}

.nav-links {
    background: #3F3F47;
    background: linear-gradient(90deg, rgba(63, 63, 71, 1) 0%, rgba(36, 36, 46, 1) 53%, rgba(63, 63, 71, 1) 100%);
}

.navbar hr {
    border-top: 1px solid rgb(76, 76, 77);
}


/* Main Section */

.crew-head {
    color: white;
    font-weight: 200;
    position: absolute;
    top: 8rem;
    left: 10rem;
    opacity: 0;
    animation: loadingAnimation 1s ease forwards;
}

.crew-head span {
    color: rgb(131, 131, 131);
    font-weight: 800;
}

.crew {
    color: white;
    display: flex;
    align-items: center;
    position: absolute;
    gap: 10rem;
    width: 77%;
    left: 10rem;
    bottom: 0;
}

.crew-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.content h3 {
    font-size: 1.4rem;
    color: rgb(136, 136, 141);
    opacity: 0;
    animation: loadingAnimation 1s ease forwards;
    animation-delay: 0.3s;
}

/* .content h3::after{
    background: none;
} */

.content h2 {
    font-size: 2.5rem;
    color: rgb(240, 240, 240);
    opacity: 0;
    animation: loadingAnimation 1s ease forwards;
    animation-delay: 0.5s;
}

.content p {
    color: rgb(136, 136, 141);
    font-size: 0.85rem;
    opacity: 0;
    animation: loadingAnimation 1s ease forwards;
    animation-delay: 0.7s;
}

.content-dots {
    display: flex;
    gap: 1rem;
    width: 30%;
    opacity: 0;
    animation: loadingAnimation 1s ease forwards;
    animation-delay: 0.9s;
}

.content-dots i {
     color: #686868;
    font-size: 0.9rem;
}

.content-dots a:nth-child(1) i{
    color: white;
}

.crew-img {
    align-self: flex-end;
    width: 36%;
    opacity: 0;
    animation: loadingAnimation-img 1s ease forwards;
    animation-delay: 0.9s;
}

@keyframes loadingAnimation{
    0%{
        transform: scale(0);
    }
    100%{
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes loadingAnimation-img{
    0%{
        transform: translateX(60px);
    }
    100%{
        transform: translateX(0px);
        opacity: 1;
    }
}


/* Responsiveness */

@media screen and (max-width:1200px) {

    .crew-head {
        left: 9rem;
    }

    .crew {
        gap: 9rem;
        top: 15rem;
        width: 80%;
    }

    .crew-content {
        width: 60%;
    }

    .crew-img {
        width: 37%;
    }
}

@media screen and (max-width:1024px) {

    .crew-head {
        left: 6rem;
        top: 9rem;
    }

    .crew {
        gap: 1rem;
        width: 85%;
        left: 4rem;
    }

    .crew-img {
        width: 42%;
    }

    .crew-content {
        gap: 2.5rem;
        width: 60%;
    }

    .content {
        gap: 0.5rem;
    }

    .content h3 {
        font-size: 1.1rem;
    }

    .content h2 {
        font-size: 2.2rem;
    }
}


@media screen and (max-width:768px) {

    body {
        background-image: url("./images/crew/background-crew-tablet.jpg");
    }

    .crew-head {
        position: static;
        text-align: center;
        margin-top: 9rem;
        font-size: 1.1rem;
    }

    .crew{
        flex-direction: column;
        gap: 3rem;
        width: 100%;
        left: 0;
    }

    .crew-content{
        width: 85%;
        align-items: center;    
    }

    .content-dots{
        justify-content: center;
    }

    .crew-img{
        align-self: center;
        width: 45%;
    }

     .content h3 {
        font-size: 1rem;
    }

    .content h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width:480px){

     body {
        background-image: url("./images/crew/background-crew-mobile.jpg");
    }

    .nav-links {
        width: 7%;
        background: url("./images/shared/icon-hamburger.svg");
        background-size: cover;
        background-position: center;
        opacity: 1;
        position: relative;
        height: 28px;
    }

    .crew{
        left: 1.4rem;
        width: 100%;
        left: 0;
    }

      .crew-img{
        width: 49%;
    }

      .content h3 {
        font-size: 0.9rem;
    }

    .content h2 {
        font-size: 1.8rem;
    } 
}