/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Roboto:wght@300;400;700&display=swap');



* {
  margin: 0;
  padding: 0;
}

.bgimg {
  /* Full-screen */
  height: 100vh;
  /* Use viewport height for full-screen height */
  /* Center the background image */
  background-position: center;
  /* Scale and zoom in the image */
  background-size: cover;
  /* Add position: relative to enable absolutely positioned elements inside the image (place text) */
  position: relative;
  /* Add a white text color to all elements inside the .bgimg container */
  color: white;
  /* Add a font */
  /*font-family: "Courier New", Courier, monospace;*/
  font-family: 'Roboto', sans-serif;
  /* Set the font-size to 25 pixels */
  font-size: 25px;
}

.bgimg video {
  width: 100%;
  height: 100%;
  /* Make the video fill the entire .bgimg container */
  object-fit: cover;
  /* Make the video cover the container without stretching */
  display: block;
  /* Remove any extra spacing */
  position: absolute;
  /* Position the video absolutely within the .bgimg container */
}


/* Position text in the top-left corner */
.topleft {
  position: absolute;
  top: 16px;
  left: 16px;
}

/* Position text in the bottom-left corner */
.bottomleft {
  position: absolute;
  bottom: 16px;
  left: 16px;
}

/* Position text in the middle */
.middle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

#demo {
  font-size: 30px;
  padding: 10px;
}

.bottomleft a {
  color: white;
  /* Color blanco para el enlace */
  text-decoration: none;
  /* Sin subrayado por defecto */
}

.bottomleft a:hover {
  text-decoration: underline;
  /* Subrayado al pasar el cursor */
}


/* Style the <hr> element */
hr {
  margin: auto;
  width: 40%;
}

/* right side */
.social-icons {
  text-align: center;
  filter: brightness(0) invert(1);
}

.social-icons .social-icons-list {
  display: inline-block;
  list-style-type: none;
  padding: 0;
  text-align: center;
}

.social-icons-list .social-icon {
  box-sizing: border-box;
  display: inline-block;
  height: 24px;
  margin: 0 6px;
  width: 24px;
}

.social-icon a svg path {
  transition: fill 0.15s ease;
}

.topright {
  position: absolute;
  top: 16px;
  right: 15px;
}

.topright a {
  text-decoration: none;
  color: #0e0e10;
}

/* left side */
.left {
  right: 0;
  bottom: 10px;
  position: absolute;
}

.sub-message {
  text-align: justify;
}

.topleft p {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: white;
}

.middle h1 {
  font-family: 'Playfair Display', serif;
  font-size: 50px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
}

.sub-message {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: white;
  display: flex;
  justify-content: center;
  /* Centrar horizontalmente */
  align-items: center;
}

.bottomleft p {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: white;
}


@media screen AND (max-width:600px) {
  .topleft {
    font-size: 20px;
    display: grid;
    place-items: center;
    /* Centra horizontal y verticalmente */
    width: 90%;
  }

  .sub-message {
    text-align: center;
  }

  .middle h1 {
    font-size: 20px;
  }

  #demo {
    font-size: 20px;
  }

  .bottomleft {
    display: none;
  }

  .left {
    display: flex;
    justify-content: center;
    /* Centra el contenido horizontalmente */
    width: 100%;
  }
}


.social-icon img {
  width: 32px; /* Ajusta el tamaño del ícono */
  height: 32px; /* Asegúrate de que sea cuadrado */
  max-width: 100%; /* Evita que el ícono se desborde */
  max-height: 100%; /* Limita el alto máximo */
  display: block; /* Asegura que no haya espacio extra */
  color: white;
  background-color: transparent; /* Fondo blanco para que destaque */
  padding: 1px; /* Espaciado interno para que se vea estético */
}


a title {
  position: relative;
  display: inline-block;
}

a title {
  visibility: hidden; /* Oculta el tooltip por defecto */
  width: auto;
  background-color: #333; /* Color de fondo */
  color: #fff; /* Color del texto */
  text-align: center;
  padding: 5px 10px;
  border-radius: 5px;
  position: absolute;
  bottom: 120%; /* Muestra el tooltip arriba del ícono */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  white-space: nowrap; /* Evita que el texto se rompa en varias líneas */
  opacity: 0; /* Transición inicial */
  transition: opacity 0.3s;
}

a title :hover {
  visibility: visible; /* Muestra el tooltip cuando se pasa el mouse */
  opacity: 1; /* Cambia la opacidad para hacerlo visible */
}