h5{
    font-size: 29px;
    line-height: 38px;
}

.line-height-32px{
    line-height: 32px;
}

.titles-margin{
    margin: 2.5rem;
}

section{
    padding: 40px 0;
}

#home{
    background: url("content-by-mauri/images/portfolio/portada.jpg");
    background-position: 50% 80%;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    /* @media(orientation: portrait){
        max-height: 44vh;
    } */
}

.main-phrase{
    display: grid;
    place-items: center;
    color: white;
    padding: 5rem 0rem;
    margin: 0;
}

.main-phrase div{
    position: absolute;
    left: 4rem;
    bottom: 6rem;
    text-align: start;

    @media (orientation: portrait) {
        left: 2rem;
        bottom: 2.5rem;
    }
}

.main-phrase h1{
    margin: 0;
    font-weight: 700;
}

.main-phrase h3{
    margin-bottom: 0;
    font-weight: 600;
}

.down-section{
    @media (orientation: portrait) {
        display: none;
    }
}

.ti-arrow-down{
    background-color: rgba(100,100,100,0.5);
}


#about{
    padding-top: 75px;
    padding-bottom: 45px;
}


#work{
    padding-bottom: 50px;
}

.portfolio-filter{
    margin-bottom: 2rem;
    flex-wrap: nowrap;
}


.light-box{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
}

.light-box:target{
    transform: scale(1);
}

.lb-img-title-container{
    position: relative;
}

.light-box img{
    max-width: 85vw;
    max-height: 85vh;
}

.lb-img-title{
    margin: 0;
    z-index: 10010;
    color: white;
    background-color: rgba(20, 20, 20, 0.75);
    position: absolute;
    font-size: 1.1rem;
    bottom: 0;
    width: 100%;
    padding-left: 1.2rem;
    font-weight: 600;
    filter: opacity(70%)!important;
    letter-spacing: 1px;
}

.lb-arrow{
    font-size: 1.8rem;
    padding: 1rem;
    color: white;
    filter: opacity(85%)!important;
}

.lb-exit{
    font-size: 2.1rem;
    position: absolute;
    color: white;
    top: 2.3rem;
    right: 3rem;
    filter: opacity(85%)!important;
}

.container-lb-arrow-back-for-s{
    display: none;
}


#services{
    background-color: #e0e0e0;
}

.section-2-text{
    width: 71%;
    padding: 0;
    margin: 1rem 0;
}

.section-2-text h5{
    text-align: justify;
}

.service-description{
    font-size: 16px;
}

.text-align-center{
    text-align: center!important;
}

#services .container .row-cols-1, #section-info .container .row-cols-1{
    justify-content: center;
}


.team-text{
    width: 71%;
    margin-bottom: 1.65rem;
}

.team-text p{
    font-size: 1.37rem;
}

.link-to-cv{
    display: block;
}

.people-media-icons{
    font-size: 17px;
}

.cv-link h6{
    position: relative;
    top: 1px;
    font-weight: 900;
    font-size: 16px;
    line-height: 16px;
    margin: 0 4px;
    display: inline-block;
}

.country-icon{
    width: 5.2rem;
    margin-bottom: 0.5rem;
    filter: opacity(62%);
}

.mauri-credits{
    font-size: 14px;
}

@media (min-width: 992px) {
    .services-col{
        flex: 0 0 auto;
        width: 29%;
    }

    .hilera-hablemos-correo{
        margin-top: 2.5rem;
    }
}

@media (max-width: 800px) {
    .light-box img{
        max-width: 72vw;
        max-height: 72vh;
    }

    .light-box{
        padding-top: 1rem;
    }
}

@media (max-width: 50rem){
    .main-phrase{
        padding: 2.2rem 0;
    }
    
    .main-phrase h1{
        font-size: 1.7rem;
    }

    .main-phrase h4{
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .section-2-text h5{
        font-size: 1.2rem;
    }

    .country-icon{
        width: 4.5rem;
    }

    .lb-img-title{
        line-height: 25px;
        padding: 3px;
        padding-left: 1.1rem;
    }
}

@media (min-width: 580px) {
    .lb-arrow{
        margin: 0 0.8rem;
    }
}

@media (max-width: 580px) {
    h5{
        line-height: 32px;
    }

    .light-box{
        flex-direction: column;
    }

    .light-box img{
        max-width: 96vw;
        max-height: 72vh;
    }

    .container-lb-arrow-back{
        display: none;
    }

    .container-lb-arrow-back-for-s{
        display: block;
    }

    .light-box div{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
    }
}

@media (max-width: 400px) {
    .header-logo{
        padding: 0!important;
        margin-bottom: 4px;
    }
    
    .xs-max-height-21px{
        max-height: 21px!important;
    }

    .language-selector{
        margin-left: 1rem;
    }

    .language-selector h5{
        margin: 0 0.25rem;
    }

    .navbar-button-container{
        top: 26px;
        right: 28px;
    }
}