/* Estilos generales para el body */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Header */
header {
    background-color: #808080; /* Color gris */
    padding: 20px;
    text-align: center;
    color: white;
}

header h1 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

/* Contenedor principal para que ocupe todo el espacio disponible */
.container {
    flex: 1;
    margin-top: 20px; /* Espaciado superior opcional */
}

/* Contenedor de la imagen */
.image-container {
  text-align: center;
  border: 2px solid #fdfcfc;
  padding: 10px;
  background-color: #fff;
  display: inline-block; /* Permite que el contenedor ajuste su tamaño al de la imagen */
  margin: 0 auto; /* Centra el contenedor horizontalmente */
}

.image-container img {
  max-width: 100%; /* Asegúrate de que la imagen no se desborde */
  height: auto; /* Mantiene la proporción de la imagen */
}



/* From Uiverse.io by escannord */ 
.button {
    --color: rgb(56, 55, 100);
    padding: 0.5rem 1rem; /* Ajustar el padding para que sea más pequeño */
    background-color: transparent;
    color: var(--color);
    font-weight: bolder;
    text-transform: uppercase;
    display: inline-flex; /* Cambiar a inline-flex para que no ocupe toda la línea */
    justify-content: space-around;
    align-items: center;
    cursor: pointer;
    position: relative;
    border-radius: 5px;
    width: auto; /* O puedes establecer un valor específico como 100px */
    margin-bottom: 50px; /* Ajusta el valor según lo que necesites */
  }
  
  .arrow {
    display: inline-flex;
    position: relative;
    width: 30px;
    height: 15px;
    margin-left: 0.5rem;
  }
  
  .arrow::after,
  .arrow::before {
    content: "";
    display: inline-block;
    position: absolute;
    border-color: var(--color);
  }
  
  .arrow::after {
    width: 10px;
    height: 0;
    border: 2px solid var(--color);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }
  
  .arrow::before {
    width: 10px;
    height: 10px;
    border-top: 4px solid var(--color);
    border-right: 4px solid var(--color);
    left: 3px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
  
  .button:hover {
    background-color: var(--color);
    color: white;
  }
  
  .button:hover .arrow {
    transform: translateX(10px);
  }
  
  .button:hover .text {
    transform: translateX(10px);
  }
  
  .button:hover .arrow::after {
    width: 25px;
    border-color: white;
  }
  
  .button:hover .arrow::before {
    left: 15px;
    border-color: white;
  }
  
  .button,
  .text,
  .arrow,
  .arrow::after,
  .arrow::before,
  .button::before,
  .button::after {
    transition: all 0.3s, box-shadow 0.2s;
  }
  
  .button::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 10px;
    border-radius: 5px;
    border: solid 3px var(--color);
    border-right-color: transparent;
    background-color: transparent;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .button::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 10px;
    border-radius: 5px;
    border: solid 3px var(--color);
    border-left-color: transparent;
    background-color: transparent;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .button:hover:before,
  .button:hover:after {
    width: 50% !important;
  }
  
  .button:active {
    box-shadow: 0px 0px 0px 7px rgba(79, 78, 105, 0.295);
  }
  


  



  /*boton 1*/
  .button1 {
    --color: rgb(56, 55, 100);
    padding: 0.5rem 1rem; /* Ajustar el padding para que sea más pequeño */
    background-color: transparent;
    color: var(--color);
    font-weight: bolder;
    text-transform: uppercase;
    display: inline-flex; /* Cambiar a inline-flex para que no ocupe toda la línea */
    justify-content: space-around;
    align-items: center;
    cursor: pointer;
    position: relative;
    border-radius: 5px;
    width: auto; /* O puedes establecer un valor específico como 100px */
    margin-bottom: 50px; /* Ajusta el valor según lo que necesites */
    
  }
  
  .arrow1 {
    display: inline-flex;
    position: relative;
    width: 30px;
    height: 15px;
    margin-right: 0.5rem; /* Cambiar a margin-right para posicionar correctamente */
  }
  
  .arrow1::after,
  .arrow1::before {
    content: "";
    display: inline-block;
    position: absolute;
    border-color: var(--color);
  }
  
  .arrow1::after {
    width: 10px;
    height: 0;
    border: 2px solid var(--color);
    top: 50%;
    right: 0; /* Cambiar left a right */
    transform: translateY(-50%);
  }
  
  .arrow1::before {
    width: 10px;
    height: 10px;
    border-top: 4px solid var(--color);
    border-left: 4px solid var(--color); /* Cambiar a border-left para apuntar a la izquierda */
    right: 3px; /* Cambiar left a right */
    top: 50%;
    transform: translateY(-50%) rotate(-45deg); /* Cambiar la rotación para apuntar a la izquierda */
  }
  
  .button1:hover {
    background-color: var(--color);
    color: white;
  }
  
  .button1:hover .arrow1 {
    transform: translateX(-10px); /* Cambiar a translateX(-10px) para mover a la izquierda */
  }
  
  .button1:hover .text1 {
    transform: translateX(-10px); /* Cambiar a translateX(-10px) */
  }
  
  .button1:hover .arrow1::after {
    width: 25px;
    border-color: white;
  }
  
  .button1:hover .arrow1::before {
    right: 15px; /* Cambiar left a right */
    border-color: white;
  }
  
  .button1,
  .text1,
  .arrow1,
  .arrow1::after,
  .arrow1::before,
  .button1::before,
  .button1::after {
    transition: all 0.3s, box-shadow 0.2s;
  }
  
  .button1::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 10px;
    border-radius: 5px;
    border: solid 3px var(--color);
    border-left-color: transparent; /* Cambiar a border-left-color */
    background-color: transparent;
    right: 0; /* Cambiar a right */
    top: 50%;
    transform: translateY(-50%);
  }
  
  .button1::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 10px;
    border-radius: 5px;
    border: solid 3px var(--color);
    border-right-color: transparent; /* Cambiar a border-right-color */
    background-color: transparent;
    left: 0; /* Cambiar a left */
    top: 50%;
    transform: translateY(-50%);
  }
  
  .button1:hover:before,
  .button1:hover:after {
    width: 50% !important;
  }
  
  .button1:active {
    box-shadow: 0px 0px 0px 7px rgba(79, 78, 105, 0.295);
  }
  













/* Footer */
footer {
    background-color: #808080; /* Color gris */
    padding: 10px;
    text-align: center;
    color: white;
    width: 100%;
    font-size: 14px;
}


/* Estilos del modal */
.modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  text-align: center;
  position: relative; /* Para posicionar elementos dentro */
  overflow: hidden; /* Evita el desbordamiento del contenido */
  background-color:rgb(81, 85, 124);
  color: #f0f0f0;/*letra color*/
}
.modal-body {
  max-height: 70vh; /* Altura máxima del contenido que se puede desplazar */
  overflow-y: auto; /* Permite el desplazamiento vertical */
  padding: 15px; /* Espaciado interno */
  background-color:rgb(81, 85, 124); /* Fondo del contenido */
}

.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute; /* Cambia a posición absoluta */
  top: 5px; /* Ajusta la posición vertical */
  right: 10px; /* Ajusta la posición horizontal */
}

.close:hover, .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


