:root {
    --1: #59B954;
    --2: #0F1114;
    --3: #1B1E24;
    --4: #30FF13;
    --5: #9B9B9B;
    --6: #FFD700;
}

.home_apartados {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 130px;
    background-image: url("../img/Home.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.titulo_nosotros {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    background-color: #0F1114;
    padding: 50px 160px;
}

.titulo_nosotros h1{
    font-size: 50px;
}

.estadisticas_nosotros {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: #0F1114;
    padding: 10px 160px 80px 160px;
    gap: 60px;
}

.col1_estadisticas {
    width: 50%;
    color: white;
}

.col1_estadisticas button{
    margin-top: 30px;
    height: 40px;
    width: 200px;
    background-color: var(--6);
    font-size: 19px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
}

.col1_estadisticas button:hover {
    animation: vibrating 2s infinite;
    cursor: pointer;
}
  
@keyframes vibrating {
    0% { transform: translateX(0); }
    20% { transform: scale(1.08) translateX(-3px) rotate(-3deg); }
    40% { transform: translateX(3px) rotate(3deg); }
    60% { transform: translateX(-3px) rotate(-3deg); }
    80% { transform: scale(1.08) translateX(3px) rotate(3deg); }
}

.col2_estadisticas {
    width: 50%;
    color: white;
    margin-top: -60px;
}

.col2_estadisticas h2{
    font-size: 20px;
    font-weight: 300;
    margin: 15px 0px 3px 0px;
}

.progress-bar {
    width: 100%;
    height: 25px;
    background-color: #ddd;
}
  
.progress1 {
    height: 100%;
    color: #fff;
    text-align: center;
    background-color: #4CAF50;
    transition: width 1s ease-in-out;
    animation-name: progress-animation1;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

.progress2 {
    height: 100%;
    color: #fff;
    text-align: center;
    background-color: #4CAF50;
    transition: width 1s ease-in-out;
    animation-name: progress-animation2;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}
  
@keyframes progress-animation1 {
    from {
      width: 0%;
    }
    to {
      width: 50%;
    }
}

@keyframes progress-animation2 {
    from {
      width: 0%;
    }
    to {
      width: 70%;
    }
}

.nosotros_rec {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--3);
    padding: 50px 140px;
    gap: 70px;
}

.col1_nosotros {
    width: 55%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: white;
    
}

.col1_nosotros p{
    font-size: 20px;
    font-weight: 300;
}

.col1_nosotros h1{
    font-size: 60px;
    font-weight: 600;
    margin-bottom: 17px;
}

.col2_nosotros {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.col2_nosotros img{
    width: 110%;
}

.col2_nosotros img:hover{
    transform: scale(1.08);
    transition: transform 2s;
}

.nosotros_rec2 {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--2);
    padding: 50px 140px;
    gap: 70px;
}

.col2_nosotros2 {
    width: 55%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: white;
    
}

.col2_nosotros2 p{
    font-size: 20px;
    font-weight: 300;
    text-align: right;
}

.col2_nosotros2 h1{
    font-size: 60px;
    font-weight: 600;
    margin-bottom: 17px;
    text-align: right;
}

.col1_nosotros2 {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.col1_nosotros2 img{
    width: 110%;
}

.col1_nosotros2 img:hover{
    transform: scale(1.08);
    transition: transform 2s;
}

@media (max-width: 768px) {
    .titulo_nosotros {
        padding: 50px 0px 0px 0px;
    }
    .titulo_nosotros h1{
        width: 100%;
        font-size: 35px;
        padding: 0px 10px;
    }    
    .estadisticas_nosotros {
        flex-direction: column;
        padding: 50px 0px;
    }
    .nosotros_rec {
        flex-direction: column;
        padding: 20px 0px;
    }
    .nosotros_rec2 {
        flex-direction: column-reverse;
        padding: 0px;
        padding: 50px 0px;
    }    
    .col1_nosotros {
        width: 80%;
    }
    .col2_nosotros {
        margin-top: -40px;
        width: 60%;
    }    
    .col1_nosotros2 {
        margin-top: -40px;
        width: 60%;
    }     
    .col2_nosotros2 {
        width: 80%;
    }    
    .col1_nosotros p{
        font-size: 15px;
    }
    .col1_nosotros h1{
        font-size: 50px;
    } 
    .col2_nosotros img{
        width: 140%;
    }    
    .col2_nosotros2 p{
        font-size: 15px;
    }
    .col2_nosotros2 h1{
        font-size: 50px;
    } 
    .col1_nosotros2 img{
        width: 140%;
    }        
    .home_apartados {
        height: auto;
    }
    .col1_estadisticas {
        width: 80%;
        text-align: center;
    }
    .col2_estadisticas {
        width: 80%;
        text-align: center;
    }     
}