@import url(https://fonts.googleapis.com/css?family=Nunito);


@font-face {
  font-family: "RenaissanceRegular";
  src: url("../Fonts/Renaissance-Regular.woff2") format("woff2");
  style: normal;
  weight: 400;
  unicode-range: U+000-5FF;
}

@font-face {
  font-family: "OptimusPrinceps";
  src: url("../Fonts/OptimusPrinceps.woff2") format("woff2");
  style: normal;
  weight: 400;
  unicode-range: U+000-5FF;
}


html {
  height: 100%;
  overflow: hidden;
}

body { 
  margin:0;
  padding:0;
	perspective: 1px;
	transform-style: preserve-3d;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  font-family: Nunito;
  scroll-behavior: smooth; /* Habilita el desplazamiento suave */
}


.texto {
font-size: 11px;
  
}



h1 {
   font-size: 250%
}

p {
  font-size: 140%;
  line-height: 150%;
  /*color: #333;*/
}

.slide {
  position: relative;
  padding: 25vh 10%;
  min-height: 100vh;
  width: 100vw;
  box-sizing: border-box;
  /*box-shadow: 0 -1px 10px rgba(0, 0, 0, .7);*/
	transform-style: inherit;
}

.imag {
  position: absolute;
  top: 50%;
  left: 35%;
  width: 320px;
  height: 240px;
  transform: translateZ(.25px) scale(.75) translateX(-94%) translateY(-100%) rotate(2deg);
  padding: 10px;
  border-radius: 5px;
  background: rgba(240,230,220, .7);
  box-shadow: 0 0 8px rgba(0, 0, 0, .7);
}

.imag:last-of-type {
  transform: translateZ(.4px) scale(.6) translateX(-104%) translateY(-40%) rotate(-5deg);
}

.slide:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  /*box-shadow: 0 0 8px 1px rgba(0, 0, 0, .7);*/
}

.title {
  width: 60%;
  padding: 5%;
  border-radius: 5px;
  background: rgba(240,230,220, .7);
  box-shadow: 0 0 8px rgba(0, 0, 0, .7);
  margin: 0 auto;
}



.titleBlog {
  width: 60%;

        margin: 0 auto;
  padding: 5%;
  border-radius: 5px;
  background: rgba(240,230,220, .7);
  box-shadow: 0 0 8px rgba(0, 0, 0, .7);
}

.textoContact {
  text-align: center;
  font-size: 175%;
  color: #fff;
}

.slide:nth-child(2n) .title {
  margin-left: 0;
  margin-right: auto;
}

.slide:nth-child(2n+1) .title {
  margin-left: auto;
  margin-right: 0;
}

.slide, .slide:before {
   /*background: 50% 50% / cover;  */
}

.header {
  text-align: center;
  font-size: 175%;
  color: #fff;
  /*text-shadow: 0 2px 2px #000;*/
}

#promo {
  display: flex;
  justify-content: center; 
  background-color: #ffffba; 
  padding: 10px 0 20px 0; 
  font-size: 1.2vw; 
  height: 40px;
  }
  
#logo {
  position: fixed;
  height: 350px;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  background: #f0f0f0 url("../images/Logo.jpg") center no-repeat;
  -webkit-background-size: contain;
  -webkit-background-size: contain;
  background-size: 100%;
  z-index: 3;	
  
      margin: 0 auto;
	 display: flex;
    justify-content: center;
    align-items: center;
  }

#textoLogo {
    color: White; 
    font-size: 2vw;
    font-family: OptimusPrinceps;
    transform: translateY(10px); 
    text-align: center;  
    margin: 0 auto;
    font-weight: bold;
    letter-spacing: 5.1px;
    display: flex;
    justify-content: center;
    align-items: center;
	line-height: 1.0em; 
	text-shadow: 3px 3px 4px #3F1002;
  }

#fotos {

  background-image: url("../images/sombrillas.png");
  background-size: 900px 500px;
  height: 670px;
  z-index:2;
  background-repeat: no-repeat;
  background-position: center bottom;

  /*animation: changeBackground 20s infinite alternate;  Agregamos la animación */
  animation: changeBackground 20s infinite linear; /* Ajustamos la duración y el tipo de animación */
}

/* Definición de la animación */
@keyframes changeBackground {
  0%, 25% {
    background-image: url("../images/sombrillas.png");
  }
  25%, 50% {
    background-image: url("../images/fotos2.png");
  }
  50%, 75% {
    background-image: url("../images/fotos3.png");
  }
  75%, 100% {
    background-image: url("../images/sombrillas.png");
  }
}

.cajaTexto {
  width: 60%;
  padding: 5%;
  border-radius: 5px;
  background-color: #330505;
  box-shadow: 0 0 8px rgba(0, 0, 0, .7);
  color: white;
  margin: 0 auto;

}

.teacher {
  width: 60%;
  padding: 5%;
  margin-top: -700px;
  border-radius: 5px;
  background: rgba(240,230,220, .7);
  box-shadow: 0 0 8px rgba(0, 0, 0, .7);
  margin: 0 auto;

}

#dianaG {
  background-image: url("../images/Diana.png");
  background-size: 800px 842px;
  z-index:2;
  background-repeat: no-repeat;
  background-position: center bottom;
  height: 900px;
  animation: changeBack 20s infinite linear; /* Ajustamos la duración y el tipo de animación */
    margin: 0 auto;
	 display: flex;
    justify-content: center;
    align-items: center;
}



#title h1 {
 transform: translateZ(.25px) scale(.75);
 transform-origin: 50% 100%;

}


#slide1:before {
  /*background-image: url("https://picsum.photos/960/520");*/
  transform: translateZ(-1px) scale(2);
  background-color: white;


}

#slide2 {
  background-image: url("../images/Flamenco.jpg");
  z-index:2;
}

#slide2b {
  background-image: url("../images/class.png");
  background-size: 650px 450px; /*40%;*/
    height: 600px;
  background-repeat: no-repeat;
  background-position: center bottom;
  z-index:2;
}

/* Teacher Diana Profesora Fotos Photos */
#slide3:before {
	
  background-image: url("../images/0I8A2225.jpg");
  background-size: 20%;
  background-repeat: no-repeat;
  background-position: 75% 75%;
  transform: translateZ(-1px) scale(2);
  animation: changeBack 20s infinite linear;
}

@keyframes changeBack {
  0%, 25% {
    background-image: url("../images/mesa.jpg");
  }
  25%, 50% {
    background-image: url("../images/0I8A2225.jpg");
  }
  50%, 75% {
    background-image: url("../images/mesa.jpg");
  }
  75%, 100% {
    background-image: url("../images/interaccion.jpg");
  }
}

#slide4 {
  background: #222;

}

nav {
  position: relative;
  top: 190px;
  left: 0;
  width: 100%;
  background-color: transparent;
  -webkit-background-size: contain;
  -webkit-background-size: contain;
  background-size: 80%;
  z-index: 3;	
  }

/* Estilo para la lista de elementos del menú */
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px;
}

/* Estilo para los elementos del menú */
nav li {

    margin-top: 155px;
}

/* Estilo para los enlaces del menú */
nav a {
  text-decoration: none;
  color: #722F37;
  font-weight: bold;
  transition: color 0.3s ease;

  background-color: White;
  font-family: OptimusPrinceps;
  letter-spacing: 1.5px;
  display: inline-block;
  line-height: 38px;
  padding: 1px 15px;
  text-decoration: none;	
  font-size: 15px;
	  

}

/* Estilo para los enlaces al pasar el cursor por encima */
nav a:hover {
  color: #ff9900;
}


/* Estilo para el botón de "Volver arriba" */
#scrollToTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ff9900;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Estilo para el botón de "Volver arriba" al pasar el cursor por encima */
#scrollToTop:hover {
  background-color: #333;
}

/* Estilo para el botón de "Volver arriba" cuando está activo */
#scrollToTop.active {
  transform: scale(1.2);
}

.titulo {
  font-family: RenaissanceRegular;
}


  /* Estilo para los botones de "Regresar" */
  .return-button {
    position: absolute;
    bottom: 50px;
    left: 20px;
    width: 120px;
    height: 43px;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
	margin-left: 200px;  
	max-height:100px; 
	background-image: url("../images/Flecha.png");
	background-size: 150px;
  }
   .return-contact {
    bottom: -550px;
	
 }
  /* Estilo para los botones de "Regresar" al pasar el cursor por encima - rotate: 5deg;*/
  .return-button:hover {
    background-color: #333;
  }
  
.elementor {
    font-weight: 500;
    fill: #343c47;
    color: #343c47;
    background-color: #fff;
    border-style: solid;
    border-width: 2px;
    border-color: #343c47;
    border-radius: 30px 30px 30px 30px;
    padding: 6px 50px;
	font-size: 17px;
  }



.dropbtn {
  background-color: #661923;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  /*box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);*/
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: #ddd;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #800000;}




/* Estilos generales para el contenedor */
.conten {
    display: flex; /* Utiliza flexbox para organizar la imagen y el texto */
    flex-wrap: wrap; /* Permite que los elementos se envuelvan cuando no hay suficiente espacio */
}

/* Estilos para la imagen */
.conten img {
    max-width: 100%; /* Asegura que la imagen no se desborde del contenedor */
    height: auto; /* Añade esta línea para mantener la proporción */
	
	/* position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
	margin: 10px;
    margin-bottom: 10px; /* Espacio entre la imagen y el texto */
    object-fit: contain; /* Ajusta la imagen dentro del contenedor sin deformarla */
}

/* Estilos para el texto */
.conten p {
    flex: 1; /* El texto ocupará todo el espacio restante */
    /* margin-left: 10px; /* Espacio entre la imagen y el texto */
}


        .custom-list {
            list-style: none; /* Quita las viñetas predeterminadas */
            padding-left: 0; /* Elimina el padding por defecto */
            font-size: 15px;
        }
        .custom-list li {
            position: relative; /* Para posicionar la viñeta personalizada */
            padding-left: 1.5em; /* Espacio para la viñeta y tabulación */
        }
        .custom-list li:before {
            content: "•"; /* Añade la viñeta personalizada */
            position: absolute;
            left: 0.5em; /* Posición de la viñeta */
        }
        .custom-list li span {
            display: block; /* Hace que el texto sea un bloque */
            margin-left: 0.7em; /* Indentación hacia la izquierda para las líneas subsiguientes */
        }




@media only screen and (max-width: 600px) {
 .texto {
font-size: 3vw;
    /*transform: translateZ(-1px) scale(1);*/
  }
  
  nav {
	  background-size: 100%;
	  
	  }
	  
  #logo {
 //background-size: 150vw auto;

  background-size: 100%;

 }
}
@media only screen and (max-width: 600px) {
 #slide4 {
	 top: 50px;
	 margin-top:50px;
  }
 .textoContact{
	 top: 50px;
	 margin-top:50px;
  }

 
}