@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Poppins:wght@300;400;600&display=swap'); /**/

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.header {
    position: fixed;
    background: rgba(11, 48, 76, 0.7);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    padding: 0 ;
    width: 100%;
}

/*Logo*/


.mover {
    align-items: center;
    gap: 20px;
}

.logo {
    margin-right: auto;
}

/*Menu de navegación*/

.header .nav-links {
    list-style: none;
}

.header .nav-links li {
    display: inline-block;
    padding:  20px;
}

/*Efectos en los links*/

.header .nav-links li:hover {
    transform: scale(1.1);
}

.header .nav-links a {
    font-size: 700;
    color: aliceblue;
    text-decoration: none;
}

.header .nav-links li:hover {
color: blue;
}

/* Video de fondo */
#video-fondo {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Overlay oscuro para mejor contraste */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.267);
  z-index: -1;
}

.contenedor {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 40px;
  width: 350px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  color: #fff;
  z-index: 2;
}

.contenedor h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 48px;
  margin-bottom: 10px;
  color: #f1f1f1;
}

.contenedor p {
  font-size: 14px;
  margin-bottom: 30px;
  color: #ddd;
}

.contenedor input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 10px;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 14px;
}

.contenedor input::placeholder {
  color: #ccc;
}

.contenedor button {
  margin-top: 15px;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  background: linear-gradient(90deg, #c0c0c0, #f1f1f1);
  color: #222;
  cursor: pointer;
  transition: 0.3s;
}

.contenedor button:hover {
  background: linear-gradient(90deg, #ffffff, #dcdcdc);
  transform: scale(1.05);
}

.contenedor a {
  display: block;
  margin-top: 15px;
  color: #b3b3ff;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.contenedor a:hover {
  text-decoration: underline;
  color: #fff;
}

.footer {
    background: rgba(11, 48, 76, 0.7);
    color: #ffffff84;
    text-align: center;
    position: fixed;
    width: 100%;
    bottom: 0;
}

main { /* Contenedor principal */
  min-height: calc(100vh - 90px); /* Resta la altura del header */
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes float {
  from { transform: translateY(0) translateX(0); opacity: 0.8; }
  to { transform: translateY(-80px) translateX(30px); opacity: 0.2; }
}


.libro { /* Estilos para cada libro */
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 15px;
  margin-top: 10px;
  text-align: left;
  color: #fff;
  transition: 0.3s;
}

.libro:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.02);
}
