@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Monoton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Monoton&family=Big+Shoulders+Display:wght@700&display=swap');


/* Estilos para la barra de desplazamiento */
::-webkit-scrollbar {
    width: 5px; /* Ancho de la barra de desplazamiento */
    height: 5px; /* Altura de la barra de desplazamiento horizontal */
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1); /* Fondo del track de la barra de desplazamiento */
    border-radius: 10px; /* Bordes redondeados del track */
}

::-webkit-scrollbar-thumb {
    background: #fff; /* Color del pulgar de la barra de desplazamiento */
    border-radius: 10px; /* Bordes redondeados del pulgar */
}

::-webkit-scrollbar-thumb:hover {
    background: #ccc; /* Color del pulgar al pasar el cursor por encima */
}

/* Para Firefox */

* {
    scrollbar-width: thin; /* Ancho de la barra de desplazamiento */
    scrollbar-color: #fff rgba(0, 0, 0, 0.1); /* Color del pulgar y el fondo del track */
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}




.containercowo {
  position: relative;
  width: 100%;
  min-width: 1024px;
  min-height: 750px;
  margin: 0 auto;
  aspect-ratio: 16 / 9; /* Mantiene la proporción */
  overflow: hidden;
}

.background {
  position: relative;
  width: 100%;
  height: 100%;
  background-image: url('../images/fondos/Imagen5.webp');
  background-size: cover;
  background-position: center;
}


.letrero {
  position: absolute;
  top: 15%;
  left: 33.5%;
  width: 36.5%;
  height: 32.5%;
   display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  display: inline-block;
}

.linea1 {
    font-family: 'Monoton', cursive;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #f9f871;
    text-shadow: 2px 2px 6px #000;
    display: block;
  }

  .linea2 {
    font-family: 'Big Shoulders Display', sans-serif;
    font-size: clamp(1.5rem, 4.5vw, 3rem);
    color: #e74c3c;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
    display: block;
  }

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0);
    color: #fff;
    border: none;
    font-size: 2em;
    padding: 10px;
    cursor: pointer;
    z-index:1000;
}

.nav-button.left {
    left: 10px;
}

.nav-button.right {
    right: 10px;
}

.central-buttons {
    position: absolute;
    top: 70vh;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    flex-direction: row; /* cambio aquí para alineación horizontal */
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.futuristic-button {
    padding: 15px 30px;
    font-size: clamp(0.7rem, 2.5vh, 1.2rem);
    font-family: 'Nunito', sans-serif;
    color: #b2ffb2; /* texto verde muy claro */
    background: rgba(0, 50, 0, 0.8); /* verde oscuro translúcido */
    border: 2px solid #00ff88; /* borde verde neón */
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 12px #00ff88; /* brillo verde suave */
    min-width: 220px;
    text-align: center;
}

.futuristic-button:hover {
    background: #00ff88; /* fondo verde neón al pasar el mouse */
    color: #003300;       /* texto más oscuro para contraste */
    box-shadow: 0 0 20px #00ff88;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    padding: 10px;
    display: none;
    z-index:2000;
}

.cookie-consent button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-left: 10px;
}

.cookie-consent button:last-child {
    background-color: #333333; /* Rojo para el bot贸n de rechazo */
}


.linkedin-icon-container {
    display: inline-block;
    width: 40px; /* Ancho del contenedor */
    height: 40px; /* Altura del contenedor */
    background-color: #0077B5; /* Color de fondo del contenedor */
    border-radius: 50%; /* Hace que el contenedor sea redondo */
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none; /* Quita el subrayado del enlace */
    color: white; /* Color del icono */
    margin: 10px; /* Margen alrededor del contenedor */
    transition: background-color 0.3s; /* Transición suave para el cambio de color */
}

.linkedin-icon-container:hover {
    background-color: #005582; /* Color al pasar el cursor */
}

.linkedin-icon-container i {
    font-size: 1.5em; /* Tamaño del icono */
}

/* Estilos para el contenedor de botones */
.button-container {
    position: fixed;
    top: 10px;
    right: 20px;
    display: flex;
    flex-direction: row; /* Cambia a 'row' si quieres que los botones estén en fila */
  gap: 10px; /* Espacio entre los botones */
  z-index: 1002;
}

/* Estilos para los botones */
.info-button, .note-button, .pomodoro-button, .cuenta-button, .notebook-button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 1.5em;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 1003;
}


.info-modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    max-height: 500px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 30;
    border-radius: 8px;
    overflow: auto;
}

.info-modal-content {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column; /* Asegura que los elementos estén en una columna */
    align-items: center;
}

.sesion-modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    max-height: 500px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 30;
    border-radius: 8px;
    overflow: auto;
}

.sesion-modal-content {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column; /* Asegura que los elementos estén en una columna */
    align-items: center;
}

.close {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 1.5em;
    cursor: pointer;
    z-index:1000;
}

.add-notes-btn{
    background: #fff8c6; /* Fondo amarillo pastel */
    border: 1px solid #ccc;
    padding: 10px;
    margin: 5px;
    box-sizing: border-box; /* Incluye padding y borde en el ancho */
    border-radius: 50%;
    position: relative;
    width:50px;
    max-height:50px;
    min-height:50px;
    font-size: 1.5em;
    text-align: center; /* Centra el texto */
    color: green; /* Color del texto */
    cursor: pointer;
}

.notes-modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 800px; /* Aumentar el ancho para acomodar varias columnas */
    max-height:400px;
    min-height:400px;
    background: url('/coworking/images/corkboard.jpg') no-repeat center center; /* Fondo de tablero de corcho */
    background-size: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1003;
    border-radius: 8px;
    overflow: auto; /* Permite el desplazamiento si el contenido es grande */
    padding-top: 20px; /* Espacio para el botón de cerrar */
}

.notes-modal-content {
    padding: 10px;
    text-align: center;
    position: relative; /* Necesario para posicionar el botón de cerrar dentro del modal */
}

.notes-container {
    display: flex;
    flex-wrap: wrap; /* Permite varias columnas */
    align-items: center;
    justify-content: center; /* Centra las columnas */
    gap: 10px; /* Espacio entre las notas */
}

.note {
    background: #fff8c6; /* Fondo amarillo pastel */
    border: 1px solid #ccc;
    padding: 10px;
    margin: 5px;
    width: calc(33% - 20px); /* Tres columnas con espacio */
    box-sizing: border-box; /* Incluye padding y borde en el ancho */
    border-radius: 8px;
    position: relative;
    font-family: 'Indie Flower', cursive; /* Fuente de escritura a mano */
    font-size:1.3em;
    text-align: center; /* Centra el texto */
    word-wrap: break-word;
    color: black; /* Color del texto */
}

.notereal:empty:before {
    content: attr(data-placeholder); /* Muestra el texto de marcador de posición */
    color: grey; /* Color del marcador de posición */
}

.note .delete {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    color: red;
    background: transparent; /* Asegura que el fondo sea transparente */
}

.note .delete i {
    pointer-events: none; /* Asegura que el icono no sea interactivo */
}

.sesion-modal-content form {
  display: flex;
  flex-direction: column;
  width: 80%;
  margin: 0 auto;
  font-family: 'Nunito', sans-serif; /* Aplica la fuente Nunito */
}

.frame-inicio {
  width: 90% !important;
  border: 0 !important;
  background: transparent;
  min-height: 380px;
}

.sesion-modal-content label {
  font-size: 1.2em;
  margin-bottom: 5px;
  color: #333; 
}

.sesion-modal-content input[type="text"],
.sesion-modal-content input[type="password"] {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd; 
  border-radius: 5px;
  font-size: 1em;
}

.sesion-modal-content button {
  background-color: #FFD700;
  color: #333;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.sesion-modal-content button:hover {
  background-color: #FFA500; 
}

/* Mensajes de error */
.sesion-modal-content .error {
  color: red;
  font-size: 0.9em;
  margin-bottom: 10px;
}

/* Estilos para el modal de temporizador Pomodoro */
.pomodoro-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1003;
    border-radius: 8px;
    overflow: auto;
    padding-top: 20px;
}

.pomodoro-modal-content {
    padding: 20px;
    text-align: center;
}

.pomodoro-timer {
    font-size: 2em;
    margin-top: 20px;
}

.pomodoro-modal input {
   color: #333;
   width:40px;
  padding: 12px 20px;
  border: 1;
  border-radius: 10px;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.pomodoro-modal button {
  background-color: #FFD700;
  color: #333;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.pomodoro-modal button:hover {
  background-color: #FFA500; 
}
.pomodoro-timer{
    display:none;
}

.notebook-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    background-color: white;
    background: url('/coworking/images/cuaderno.jpg') no-repeat center center; /* Fondo de Cuaderno */
    min-height: 500px;
    max-height: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1005;
    border-radius: 8px;
    overflow: auto;
    padding-top: 20px;
}

.notebook-modal-content {
    padding: 20px;
    text-align: center;
    background:transparent;
}

.notebook-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background:transparent;
}

.notebook-btns-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    background:transparent;
}

.notebook-btns-container button{
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 1.0em;
    min-width:30px;
    max-width:30px;
    min-height:30px;
    max-width:30px;
    padding: 5px;
    cursor: pointer;
    border-radius: 50%;
}

.notebook-btns-container select{
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 1.0em;
    width:20%;
    min-width:100px;
    max-width:150px;
    min-height:30px;
    max-width:30px;
    padding: 5px;
    cursor: pointer;
    border-radius: 10px;
}

.page-navigation {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.page-navigation button, .page-navigation select {
    margin: 0 5px;
}

.page-container {
    width: 100%;
}

.page {
    border: 1px solid #ccc;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border-radius: 8px;
    min-height:300px;
    background: #f9f9f9;
    box-sizing: border-box;
    background:transparent;
}

.page-title {
    font-weight: bold;
    margin-bottom: 5px;
    border-bottom: 1px solid #ddd;
    word-wrap: break-word;
}

.page-content {
    min-height: 300px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.page-title:empty:before {
    content: attr(data-placeholder); /* Muestra el texto de marcador de posición */
    color: grey; /* Color del marcador de posición */
}

.page-content:empty:before {
    content: attr(data-placeholder); /* Muestra el texto de marcador de posición */
    color: grey; /* Color del marcador de posición */
}


@media screen and (orientation: landscape) and (max-height: 500px) {
    .containercowo {
        min-width: 0px;
        min-height: 300px;
        
    }
    
    .linea1 {
    
    font-size: clamp(1rem,4vw, 2.5rem);
    
  }
  
  .letrero {
  position: absolute;
  top: 15%;
  left: 33.5%;
  width: 36.5%;
  height: 32.5%;
 
}

  .linea2 {
    font-size: clamp(1rem, 4vw, 2.3rem);
    letter-spacing: 1px;
    margin-top: 0rem;
      }
    
}

/* Si la pantalla es vertical (orientación portrait) */
@media screen and (orientation: portrait) {

 
  .background {
    background-image: url('../images/fondos/Imagen52.webp'); /* imagen vertical */
    background-size: contain;  /* 👈 mantiene imagen entera visible */
    background-position: center;
    background-repeat: no-repeat;
  }
  
  .letrero {
  position: absolute;
  top: 15%;
  left: 31.5%;
  width: 36.5%;
  height: 32.5%;
 
}

.central-buttons {
        flex-direction: column; /* se apilan verticalmente */
    }
}