@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');



/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    background-color: var(--background-color);
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

/* Defining colors */
:root {
    --primary-color: #2ecc71;
    --secondary-color: #27ae60;
    --accent-color: #e74c3c;
    --background-color: #F4F3F8;
    --text-color: #2c3e50;
}


/*  Navegador superior---------------------------------*/
.navegador{
    background-color: var(--primary-color);
    height: 65px;
    position: fixed;
    top: 0;
    left: 0;
}

.logo {
    height: 100%;
}

.logo img {
    height: 80%;
    width: auto;
}

.sandwich{
    height: 100%;
}

.sandwich img{
    height: 40%;
    width: auto;
}

.buscador{
    background-color: var(--secondary-color);
}

.buscador-form{
    all: unset;
    color: var(--primary-color);
}

.lupa{
    background-color: var(--secondary-color);
}

.lupa img{
    height: 50%;
    width: auto;
}


/** Navegador inferior---------------------------------*/
.subMenu{
    background-color: var(--primary-color);
    height: 65px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    text-align: center;
}

.bntSub svg{
    width: 22px;
    height: auto;
}


/** Cargador------------------------------------------------*/
.cargador{
    width: 100%;
    height: 100vh;
    background-color: var(--text-color);
    position: absolute;
    top:0;
    left: 0;
    z-index: 2001;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cargCentral{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.imgCargador{
    background-color: var(--secondary-color);
    width: 35%;
    padding: 20px;
    border-radius: 20px;
}

.tituloCargador{
    color: white;
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-size: 24px;
}

.subtituloCargador{
    color: white;
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-size: 10px;
    margin-bottom: 30px;
}

@keyframes loading {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }

  .sprin {
    border: 6px dotted var(--primary-color);
    border-radius: 100%;
    width: 50px;
    height: 50px;
    animation: loading 2s infinite linear;
  }

  /**Menu lateral------------------------*/
  .menuLateral{
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    height: 110vh;
    background-color: var(--text-color);
    z-index: 1001;
    display: none;
  }

  .lateral{
    width: 85%;
    background-color: white;
    position: absolute;
    top:0;
    left: -250;
    padding-left: 20px;
    height: 110vh;
  }

.flecha{
    justify-content: right;
    padding-right: 30px;
}

.flecha img{
    width: 50px;
    height: auto;
}

.perfilLateral{
    padding: 10px;
}

.imgLateral {
    width: 100%;
    aspect-ratio: 1 / 1; /* Mantiene el cuadrado */
    object-fit: cover;   /* Recorta para llenar el espacio */
    border-radius: 10px;
    border: 3px solid var(--primary-color);
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
}

.nombreLateral{
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-size: 12px;
    color: var(--text-color);
}

.bienvenidaLateral{
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 12px;
    color: var(--text-color);
}

.btnCerrar{
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    border-radius: 10px;
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 8px;
    margin-top: 10px;
    margin-left: 20px;
    width: 40%;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
}

.tituloLateral{
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-size: 12px;
    color: var(--text-color);
    margin-top: 20px;
}


/**Contenido---------------------------------*/
.principal{
    width: 100%;
    padding-top: 10px;
}

.post{
    background-color: white;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 1px 1px 2px rgba(209, 196, 196, 0.1);
    padding: 10px;
}

.perfilPost{
    border-bottom: 1px solid var(--background-color);
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.imgPost {
    width: 100%;
    aspect-ratio: 1 / 1; /* Mantiene el cuadrado */
    object-fit: cover;   /* Recorta para llenar el espacio */
    border-radius: 10px;
    border: 2px solid var(--primary-color);
}


.nombrePost{
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-size: 12px;
    color: var(--text-color);
}


.textareaPost{
    width: 100%;
    height: 100px;
    border-radius: 10px;
    border: none;
    resize: none;
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 12px;
    color: var(--text-color);
}

.textareaPost:focus {
    outline: none;
}

.btnPost{
    background-color: var(--primary-color);
    color: white;
    padding: 10px;
    border-radius: 10px;
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 12px;
    margin-top: 10px;
    width: 30%;
    text-align: center;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
}

.tiempoPost{
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 10px;
    color: grey;
    margin-top: 10px;
}

.textoPost {
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 12px;
    color: var(--text-color);
    margin: 15px 10px;
    max-width: 100%;
    white-space: pre-wrap;  /* Mantiene los saltos de línea */
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6; /* Limita a 6 líneas */
    -webkit-box-orient: vertical;
}



/*Visor*****************************************/
.visor{
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background-color: white;
    padding-top: 10px;
}

.textoVisor {
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 12px;
    color: var(--text-color);
    margin-top: 10px;
    margin: 15px 10px;
    max-width: 100%;
    white-space: pre-wrap;  /* Mantiene los saltos de línea */
    word-wrap: break-word;
    overflow-wrap: break-word;
}


.globoComentario{
    background-color: rgb(237, 233, 248);
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
}

.nombreComentario{
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-size: 12px;
    color: var(--text-color);
}

.textoComentario{
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 12px;
    color: var(--text-color);
    margin-top: 10px;
    margin: 15px 10px;
    max-width: 100%;
}

.minitexto{
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 8px;
    color: grey;
    margin-top: 10px;
}

/*visor de perfiles*********************************/
.fondoPerfil{
    background-color: var(--background-color);
}

.bannerSuperior {
    border-radius: 10px 10px 0px 0px;
    height: 70px;
    background-image: url(../img/banner2.png);
    background-size: cover;         /* Ajusta la imagen al contenedor */
    background-position: center;    /* Centra la imagen */
    background-repeat: no-repeat;   /* Evita repeticiones */
}


.bannerSuperior img{
    border: 8px solid white;
    border-radius: 10px;
}

.nombrePerfil{
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-size: 14px;
    color: var(--text-color);
    margin-top: 120px;
    text-align: center;
}

.btnAmigo{
    background-color: var(--primary-color);
    color: white;
    padding: 18px;
    border-radius: 10px;
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 12px;
    margin-top: 10px;
    width: 30%;
    text-align: center;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
}

.btnMensaje{
    background-color: #00cef3;
    color: white;
    padding: 18px;
    border-radius: 10px;
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 12px;
    margin-top: 10px;
    width: 30%;
    text-align: center;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
}

.textoTitulo{
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-size: 12px;
    color: var(--text-color);
    margin-top: 10px;
    margin: 15px 10px;
    max-width: 100%;
}

.textoDescripcionPersonal{
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 12px;
    color: var(--text-color);
    margin-top: 10px;
    max-width: 100%;
}

.espacioNeg{
    margin-right: -20px;
}

#previewContainer {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.previewFoto {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 50%; /* Mantiene el círculo */
    overflow: hidden;
    background-color: #f0f0f0; /* Color de fondo para imágenes sin contenido */
}

/*Modal de compartir post*/
.modalCompartir{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 3000;
    background-color: rgba(0, 0, 0, 0.5); /* Optional: semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
}

.bloqueCompartir{
    width: 90%;
    max-width: 400px;
    background-color: lightgrey;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 7px;
}

.compartirPost{
    border-bottom: 1px solid var(--background-color);
    margin-bottom: 10px;
    padding-bottom: 10px;
}

/*Modal de mensajes*/
.bloqueModalMensaje {
    width: 70%;
    max-width: 400px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 7px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Ensure content is centered vertically */
}

.txtMensajeModal {
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    color: var(--text-color);
    margin-top: 10px;
    max-width: 100%;
    text-align: center; /* Center the text */
    margin-bottom: 10px;
}

/*Modal de la configuracion del post*/
.bloqueModalPost{
    width: 90%;
    max-width: 400px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 14px 7px;
}

.cuadroModalPost{
    width: 100%;
    border: 2px solid black;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 16px;
    background-color: white;
    color: var(--text-color);
}

.cuadroModalPost svg{
    width: 20px;
    height: auto;
    margin-right: 10px;
}

/*Flotante para los comentarios*/
.comentarioFlotante {
    position: fixed;
    bottom: 60px; /* espacio para menú inferior */
    left: 0;
    width: 100%;
    background: #fff;
    padding: 10px 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.respondiendoA {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

#bloqueComentarios{
    margin-bottom: 150px;
}

.pulsador {
    padding: 20px;
    border-bottom: 1px solid #ccc;
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 12px;
}

#pulsador1, #pulsador2{
    border-right: 1px solid #ccc;
}

/*Modal de las conevrsaciones*/
.conversacion{
    width: 90%;
    background-color: rgba(45, 165, 45, 0.082);
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    border-radius: 20px;
}

.nombreConversacion{
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-size: 12px;
    color: var(--text-color);
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tiempoConversacion{
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 10px;
    color: grey;
    margin-top: 10px;
}

.ultimoMensaje{
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 12px;
    color: var(--text-color);
    margin-top: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 30ch;
}

.contenidoMensajes{
    padding-top: 100px;
}

.tituloMensajes{
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-size: 16px;
    color: var(--text-color);
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modalConversacion {
    z-index: 9999;
    background-color: white;
}

#modalConversacion .form-control {
    font-size: 0.95rem;
}

#contenidoConversacion{
    background-color: var(--background-color);
}

#mensaje{
    background-color: white;
    border-radius: 15px;
}


/*Modal del nuevo mensaje*/
.bloqueNuevoMensaje{
    width: 90%;
    max-width: 400px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 7px;
}

.botonesMensaje {
    display: flex;
    justify-content: flex-end; /* opcional: alinea a la derecha */
    gap: 10px; /* espacio entre botones */
    margin-top: 5px;
  }

  /*Estilos para botones de amigos*/
  .btnAgregarAmigo{
    background-color: var(--primary-color);
    color: white;
    border-radius: 10px;
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 10px;
    margin-top: 10px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
  }

  .btnEliminarAmigo{
    background-color: var(--accent-color);
    color: white;
    border-radius: 10px;
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 10px;
    margin-top: 10px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
  }

  .btnCancelarSolicitud{
    background-color: var(--text-color);
    color: var(--background-color);
    border-radius: 10px;
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 10px;
    margin-top: 10px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
  }

  .btnAceptarSolicitud{
    background-color: var(--text-color);
    color: var(--background-color);
    border-radius: 10px;
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 10px;
    margin-top: 10px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
  }

  /*Boton de notificaciones*/
  .puntoRojo {
    position: absolute;
    top: 2px;
    left: 12px;
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    z-index: 10;
}


/*Spin de carga*/
.spinCarga{
    width: 100%;
    height: 100vh;
    background-color: #cccccc65;
    position: absolute;
    top:0;
    left: 0;
    z-index: 2001;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes cargaSpin {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }

  .spin {
    border: 15px dotted var(--primary-color);
    border-radius: 100%;
    width: 80px;
    height: 80px;
    animation: cargaSpin 2s infinite linear;
  }

  .btnDisabled{
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 10px;
    border-radius: 10px;
    font-family: "Orbitron", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 12px;
    margin-top: 10px;
    width: 30%;
    text-align: center;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0.5; /* Deshabilitar el botón */
    pointer-events: none; /* Evitar interacciones con el botón */
  }


  .checkboxLabel {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    cursor: pointer;
}

.checkboxLabel input {
    margin-left: 15px;
}

.imgAmigo{
    width: 100%;
    aspect-ratio: 1 / 1; /* Mantiene el cuadrado */
    object-fit: cover;   /* Recorta para llenar el espacio */
    border-radius: 10px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
}

#imgPerfil{
    width: 100%;
    aspect-ratio: 1 / 1; /* Mantiene el cuadrado */
    object-fit: cover;   /* Recorta para llenar el espacio */
    border-radius: 10px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
}

.imgFluidFull {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px; /* Si quieres un borde redondeado */
}

.imgPagina {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px; /* Ajusta el radio según lo necesites */
    cursor: pointer;
}
