/* parametrso iniciales*/
@import url("https://fonts.googleapis.com/css2?family=Pangolin&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Caprasimo&display=swap");
@import url('https://fonts.googleapis.com/css?family=Muli&display=swap'); 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* Tamaño de la ventana */
  width: 100vw;
  min-height: 100vh;
  background-color: rgb(44, 130, 187);
}
/*
body {
  font-family: 'Muli', sans-serif;
  overflow: hidden;
  margin: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #142B31;
}
*/

.cabecera {
  /* ancho y alto */
  width: 100vw;
  height: 10vh;
  text-align: center;
  background-color: rgb(187, 245, 235);
  /* para fijar cabecera */
  position: fixed;
  top: 0;
}

.botonera {
  width: 95%;
  margin: auto;
  padding-top: 1%;
  display: flex;
  justify-content: space-between;
}

.pie_pagina {
  /*ancho y altura*/
  width: 100vw;
  height: 3vh;

  background-color: rgb(189, 48, 106);

  /* fijar cabecera */
  position: fixed;
  bottom: 0;
}

/* formato al contenido */
/* sección principal */
.principal {
  /* tamaño, ancho y altura*/
  width: 90vw;
  margin: auto; /* para centrar */
  margin-top: 10vh; /* espacio que ocupa la cabecera */
  margin-bottom: 3vh;
  min-height: 87vh; /* altura disponible */

  background-color: rgb(143, 47, 130);

  /* organizar contenido */
  display: flex;
  flex-direction: column;
}

/* dar tamño a cada una de las secciones
100% de anho 
100% de alto
color diferente de fondo */

.presentacion {
  /* tamaño, ancho y altura*/
  width: 100%;
  min-height: 87vh; /* altura disponible */
  display: flex;
  justify-content: center;
  align-items: center;

  background-color: rgb(131, 15, 106);
}
.titulo_principal {
  /* formato del titulo*/
  font-family: "Poltawski Nowy", serif;
  font-size: 10vmax;
  color: rgb(101, 86, 156);
  text-align: center;
}

h1 {
  font-size: 48px;
  color: #333;
  position: relative;
  display: inline-block;
  animation: titleEffect 5s ease-in-out infinite;
}

@keyframes titleEffect {
  0% {
    color: #ff6699;
    transform: translateX(0);
  }
  25% {
    color: #ff3366;
    transform: translateX(10px) rotateZ(5deg);
  }
  50% {
    color: #66ccff;
    transform: translateX(0);
  }
  75% {
    color: #ffff66;
    transform: translateX(-10px) rotateZ(-5deg);
  }
  100% {
    color: #ff6699;
    transform: translateX(0);
  }
}

h1::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  width: 20px;
  height: 2px;
  background-color: #ff6699;
  transform: translateY(-50%);
  animation: beforeEffect 2s ease-in-out infinite;
}

h1::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 20px;
  height: 2px;
  background-color: #ff6699;
  transform: translateY(-50%);
  animation: afterEffect 2s ease-in-out infinite;
}

@keyframes beforeEffect {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }
  50% {
    transform: translateY(-50%) rotate(180deg);
  }
  100% {
    transform: translateY(-50%) rotate(360deg);
  }
}

@keyframes afterEffect {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }
  50% {
    transform: translateY(-50%) rotate(-180deg);
  }
  100% {
    transform: translateY(-50%) rotate(-360deg);
  }
}


.conociendome {
  /* tamaño, ancho y altura*/
  width: 100%;
  min-height: 87vh; /* altura disponible */

  background-color: rgb(100, 158, 197);
}
/* Estilo para las preguntas */
.pregunta {
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 24px;
    color: #333;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  }
  
  /* Estilo para el contenedor de la pregunta */
  .respuesta {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
  }
  
  .respuesta:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  /* Estilo para el botón de enviar */
  .submit-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff6699;
    color: white;
    font-size: 18px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
  }
  
  .submit-button:hover {
    background-color: #ff3366;
  }
  
  .submit-button:active {
    background-color: #ff0033;
  }

.subtitulo {
  /*formato de subtitulos*/
  font-size: 3rem;
  font-family: "Caprasimo", cursive;
  text-align: center;
  color: beige;
}
    
.illia {
  /* tamaño, ancho y altura*/
  width: 100%;
  min-height: 87vh; /* altura disponible */

  background-color: #97340d;
}
.container {
  width: 100%;
  display: flex;
  padding: 0 20px;
}

.slide {
  position: relative;
  cursor: pointer;
  height: 80vh;
  flex: 1;
  margin: 10px;
  border-radius: 20px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  transition: .5s
}

.slide > img {
  width: 100%;
  height: 100%;
}

.slide > h3 {
  position: absolute;
  color: #fff;
  bottom: 10px;
  left: 10px;
  opacity: 0;
  transition: .5s
  
}

.slide.active {
  flex: 10;
}

.slide.active > h3{
  opacity: 1
}

.futuro {
  background-color: #a0314d;

  /* tamaño, ancho y altura*/
  width: 100%;
  min-height: 87vh; /* altura disponible */
}

.contactos {
  background-color: #1a6264;

  /* tamaño, ancho y altura*/
  width: 100%;
  min-height: 87vh; /* altura disponible */
  font-size: 200%;
  color: rgb(0, 0, 0);
  text-align: center;
  font-family:  'Poltawski Nowy', serif;
  letter-spacing: 0.27em;
  word-spacing: 0.15em;
}
