@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');


* {
  box-sizing: border-box;
}
img {
  margin: auto;
  display: block;
  max-width: 100%;
}
body {
  margin: 0;
  font-family: 'Dancing Script', display;
  background-color: white;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Dancing Script', display;
  letter-spacing: 1.5px;
}
.section__titulo {
  text-align: center;
  font-size: 40px;
  color: rgb(51, 51, 51);
}
.contenedor {
  margin: auto;
  width: 99%;
}

.button{
text-align: center;
 font-size: 30px;
  color: rgb(97, 92, 47);
}
/*-------------------Estilos del header-------------------*/
.header {
  height: 60px;
}
.header .contenedor {
  display: flex;
  justify-content: space-between;
}
.logo, .icon-menu {
  margin: 5px;
  color: rgb(97, 92, 47);
}
.icon-menu {
  display: block;
  width: 40px;
  height: 40px;
  font-size: 30px;
  background: rgb(252, 220, 234);
  text-align: center;
  line-height: 45px;
  border-radius: 5px;
  margin-left: auto;
  cursor: pointer;
}
.logo{
width: 220px;
height: 220px;
border-radius: 5px;
}
/*------------------Estilos del menu------------------*/
.menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px; 
  height: 21px; 
  cursor: pointer;
}

.line {
  height: 4px; 
  background-color: rgb(97, 92, 47); 
  transition: all 0.3s ease-in-out;
}

.nav {
  position: absolute;
  top: 60px;
  left: -100%;
  width: 100%;
  transition: left 0.4s;
  background-color: transparent; 
}

.menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu__link {
  display: block;
  padding: 10px;
  background-color: rgb(253, 180, 216);
  text-decoration: none;
  color: rgb(97, 92, 47);
}

.menu__link:hover {
  background: rgb(238, 235, 219);
  color: rgb(227, 79, 153);
}

.mostrar {
  left: 0;
}

.menu-icon.active .line:nth-child(1) {
  transform: rotate(45deg);
  position: relative;
  top: 7px;
}

.menu-icon.active .line:nth-child(2) {
  opacity: 0;
}

.menu-icon.active .line:nth-child(3) {
  transform: rotate(-45deg);
  position: relative;
  top: -7px;
}

/*--------------Estilos de banner--------------*/

.banner {
  margin-top: -60px;
  position: relative;
  z-index: -1000;
  margin-bottom: 40px;
}

.banner .contenedor {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
  color: rgb(97, 92, 47);
  text-align: center;
}

.banner__txt {
  display: none;
  font-size: 5px;
  margin: 5px 0;
}

/*-----------------Estilos de info-----------------*/
.info__columna {
  background: rgb(253, 180, 216);
  color: rgb(97, 92, 47);
  padding: 15px;
  margin-bottom: 30px;
}

/*-----------------Estilos de footer-----------------*/

.footer {
  background: rgb(253, 180, 216);
  color: rgb(97, 92, 47);
  padding: 10px;
  text-align: center;
}

/*------------------Estilos responsive------------------*/

@media(min-width:480px) {
  .logo {
    font-size: 40px;
  }
  .banner__titulo {
    font-size: 40px;
    margin: 5px 0;
    color: rgb(97, 92, 47);
  }
  .banner__txt {
    display: block;
    font-size: 40px;
    margin: 7px 0;
  }
  .info, .parrafos {
    display: block;
    justify-content: space-between;
    margin-top: -90px;
  }
  .info__columna {
    width: 100%;
  }
  .info__titulo {
    font-size: 60px;
    margin: 10px 0;
    color: rgb(97, 92, 47);
  }
  .info__txt {
    font-size: 30px;
    margin: 10px 0;
  }

  .section__titulo {
    width: 100%;
  }
  .parrafos {
    flex-wrap: wrap;
    margin-top: 0;
  }
  .parrafos__columna {
    width: 49%;
  }
  .footer .social [class^="icon-"] {
    margin: 0 10px;
  }
}
@media(min-width:768px) {  
  .banner__titulo {
    font-size: 50px;
  }
  .cursos__titulo {
    font-size: 40px;
  }
}

@media(min-width:1024px) {  
  .contenedor {
    width: 1000px;
  }
  .section__titulo {
    font-size: 50px;
    margin: 30px 0;
  }
  .nav {
    position: static;
    width: auto;
  }
  .menu {
    display: flex;
  }
  .icon-menu {
    display: none;
  }
  .menu__link {
    background: none;
    font-size: 40px;
  }
  .select {
    color: rgb(97, 92, 47);
    background: rgb(253, 180, 216);
  }
  .banner__titulo {
    font-size: 80px;
  }
  .banner__txt {
    font-size: 50px;
  }
  .info {
    margin-top: -120px;
  }
  .info__columna {
    padding: 50px;
  }
  .info__titulo {
    font-size: 40px;
    text-align: center;
  }
  .parrafos__descripcion {
    padding: 50px;
  }
  .parrafos__titulo {
    font-size: 50px;
  }
  .parrafos__txt {
    font-size: 50px;
  }
}

@media(min-width:1280px) {
  .contenedor {
    width: 1200px;
  }
  .logo {
    font-size: 60px;
  }
  .banner .contenedor {
    top: 40%;
  }
  .info {
    margin-top: -220px;
  }

  .center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }

  p {
    animation-duration: 3s;
    animation-name: slidein;
    animation-iteration-count: infinite;
  }
}

/*-------------------Carousel-------------------*/

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.slider{
width: 100%;
height: 100%;
align-items: center;
overflow: hidden;
}
.slider ul{
  display: flex;
  animation: cambio 20s infinite alternate linear;
  width: 700%;
}
.slider li{
  width: 100%;
  list-style: none;
}
.slider img{
  width: 80%;
  height: 100%;
}
@keyframes cambio{
  0%{margin-left: 0;}
  20%{margin-left: 0;}
  
  25%{margin-left: -100%;}
  45%{margin-left: -100%;}
  
  50%{margin-left: -200%;}
  70%{margin-left: -200%;}
  
  75%{margin-left: -300%;}
  100%{margin-left: -300%;}
}
@media only screen and (min-width:320px) and (max-width:500px){
.slider, .slider ul, .slider img{
  height: 100vh;
}
}

/*-------------------Botones-------------------*/

input[type="text"], input[type="password"] {
  width: 97%;
  height: 5%;
  margin: 0 0 15px;
  padding: 10px 1%;   
  font-size: 18px;

-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}

input[type="submit"], input[type="button"], input[type="reset"] {
  display: inline-block;
  background: #044164;
  padding: 5px 15px;
  color: rgb(97, 92, 47);
  border: 0 none;
  font-size: 18px;
  cursor: pointer;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover {
opacity: .8;
}

.main input[type="text"], .main input[type="password"] {
text-align: center;
border:0;
}
.main input[type="submit"] {
  width: 99%;
  margin: 0 auto;
  padding: 13px 0;
}



/*-------------------Cuenta Regresiva-------------------*/
.cuenta-container {
  text-align: center;
  margin: 40px auto;
  padding: 40px;
  font-size: 30px;
}

.cuenta-regresiva {
  font-size: 100px;
  font-family: 'Dancing Script', cursive;
  color: rgb(97, 92, 47);
  background-color:rgb(97, 92, 47);
  padding: 40px 30px;
  border-radius: 15px;
  display: inline-block;
  box-shadow: 0 8px 40px rgb(97, 92, 47);
  transition: transform 0.3s ease;
}

.cuenta-regresiva span {
  font-weight: bold;
  font-size: 60px;
  margin: 0 50px;
  display: inline-block;
}

.cuenta-regresiva:hover {
  transform: scale(1.05);
  background-color: rgb(97, 92, 47);
}

audio {
  display: block;
  margin: 0 auto;  
  width: 80%;     
  max-width: 600px; 
}

.mapa-container {
  display: flex;            
  justify-content: center;   
  align-items: center;       
  margin: 20px auto;         
  padding: 10px;          
}

iframe {
  max-width: 100%;            
  height: 450px;              
  border-radius: 10px;        
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}
