/********** Template CSS **********/

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,700;6..96,800&family=Noto+Sans:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;500;700&display=swap');

*{
    box-sizing: border-box;
}
body{
    margin: 0;
    font-family: 'Roboto Slab', serif;
}

a{
    text-decoration: none;
}
/* Header */
.header-img-container {
    width: 100%;
    display: grid;
    justify-content: center;
    padding: 12px;
    position: relative;
}

.header-img-container img{
    width: 100%;
    height: 40px;
    object-fit: contain;
}

.idiom-toggle {
    width: 100%;
    height: auto;
    position: absolute;
    top: 20px;
    right: 12px;
    display: flex;
    justify-content: flex-end;
    margin-right: 40px;
}

.idiom-toggle div:hover{
    cursor: pointer;
    border-bottom: 1px solid #004aad;
}

.idiom-toggle span:nth-child(1){
    color: white;
}

.idiom-toggle span:nth-child(2){
    color:#00a1ff;
}

.idiom-toggle input{
    margin: 0 8px;
}

.check{
    position: relative;
    width: 50px;
}

.check::before{
    content: '';
    position: absolute;
    width: 50px;
    height: 25px;
    background: #333;
    border-radius: 12px;
}

.check::after{
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: #fff;
    border-radius: 12px;
    transition: 0.25s;
    border: 2px solid #333;
    box-sizing: border-box;
}

.check:checked::after{
    left: 25px;
    border: 2px solid #00a1ff;
}

.check:checked::before{
    background: #00a1ff;
}

.info-section{
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(https://images.pexels.com/photos/618775/pexels-photo-618775.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 40px;
    border-top: solid 1px grey;
    position: relative;
}
.principals-titles-2{
    font-weight: 300;
    width: 100%;
    margin: auto;
    font-weight: lighter;
    font-size: 1.2rem;
}

.form-video-section{
    position: relative;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    
}
.video-section,
.form-section{
    width: 100%;
}

.info-titles{
    display: grid;
    grid-template-rows: 80px 130px;
    align-items: center;
    gap: 20px;
    align-content: center;
    color: white;
}

.form-container{
    background-color: rgba(73, 89, 79, 0.3);
    border-radius: 8px;
}
.form{ 
    color: white;
    padding: 4px 12px;
}
.celular{
    position: relative;
    width: 100%;
}

.label-celular{
    color: white;
}

.form-btn{
    margin-top: 24px;
    padding: 12px;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.btn-success {
    border: 1px solid rgb(73, 89, 79);
    background-color: #004aad;
    color: white;
    --bs-btn-hover-bg: rgba(8, 74, 131, 0.6);
}

.container-articles-title{
    padding: 0 48px;
}
.container-articles-title h1,
.team-title h1{
    margin-top: 60px;
    color: #004aad;
}
#button-container a{
    color: black;
    font-size: 1.1rem;
}

#button-container img{
    width: 24px;
    height: 24px;
}

.img-pdf img{
    width: 100%;
    height: 368px;

}

.catalogo-info{
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 24px 0;
    align-items: center;

}

.catalogo-info h2{
    font-weight: 500;
    color: #004aad;
    font-size: 1.3rem;
}

.catalogo-info p{
    font-size: 1.1rem;
    font-weight: 300;
}

.logos-container{
    margin: 12px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logos-container img{
    width: 140px;
}

.team-title p{
    font-size: 1.1rem;
    font-weight: 300;
}

.garantias-container{
    display: grid;
    grid-template-rows: 1fr 160px;
    margin-top: 60px;
    background-color: #052b4c;
    color: white;
}
.garantia-container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 36px;
}
.garantia-img img{
    width: 94%;
    padding: 16px;
}

.garantias-container p{
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}

.pdfview{
    height: 550px;
    width: 100%;
    border: 1px solid #efb810;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.quienes-somos-container{
    width: 100%;
    padding: 0;
    border: 1px solid #004aad;
    margin: 12px 0;
}
.footer-container{
    height: 60px;
    background-color: #004aad;
    width: 100%;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
}

.social-media{
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-media i,
.social-media a{
    font-size: 2rem;
}

.social-media .btn{
    --bs-btn-color: white;
}    

@media (max-width:1332px){
    .info-titles{
        grid-template-rows: 110px 130px;
    }
}

@media (max-width:1300px){
    .garantia-container{
        flex-direction: column;
        width: 100%;
        margin-top: 0;
    }
    .garantia-img{
        width: 98%;
        display: grid;
    }
    .garantia-img img{
        place-items: center;
        width: 88%;
        margin: 24px auto;
        height: 480px;
        object-fit: cover;
    }
    .garantias-texto{
        width: 88%;
    }
    .garantias-texto h2{
        text-align: center;
    }
    .garantias-container p{
        font-size: 1.2rem;
    }
}

@media (max-width:1100px){
    
    .garantia-container{
        margin-top: 0;
    }
    .garantias-container p{
        font-size: 1rem;
    }
    .logos-container img{
        width: 100px;
    }
    .form-video-section{
        grid-template-columns: 1fr;
        grid-template-rows: 260px 1fr;
        gap: 0;
    }
    .info-titles{
        gap: 0;
    }
    .catalogo-info{
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 28px;
        padding: 0;
    }
    .catalogo-info div:nth-child(2){
        grid-row: 1;
        width: 90%;
        margin: auto;
    }   
    .catalogo-info div:nth-child(1){
        grid-row: 2;
        
    }
    .catalogo-info div:nth-child(1) h2{
        text-align: center;
        margin: 24px 0;
    }
    .catalogo-info div:nth-child(1) p{
        font-size: 1.2rem;
    }

}

@media (max-width:800px){
    .info-section{
        padding: 20px;
    }
    .info-titles{
        grid-template-rows:80px 160px;
    }
    .principals-titles-2{
        font-size: 1.1rem;
    }
}
@media (max-width:700px){
    .logos-container img{
        width: 80px;
    }
    .garantia-img img{
        width: 100%;
        height: 400px;
    }
}

@media (max-width:600px) {
    .logos-container{
        display: grid;
        grid-template-columns: 100px 100px 100px;
        grid-template-rows: 1fr 1fr;
    }
   
}

@media (max-width:530px){


    .garantia-container{
        gap: 0px;
    }
    .container-articles-title{
        padding: 0 0px;
    }
    .catalogo-info div:nth-child(1) p{
        padding: 12px;
        font-size: 1.1rem;
    }
    .info-titles h1{
        font-size: 1.5rem;
        text-align: center;
    }
    .info-titles{
        grid-template-rows:80px 200px;
    }
    .form-video-section{
        gap: 30px;
        grid-template-rows: 300px 1fr;
    }
    .img-pdf img{
        height: 280px;
    }
    .garantia-img img{
        height: 280px;
    }
}

@media (max-width:400px){
    
    .idiom-toggle{
       right: 28px;
    }
    .info-section{
        padding: 10px;
    }
    .info-titles h1{
        
        font-size: 1.3rem;
    }
    .logos-container{
        grid-template-columns: 80px 80px 80px;
    }
    .container-logos{
        padding: 0;
    }
    .form-video-section{
        grid-template-rows: 320px 1fr;
        padding: 0;
        width: 100%;
        gap: 15px;
    }
    
    .container-articles-title h1{
        margin-top: 30px;
    }
    
    .team-title p{
        padding: 12px;
    }  

    .team-title h1{
        margin-top: 24px;
    }
    
}


