/* Fonts */
@font-face {
    font-family: AkiraExpanded;
    src: url("../font/AkiraExpanded.otf") format("truetype");
    font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: AnekGujarati;
    src: url("../font/AnekGujarati.woff2") format("truetype");
    font-style: normal;
    font-weight: normal;
}

/* Defaults */
html.k-webkit.k-webkit114 {
    overflow-x: auto;
}
body {
    background: #f9f7f6;
    font-family: sans-serif;
    width: 100% !important;
    overflow-x: hidden;
}
a{
    transition: .5s;
}
a:hover{
    color: #fb0404 !important;
}
.text-white {
    color: #f9f7f6;
}
.text-dark {
    color: #292929;
}
.font-akira {
    font-family: AkiraExpanded;
}
.font-anek {
    font-family: AnekGujarati;
}

/* Navbar */
.navbar {
    /* background: #292929; */
    background: #141414;
    line-height: 30px;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0px 10px 100px -52px rgba(0, 0, 0, 0.655);
    width: 100%;
}
.navbar > div > .navbar-brand {
    display: flex;
}
.navbar > div > .navbar-brand > span {
    font-family: AkiraExpanded;
    font-weight: 800;
    line-height: 15px;
    color: #f9f7f6;
    margin: auto;
    padding-left: 5%;
    font-size: 18px;
}
.navbar-nav > .nav-link {
    transition: 0.5s;
    padding: 0;
    align-self: center;
}
.nav-link:hover {
    color: #fb0404 !important;
}

/* footer */
.footer {
    background: #292929;
    width: 100%;
}

/* categories-buttons */
.categories-buttons {
    place-content: center;
    font-family: sans-serif;
}
.categories-buttons > a {
    text-decoration: none;
}
.categories-buttons > a > button {
    transition: 0.5s;
    background: #ff0000;
    border-radius: 20px;
    font-weight: 700;
    width: 10%;
}
.categories-buttons > a > button:hover {
    background: #f54d4d;
}

/* news-card */
.news-card {
    overflow: hidden;
    box-shadow: 0px 10px 36px -20px rgb(0 0 0 / 51%);
    border-radius: 15px !important;
    overflow: hidden;
    border: 0;
    object-fit: cover;
    object-position: center;
    height: 100%;
}
.news-card > img {
    object-fit: cover;
    object-position: center;
    height: 100%;
}
.news-card > div > .card-title {
    position: absolute;
    bottom: 0;
    font-weight: 600;
    font-size: 18px;
    width: 90%;
}
.news-card > .card-img-overlay {
    background: #0000002e;
    padding: 5%;
}

/* principal-news-card */
.principal-news-card {
    height: 80vh;
    border-radius: 0;
    text-align: center;
}
.principal-news-content > h5 {
color: #f9f7f6;
    font-size: 2rem;
    font-family: sans-serif;
    text-transform: uppercase;
    font-weight: 900;
    text-decoration: none;
}
.principal-news-content > a {
    text-decoration: none;
}
.principal-news-card > img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}
.principal-news-card > .card-img-overlay {
    background: #00000061;
    border-radius: 0;
}
.principal-news-card > .card-img-overlay > div {
    height: 100%;
    position: relative;
}
.principal-news-card > .card-img-overlay > div > .card-content {
    position: absolute;
    width: 100%;
    top: 20%;
}
.principal-news-card > .card-img-overlay > div > .card-content > h5 {
    color: #f9f7f6;
    font-size: 2rem;
    font-family: AkiraExpanded;
    font-weight: 600;
}
.principal-news-card > .card-img-overlay > div > .card-content > h5 > a {
    color: #f9f7f6;
    text-decoration: none;
}
.principal-news-card > .card-img-overlay > div > .card-content-other-news {
    bottom: 5%;
    position: absolute;
    width: 80%;
    left: 10%;
}

/* principal-categorie-card */
.principal-news-card > .card-img-overlay > div > .card-categorie-content {
    position: absolute;
    width: 100%;
    bottom: 5%;
}
.principal-news-card > .card-img-overlay > div > .card-categorie-content > h5 {
    color: #f9f7f6;
    font-size: 2rem;
    font-family: sans-serif;
    text-transform: uppercase;
    font-weight: 900;
}
.principal-news-card > .card-img-overlay > div > .card-categorie-content > h5 > a{
    text-decoration: none !important;
}
.principal-news-content > h5 > a{
    text-decoration: none !important;
    color: #fff !important;
}
/*  */
.category-title {
    font-size: 2rem;
    font-family: sans-serif;
    text-transform: uppercase;
    font-weight: 900;
}

.card-title {
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: 900;
}

.lecture-content:has(article) > article > p {
    padding: 0 !important;
    margin: 0 0 2%!important;
    text-align: justify;
    font-size: 1.2em;
}

.lecture-content:has(article) > article > p:has(img) {
    width: 100%;
    max-width: 100% !important;
}

.lecture-content>p {
    padding: 0 !important;
    margin: 0 0 2%!important;
    text-align: justify;
    font-size: 1.2em;
}
.lecture-content > p:has(img) {
    width: 100%;
    max-width: 100% !important;
}
/* Footer */

/* 1366 x 768 styles */
@media only screen and (max-width: 1366px) {
    body {
        zoom: 0.8;
    }
}

/* Movile styles */
@media only screen and (max-width: 768px) {
    .navbar > .container {
        width: 90%;
        margin: auto;
    }
    .categories-buttons > a > button {
        transition: 0.5s;
        background: #ff0000;
        border-radius: 20px;
        font-weight: 700;
        width: 25%;
        margin: 2%;
    }
    .container {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    /* .card {
        min-height: 70vh;
        max-height: 300px;
        min-width: 100%;
        width: 100%;
        position: inherit;
    } */
    .principal-news-card {
        height: auto;
        border-radius: 0;
        text-align: center;
    }
    .principal-news-card > .card-img-overlay > div > .card-content {
        position: absolute;
        bottom: 10%;
        width: 100%;
    }
    .principal-news-card > .card-img-overlay > div > .card-categorie-content {
        position: absolute;
        bottom: 10%;
        width: 100%;
    }
}
