@font-face {
    font-family: "Ribes Light";
    src: url("../assets/fonts/Ribes-Light.woff") format("woff");
}
@font-face {
font-family: "VG5000";
src: url("../assets/fonts/VG5000-Regular_web.ttf") format("truetype"),
url("../assets/fonts/VG5000-Regular_web.otf") format("opentype");
}
* {
    box-sizing: border-box;
}
textarea{
    resize: none;
}
html{
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: 100vw;
  overflow-x: hidden;
    
}
#loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #292022; /* Fondo translúcido */
    display: flex;
    flex-wrap: wrap;
    
    z-index: 9999;
}

#titulo{
    width: 100%;
    height: 50%;
    font-size: 2.5em;
    padding: 30px;
    color: #eef0db;
}
#barra{
    width: 100%;
    height: 25px;
    background-image: url("../assets/fondo_barra.svg");
    align-self: flex-end;
    
    
}
#progreso{
    height: 100%;
    background-color: #F96E46;
    animation: progress_animation 5s ease-in forwards;
    

}
#progreso p{
    position: relative;
    color: #F1F2DF;
    font-size: 1.5em;
    margin: 0;
    padding-left: 30px;
    top: -30px;
}
@keyframes progress_animation {
    0% {width: 0%;}
    100% {width: 100%;}
    
}
#manos {
    width: 100%;
    background-color: #eef0db;
    margin-top: 0px;
    display: flex;
    align-items: center;
}

body {
    font-family: "VG5000", sans-serif;
    background-color: #eef0db;
    margin: 0;
    padding: 0px;
    height: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    
}
.contenedor_columna{
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.login-container {

    
}
.top_nav_main{
    top: 0;
    height: 70px;
    background-color: #292022;
    padding: 40px 30px 10px 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: #eef0db;
    font-size: 1em;
    position: fixed;
    width: 100%; 
}
.top_nav{
    top: 0;
    height: 114px;
    background-color: #292022;
    padding: 50px 30px 30px 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: #eef0db;
    font-size: 1.3em;
    position: fixed;
    width: 100%;  
}
.nav{
    width: 100%;
    position: fixed;
    top: 114px;
    height: 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    
}
.nav_mitad li{
    height: 30px;
    width: 50%;
    text-decoration: none;
    padding-bottom: 10px;
    padding-top: 7px;
    margin: 0px;
    list-style: none;
    background-color: #eef0db;
    border: #292022 1px solid;
    font-size: .9em;
}
.nav_mitad li:first-child{
    padding-left: 30px;

}
.nav_mitad li:last-child{
    text-align: end;
    padding-right: 30px;
}
.nav_mitad a{
    text-decoration: none;
    color: #292022;
}
.nav_perfil ul{
    margin: 0px;
    padding: 0px;
}
.nav_mitad{
    width: 100%;
    position: fixed;
    top: 70px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.nav_main{
    width: 100%;
    position: fixed;
    top: 70px;
    
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.nav_main li{
    height: 30px;
    width: 33.33%;
    text-decoration: none;
    padding: 10px 0px;
    margin: 0px;
    list-style: none;
    background-color: #eef0db;
    border: #292022 1px solid;
    font-size: .9em;
}
.nav_main li:first-child{
    padding-left: 30px;
}
.nav_main li:nth-child(2){
    text-align: center;
}
.nav_main li:last-child{
    padding-right: 30px;
    text-align: end;
}
#filtro_categoria{
    text-align: center;
    background-color: #eef0db;
    border: #292022 1px solid;
    font-size: .9em;
   
    height: 30px;
    
    
}
#filtro_categoria form select{
    background-color: transparent;
    width: 100%;
    text-align: center;
    
    font-family: "VG5000";
    
    font-size: .9em;
    border: none;
}
#filtro_categoria form select option{
    padding-top: 10px;
}
.nav_filtros{
    display: flex;
    flex-direction: row;
    padding: 0px 0px;
    margin: 0px;
    text-decoration: none;
    color: #292022;
    text-decoration: none;
}

.nav_filtros li a{
    color: #292022;
}

.nav_main div{
    width: 100%;
}
.nav p{
    margin: 0;
    padding:  14px 30px 0px 30px;

}
.p_izq{
    background-color:#9B8AED;
}
.p_der{
    text-align: end;
    text-decoration: none;
    color: #292022;
    background-color: #eef0db;
}
.p_der a, .p_izq a{
    text-decoration: none;
    color: #292022;
}
.nav div{
    border: #292022 1px solid;
    flex: 1;
}
.login-container{
    width: 100%;
    background-color: #eef0db;
    border: #292022 1px solid;
}
.login-container form{
    padding: 20px 30px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
#form-login{
    margin-top: 154px;
}
#form-login input, #form-register input, #form-register select{
    font-family: "Ribes Light";
    display: block;
    width: 100%;
    padding-top: 10px;
    background-color: transparent;
    border: #292022 1px solid;

}
#form-login label, #form-register label{
    padding-top: 10px;
}

.imagen_fondo{
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F96E46;
    padding: 30px 0px;
}


.imagen_fondo img{
    
    width: 68%;
    
}
.bottom_nav{
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 80px;
    background-color: #292022;
    border: #292022 1px solid;
    display: flex;
}
.bottom_nav_main{
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 70px;
    background-color: #eef0db;
    border: #292022 1px solid;
    display: flex;
    z-index: 1000;
}
#crear_publicacion{
    position: fixed;
    bottom: 70px;
    width: 100%;
    height: 30px;
    background-color: #F96E46;
    border: #292022 1px solid;
    
}
#crear_publicacion button{
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 5px 0px 0px 0px;
}
.tercio_izquierdo{
    width: 33%;
}
.izquierda{
    width: 50%;
    padding-left: 30px;
    font-size: 16px;
    line-height: 1em;
    padding-top: 15px;
    border: #292022 1px solid;
    height: 100%;
    align-self: center;
    background-color: #292022;
    
}
.izquierda a{
    text-decoration: none!important;
    color: #eef0db!important;
}
.derecha{
    width: 50%;
}
.derecha div{
    width: 100%;
    text-align: end;
    padding-right: 30px;
    border: #292022 1px solid;
    height: 50%;
    padding-top: 8px;
    
}
.derecha div a{
    text-decoration: none;
    color: #292022;
}
.derecha div:first-child{
    background-color: #eef0db;
}
.dos_tercios_derecha{
    background-color: #9B8AED;
    width: 67%;
    display: flex;
    justify-content: flex-end;
    flex-direction: row;
    flex-wrap: wrap;
    padding-right: 30px;
}
button{
    font-family: "VG5000";
    font-size: 1em;
}
.dos_tercios_derecha button{
    height: 30px;
    padding: 10px 0px;
    border: none;
    background-color: transparent;
}


/* ----------- POSTS ------------------- */

.container {
    padding-top: 160px;
}

.post {
    background: #eef0db;
 
    
}
.container::after{
    content: "";
    display: block;
    height: 100px;
    background-color: #eef0db;
}
.contenedor_todo_posts{
    background-color: #eef0db;
    height: 100%;
}
.author {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    padding-top: 30px;
    align-items: center;
    height: 50px;
    
}

.author-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
    cursor: pointer;
}
.post {
    padding: 0px 30px;
    border: #292022 1px solid;
   
}


.profile-btn {
   
    background-color: transparent;
    
    
    text-decoration: none;
   
}

.profile-btn:hover {
    background-color: #2979b9;
}



.title {
    font-size: 1.2rem;
    color: #292022;
    margin: 0px;
    padding-bottom: 0px;
}

.content {
    font-size: 1rem;
    margin-top: -10px;
    margin-bottom: 0px;
    font-family: "Ribes Light";
    padding-bottom: 10px;

}

h3{
    margin: 0px;
    padding: 0px;
}
.post img.post-image {
    width: 100%;
    
    
    object-fit: cover;
    border: #292022 1px solid;
}
.barra_like_conectar{
    display: flex;
    width: 100%;
    
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    
    
    background-color: #eef0db;

}
.barra_like_conectar div{
    padding-top: 10px;
    border: #292022 1px solid;
    height: 40px;
    align-self: center;
}


.conectar{
    text-align: end;
    width: 33%;
    padding-right: 30px;
    background-color: #F96E46;
}

.conectar a{
    text-decoration: none;
    color: #292022;
}
.like{
    width: 67%;
    padding-left: 30px;
}

.btn-publicar {
    background-color: transparent;
    text-decoration: none;
    color: #292022;
}
.bottom_nav_main button{
    background-color: transparent;
    border: none;
    margin: 0px;
    padding: 0px;
    color: #eef0db;

}

.profile-link {
    color: #292022;
    text-decoration: none;
}

.profile-link:hover {
    text-decoration: underline;
}

.like-btn {
    
    color: #292022;
    border: none;
    
    background-color: transparent;
    cursor: pointer;
    font-weight: bold;
    
    transition: background-color 0.2s ease;
}

.like-btn.liked {
    background-color: transparent;
}

.like-count {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}


/* perfil */

.profile-container{
    /* background-color: #eef0db; */
    /* border: #292022 1px solid; */
    margin-top: 99px;
}
#seccion-info img{
    width: 100%;
    margin: 0px;

}

#seccion-filtro::after {
    content: "";
    display: block;
    height: 40vh;
    font-size: 20px;
}
.seccion-perfil{
    background-color: #eef0db;
}
.seccion-perfil::after{
    content: "";
    display: block;
    height: 40vh;
    background-color: transparent;
    font-size: 20px;
}
.espacio-scroll::after{
    content: "";
    display: block;
    height: 40vh;
    background-color: transparent;
    
}
.barra{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0px 30px;
    height: 30px;
    align-items: center;
    background-color: #F96E46;
    border: #292022 1px solid;
    padding-top: 10px;
    margin: 0px;
}
.barra p{
    padding: 0px;
    margin: 0px;
}
.barra_modos{
    width: 100%;
    
}
.barra_modos ul{
    display: flex;
    list-style-type: none;
    margin: 0px;
    width: 100%;
    justify-content: space-between;
    padding: 0px;
    
}
.barra_modos li{
    border: #292022 1px solid;
    width: 33.33%;
    padding: 10px 0px 0px 0px;
    
}
.barra_modos li:first-child{
    padding-left: 30px;
}
.barra_modos li:nth-child(2){
    text-align: center;
}
.barra_modos li:last-child{
    padding-right: 30px;
    text-align: end;
}


.modo-activo {
    background-color: #F96E46!important;
}
#seccion-info h2{
    margin: 0px;
    padding-top: 10px;
    font-size: 1em;
    font-weight: 200;
}
#informacion_personal div{
    padding: 10px 30px 15px 30px;
    border-bottom: #292022 1px solid;
}
#informacion_personal p{
    margin: 0px;
    padding: 0px;
    line-height: 1em;
    font-size: 1em;
}
#informacion_personal div:last-child{
    border: none;
}
#informacion_personal strong{
    font-weight: 200;
    margin-bottom: 10px;
}
.cerrar_sesion{
    width: 50%;
    background-color: #F96E46;
    font-size: 1em;
    
    border: #292022 1px solid;
    height: 30px;
    position: fixed;
    right: 0px;
    bottom: 69px;
    padding-right: 30px;
    text-align: end;
    padding-top: 5px;
}
.cerrar_sesion a{
    text-decoration: none;
    color: #292022;
}
.fondo{
    background-color: #eef0db;
    height: 100%;
    border: #292022 1px solid;
}
.btn-edit{
    text-decoration: none;
    color: #eef0db;
}
.activo-perfil{
    background-color: #9B8AED;
}

/* publicar */
#form-publicar{
    margin-top: 50px;
    padding: 0px 30px;
}
#form-publicar input, #form-register input, #form-register select{
    font-family: "Ribes Light";
    display: block;
    width: 100%;
    padding-top: 10px;
    background-color: transparent;
    border: #292022 1px solid;

}
#form-publicar label{
    padding-top: 10px;
}
#form-publicar input[type="file"]{
    display: none;

}
#label_de_subir_imagen{
    text-decoration: underline;
    
}
#imagen_placeholder{
    display: flex;
    justify-content: end;
    border: #292022 1px solid;
    padding: 10px;
    background-color: #9B8AED;

}
#imagen_post{
    width: 30%;
}
#input_titulo{
    color: #292022!important;
    font-family: "VG5000"!important;
    font-size: 1em;
    border: none!important;
    border-bottom: #292022 1px solid!important;
    border-radius: 0;
    margin-top: 15px;
    padding: 10px 0px 0px 0px;
    
}
#input_descripcion_post{
    border: #292022 1px solid ;
    background-color: #eef0db;
    border-radius: 0px;
    font-family: "Ribes";
    height: 100px;
}
#contenedor_select{
    width: 100%;
}
#categoria{
    width: 100%;
    height: 40px;
    font-family: "VG5000";
    padding-top: 10px;
    font-size: 1em;
    text-align: center;
    border-radius: 0px;
    background-color: #9B8AED;
    border: #292022 1px solid;
}
#categoria option{
    border: #292022 1px solid;
    border-radius: 0px;
    background-color: #eef0db;
}


#form-publicar button{
    margin-top: 20px;
    width: 100%;
    padding-top: 10px;
    background-color: #F96E46;
    border-radius: 0px;
    border: #292022 1px solid;
}
.izquierda{color: #eef0db;}

/* LOGOUT */
#anuncio_salir{
    position: fixed;
    top: 115px;
    width: 100%;
    height: 70px;
    background-color: #F96E46;
    border: #292022 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
}
#anuncio_salir h2{
    margin: 0px;
    margin-top: 10px;
    padding: 0px;
    font-weight: 200;
}
.imagen_fondo_logout{
    background-color: #eef0db;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}
.imagen_fondo_logout img{
    width: 70%;
    
}
.bottom_nav_logout .mitad{
    width: 50%;
    padding: 15px 30px;
}
.bottom_nav_logout{
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 150px;
    background-color: #292022;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.bottom_nav_logout .mitad:last-child{
    text-align: end;
    background-color: #9B8AED;
}

/* editar perfil */

.area_de_trabajo, .herramientas{
    padding: 0px 30px;
    border-bottom: #292022 1px solid;
}

#areas-container, #herramientas-container{
    width: 100%;
    padding: 0px!important;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    
    align-content: flex-start;
    border: none!important;
    
}
#form-editar input[type="file"]{
    display: none;

}
#form-editar input[type="text"]{
    font-family: 'Ribes Light';
    font-style: italic;
    width: 1px;
    width: auto;
    flex-grow: 0;
    margin: 0px;
    font-size: 1rem;
    max-width: 90%;
    margin-top: -10px;
}
#form-editar-posts input[type="text"]{
    font-family: 'Ribes Light';
    font-style: italic;
    width: 1px;
    width: auto;
    flex-grow: 0;
    margin: 0px;
    font-size: 1rem;
    max-width: 90%;
    margin-top: -10px;
}

#form-editar input{
    background-color: transparent;
    border: none;
}
#form-editar-posts input{
    background-color: transparent;
    border: none;
}
#form-editar textarea{
    width: 100%;
    min-height: 30px;
    max-height: 100px;
}
#form-editar-posts textarea{
    width: 100%;
    min-height: 30px;
    max-height: 100px;
}
.area-item{
    
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 10px!important;
    border: none!important;
    background-color: #9B8AED;
    height: 30px;
    width: 47%;
}
.area-item button{
    padding: 0px;
    margin: 0px;
    background-color: transparent;
    border: none;
    
}
#form-editar button{
    background-color: transparent;
    border: none;
    float: right;

}

.boton-area{
    padding: 0px!important;
    width: 100%;
    margin-top: 15px;
    margin-bottom: 0px;
    height:30px;
}
.textarea_transparente{
    background-color: transparent;
    border: none;
    font-size: 1em;
    font-family: 'Ribes Light';
    font-style: italic;
}
.fecha{
    text-align: end;
    width: 50%;
    padding-right: 30px;
    background-color: transparent;
    padding-top: 10px;
}
.fecha p{
    margin: 0px;
    padding: 0px;
}
.sin_borde{
    border: 0px!important;
}
.form_like{
    display: flex;
    flex-direction: row;
}
.con_borde{
    border: #292022 solid 1px!important;
}
.borde_abajo{
    border-bottom: #292022 1px solid!important;
}
#likes{
    background-color: transparent;
    border: none;
    width: 50px;
}
#form-editar-posts input[type="file"]{
    display: none;

}
#imagen_editar_post{
    width: 100%;
}
#categorias{
    text-align: end;
    padding-right: 5px!important;
    background-color: #2979b9;
}
.fondo_transparente{
    background-color: transparent!important;
}
.fondo_edicion{
    background-image: url("../assets/tramado_3.svg")!important;
    background-size: 25%;
    background-repeat: repeat;
    border: none;
    animation: escalando 10s linear infinite;    
    height: 100%;
}
.boton{
  background-color: transparent!important;
  border: none!important;
  text-decoration: none!important;
}
.crema{
  color: #eef0db!important;
}
@keyframes escalando {
    0%{
        background-position-x: 100%;
    }
    100%{
        background-position-x: 50%;
    }
}



@media (min-width: 768px) {
   
    .post{
        width: 50%;
        margin: 0px auto;
    }

    body{
        background: #eef0db;
    }

    .seccion-info img{
        width: 50%;
        max-height: 75vh;
        margin: 0px auto;
    }

    .login-container{
        width: 50%;
        margin: 0px auto;
    }
    
    .imagen_fondo img{
        max-width: 20%;
    }


   
}
