
/*OPENING SECTION*/

h1{
    font-size: 13vw;
    white-space: nowrap;
}

#subtitle-container p{
    font-size: 1.5vw;
    max-width: 85%;
}

#about-hero-text p{
    font-size: 18px;
    line-height: 36px;
    font-family: "Poppins", sans-serif;
}

#opening-mobile img{
    /*max-height: 940px;*/
    height: 95vh;
    object-fit: cover;
    object-position: top;
    width: 100%;
}

#asterisk-container{
    /*max-width: 300px;*/
    padding: 2rem 0;
    /*margin: 0 0 0 auto;*/
}

#asterisk-container span > strong{
    display: none;
}

#asterisk-container img{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: 75px;
}

#asterisk-container span{
    position: relative;
    left: 2rem;
}

/* SLIDER */
#skills-slider{
    height: 110vh;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
}

#skill-word{
    font-size: 150px;
    line-height: 1;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    display: flex;
    height: 50%;
    color: white;
}

#skills-slider .slide{
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    background-position: right bottom;
    padding-bottom: 5vh;
}

#skills-slider .slide div.et_pb_row{
    height: 100%;
}

#skills-slider .slide .background-text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
    text-align: center;
}

#skills-slider .slide.first .background-text{
    color: #D1DD28;
    font-size: 35vw;
}

#skills-slider .slide.second .background-text{
    color: #D3E2AB;
    font-size: 8vw;
}


#skills-slider .slide.thirt .background-text{
    color: #AAE5D1;
    font-size: 10vw;
}

#skills-slider .slide:first-child{
    display: flex;
    justify-content: center;
    align-content: center;
}

#skills-slider div.slide:nth-child(2) .titles-container > div:first-child{
    font-family: "Poppins";
    font-size: 25px;
    margin-bottom: 3rem;
}

#skills-slider div.slide:nth-child(2) .titles-container > div:first-child > div{
    display: none;
}

#skills-slider div.slide:nth-child(2) .titles-container > div:first-child span:last-child{
    display: block;
    margin-top: 3rem;
}

#skills-slider div.slide:nth-child(2){
    background-color: #C7D300;
    /*background-image: url("/core/img/greenBackground-1.png");*/
}

#skills-slider div.slide:nth-child(3){
    background-color: #C8D998;
    /*background-image: url("/core/img/greenBackground-2.png");*/
}

#skills-slider div.slide:nth-child(4){
    background-color: #98D9C3;
    /*background-image: url("/core/img/greenBackground-3.png");*/
}

#skills-slider div.slide:nth-child(5){
    /*background-image: url("/core/img/greenBackground-4.png");*/
}

#skills-slider div.slide:nth-child(6){
    /*background-image: url("/core/img/greenBackground-5.png");*/
}

#skills-slider .slide .inner-slide{
    display: flex;
    height: 100%;
    width: 100%;
    position: relative;
}

#skills-slider .slide .inner-slide .titles-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    font-size: 3rem;
    line-height: 1.5;
    text-align: center;
    height: 100%;
    padding: 2rem 0;
}

#skills-slider .slide:nth-child(2) .inner-slide .titles-container{
    justify-content: center;
}

#skills-slider .slide .inner-slide .description{
    padding: 4rem 0;
    max-width: 55%;
}


/*TEAM SECTION*/
#team-section{
    padding: 2rem 0 4rem;
}

#team-section > section:first-child {
    position: relative;
    margin-bottom: 3rem;
}

#team-section .team-title{
    display: flex;
    flex-direction: column;
    color: #484E55;
}

#team-section .team-title span:first-child{
    font-size: 2rem;
    line-height: 1;
    padding-left: 15px;
}

#team-section .team-title span:nth-child(2){
    font-size: 16vw;
    line-height: 1;
}

#team-section .team-description {
    font-size: 2.2vw;
    line-height: 1.3;
    padding-left: 48px;
    text-align: end;
}

#team-write{
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: 0;
    transition: all .3s;
    overflow: hidden;
}

#team-write .team-title{
    transition: all .3s;
}

#team-write .team-title.hover{
    color: white;
}

#team-images{
    display: flex;
}

#team-images img{
    width: 25%;
    object-fit: contain;
    filter: grayscale(1);
    z-index: -1;
    transition: all .3s;
}

#team-images img.hover{
    filter: grayscale(0);
}

#team-names{
    display: flex;
}

#team-names > div {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 25%;
    font-family: 'Poppins';
    transition: all .3s;
}

#team-names > div.hover{
    color: white;
}

#team-names > div:hover{
    color: white;
}

#team-names > div > span{
    font-family: "Poppins", sans-serif;
}

#team-hero-section{
    display: flex;
    align-content: center;
    justify-content: center;
}

/*#team-photos .content{
    position: relative;
}

#team-photos .content img{
    transition: all .3s;
    display: block;
}

#team-photos .content:hover img{
    background: rgba(0, 0, 0, 0.80);
    filter: brightness(0);
}

#team-photos .content > div{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem 1.5rem 35% 1.5rem;
    line-height: 1;
    color: transparent;
    transition: all .4s;
}

#team-photos .content:hover > div{
    color: white;
}

#team-photos .content > div > div:first-child{
    font-size: 1.5rem;
    margin-bottom: 2rem;
}*/

#section-yellow-box{
    margin: unset;
}

#section-yellow-box .yellow-box{
    margin-top: unset;
}

@media all and (min-width: 501px) {
    .et_pb_section_0:before{
        background-image: url("/core/img/about-opening.png");
        background-position: top right;
        background-size: 100%;
        background-repeat: no-repeat;
        width: 40%;
        height: 100%;
    }
}

@media all and (min-width: 501px) and (max-width: 980px){
    #subtitle-container{
        max-width: 73%;
    }
}

@media all and (min-width: 980px) and (max-width: 1400px){
    #opening-mobile img{
        width: 50vw;
    }
}

@media all and (max-width: 980px){
    h1{
        font-size: 25vw;
    }

    #subtitle-container p{
        font-size: 2rem;
    }

    #asterisk-container span{
        left: unset;
    }

    #asterisk-container{
        padding-right: 1.5rem;
    }

    #skills-slider{
        max-height: 100% !important;
        height: auto;
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        overflow: auto;
        flex-direction: column;
    }

    #skills-slider .slide .inner-slide .titles-container{
        font-size: 2.5rem;
    }

    #skills-slider div.slide:nth-child(2) .titles-container > div:first-child > div{
        display: block;
        font-size: 1.2rem;
    }

    #skills-slider div.slide:nth-child(2) .titles-container > div:first-child > span{
        display: none!important;
    }

    #skills-slider div.slide:nth-child(2) .titles-container > div:first-child > span{
        font-size: 1.2rem;
    }

    #skills-slider .slide.first .background-text{
        font-size: 40vw;
    }

    #team-section .team-title span:nth-child(2){
        font-size: 7rem;
    }

    #team-section .team-description{
        font-size: 1rem;
    }

    #team-mobile{
        padding: 5rem 0;
    }

    #team-mobile > div.worker-container{
        display: flex;
        position: relative;
    }

    #team-mobile > div.worker-container:nth-child(odd){
        justify-content: flex-start;
    }

    #team-mobile > div.worker-container:nth-child(even){
        justify-content: flex-end;
    }

    #team-mobile > div.worker-container > img{
        max-width: 75%;
        filter: grayscale(1);
    }

    #team-mobile > div.worker-container > div{
        position: absolute;
        color: #767676;
        text-align: center;
        top: 50%;
        transform: translateY(-50%);
    }

    #team-mobile > div.worker-container:nth-child(even) > div{
        left: 3rem;
    }

    #team-mobile > div.worker-container:nth-child(odd) > div{
        right: 3rem;
    }

    #team-write {
        position: static;
        left: unset;
        transform: unset;
        bottom: unset;
        transition: unset;
        overflow: unset;
    }

    .team-title{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        text-align: start;
    }

    .team-title > div{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .team-title > div > span:nth-child(2){
        font-size: 25vw;
        line-height: 1.2;
    }

    .team-title > *{
        margin: 0 auto;
    }

    .team-title > div:first-child > span:first-child{
        padding-left: 15px;
    }

    .team-description{
        font-size: 3.7vw;
    }
}

@media all and (min-width: 767px){
    #skills-slider div.slide:nth-child(2) .titles-container > div:first-child > span:last-child{
        display: block!important;
    }
}