body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff00;
    padding: 10px 30px;
    
}

.logo {
    display: flex;
    align-items: center;
    
}

.logo img {
    height: 100px;
    margin-right: 10px;
}

.contact {
    display: flex;
    align-items: center;
    margin-right: 80px;
}

.contact span {
    margin-right: 10px;
}

.contact img {
    height: 30px;
    margin-left: 10px;
}

.top-nav {
    background-color: #f4f4f400;
    padding: 10px, 10px, 10px, 10px;
    text-align: right;
    padding-right: 100px;
    padding-bottom: 1%;
}

.top-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;

}

.top-nav ul li {
    display: inline;
    margin: 0 10px;
    border: 2px solid #e0e0e0;
    background-color: #1aac07;
    border-radius: 40px;
}

.top-nav ul li a {
    text-decoration: none;
    color: #025539;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
    color: #fff;
}

.top-nav ul li a:hover {
    background-color: #227728;
    border-radius: 40px;
}

.main-content {
    display: flex;
    margin: 20px;
    margin-bottom: 12%;
}

.side-nav {
    width: 200px;
    margin-right: 20px;
    margin-left: 5%;
    margin-right: 15%;
}

.side-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-nav ul li {
    margin-bottom: 10px;
}

.side-nav ul li a {
    text-decoration: none;
    color: #fff;
    background-color: #025539;
    border-radius: 40px;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s;
}

.side-nav ul li a:hover {
    background-color: #227728;
}
.side-nav ul input[type=radio]:checked+label li a {
    background-color: #1d9725;
}
.bot {
    display: none;
}
#normas1 {
    display: none;
}
#norms {   
    width: 300px;
    height: 450px;
    border: none;
    box-shadow: 0px 1px 30px #07eb1a;
    border-radius: 55px;
    background-image: url(../galeria/normas.png);
    background-size: 100%;   
}
#metodos {
    display: none;   
}
#pago2 {
    width: 600px;
    height: 430px;
    border: none;
    box-shadow: 0px 1px 30px #07eb1a;
    border-radius: 55px;
    background-image: url(../galeria/metodos.png);
    background-size: 100%;
}
#servicios {
    display: none;
}
#ser2 {
    width: 400px;
    height: 850px;
    border: none;
    box-shadow: 0px 1px 30px #227728;
    border-radius: 55px;
    background-image: url(../galeria/servicio.png);
    background-size: 100%;
}
#galerias {
    display: none;
}
#Fotos {
    width: 700px;
    height: 400px;
    border: none;
    box-shadow: 0px 1px 30px #227728;
    border-radius: 55px;
    animation-name: fotos;
    animation-duration:15s;
    animation-iteration-count: infinite;
    
    background-size: 100%;
}
#video {
    display: initial;
}

.continx {
    width: 60%;
    height: 350px;
    border: none;
    margin-bottom: 5%;
}
#video iframe {
    width: 100%;
    height: 350px;
    border: none;
    box-shadow: 0px 1px 30px #07eb1a;
}



@keyframes fotos{
    0%{background-image: url(../galeria/1.jpeg);
        background-repeat: none;}
    25%{ background-image: url(../galeria/2.jpeg);
        }
    50%{background-image: url(../galeria/3.jpeg); 
        }
    75%{background-image: url(../galeria/4.jpeg); 
        }
    100%{background-image: url(../galeria/5.jpeg); 
        }

}



@media(max-width:850px){
    .top-nav ul li {
        font-size: 13px;
        justify-content: space-between;
    }
    .top-nav ul li a {    
        padding: 5px 5px;  
        justify-content: space-between;
    }

    .main-content {
        margin: 0;
        display:block;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 5%;
        padding-left: 5%; 
        padding-top: 5%;     
    }
    .side-nav {
        justify-content: space-between;
        width: 85%;
        text-align: center;
        padding-bottom: 7%;
    }
    #video iframe {
        width: 380px;
        height: 250px;
        margin-left: 2%;
    }
    #ser2 {
        width: 340px;
        height: 750px;
    }
    .footer-logo img {
        height: 30px;
    }
    .logo img {
        height: 90px;
        margin-right: 10px;
    }
    .contact img {
        height: 30px;
        
    }
    .top-nav {
        background-color: #f4f4f400;
        padding: 10px, 10px, 10px, 10px;
        text-align: left;
        padding-right: 10px;
        padding-bottom: 1%;
    }
    #pago2 {
        width: 350px;
        height: 280px;
    }
    #norms {   
        width: 350px;
        height: 580px;
        margin-bottom: 20%;
    }
    #Fotos {
        width: 350px;
        height: 220px;
    }
}

/*-------------------------------logos de redes-----------------------------------------*/
.fa-brands{
    font-size: 20px;
    margin: 10px;
}
.fa-brands:hover{
    transform: scale(1.2);
}
.fa-youtube{
    color: #fffdfd;
    padding: 10%;
    text-align: center;
    border-radius: 50px; 
    text-align: center;
    background-color:  red;
    font-size: 19px;
}
.fa-facebook{
    color: #fffdfd;
    padding: 10%;
    text-align: center;
    border-radius: 50px; 
    background-color:  blue;
    font-size: 19px;
}
.fa-whatsapp{
    color: #fffdfd;
    padding: 10%;
    text-align: center;
    border-radius: 50px; 
    text-align: center;
    background-color:  #0df053;
}
.fa-instagram{
    background: -webkit-linear-gradient(150deg, #1b0ced,#5a0660,#c11010,#f8e620,#dfe496);/* Chrome 10-25, Safari 5.1-6 */                          
    background: linear-gradient(150deg, #1b0ced,#5a0660,#c11010,#f8e620,#dfe496);/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */   
    color: #fffdfd;
    padding: 10%;
    text-align: center;
    border-radius: 50px; 
    text-align: center;                                          
}
/*--------------------------------whatsapp------------------------------------------------*/
.btn-wsp {
    position: fixed;
    width: 55px;
    height: 55px;
    line-height: 55px;
    bottom: 30px;
    right: 30px;
    background: #0df053;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.btn-wsp:hover {
    text-decoration: none;
    color: #0df053;
    background: #fff;
    box-shadow: 0px 1px 40px #0df053;
}
/*-----------------------pie de paginas-------------------*/
footer {
    background-color: #ffffff6c;
    padding: 10px 0;
    text-align: center;
    border-top: 2px solid #e0e0e0;
    position: fixed;
    width: 100%;
    bottom: 0;
    height: 80px;
    align-items: center;
}

.footer-logo img {
    height: 50px;
}
/*----------contacto-----------------------*/
.contacto-cont {
    background-color: rgba(255, 255, 255, 0.397);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 1500px;
    align-items: center;
    margin: 3%;
    margin-bottom: 130px;
}
.contacto-cont h2{
    text-align: center;
}
.address {
    display: flex;
    align-items: center;
}
.address a{
    text-decoration: none;
    color: black;

}
.dirr:hover{
    background-color: #005a4e;
    color: white;
    border-radius: 40px;
    padding: 10px 15px;
    transition: background-color 0.3s;
}
.dirr:hover> p a{  
    color: white;  
}
.dirr:hover> p{  
    color: white;  
}
.address p{
    text-decoration: none;
    color: black;
}
.maps{
    width: 100px;
    padding: 1.5cap;
}
.phone {
    display: flex;
    align-items: center;
}
.phone p a {
    text-decoration: none;
    color: black;
    margin: 0.5rem;
}
.phone p a:hover{
    background-color: #005a4e;
    color: white;
    border-radius: 40px;
    padding: 10px 15px;
    transition: background-color 0.3s;
}
.tell{
    width: 100px;
    padding: 1.5cap;
}
.email{
    display: flex;
    align-items: center;
}
.email p a{
    text-decoration: none;
    color: black;
}
.email p a:hover{
    background-color: #005a4e;
    color: white;
    border-radius: 40px;
    padding: 10px 15px;
    transition: background-color 0.3s;
}
.correo{
    width: 100px;
    padding: 1.5cap;
}
.hours{
    display: flex;
    align-items: center;
}
.horario{
    width: 100px;
    padding: 1.5cap;
}
.contact-info {
    margin-bottom: 20px;
}

.contact-info h2 {
    color: #005a4e;
}

.contact-info p {
    margin: 10px 0;
}

.address, .phone, .email, .hours {
    margin-bottom: 15px;
}

.social-media h3 {
    color: #005a4e;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.social-icons img {
    width: 50px;
    margin: 0 15px;
}

.redesC{
    font-size: 60px;
    margin: 1.3rem;
}
.redesC:hover{
    animation-name: facebook;
    animation-duration:2.5s;
    animation-iteration-count: infinite;
}
@keyframes facebook {
    0%{transform: rotate(0deg) ;
        background-color: white;
        color: blue;}   
    25%{transform: rotate(10deg) ;
        background-color: blue;
        color: white;}
    50%{transform: rotate(0deg) ;
        background-color: white;
        color: blue;}
    75%{transform: rotate(-10deg) ;
            background-color: blue;
            color: white;}
    100%{transform: rotate(0deg) ;
        background-color: white;
        color: blue;}
}

.redesC2{
    font-size: 60px;
    margin: 1.3rem;
}
.redesC2:hover{
    animation-name: instagram;
    animation-duration:2.5s;
    animation-iteration-count: infinite;
}
@keyframes instagram {
    0%{transform: rotate(0deg) ;
        background: -webkit-linear-gradient(150deg, #1b0ced,#5a0660,#c11010,#f8e620,#dfe496);/* Chrome 10-25, Safari 5.1-6 */                          
        background: linear-gradient(150deg, #1b0ced,#5a0660,#c11010,#f8e620,#dfe496);/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */   
        }   
    25%{transform: rotate(10deg) ;
        background: -webkit-linear-gradient(150deg,#dfe496,#c11010,#f8e620,#5a0660,#1b0ced);/* Chrome 10-25, Safari 5.1-6 */                          
        background: linear-gradient(150deg, #dfe496,#c11010,#f8e620,#5a0660,#1b0ced);/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */       
        }
    50%{transform: rotate(0deg) ;
        background: -webkit-linear-gradient(150deg, #1b0ced,#5a0660,#c11010,#f8e620,#dfe496);/* Chrome 10-25, Safari 5.1-6 */                          
        background: linear-gradient(150deg, #1b0ced,#5a0660,#c11010,#f8e620,#dfe496);
    }
    75%{transform: rotate(-10deg) ;
        background: -webkit-linear-gradient(150deg,#5a0660,#1b0ced ,#f8e620,#dfe496,#c11010);/* Chrome 10-25, Safari 5.1-6 */                          
        background: linear-gradient(150deg, #5a0660,#1b0ced ,#f8e620,#dfe496,#c11010);/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */       
        }
    100%{transform: rotate(0deg) ;
        background: -webkit-linear-gradient(150deg, #1b0ced,#5a0660,#c11010,#f8e620,#dfe496);/* Chrome 10-25, Safari 5.1-6 */                          
        background: linear-gradient(150deg, #1b0ced,#5a0660,#c11010,#f8e620,#dfe496);}
}
.redesC3{
    font-size: 50px;
    background-color: black;
    border-radius: 50%;
    color: white;
    padding: 20%;
    text-align: center;
    margin: 1.3rem;
}
.redesC3:hover{
    animation-name: tiktok;
    animation-duration:2.5s;
    animation-iteration-count: infinite;
}
@keyframes tiktok {
    0%{transform: rotate(0deg) ;
        background-color: white;
        color: black;}   
    25%{transform: rotate(10deg) ;
        background-color: black;
        color: #ff0050;}
    50%{transform: rotate(0deg) ;
        background-color: black;
        color: white;}
    75%{transform: rotate(-10deg) ;
            background-color: white;
            color: #00f2ea;}
    100%{transform: rotate(0deg) ;
        background-color: black;
        color: white;}
}
@media(max-width:750px){
    .contacto-cont {
       margin: 0;
       width: 90%;
       margin-left: 0.5%;
       margin-bottom: 30%;
    }
    .maps{
        width: 60px;
        padding: 1cap;
    }
    .tell{
        width: 60px;
        padding: 1cap;
    }
    .correo{
        width: 60px;
        padding: 1cap;
    }
    .horario{
        width: 60px;
        padding: 1cap;
    }
    .redesC{
        font-size: 40px;
        margin: 1.1rem;
    }
    .redesC2{
        font-size: 40px;
        margin: 1.1rem;
    }
    .redesC3{
        font-size: 35px;
        margin: 1.1rem;
    }
}