/* ================================================ */
/* ================== FUENTES ====================== */
/* ================================================ */
@font-face {
    font-family: 'UbuntuMono';
    src: url('/assets/fonts/UbuntuMono-Regular.ttf') format('truetype');
    font-weight: normal; 
    font-style: normal; 
}
@font-face {
    font-family: 'UbuntuMonoBold';
    src: url('/assets/fonts/UbuntuMono-Bold.ttf') format('truetype');
    font-weight: bold; 
    font-style: normal; 
}

/* ================================================ */
/* ================== HEADER ====================== */
/* ================================================ */
.header{
    background-color: #000004
}

#menu{
    max-height: 0;
    transition: max-height .5s;
    overflow: hidden;
    padding: 0;
    width: 100%;
    margin: 0;
}
#menu.menu-desplegado{
    max-height: 150px;
    /* overflow: visible; */
}

.menu-item{
    font-size: 1.25rem;
}


/* ================================================ */
/* ================== CUERPO ====================== */
/* ================================================ */

.login {
    width: 300px;
    background-color: rgba(245, 245, 245, 0.897);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.main-container-login {
    background-color: rgba(0, 127, 195, 0.856);
}

.btn-inicio,
.btn-inicio:hover {
    background-color: rgb(230, 57, 136);
}

.admin-body{
    background-color: whitesmoke;
}

body {
    font-family: 'UbuntuMono', monospace, sans-serif !important;
    /* background-color: #d3d3d3; */
    background-color: #000004;
}

h1{
    font-size: 1.4rem;
}
p{
    font-size: .8rem;
}
button, a{
    font-size: .8rem;
}

.separator{
    color: whitesmoke;
}
.subtitle{
    font-size: 1.2rem;
    color: whitesmoke;
}

.main-container{
    /* background-color: rgba(233, 240, 255, 0.98); */
    background-color: #000004b4;
    min-height: 50vh;
}

.principal-post{
    height: 100%;
    width: 100%;
    background-color: #000004b4;
    color: #dc3545;
    text-align: center;
}
.principal-post > p{
    display: none;
}


.post-card{
    height: 300px;
    width: 260px;
    margin: 10px 0;
}
.post-img{
    height: 150px;
}
.post-preview{
    height: 100px;
    color: whitesmoke;
    line-height: 1.5;
}

.main-posts{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popular-seccion{
    display: none;
}
.popular-separator{
    display: none;
}

.post-page-container{
    text-align: justify;
    color: whitesmoke;
    /* background-color: #1319743d; */
    /* background-color: #7413133d; */
    /* background-color: #dc35465e; */
    /* background-color: rgba(220, 53, 70, 0.37); */
    /* background-color: rgba(220, 53, 70, 0.281); */
    background-color: rgb(2 18 51);
    padding: 50px;
}
.post-page-container > h1,h2,h3,a{
    color: #dc3545;
}
.main-post-img{
    width: 100%;
    height: auto;
    margin: 0 auto 50px auto;
}
.main-post-img > img{
    width: 100%;
}

@media (min-width: 400px) {

    .principal-post{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .subtitle{
        font-size: 1.4rem;
    }
}

@media (min-width: 500px) {

    h1{
        font-size: 1.6rem;
    }
    p{
        font-size: .9rem;
    }
    .principal-post > p{
        display: block;
    }
    .post-preview{
        text-align: center;
    }
}

@media (min-width: 600px) {
    h1{
        font-size: 1.8rem;
    }
    p{
        font-size: 1rem;
    }
    .post-preview > p{
        font-size: .9rem;
    }
    button, a{
        font-size: 1rem;
    }
    
    .main-posts{
        display: block;
    }
    .post-card{
        display: inline-block;
        margin: 10px !important;
    }
    .main-post-img{
        width: 75%;
    }
}
@media (min-width: 768px) {
    .popular-separator{
        display: block;
    }
    .popular-seccion{
        display: block;
    }
}

@media (min-width: 800px) {
    
    h1{
        font-size: 2rem;
    }
    p{
        font-size: 1.2rem;
    }
    button, a{
        font-size: 1.2rem;
    }
    .post-card{
        /* display: inline-block; */
        margin: 10px 30px !important;
    }
    
}

@media (min-width: 992px) {
    h1{
        font-size: 2.5rem;
    }
    .header{
        display: flex;
        justify-content: space-between;
    }
    #burguer-btn{
        display: none;
    }
    .popular-separator{
        display: none;
    }
    
    #menu{
        max-height: 50px;
        width: auto;
        display: flex;
        justify-content: end;
        align-items: center;
    }
    
    .menu-item{
        font-size: 1rem;
    }

    .menu-item > a{
        display: block;
        padding: 0 5px;
        border-left: solid whitesmoke 1px;
    }

    .principal-post{
        align-items: flex-start;
        text-align: left;        
    }
    .principal-post > p{
        width: 50%;
    }
    .principal-post > div{
        justify-content: center;
        width: 50%;
    }

    .main-posts{
        flex-direction: row;
    }
    .post-card{
        margin: 10px !important;
    }
    .main-post-img{
        width: 50%;
    }
}