/* Estilo general para toda la página */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

html{
    background-color: rgb(39, 36, 36);
}

*{
    margin: 0;
    font-family: "Lato", Arial;
}

nav{
    background-color: rgb(20, 20, 19);
    display: flex;
    height: 50px;
    margin-bottom: 2em;
    width: 100%;
}

.nav-cuenta{
    width: 100%;
    display: flex;
        justify-content: right;
}

#cuenta{
    position: relative;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 0.65em;
    transition: all 200ms;
    font-size: 20px;
    color: rgb(211, 199, 199);
    text-decoration: none;
}

#cuenta:hover{
    color: rgb(150, 148, 148);
    cursor: pointer;
}

nav ul{
    margin: 0;
    padding: 0;
    position: absolute;
    list-style: none;
    display: flex;
    width: 100%;
    height: 50px;
    justify-content: center;
}

nav ul li{
    margin-top: auto;
    margin-bottom: auto;
    padding: 0 20px;
}

nav ul li a{
    position: relative;
    transition: all 200ms;
    font-size: 24px;
    color: rgb(211, 199, 199);
    margin-top: auto;
    margin-bottom: auto;
    text-decoration: none;
}

nav ul li a::before{
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: rgb(150, 148, 148);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

nav ul li a:hover:before{
    transform: scaleX(1);
}

nav ul li a:hover{
    color: rgb(150, 148, 148);
}

#nav-logo { /* logo */
    font-size: 28px;
    color: rgb(141, 192, 129);
    margin-left: 0.3em;
    margin-top: auto;
    margin-bottom: auto;
    font-weight: 600;
}

#nav-logo span{
    color: rgb(109, 109, 155);
}

header h1{
    text-align: center;
    color: rgb(255, 255, 255);
}

#h1-adelante{
    margin-top: 1em;
}

.contenido{
    margin-top: 2em;
    margin-left: 10em;
    margin-right: 10em;
}

.contenido p{
    color:rgb(49, 49, 49);
}

.contenido-grupo{
    display: flex;
    justify-content: center;
    gap: 2em;
    margin-bottom: 2em;
}

.contenido form{
    display: block;
    width: 300px;
    height: 250px;
    margin: auto;
    border-radius: 8px;
    background-color: rgb(170, 167, 167);
}

.contenido form input{
    display: block;
    margin: auto;
    padding: 0 20px;
}

.contenido form input[type=file]{
    padding-top: 4em;
    padding-bottom: 4em;
}


.contenido form input[type=submit]{
    margin-top: 4em;
}

.formulario{
    display: flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 1em;
}

.formulario-input{
    width: 100%;
}

/* Sacado de getcssscan // botón de amazon */
.formi input[type=submit], .contenido form input[type=submit] {
    display: block;
    background-color: #fff;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    box-shadow: rgba(213, 217, 217, .5) 0 2px 5px 0;
    box-sizing: border-box;
    color: #0f1111;
    cursor: pointer;
    font-family: "Amazon Ember",sans-serif;
    font-size: 13px;
    line-height: 29px;
    padding: 0 10px 0 11px;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: 100px;
}

.formi input[type=submit]:hover, .contenido form input[type=submit]:hover {
    background-color: #e5e6e6;
}

.ok{
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.contenido-botones{
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
}

.contenido-botones button{
    width: 150px;
    height: 50px;
    background-color: rgb(20, 20, 19);
    color: rgb(211, 199, 199);
    border: none;
    font-size: 20px;
    transition: all 200ms;
    border-radius: 8px;
    margin-bottom: 2em;
}

.contenido-botones button:hover{
    background-color: rgb(27, 26, 26);
    color: rgb(255, 255, 255);
    cursor: pointer;
}

.boton:disabled{
    opacity: .3;
    cursor: not-allowed;
}

.boton{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 50px;
    background-color: rgb(20, 20, 19);
    color: rgb(211, 199, 199);
    border: none;
    font-size: 20px;
    transition: all 200ms;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
}

.boton:not([disabled]):hover{
    background-color: rgb(27, 26, 26);
    color: rgb(255, 255, 255);
    box-shadow: 5px 1px 30px rgb(54, 53, 53);
    cursor: pointer;
    opacity: .6;
    transform: scale(1.05);
}

/* Posts */

.preview {
    position: absolute;
    display: none;
    max-width: 300px;
    background: #191b1b;
    border: 2px solid #282b2b;
    color: #fff;
    padding: 0.5em;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    z-index: 1000;
    pointer-events: none;
    color: rgb(211, 199, 199);
}

.post-preview-username{
    display: flex;
}

.post-preview-username p b{
    color: rgb(226, 219, 219);
    font-size: 16px;
    margin-right: 0.3em;
}

#post-preview-username-nickname{
    color: rgb(98, 100, 98);
    font-size: 12px;
    margin-bottom: 0.30em;
}

#post-preview-username-fecha, #post-preview-username-fecha2{
    color: rgb(136, 131, 131);
    font-size: 12px;
    margin-top: 0.1em;
    margin-left: 0.3em;
}

#post-preview-username-fecha2{
    margin-left: 0;
}

.post-preview-comentario{
    display: block;
    overflow-wrap: break-word;
    word-break: break-word; 
    white-space: normal;
}

.contenido-post img{
    display: block;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.post-contenido{
    display: block;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.post-contenido-titulo{
    display: block;
    justify-content: left;
}

.post-contenido-tags{
    display: flex;
    flex-wrap: wrap;
    margin-left: 0.3em;
    gap: 0.5em;
}

#post-titulo{
    display: flex;
    width: 100%;
    margin-top: 0.5em;
    margin-bottom: 0.2em;
    margin-left: 0.1em;
    text-shadow: 3px 4px 4px rgba(17, 17, 17, 0.7);
    font-weight: bold;
}

.post-autor{
    margin-top: 1em;
    display: flex;
}

.post-autor img{
    display: block;
    width: 45px;
    max-height: 45px;
    margin: 0;
    background-color: gray;
    margin-left: 0.3em;
    border-radius: 6px;
}

.post-autor-info{
    display: block;
    margin-left: 0.5em;
}

.post-autor-info-nickname{
    display: flex;
    align-items: center;
}

.post-autor-info p{
    color: rgb(136, 131, 131);
    font-size: 14px;
}

.post-autor-info p b{
    color: rgb(226, 219, 219);
    font-size: 18px;
}


.post-autor-info p b a{
    color: rgb(226, 219, 219);
    text-decoration: none;
    transition: all 200ms;
}

.post-autor-info p b a span, .post-autor-info-nickname p b a span{
    margin-left: 0.3em;
}

.post-autor-info p b a:hover{
    color: rgb(183, 187, 184);
    text-shadow: 2px 2px 15px rgb(27, 26, 26);
    cursor: pointer;
}

#post-titulo-descripcion, #post-comentarios-titulo{
    color: rgb(233, 224, 224);
    margin-top: 0.5em;
    margin-left: 0.2em;
}

.post-descripcion{
    display: block;
    background-color: #191b1b;
    border: 2px solid #282b2b;
    color: rgb(214, 212, 212);
    box-sizing: content-box;
    margin-left: 0.3em;
    margin-top: 0.5em;
    padding: 10px 10px;
    border-radius: 8px;
    transition: all 100ms;
    min-height: 38px;
    overflow-wrap: break-word;
    word-break: break-word; 
    white-space: normal;
}

.post-descripcion:hover{
    border: 2px solid #444747;
    box-shadow: 5px 1px 40px rgb(56, 55, 55);
}

#post-comentarios-comentar{
    color: rgb(233, 224, 224);
    margin: 0.2em;
    margin-top: 0.5em;
}

.post-comentarios-comentar-seccion-avatar{
    display: block;
}

.post-comentarios-comentar-seccion-avatar span{
    margin-top: 0.5em;
}

#post-comentarios-titulo{
    display: flex;
    width: 100%;
    margin-top: 0.5em;
}

.post-comentarios{
    display: block;
    margin-left: 0.3em;
}

#post-comentarios-no-comentarios{
    color: rgb(136, 131, 131);
    font-size: 18px;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.post-comentarios-comentario {
    display: flex;
    align-items: flex-start;
    padding: 1em;
    gap: 0.5em;
    width: 500px;
    background-color: #191b1b;
    border: 2px solid #282b2b;
    border-radius: 8px;
    margin-top: 0.25em;
    transition: all 200ms;
}

.post-comentarios-comentario:hover {
    border: 2px solid #444747;
    box-shadow: 5px 1px 40px rgb(56, 55, 55);
    transform: scale(1.05);
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

#post-comentarios-comentario-avatar {
    display: block;
    width: 50px;
    height: 50px;
    margin: 0;
    background-color: transparent;
    border-radius: 6px;
}

.post-comentarios-comentario-avatar-div{
    display: block;
}

.post-comentarios-comentario-avatar-div p{
    text-align: center;
    font-size: 12px;
    color: rgb(136, 131, 131) !important;
    margin-top: 0.2em;
}

.post-comentarios-comentario-autor {
    display: flex;
    gap: 0.3em;
    flex-wrap: wrap; 
}

#post-comentarios-comentario-fecha{
    color: rgb(136, 131, 131);
    font-size: 14px;
    margin-top: 0.1em;
}

.post-comentarios-comentario-texto p{
    overflow-wrap: break-word;
    word-break: break-word; 
    white-space: normal;
}

.post-comentarios-comentario-comentario {
    display: block;
    margin-top: 0.2em;
}

.post-comentarios-comentario-comentario p {
    display: block;
    margin: 0;
}

#post-comentarios-comentario-imagen{
    display: block;
    max-width: 400px;
    margin-top: 0.5em;
    border-radius: 4px;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#post-comentarios-comentario-imagen-data{
    color: rgb(81, 76, 76);
}

.post-comentarios-comentario p {
    color: rgb(211, 199, 199);
}

.post-comentarios-comentario p a {
    color: rgb(226, 219, 219);
    text-decoration: none;
    transition: all 100ms;
}

.post-comentarios-comentario p a:hover{
    color: rgb(183, 187, 184);
    text-shadow: 2px 2px 15px rgb(27, 26, 26);
    cursor: pointer;
}

#post-comentarios-greentext{
    color: rgb(62, 175, 100);
}

#post-comentarios-respuesta{
    color: rgb(29, 108, 211);
    text-decoration: underline;
    cursor: default;
}

#post-comentarios-respuesta-invalida{
    color: rgb(177, 29, 41);
}

.post-comentarios-comentar{
    display: flex;
    margin-left: 0.3em;
    padding: 1em;
    background-color: rgb(24, 23, 23);
    border-radius: 8px;
    margin-bottom: 1em;
    margin-top: 0.5em;
    transition: all 200ms;
}

.post-comentarios-comentar:hover{
    transform: scale(1.03);
    border: 2px solid #333535;
    box-shadow: 5px 1px 40px rgb(51, 50, 50);
}

.post-comentarios-comentar form{
    display: block;
    width: 100%;
}

.post-comentarios-comentar-botones{
    display: flex;
}

.post-comentarios-comentar-botones-imagen-data{
    display: block;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 0.5em;
    margin-right: 0.5em;
}

.post-comentarios-comentar-botones-imagen-data p{
    color: rgb(81, 76, 76);
}

#imagen-nombre-data{
    color: rgb(226, 219, 219);
}

#post-comentarios-textarea{
    display: block;
    width: 100%;
    height: 60px;
    resize: none;
    box-sizing: border-box;
    background-color: #191b1b;
    border: 2px solid #282b2b;
    color: white;
    font-size: 16px;
    border-radius: 8px;
    transition: all 200ms;
    margin-left: 0.3em;
    padding: 0.5em;
    color: rgb(211, 199, 199);
}

#post-comentarios-textarea:hover{
    background-color: rgb(37, 35, 35);
    box-shadow: 5px 1px 40px rgb(36, 35, 35);
}

#post-comentarios-textarea:focus{
    outline: none;
    border: 2px solid #464949;
    box-shadow: 5px 1px 40px rgb(56, 55, 55);
    color: rgb(228, 221, 221);
}

#post-comentarios-textarea:disabled{
    opacity: 0.3;
    cursor: not-allowed;
}

#post-comentarios-enviar, .post-comentarios-comentar-botones input[type=button]{
    display: block;
    width: 100px;
    height: 40px;
    background-color: rgb(20, 20, 19);
    color: rgb(211, 199, 199);
    border: none;
    font-size: 16px;
    transition: all 200ms;
    border-radius: 8px;
    margin-left: 0.3em;
    margin-top: 0.5em;
}

.post-comentarios-comentar-botones input[type=button]{
    width: 140px;
}

#post-comentarios-enviar:not([disabled]):hover, .post-comentarios-comentar-botones input[type=button]:hover{
    background-color: rgb(27, 26, 26);
    color: rgb(255, 255, 255);
    box-shadow: 5px 1px 30px rgb(54, 53, 53);
    cursor: pointer;
    opacity: .6;
    transform: scale(1.05);
}

#post-comentarios-enviar:disabled{
    opacity: 0.3;
    cursor: not-allowed;
}

#post-comentarios-textarea:focus{
    outline: none !important;
    border: 2px solid #464949;
    box-shadow: 5px 1px 40px rgb(56, 55, 55);
}

#post-comentarios-texto-sesion a{
    margin-left: 0.3em;
    margin-top: 0.3em;
    color: rgb(211, 199, 199);
    text-decoration: none;
    transition: all 200ms;
}

#post-comentarios-texto-sesion a:hover{
    color: rgb(183, 187, 184);
    text-shadow: 2px 2px 15px rgb(27, 26, 26);
    cursor: pointer;
}

.post-comentarios-comentar-botones-checkbox{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.3em;
}

.post-comentarios-comentar-botones-checkbox input[type=checkbox], .perfil-banner-parte1-checkbox input[type=checkbox]{
    appearance: none;
    width: 20px;
    height: 20px;
    background-color: #191b1b;
    border: 2px solid #282b2b;
    border-radius: 8px;
    cursor: pointer;
    transition: 200ms all;
}

.post-comentarios-comentar-botones-checkbox input[type=checkbox]:hover, .perfil-banner-parte1-checkbox input[type=checkbox]:hover{
    background-color: rgb(37, 35, 35);
    box-shadow: 5px 1px 40px rgb(36, 35, 35);
}

.post-comentarios-comentar-botones-checkbox input[type=checkbox]:checked, .perfil-banner-parte1-checkbox input[type=checkbox]:checked{
    background-color: #343636;
    position: relative;
}

.post-comentarios-comentar-botones-checkbox label, .perfil-banner-parte1-checkbox label{
    margin-left: 0.3em;
    color: rgb(211, 199, 199);
}

/* Subir.php // Subir contenido */
/* //////////////////////////// */

.contenido-subir{
    display: flex;
    width: 100%;
    max-width: 540px;
    min-height: 440px;
    background-color: rgb(24, 23, 23);
    margin-left: auto;
    margin-right: auto;
    margin-top: 2em;
    border-radius: 8px;
    justify-content: center;
    border: 2px solid #444747;
    box-shadow: 5px 1px 40px rgb(56, 55, 55);
    transition: all 200ms;
}

.contenido-subir::backdrop{
    background: rgba(26, 25, 25, 0.8);
}

.contenido-subir-preview{
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.contenido-subir-preview img{
    display: block;
    max-width: 400px;
    max-height: 300px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 4px;
}

.contenido-subir-divisores{
    display: block;
    width: 50%;
}

.contenido-subir-formulario{
    position: relative;
    display: block;
    width: 90%;
    height: 80%;
    margin-top: 1em;
    margin-bottom: 1.5em;
}

.contenido-subir-formulario form{
    display: block;
    width: 100%;
    height: 100%;
}

.contenido-subir-formulario form input{
    display: block;
}

/* input file */
.subir-archivo{
    transition: all 200ms;
    width: 200px;
    max-height: 50px;
}

.subir-archivo::-webkit-file-upload-button{
    visibility: hidden;
}

.subir-archivo::before{
    content: 'Seleccionar archivo';
    display: inline-block;
    background-color: rgb(20, 20, 19);
    color: rgb(211, 199, 199);
    width: 100%;
    height: 50px;
    border-radius: 8px;
    text-align: center;
    line-height: 50px;
    font-size: 18px;
    cursor: pointer;
}

.subir-archivo:hover{
    background-color: rgb(27, 26, 26);
    color: rgb(255, 255, 255);
    box-shadow: 5px 1px 30px rgb(54, 53, 53);
    cursor: pointer;
    opacity: .6;
    transform: scale(1.05);
}
/* fin de input file */

.contenido-subir-formulario form input[type=text]{
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 35px;
    margin-top: 0.25em;
    border-radius: 8px;
    background-color: #191b1b;
    border: 2px solid #282b2b;
    color: white;
    padding: 0.5em;
    transition: all 200ms;
    font-size: 16px;
    color: rgb(211, 199, 199);
}

.contenido-subir-formulario form input[type=text]:hover{
    background-color: rgb(37, 35, 35);
    box-shadow: 5px 1px 40px rgb(36, 35, 35);
}

.contenido-subir-formulario form input[type=text]:focus{
    outline: none;
    border: 2px solid #464949;
    box-shadow: 5px 1px 40px rgb(56, 55, 55);
    color: rgb(228, 221, 221);
}

.contenido-subir-formulario form input[type=submit]{
    display: block;
    width: 150px;
    height: 50px;
    background-color: rgb(20, 20, 19);
    color: rgb(211, 199, 199);
    border: none;
    font-size: 20px;
    transition: all 200ms;
    border-radius: 8px;
    margin-top: 1.5em;
    margin-left: auto;
    margin-right: auto;
}

.contenido-subir-formulario form input[type=submit]:not([disabled]):hover{
    background-color: rgb(27, 26, 26);
    color: rgb(255, 255, 255);
    box-shadow: 5px 1px 30px rgb(54, 53, 53);
    cursor: pointer;
    opacity: .6;
    transform: scale(1.05);
}

.contenido-subir-formulario form input[type=submit]:disabled{
    opacity: .3;
    cursor: not-allowed;
}

.contenido-subir-formulario-fila1{
    display: flex;
    justify-content: space-between;
    margin-top: 1em;
    gap: 2.5em;
}

.contenido-subir-formulario-fila1-input, .contenido-subir-formulario-fila1-input-allspace{
    display: block;
}

.contenido-subir-formulario-fila1-input-allspace{
    width: 100%;
}

.contenido-subir-formulario-fila1-input p, .contenido-subir-formulario-fila1-input-allspace p{
    color: rgb(211, 199, 199);
    font-weight: bold;
    font-size: 18px;
}

#categoria-input{
    background-color: rgb(20, 20, 19);
    margin-top: 0.25em;
    height: 36px;
    box-sizing: border-box;
    border-radius: 8px;
    border: 0;
    color: rgb(211, 199, 199);
    font-size: 16px;
    padding: 0.5em;
    cursor: pointer;
    transition: all 200ms;
}

#categoria-input:hover{
    background-color: rgb(27, 26, 26);
    box-shadow: 5px 1px 40px rgb(53, 52, 52);
    opacity: .6;
}

#descripcion-input{
    display: block;
    width: 100%;
    height: 100px !important;
    resize: none;
    box-sizing: border-box;
    background-color: #191b1b;
    border: 2px solid #282b2b;
    color: white;
    font-size: 16px;
    border-radius: 8px;
    transition: all 200ms;
    margin-top: 0.25em;
    padding: 0.5em;
    color: rgb(211, 199, 199);
}

#descripcion-input:hover{
    background-color: rgb(37, 35, 35);
    box-shadow: 5px 1px 40px rgb(36, 35, 35);
}

#descripcion-input:focus{
    outline: none;
    border: 2px solid #464949;
    box-shadow: 5px 1px 40px rgb(56, 55, 55);
    color: rgb(228, 221, 221);
}

.contenido-subir-formulario-fila-subir{
    display: flex;
    width: 100%;
    margin-top: 1em;
    align-items: center;
}

.contenido-subir-formulario-fila-subir-textos p{
    display: block;
    color: rgb(211, 199, 199);
    font-size: 18px;
    margin-left: 0.75em;
    margin-top: auto;
    margin-bottom: auto;
    overflow-wrap: break-word;
    word-break: break-word; 
    white-space: normal;
}

.contenido-subir-formulario-fila-subir-textos-estado{
    display: flex;
}

.contenido-subir-formulario-fila-subir-textos-estado p{
    color: rgb(81, 76, 76);
}

.contenido-subir-formulario-error{
    display: block;
    width: 100%;
    margin-top: 1em;
    overflow-wrap: break-word;
    word-break: break-word; 
    white-space: normal;
}

.contenido-subir-formulario-error p{
    color: rgb(211, 199, 199);
    font-size: 18px;
}

.contenido-subir-formulario-error p span{
    color: rgb(219, 64, 64);
    font-size: 18px;
}

#mensaje-aviso2{
    color: rgb(219, 170, 64);
}

.contenido-subir-formulario-fila1-input-tags{
    display: flex;
    background-color: rgb(20, 20, 19);
    min-height: 35px;
    gap: 0.5em;
    width: 250px;
    max-height: 150px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    flex-wrap: wrap;
    padding: 0.3em;
    margin-top: 0.25em;
    box-sizing: border-box;
}

.contenido-subir-formulario-fila1-input-tags p{
    font-weight: normal;
    font-size: 16px;
    color: rgb(153, 144, 144);
    cursor:help;
    -webkit-touch-callout: none;
    -webkit-user-select: none; 
    -khtml-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
    user-select: none;
}

#input-tag, #input-tag2, #input-tag-rojo, #input-tag-op, #input-tag-admin, #input-tag-mod{
    background-color: rgb(49, 168, 79);
    border-radius: 8px;
    height: 25px;
    color: white;
    text-align: center;
    padding: 0 10px; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap; 
    box-shadow: 3px 4px 6px rgba(17, 17, 17, 0.7);
    transition: opacity 0.3s ease;
}

#input-tag2{
    transition: all 200ms;
}

#input-tag2:hover{
    box-shadow: 0px 1px 12px rgb(39, 138, 66);
    transform: scale(1.05);
    cursor: pointer;
}

#input-tag-op{
    background-color: rgb(64, 100, 219);
    height: 20px;
    margin-left: 0.5em;
    font-size: 12px;
}

#input-tag-admin{
    background-color: rgb(219, 147, 64);
    height: 18px;
    margin-left: 0.5em;
    font-size: 12px;
    margin-top: auto;
    margin-bottom: auto;
}

#input-tag-mod{
    background-color: rgb(219, 64, 116);
    height: 18px;
    margin-left: 0.5em;
    font-size: 12px;
    margin-top: auto;
    margin-bottom: auto;
}

#input-tag-rojo{
    background-color: rgb(219, 64, 64);
    padding: 0 15px;
}

#remover-tag{
    background-color: transparent;
    color: rgb(216, 208, 208);
    border: 0;
    transition: all 200ms;
    font-size: 16px;
}

#remover-tag:hover{
    color: rgb(238, 235, 235);
    cursor: pointer;
}

.contenido-subir-formulario-fila1-input-checkbox{
    display: flex;
    gap: 0.3em;
    margin-top: 1em;
}

.contenido-subir-formulario-fila1-input-checkbox input[type=checkbox]{
    appearance: none;
    width: 20px;
    height: 20px;
    background-color: #191b1b;
    border: 2px solid #282b2b;
    border-radius: 6px;
    cursor: pointer;
    transition: 200ms all;
}

.contenido-subir-formulario-fila1-input-checkbox input[type=checkbox]:hover {
    background-color: rgb(37, 35, 35);
    box-shadow: 5px 1px 40px rgb(36, 35, 35);
}

.contenido-subir-formulario-fila1-input-checkbox input[type=checkbox]:checked {
    background-color: #343636;
    position: relative;
}

.contenido-subir-formulario-fila1-input-checkbox label{
    margin-left: 0.3em;
    color: rgb(211, 199, 199);
}

/* Página con mensaje de error */
/* /////////////////////////// */

#input-tag b, #input-tag2 b{
    color: rgb(56, 56, 54);
    font-size: 11px;
    margin-left: 0.5em;
}

#error, #disculpas{
    text-align: center;
    color: white;
    font-size: 15px;
    margin-top: 1em;
}

#disculpas{
    margin-top: 1em;
}

/* Página principal // index.php */

.galerias{
    height: 100%;
}

.galeria{
    display: flex;
    width: 100%;
    height: 100%;
}

.galeria-panel{
    display: block;
    width: 20%;
    height: 100%;
    color: rgb(211, 199, 199);
    padding: 1em;
    padding-top: 0;
    min-width: 280px;
}

.galeria-herramientas{
    display: block;
    background-color: rgb(24, 23, 23);
    border-radius: 8px;
    width: 340px;
    min-height: 400px;
}

.galeria-herramientas h2{
    text-align: center;
    padding: 0.3em;
}

.galeria-herramientas h4{
    margin-left: 0.5em;
    margin-top: 1.2em;
}

.galeria-herramientas input{
    display: block;
    box-sizing: border-box;
    width: 90%;
    height: 40px;
    margin-top: 0.25em;
    border-radius: 8px;
    background-color: #191b1b;
    border: 2px solid #282b2b;
    color: white;
    padding: 0.5em;
    transition: all 200ms;
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
    color: rgb(211, 199, 199);
}

.galeria-herramientas input[type=text]:hover{
    background-color: rgb(37, 35, 35);
    box-shadow: 5px 1px 40px rgb(36, 35, 35);
}

.galeria-herramientas input[type=text]:focus{
    outline: none;
    border: 2px solid #464949;
    box-shadow: 5px 1px 40px rgb(56, 55, 55);
    color: rgb(228, 221, 221);
}

.galeria-tags-populares{
    margin-top: 0.5em;
    margin-left: 0.5em;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}

.galeria-categoria-seleccionada{
    margin-top: 0.5em;
    margin-left: 0.5em;
    display: flex;
    gap: 0.5em;
}

#categoria-input-index, #categoria-input-categoria{
    background-color: rgb(20, 20, 19);
    height: 32px;
    box-sizing: border-box;
    border-radius: 8px;
    border: 0;
    color: rgb(211, 199, 199);
    font-size: 16px;
    padding: 0.05em;
    cursor: pointer;
    transition: all 200ms;
    min-width: 150px;
}

#categoria-input-index:hover, #categoria-input-categoria:hover{
    background-color: rgb(27, 26, 26);
    box-shadow: 5px 1px 40px rgb(53, 52, 52);
    opacity: .6;
}

#input-tag-rojo-index{
    background-color: rgb(219, 64, 64);
    padding: 0 15px;
    border-radius: 8px;
    height: 25px;
    color: white;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap; 
    margin-top: auto;
    margin-bottom: auto;
}

#sin-resultados{
    color: rgb(136, 131, 131);
}

#sin-resultados-post{
    color: rgb(185, 178, 178);
    margin-top: 1em;
    font-size: 20px;
}

.galeria-panel2{
    display: block;
    height: 100%;
}

.galeria-botones{
    display: block;
}

.galeria-imagenes{
    margin: 0;
    margin-left: 0em;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-row-gap: 1em;
    grid-gap: 1.5em;
    width: 98%;
    height: 100%;
}

.galeria-imagenes-sin-posts{
    margin: 0;
    margin-left: 0em;
    display: block;
    width: 100%;
}

.galeria-botones{
    display: flex;
    margin-left: 2em;
    width: 90%;
    height: 100px;
}

.galeria-botones-izquierda{
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.galeria-botones-derecha{
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contenido-bloque{
    position: relative;
    display: block;
    width: 100%;
    max-width: 400px;
    max-height: 300px;
    border-radius: 10px;
    transition: all 200ms;
}

.contenido-bloque-categoria{
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 10px;
}

.contenido-bloque-phantom{
    opacity: 0.4;
}

.contenido-bloque img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.contenido-bloque:hover{
    transform: scale(1.05);
    opacity: 1;
    box-shadow: 5px 1px 40px rgb(65, 64, 64);
}

.contenido-bloque p{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 400px;
    background-color: rgba(41, 40, 40, 0.233);
    color: rgb(241, 236, 236);
    font-size: 24px;
    padding: 5px;
    text-shadow: 3px 4px 4px rgba(17, 17, 17, 0.7);
    font-weight: bold;
}

/* register y login */
/* //////////////// */

.contenido-menu{
    display: block;  
    min-width: 200px;
    max-width: 300px;
    min-height: 250px;
    padding: 1.5em;
    background-color: rgb(24, 23, 23);
    margin-left: auto;
    margin-right: auto;
    margin-top: 2em;
    border-radius: 8px;
}

.contenido-menu p{
    color: rgb(211, 199, 199);
    font-size: 20px;
}

.contenido-menu input[type=text], .contenido-menu input[type=password]{
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    border-radius: 8px;
    background-color: #191b1b;
    border: 2px solid #282b2b;
    color: white;
    padding: 1em;
    transition: all 200ms;
    font-size: 16px;
    color: rgb(211, 199, 199);
}

.contenido-menu input[type=text]:hover, .contenido-menu input[type=password]:hover{
    background-color: rgb(37, 35, 35);
    box-shadow: 5px 1px 40px rgb(36, 35, 35);
}

.contenido-menu input[type=text]:focus, .contenido-menu input[type=password]:focus{
    outline: none;
    border: 2px solid #464949;
    box-shadow: 5px 1px 40px rgb(56, 55, 55);
    color: rgb(228, 221, 221);
}

.contenido-menu input[type=submit]{
    display: block;
    width: 150px;
    height: 50px;
    background-color: rgb(20, 20, 19);
    color: rgb(211, 199, 199);
    border: none;
    font-size: 20px;
    transition: all 200ms;
    border-radius: 8px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}

.contenido-menu input[type=submit]:hover{
    background-color: rgb(27, 26, 26);
    color: rgb(255, 255, 255);
    box-shadow: 5px 1px 30px rgb(54, 53, 53);
    cursor: pointer;
    opacity: .6;
    transform: scale(1.05);
}

#texto-centrado{
    text-align: center;
}

#registrate{
    font-size: 16px;
    text-align: center;
}

#registrate a{
    color: rgb(49, 168, 79);
    text-decoration: none;
    transition: all 200ms;
}

#registrate a:hover{
    color: rgb(34, 119, 56);
    cursor: pointer;
}

#formulario-mensaje, #formulario-mensaje2{
    margin-top: 1em;
    margin-bottom: 1em;
    font-size: 17px;
}

#formulario-mensaje span, #formulario-mensaje2 span{
    color: rgb(219, 64, 64);
}

/* perfiles */
/* //////// */

.contenido-perfiles{
    display: block;
    width: 30%;
    margin-left: auto;
    margin-right: auto;
}

.contenido-perfiles input[type=text]{
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    border: 0;
    border-radius: 8px;
    background-color: rgb(51, 51, 49);
    border: 2px solid rgb(41, 41, 40);
    color: white;
    padding: 1em;
    transition: all 200ms;
}

.contenido-perfiles input[type=text]:hover{
    background-color: rgb(64, 63, 63);
    box-shadow: 5px 1px 40px rgb(53, 52, 52);
}

.contenido-perfiles input[type=text]:focus{
    outline: 0;
    border: 2px solid rgb(75, 75, 72);
    box-shadow: 5px 1px 40px rgb(53, 52, 52);
}

.contenido-perfiles p, .contenido-perfiles-usuarios p{
    color: rgb(241, 236, 236);
    font-size: 20px;
    text-align: center;
}

.contenido-perfiles-usuarios{
    display: block;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.contenido-perfiles-usuarios p{
    font-size: 18px;
}

#no-se-ha-encontrado{
    color: rgb(211, 199, 199);
    font-size: 16px;
    margin-top: 1em;
}

.contenido-perfiles-usuarios-lista{
    display: grid;
    margin-top: 1em;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1em;
}

.contenido-perfil-bloque{
    display: flex;
    background-color: rgb(24, 23, 23);
    min-width: 200px;
    min-height: 120px;
    border-radius: 8px;
    align-items: center;
    transition: all 200ms;
}

.contenido-perfil-bloque:hover{
    margin: 0.15em;
    background-color: rgb(34, 33, 33);
    cursor: pointer;
    box-shadow: 5px 1px 40px rgb(56, 55, 55);
}

.contenido-perfil-bloque img{
    display: block;
    width: 60px;
    max-height: 60px;
    margin: 0;
    background-color: gray;
    margin-left: 1em;
    border-radius: 6px;
}

.contenido-perfil-bloque-info{
    display: block;
    margin-left: 1em;
}

.contenido-perfil-bloque-info p b{
    color: rgb(226, 219, 219);
    font-size: 18px;
}

.contenido-perfil-bloque-info p{
    color: rgb(211, 199, 199);
    font-size: 13px;
    text-align: left;
    overflow-wrap: break-word;
    word-break: break-word; 
    white-space: normal;
}

#contenido-perfil-bloque-info-username{
    color: rgb(98, 100, 98);
    font-size: 14px;
    margin-bottom: 0.30em;
}

/* Perfil */
/* ////// */
.perfil-div{
    display: flex;
    justify-content: center;
    width: 100%;
}

.perfil-div-separacion{
    margin-top: 1em;
}

.perfil-banner{
    display: block;
    background-color: rgb(24, 23, 23);
    border-radius: 8px;
    transition: all 200ms;
}

.perfil-banner-parte1{
    display: flex;
    width: 600px;
    height: 80px;
    align-items: flex-end;
    padding: 1em;
    transition: all 200ms;
}

.perfil-banner-parte1-checkbox{
    display: flex;
}

.perfil-banner-parte1-checkbox input[type=checkbox]{
    margin-top: 0.25em;
}

.perfil-banner-parte1-checkbox label{
    margin-top: auto;
    margin-bottom: auto;
}

.perfil-banner:hover{
    transform: scale(1.05);
    border: 2px solid #333535;
    box-shadow: 5px 1px 40px rgb(56, 55, 55);
}

.perfil-editar-mensaje p{
    font-weight: normal !important;
}

.perfil-descripcion{
    display: block;
    align-items:center;
    background-color: rgb(24, 23, 23);
    border-radius: 8px;
    width: 600px;
    min-width: 40px;
    padding: 1em;
    transition: all 200ms;
}

#perfil-descripcion-texto{
    color: rgb(136, 131, 131);
    margin-bottom: 0.25em;
    transition: all 200ms;
}

.perfil-descripcion:hover{
    transform: scale(1.01);
    border: 2px solid #333535;
    box-shadow: 5px 1px 40px rgb(51, 50, 50);
}

.perfil-descripcion:hover #perfil-descripcion-texto{
    color: rgb(211, 199, 199);
}

.perfil-descripcion p{
    color: rgb(214, 212, 212);
    overflow-wrap: break-word;
    word-break: break-word; 
    white-space: normal;
}

.perfil-banner-parte1 img{
    display: block;
    max-width: 80px;
    max-height: 80px;
    margin: 0;
    background-color: transparent;
    border-radius: 6px;
}

.perfil-info{
    padding: 0 1em;
}

.perfil-info p{
    color: rgb(136, 131, 131);
    font-size: 14px;
}

.perfil-info p b{
    color: rgb(226, 219, 219);
    font-size: 18px;
}

.perfil-info-nickname-tags{
    display: flex;
}

.perfil-info-avanzada{
    display: block;
    margin-top: 0.35em;
}

#viñeta{
    color: rgb(211, 199, 199);
}

.perfil-banner-parte2{
    display: flex;
    align-items: flex-end;
    padding: 1em;
    padding-top: 0;
    transition: all 200ms;
    gap: 0.5em;
}

.perfil-banner-parte2 button{
    display: block;
    width: auto;
    height: 40px;
    background-color: rgb(20, 20, 19);
    color: rgb(211, 199, 199);
    border: none;
    font-size: 16px;
    transition: all 200ms;
    border-radius: 8px;
}

#boton-cerrar-sesion{
    margin-left: auto;
}

.perfil-banner-parte2 button:hover{
    background-color: rgb(27, 26, 26);
    color: rgb(255, 255, 255);
    box-shadow: 5px 1px 30px rgb(54, 53, 53);
    cursor: pointer;
    opacity: .6;
    transform: scale(1.05);
}

.perfil-banner-parte1-fila{
    display: flex;
    gap: 2.5em;
}

.perfil-banner-parte1-modificado{
    display: flex;
    width: 500px;
    height: auto;
    padding: 1em;
    transition: all 200ms;
}

.perfil-banner-parte1-modificado form{
    padding: 0 0.75em;
    width: 100%;
}

.perfil-banner-parte1-modificado form p{
    color: rgb(211, 199, 199);
    font-weight: bold;
    font-size: 18px;
}

.perfil-banner-parte1-modificado-input{
    display: block;
    margin-top: 1em;
}

.perfil-banner-parte1-modificado-input-gap{
    display: flex;
    gap: 1em;
}

.perfil-banner-parte1-modificado-input input[type=text]{
    display: block;
    box-sizing: border-box;
    width: 180px;
    height: 35px;
    margin-top: 0.25em;
    border-radius: 8px;
    background-color: #191b1b;
    border: 2px solid #282b2b;
    color: white;
    padding: 0.5em;
    transition: all 200ms;
    font-size: 16px;
    color: rgb(211, 199, 199);
}

#perfil-banner-parte1-modificado-input-caracteres{
    color: rgb(98, 100, 98) !important;
    font-size: 14px !important;
    margin-top: 0.25em !important;
}

.perfil-banner-parte1-modificado-input input[type=text]:disabled{
    opacity: 0.4;
    cursor: not-allowed;
}

.perfil-banner-parte1-modificado-input input[type=text]:hover{
    background-color: rgb(37, 35, 35);
    box-shadow: 5px 1px 40px rgb(36, 35, 35);
}

.perfil-banner-parte1-modificado-input input[type=text]:focus{
    outline: none;
    border: 2px solid #464949;
    box-shadow: 5px 1px 40px rgb(56, 55, 55);
    color: rgb(228, 221, 221);
}

.perfil-banner-parte1-modificado-input textarea{
    display: block;
    width: 100%;
    height: 60px;
    resize: none;
    box-sizing: border-box;
    background-color: #191b1b;
    border: 2px solid #282b2b;
    color: white;
    font-size: 16px;
    border-radius: 8px;
    transition: all 200ms;
    padding: 0.5em;
    color: rgb(211, 199, 199);
}

.perfil-banner-parte1-modificado-input textarea:hover{
    background-color: rgb(37, 35, 35);
    box-shadow: 5px 1px 40px rgb(36, 35, 35);
}

.perfil-banner-parte1-modificado-input textarea:focus{
    outline: none;
    border: 2px solid #464949;
    box-shadow: 5px 1px 40px rgb(56, 55, 55);
    color: rgb(228, 221, 221);
}

.perfil-banner-parte1-modificado-input input[type=submit], .perfil-banner-parte1-modificado-input input[type=button]{
    width: 140px;
    height: 50px;
    background-color: rgb(20, 20, 19);
    color: rgb(211, 199, 199);
    border: none;
    font-size: 16px;
    transition: all 200ms;
    border-radius: 8px;
}

.perfil-banner-parte1-modificado-input input[type=submit]:not([disabled]):hover, .perfil-banner-parte1-modificado-input input[type=button]:hover{
    background-color: rgb(27, 26, 26);
    color: rgb(255, 255, 255);
    box-shadow: 5px 1px 30px rgb(54, 53, 53);
    cursor: pointer;
    opacity: .6;
    transform: scale(1.05);
}

.perfil-banner-parte1-modificado-input input[type=submit]:disabled{
    opacity: .3;
    cursor: not-allowed;
}

.perfil-banner-parte1-modificado-input-avatar{
    display: flex;
    gap: 0.5em;
}

.perfil-banner-parte1-modificado-input-avatar-preview{
    display: block;
}

.perfil-banner-parte1-modificado-input-avatar-preview p{
    color: rgb(98, 100, 98) !important;
    font-size: 13px !important;
}

.perfil-banner-parte1-modificado-input-avatar-preview img{
    display: block;
    max-width: 80px;
    max-height: 80px;
    background-color: transparent;
    margin-top: 0.25em;
    border-radius: 6px;
}

.perfil-banner-parte1-modificado-input-avatar-preview-chiquito{
    max-width: 50px !important;
    max-height: 50px !important;
    margin-top: 2.15em !important;
}

.perfil-banner-parte1-modificado-input-avatar input[type=file]{
    transition: all 200ms;
    width: 125px;
    max-height: 50px;
    margin-top: auto;
    margin-bottom: auto;
}

.perfil-banner-parte1-modificado-input-avatar input[type=file]::-webkit-file-upload-button{
    visibility: hidden;
}

.perfil-banner-parte1-modificado-input-avatar input[type=file]::before{
    content: 'Subir avatar';
    display: inline-block;
    background-color: rgb(20, 20, 19);
    color: rgb(211, 199, 199);
    width: 100%;
    height: 50px;
    border-radius: 8px;
    text-align: center;
    line-height: 50px;
    font-size: 18px;
    cursor: pointer;
}

.perfil-banner-parte1-modificado-input-avatar input[type=file]:hover{
    background-color: rgb(27, 26, 26);
    color: rgb(255, 255, 255);
    box-shadow: 5px 1px 30px rgb(54, 53, 53);
    cursor: pointer;
    opacity: .6;
    transform: scale(1.05);
}
