* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: 'Burbank Small';
    font-weight: bold;
    src: url(../assets/fonts/burbank_small_bold.ttf);
}
@font-face {
    font-family: 'Burbank Small';
    font-weight: normal;
    src: url(../assets/fonts/burbank_small_medium.ttf);
}

body {
    font-family: 'Burbank Small', sans-serif;
    font-weight: bold;
    background: url('../assets/bg.png') 0 0 / 400px repeat;
}

a {
    text-decoration: none !important;
    color: white;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 25px;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 85%, rgba(0, 0, 0, 0));
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    padding: 8px 30px;
    font-size: 23px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    transition: background-color 0.3s ease, border-radius 0.3s ease;
}

nav ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

nav ul li img {
    height: 60px;
}

nav ul .li-selected {
    cursor: none;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.3);
}

nav ul li:hover {
    cursor: pointer;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.3);
}

.play {
    display: flex;
    border-radius: 10px;
    width: 220px;
    height: 60px;
    font-size: 28px;
    justify-content: center;
    align-items: center;
    background: linear-gradient(-180deg, #ffe477 0, #fc0 100%);
    color: #6e4e00;
    border: 1px solid #ff9d00;
}

.play:hover {
    background: linear-gradient(-100deg, #ffe477 0, #fc0 100%);
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0 auto;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 1520px;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-container .carousel-item {
    min-width: 100%;
    position: relative;
}

.carousel-container .carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

.container-buttons {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: flex-end;
    padding: 18px 15px;
}

.container-buttons button {
    margin: 0 5px;
    background: linear-gradient(-180deg, #0041aa 0, #0283d3 100%);
    background-size: auto 200%;
    background-position: 0 100%;
    transition: background-position 0.5s;
    color: white;
    border: none;
    font-family: 'Burbank Small', sans-serif;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 7px;
    font-size: 22px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
}

.container-buttons button:hover {
    background-position: 0 0;
}

.prev, .next {
    position: absolute;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    background: none;
    border: none;
    opacity: 0.4;
}

.prev:hover, .next:hover {
    opacity: 0.8;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.carousel-content {
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    border-radius: 5px;
}

.carousel-content a {
    padding: 0 5px;
}

.carrousel-final {
    position: relative;
    width: 95%;
    max-width: 1520px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.final-container-buttons {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    padding: 20px 15px;
}

.final-container-buttons p {
    color: white;
    font-size: 28px;
}

.container-about {
    display: flex;
    padding: 30px;
    width: 100%;
    color: white;
    justify-content: center;
    background-color: rgba(1, 68, 155, 0.6);
}

.container-about .container-info {
    width: 720px;
    padding-right: 20px;
}

.container-about .container-info h1 {
    font-size: 40px;
    padding-bottom: 8px;
    text-shadow: 4px 0 5px rgba(0, 0, 0, 0.5);
}

.container-about .container-info p {
    font-size: 25px;
    font-weight: normal;
    line-height: 1.4;
    text-shadow: 4px 0 5px rgba(0, 0, 0, 0.5);
}

.container-about-blogs {
    display: flex;
}

.post-block {
    display: block;
    margin-right: 15px;
    transition: all 400ms ease;
}
.post-block:hover {
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-3%);
}
.home-post-cont {
    overflow: hidden;
    width: 370px;
    height: 230px;
    background: #FFFFFF;
    border: 2px solid #d4d4d4;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}
.top-blogpost {
    position: relative;
    width: 100%;
    height: 100%;
}
.bottom-blogpost {
    min-height: 60px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.category-corner {
    position: relative;
    padding: 18px 20px 22px;
    font-size: 17px;
    color: #FFFFFF;
    border-bottom-right-radius: 10px;
    box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.20);
}
.home-post-title {
    width: 100%;
    padding: 15px;
    position: absolute;
    bottom: 0;
    font-size: 18px;
    color: #FFFFFF;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.22);
    z-index: 3;
}
.home-post-img {
    width: 100%;
    height: 100%;
    position: absolute;
    background-size: cover;
}
.home-authorblock {
    display: flex;
    padding: 3px 15px;
}
.post-author-icon {
    margin-right: 10px;
    height: 50px;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.20);
    border-radius: 50%;
}
.author-date {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.author-home {
    margin-top: 3px;
    font-size: 16px;
    line-height: 17px;
    color: #2235af;
}
.home-date {
    font-weight: bold;
    font-size: 11px;
    line-height: 11px;
    color: rgb(14, 105, 161);
    text-transform: uppercase;
}
.grad-overlay {
    height: 77px;
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 2;
}

.post-block.category-party .grad-overlay {
    background-image: linear-gradient(180deg, rgba(82, 216, 37, 0) 0%, #c91010 100%);
    transition: 300ms all;
}
.post-block.category-comienzo .grad-overlay {
    background-image: linear-gradient(180deg, rgba(37, 135, 216, 0) 0%, #2370c9 100%);
    transition: 300ms all;
}
.post-block.category-party .category-corner {
    background-color: #c91010;
    transition: 300ms all;
}
.post-block.category-comienzo .category-corner {
    background-color: #2370c9;
    transition: 300ms all;
}

.nav-toggle {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
}

.sections {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sections img {
    padding: 25px 5px;
    height: 500px;
}

footer {
    background-color: rgba(2, 46, 104, 0.6);
    color: white;
    padding: 20px;
    text-align: center;
}
footer p {
    padding: 30px 10px 10px 10px;
}
.footer-container {
    display: flex;
    justify-content: center;
}
.footer-container h2 {
    text-decoration: underline;
    padding: 10px;
}
.footer-container hr {
    margin: 10px;
}
.footer-container div h3 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px;
}
.footer-container div h3:not(.atajo-item) {
    margin-left: 25px;
}
.footer-container div h3 img {
    padding-right: 10px;
    height: 30px;
}
.footer-container div h3 a {
    transition: all ease 300ms;
}
.footer-container div h3 a:hover {
    color: #fc0;
    text-decoration: underline !important;
}

.terms-container {
    background-color: white;
    border-radius: 20px;
    padding: 25px;
    width: 100%;
    max-width: 1100px;
    box-shadow: rgb(0 0 0 / 30%) 0px 5px 16px 0px;
}

.terms-container h3, .terms-container h2, .terms-container h4 {
    padding-top: 10px;
}

.terms-container p {
    font-weight: normal;
    line-height: 1.2;
}

.terms-container p a {
    color: rgb(7, 62, 145);
}

.terms-container p:not(.introduction, .last-update) {
    padding: 20px 0 10px;
}

.terms-container ul {
    padding: 10px 20px;
}

.terms-container ul li {
    padding: 10px;
}

.introduction {
    padding: 10px 0;
}

.last-update {
    font-style: italic;
    padding: 10px 0 10px;
}

.blogs-title {
    color: white;
    text-align: center;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.22);
    padding-top: 20px;
}

.container-blogs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 30px;
}

.blog-container {
    display: flex;
    justify-content: center;
    padding: 25px;
}

.blog-block {
    width: 60%;
    height: auto;
    margin: 0px auto;
    min-width: 600px;
}

.blog-content {
    background-color: rgb(255, 255, 255);
    border-radius: 15px;
    width: 100%;
    margin: 0px auto;
    position: relative;
    overflow: hidden;
    box-shadow: rgb(0 0 0 / 30%) 0px 5px 16px 0px;
}

.blog-title {
    font-weight: 800;
    font-size: 2.5rem;
    padding: 25px;
    color: rgb(34, 34, 34);
}

.blog-effect {
    position: absolute;
    top: 0px;
    margin-top: calc(52.4% - 100px);
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, rgba(37, 135, 216, 0) 0%, #2370c9 100%);
}

.blog-user {
    position: absolute;
    top: 0px;
    padding-top: calc(52.4% - 75px);
    left: 20px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    color: rgb(255, 255, 255);
}

.blog-profile {
    border: 4px solid rgb(255, 255, 255);
    width: 60px;
    height: 60px;
    border-radius: 100%;
    display: inline-block;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 0px 0px;
    margin-right: 15px;
}

.blog-user-text {
    display: inline-block;
    font-weight: 800;
    font-size: 1.3rem;
    margin-right: 15px;
    filter: drop-shadow(rgba(0, 0, 0, 0.3) 0px 2px);
}

.blog-text {
    padding: 0 30px;
    color: rgb(34, 34, 34);
}

.blog-text p {
    font-weight: normal;
    padding-bottom: 25px;
}

.blog-text p span {
    font-weight: bold;
}

.color-rojo {

}

@media (max-width: 1580px) {
    .sections img {
        height: 450px;
    }
}

@media (max-width: 1400px) {
    .sections {
        flex-wrap: wrap;
    }
}

@media (max-width: 1260px) {
    nav ul li {
        padding: 8px 20px;
        font-size: 18px;
    }

    .play {
        width: 160px;
    }

    .home-post-cont {
        width: 280px;
        height: 180px;
    }

    .container-info h1 {
        font-size: 35px !important;
    }

    .container-info p {
        font-size: 15px !important;
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: block;
        background-color: #0283d3;
        padding: 8px 13px;
        border-radius: 6px;
    }

    .container-about-blogs {
        flex-direction: column;
    }

    .container-about-blogs .post-block {
        margin-right: 0;
    }

    .container-about-blogs .last-blog {
        margin-bottom: 12px;
    }

    .home-post-cont {
        width: 200px;
        height: 150px;
    }

    .home-post-title {
        font-size: 15px;
    }

    nav ul {
        flex-direction: column;
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        height: calc(100vh - 75px);
        background-color: #04448c;
        transform: translateX(-100%);
        opacity: 0;
        pointer-events: none;
        z-index: 1000;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    nav ul.show {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    nav ul li {
        padding: 8px;
        width: 100%;
        text-align: center;
    }

    .container-buttons {
        position: relative !important;
        padding: 12px 0 !important;
    }

    .container-buttons button {
        font-size: 17px !important;
    }

    .container-buttons button img {
        height: 30px;
    }

    .arrow {
        height: 60px;
    }

    .container-info h1 {
        font-size: 30px !important;
    }

    .container-info p {
        font-size: 13px !important;
    }

    .carousel .prev, .carousel .next {
        width: 60px;
        height: 61px;
    }

    .carousel-content {
        width: 400px;
    }

    .sections img {
        height: 250px;
        padding: 10px 5px;
    }

    .final-container-buttons {
        padding: 15px 5px !important;
    }

    .final-container-buttons p {
        font-size: 15px !important;
    }

    .category-corner {
        display: none;
    }
}

@media (max-width: 640px) {
    .blog-block {
        min-width: 350px;
    }
}

@media (max-width: 550px) {
    .footer-container {
        flex-direction: column;
    }
}