@font-face {
    font-family: "Fedra Sans Std";
    src: url("../fonts/FedraSansBook.ttf");
}

@font-face {
    font-family: "Autography";
    src: url("../fonts/Autography.otf");
}

header{
    margin: 0;
    padding: 0;
}
body{
    padding: 0;
    margin: 0;
}
p{
    font: normal normal bold 15px/22px Fedra Sans Std;
    letter-spacing: 0px;
    color: #3C3C3B;
    opacity: 1;
}

b{
    font-family: Fedra Sans Std;
}

.header{
    height: 80px;
    position: fixed;
    width: 100%;
    top: 0px;
    left: 0px;
}

.navigation-var{
    position: relative;
    display: flex;
    justify-content: space-between;
    max-width: 1350px;
    margin: 0 auto;
    
}

.green-container{
    height: 140vh;
    background-image: url("imgs/front-page/green-background.svg");
}

.header-logo {
    position: relative;
    padding: 10px 40px;
    line-height: 80px;
    display: flex;
    align-items: center;
}

.header-logo img {
    display: block;
    width: 160px;
    height: auto;
}

.navigation-menu{
    display: flex;
    margin-right: 40px;
    list-style: none;
    
}

.menu-element{
    font-size: 18px;
    margin: 0 10px;
    line-height: 80px;
    width: max-content;
}

.link-element{
    padding: 8px 12px;
    border-radius: 3px;
}

.link-element{
    font: normal normal bold 17px/24px Fedra Sans Std;
    letter-spacing: 0px;  
    color: white;
    text-decoration: none;
    text-align: left;
    
    letter-spacing: 0px;
    color: #3C3C3B;
    opacity: 1;
}

.link-element:hover{
    border-bottom: 5px solid black;
    transition: 0.5s;
}

.cellphone-button{
    color: white;
    background: none;
    border: none;
    font-size: 30px;
    line-height: 60px;
    display: none;
}

.main-photo-products{
    margin: 0 auto;
    width: 1164px;  
    height: 173px;
    background-color: red;
}
/*///////////////////////////// MAIN IMAGE ///////////////////////////*/
.main-image{
    margin: 0 auto;
    background-image: url("../imgs/otherServices/services-image.png");
    background-repeat: no-repeat;
    width: 80vw;
    height: 12vmax;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    border-radius: 20px;
    animation-name: moverDerecha;
    animation-duration: 1s;
    animation-iteration-count: 2;
    animation-direction: alternate;
}

.service{
    text-align: center;
    font: normal normal medium 25px/37px Fedra Sans Std;
    letter-spacing: 0px;
    color: #3C3C3B;
    opacity: 1;
}

/*//////////////////////////// BANNER //////////////////////////*/

.banner-container{
    width: 1164px;
    height: 173px;
    background-image: url("../imgs/otherServices/services-image.png");
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    animation-name: moverDerecha;
    animation-duration: 1s;
    animation-iteration-count: 2;
    animation-direction: alternate;
}

.main-text-us{
    color: white;
    width: fit-content;
    font-size: 25px;
    margin: 0;
}

.start-products{
    color: white;
}

.main-container{
    width: 100%;
    margin-top: 30px;
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
}

/*////////////////////////// SERVICES MAIN TEXT //////////////////////////////////*/

.first-container{
    width: 100%;
    display: flex;;
    justify-content: center;
}
.main-text-container{
    width: 590px;
}

.title-main-text{
    text-align: center;
    font: normal normal normal 50px/60px Autography;
    letter-spacing: 0px;
    color: #9282AD;
    opacity: 1;
}

.text-content{
    text-align: center;
    font: normal normal bold 15px/22px Fedra Sans Std;
    letter-spacing: 0px;
    color: #3C3C3B;
    opacity: 1;
}

/*///////////////////// BOXES  ////////////////////////////////////////*/

.box-container{
    margin-top: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.box-subcontainer{
    width: 900px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.box-text{
    width:370px;
    align-items: center;
}

.box-title{
    font-weight:900;
}

/*////////////////////////// WAYS OF ADMINISTRATION //////////////////////////*/

.purple-container{
    width: 80%;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 40px;
    background-image: url("../imgs/front-page/green-background.svg");
    margin-top: 100px;
}

.down-container{
    display: flex;
    flex-wrap: wrap;
}

.inside-container{
    display: flex;
}

/*//////////////////////// POST-COVID CLIENTS DISCOUNT ///////////////////////////////*/

.post-covid{
    margin: 100px auto;
    width: 1164px;
    height: 322px;
    background-image: url("../imgs/otherServices/woman-with-mask.png");
    background-position: center;
    border-radius: 20px;
}

.discount-container{

}
/*//////////////////////////// FOOTER ///////////////////////////////*/


.phone-ref{
    color: black;
    text-decoration: none;
}

.footer-container{
    overflow: hidden;
    margin-top: 100px;
    position: relative;
    width: 100%;
    flex-wrap: wrap;
}

.footer-subcontainer{
    margin: 0 auto;
    width: 80%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-subcontainer div{
    margin-right: 20px;
}

.contact-container li{
    margin-top: 10px;
    list-style: none;
}

.links-container li{
    margin-top: 10px;
    list-style: none;
}

.social-media-container{ 
    display: flex;
}

.footer-hoja1{
    position: absolute;
    left: 0;
    bottom: -160px;
}

.footer-hoja2{
    position: absolute;
    right: 0;
    bottom: -160px;
}

.bottom-footer{
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 200px;
}

.footer-grey-title{
    letter-spacing: 2.8px;
    color: #3C3C3B;
    text-transform: uppercase;
    opacity: 1;
    font-weight: bolder;
    font: normal normal bold 17px/24px Fedra Sans Std;
}

.bottom-footer li{
    list-style: none;
    margin-left: 30%;
    padding-top: 140px;
    text-align: center;
    letter-spacing: 0px;
    color: #AAAAAA;
    opacity: 1;
}

.success-cases-simple .success-cases-container {
    width: 1180px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 65px;
}

.success-cases-simple .success-left {
    width: 320px;
    margin-left: 170px;
    margin-bottom: 0;
    margin-right: 0;
}

.success-cases-simple .success-video {
    width: 300px;
    height: 425px;
}

@media screen and (max-width: 870px){
    .post-covid{
        background-position: -30vw;
    }

    .box-container{
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .box-subcontainer{
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .navigation-menu{
        flex-direction: column;
        background-color: grey;
        position: fixed;
        left: 0;
        /*top: 80px;*/
        top: 0px;
        top: 60px;
         width: 100vw;
         align-items: center;
         padding: 20px 0;
         height: calc(100% - 60px);
         overflow-y: auto;
         left: 100%;
         transition: left 0.3s;
     }    
 
     .navigation-menu_visible{
         left: 0;
 
     }
     .front-page-woman_invisible{
         display: none;
     }
 
     .cellphone-button{
         display: block;
         position: absolute;
         top: 10px;
         right: 0;
     }

    .container-horario{
        justify-content: center;
    }

    .container-horario div{
        margin: 0 auto;
    }
    .faqs-container{
        margin-left: -30px;
        width: 120vw;
    }
    
    .footer-hoja1{
        display: none;
    }

    .footer-hoja2{
        display: none;
    }

    .footer-subcontainer{
        flex-direction: column;
    }

    .social-media-container{
        margin-top: 7vh;
        margin-left: 30vw;
    }
  
    #front-page-products{
        width: 60vw;
      
    }

    .hojas{
        display: none;
    }

    .administration{
        display: none;
    }
}


@media screen and (max-width: 435px){
    .box-image img{
        width: 70vw;
    }

    .x{
        width: 90vw;
    }

    .administration{
        width: 90vw;
    }
}


@media screen and (max-width: 1164px){
    .post-covid{
        width: 100%;
    }
}

@keyframes moverDerecha{
    from{
        transform: translateX(0);
    }

    to{
        transform: translateX(20%);
    }
}

/*///////////// INVISIBLE ////////////////////////*/
.move-container{
    margin-left: 200%;
}

.success-cases {
    width: 100%;
    margin-top: 100px;
    display: flex;
    justify-content: center;
}

.success-cases-container {
    width: 1180px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.success-left {
    margin-bottom: 90px;
    width: 280px;
    margin-right: 100px;
}

.success-script {
    text-align: left;
    font: normal normal normal 50px/60px Autography;
    color: #9282AD;
    margin: 0 0 20px 0;
}

.success-title {
    font: normal normal bold 22px/28px Fedra Sans Std;
    color: #3C3C3B;
    margin: 0 0 20px 0;
}

.success-description {
    font: normal normal normal 13px/17px Fedra Sans Std;
    color: #3C3C3B;
    margin-top: 30px;
}

.success-images {
    width: 275px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-right: 30px;
}

.success-images img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    display: block;
}

.success-video {
    position: relative;
    width: 300px;
    height: 425px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #3C3C3B;
}

.success-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.75;
}

@media screen and (max-width: 870px) {
    .success-cases-container {
        width: 90%;
        flex-direction: column;
    }

    .success-left,
    .success-images,
    .success-video {
        width: 100%;
    }

    .success-images img {
        width: 100%;
        height: auto;
    }

    .success-script,
    .success-title,
    .success-description {
        text-align: center;
    }
}