/*estilos generales */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header */
/* MODO OSCURO PÁGINA */

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color:rgb(51, 48, 48);
    --text-color:#fff;
  }
}

@media (prefers-color-scheme:  light) {
  :root {
    --bg-color:#fff;
    --text-color:rgb(51, 48, 48);
  }
}

body{
  font-family: 'Lato', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
}

/*CSS de Header*/
/* Estilos para dispositivos de pantalla pequeña */
@media only screen and (max-width: 600px) {

  /* Cambiar el fondo a una imagen más pequeña */
  header {
    background-image:
      linear-gradient(-225deg,
        rgba(6, 58, 57, 0.404) 0%,
        rgba(16, 11, 85, 0.404) 56%,
        rgba(61, 5, 12, 0.438)100%),
      url(../img/Teclado-small.png);
  }

  /* Reducir el tamaño de la imagen del logo */
  .contenedor-logo img {
    height: 60px;
  }

  /* Cambiar el tamaño y el espacio del título */
  .contenedor-logo h1 {
    font-size: 30px;
    margin: 0;
  }

  /* Reducir el tamaño del texto "bienvenidos" */
  .bienvenidos p {
    font-size: 24px;
  }

  /* Reducir el tamaño del texto "pagina web en desarrollo" */
  .mensaje p {
    font-size: 24px;
  }
  
  .nombre-academia h1 {
      justify-content: center;
    align-items: center;
    font-size: 124px;
  }
}

/* Estilos para dispositivos de pantalla mediana y grande */
@media only screen and (min-width: 601px) {

  /* Cambiar el fondo a una imagen más grande */
  header {
    background-image:
      linear-gradient(-225deg,
        rgba(6, 58, 57, 0.404) 0%,
        rgba(16, 11, 85, 0.404) 56%,
        rgba(61, 5, 12, 0.438)100%),
      url(../img/Teclado.png);
  }

  /* Cambiar el tamaño de la imagen del logo y del título */
  .contenedor-logo img {
    height: 120px;
  }

  .contenedor-logo h1 {
    font-size: 70px;
    margin: 0;
  }

  /* Alinear el texto "bienvenidos" y "pagina web en desarrollo" al centro */
  .bienvenidos,
  .mensaje {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
  }

  .nombre-academia {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    font-size: 84px;
  }

  /* Cambiar el tamaño del texto "bienvenidos" y "pagina web en desarrollo" */
  .bienvenidos p,
  .mensaje p {
    font-size: 38px;
  }
}

/*
.wave{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
*/

.MenuAC{
    justify-content: center;
    align-items: center;
 }

/* BARRA DE MENU DE NAVEGACIÓN */
 .MenuP{
    list-style: none;
    padding: 0;
    width: 100%;
    max-width: 100%;
    margin: auto;
    text-align: center;
    background-color: #20202b;}


  .MenuP li a{
     text-decoration: none;
     color:white; 
     padding: 20px;
     display: block;
     text-align: center;
     font-size: 20px;    
    }

  .MenuP li {
    display: inline-block;
    text-align: center;
  }

  .MenuP li a:hover{
    background-color: #4d50f1;
  }

  /* CSS DE SLIDER ALUMNOS */
    .nav{
    background-color: rgb(235, 34, 34);
    width: 100%; height: 100px; 
  }
  
  .slider-alumnos{
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80vh;
  }

    .slider{
    width: 100%;
    height: 460px;
    overflow: hidden;
    }
    .slider ul{
      display: flex;
      animation: cambio 25s infinite alternate linear;
      width: 400%; 
    }
    .slider li{
      width: 100%;
      list-style: none;
    }
    .slider img{
      width: 100%;
      height: 80%;
    }

    @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:768px)
    {
     .slider, .slider ul, .slider img{
     height: auto;}
    }


/*CARROUSELL */




/* Aquí definimos las Custom properties */
:root {
  --negro: #393939;
  --blanco: #ececec;
  --sombra-ppal: #c9c9c9;
  --sombra-sec: #ffffff;
  --borde-negro: #00000050;
  --marcado: rgb(127, 195, 255);
  /* Tipografía */
  --tipo-principal: Helvetica, Arial, sans-serif;
}

/* Las adaptamos al modo oscuro */
@media (prefers-color-scheme: dark) {
  :root {
    --negro: #ececec;
    --blanco: #303030;
    --sombra-ppal: #242424;
    --sombra-sec: #3c3c3c;
    --borde-negro: #FFFFFF50;
  }
}




/* FIN CARROUSEL*/


/* ANUNCIOS ACADEMIA 

.titulo-anuncio{
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  color: #7c79a0;
  padding-bottom: 5px;
  background-color: #ecebee;
}

.anuncios-academia{
  padding-top: 20px;
}

.anuncios-academia1{
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.imagen-contenedor-anuncio{
  margin-bottom: 20px;
}

.imagen-contenedor-anuncio img{
  display: block;
  width: 100%;
  height: 90%;
  border-radius: 10px;
}
/*


/* GANADORES */
/* GANADORES */
.ganadores {
    text-align: center;
    width: 100%;
  }
  
  .ganadores__titulo {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    
  }
  
  .ganadores__lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .ganadores__item {
    width: 40%;
    max-width: 250px;
    margin: 10px;
  }
  
  .ganadores__item img {
    width: 100%;
    height: auto;
  }
  
  .ganadores__nombre {
    font-size: 1.2rem;
    margin: 0.5rem 0 0;
  }
  
  .ganadores__premio {
    font-size: 0.9rem;
    margin: 0.5rem 0 1.5rem;
  }
  
  @media screen and (min-width: 768px) {
    .ganadores__item {
      width: 25%;
      max-width: none;
    }
  }
  
  
  
  
  
  /* GALERIA DE FOTOS */
  
  .titulo-seccion{
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #7c79a0;
    padding-bottom: 60px;
    background-color: #ecebee;
  }
  
  .portafolio-academia{
    padding-top: 20px;
    padding-bottom: 10px;
  }
  
  .portafolio-galeria{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
  }
  
  .imagen-contenedor{
    width: 31%;
    height: 550px;
    margin-bottom: 20px;
  }
  
  .imagen-contenedor img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }
  
  .botonn {
    text-decoration: none;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  
  .botong{
    text-decoration: none;
    justify-content: center;
    text-align: center;
    background-color: #303030;
    width: 100%;
      height: 100%;
  }
  
  .botong a{
    background-color: rgb(80, 94, 218);
    text-decoration:none;
    padding: 15px 55px;
    font-family: sans-serif;
    font-size: 25px;
    color: #fff;
    border-radius:10px;
    display: inline-block;
    transition: .8s ease
    }
  
    a:hover{
    -webkit-box-shadow: 0px 0px 100px 0px rgb(83, 99, 243);
    -moz-box-shadow: 0px 0px 100px 0px rgb(83, 99, 243);
    box-shadow: 0px 0px 100px 0px rgb(83, 99, 243);
    transition: .8s ease;
    }
  
  .botong li a:hover{
    -webkit-box-shadow: 0px 0px 100px 0px rgb(83, 99, 243);
    -moz-box-shadow: 0px 0px 100px 0px rgb(83, 99, 243);
    box-shadow: 0px 0px 100px 0px rgb(83, 99, 243);
    }
  