/* Media query para max-width de 991px */
@media (max-width: 991px) {
    #legal .container {
        width: 100%;
        max-width: 100%;
    }
    #team {
        padding-top: 50px;
    }
    #header .text {
        max-width: 100%;
    }
    #header .row {
        min-height: 311px;
        max-height: 400px;
    }
    #translucent-1, #translucent-2 {
        display: none;
    }
    #about ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        list-style: none;
        padding-top: 50px;
        margin: 0;
        padding-left: 0;
    }
    #about ul li {
        width: calc(50% - 40px);
        list-style: none;
        text-align: center;
    }
    #games ul li {
        width: 100%;
        padding: 10px;
    }
    #games .col-9 {
        flex: 0 0 auto;
        width: 100%;
    }
    #games ul li .viewCard {
        background-color: rgba(0, 0, 0, 0.5);
        padding: 10px;
        border-radius: 10px;
        display: block;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    #games ul li .logo img {
        max-width: 57%;
        height: auto;
    }
    #footer {
        font-size: 12px;
    }
    #powered {
        display: none;
    }
    .container {
        width: 100% !important;
        padding: 10px !important;
    }
    .col-8 {
        flex: 0 0 auto !important;
        width: 91.66666667% !important;
    }
    #trailer {
        padding-top: 20px;
    }
    .navbar-nav {
        display: flex;
        float: none;
        margin: 0;
        width: 100%;
        justify-content: center;
    }
    ul.navbar-nav {
        justify-content: end !important;
        text-align: end;
    }
    .navbar-nav > li {
        float: left;
    }
    .navbar-nav > li > a {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .header-section h2 {
        font-size: 2rem;
        text-align: center;
        position: relative;
        display: flex;
        flex-direction: column;
    }
    #header .logo {
        padding-top: 100px;
        padding-bottom: 145px;
        text-align: center;
    }
    .logo img {
        width: 415px;
    }
    .fixed-top {
        left: initial !important;
    }
    #menu {
        background: none;
        max-width: 300px;
    }
    #menu.with-bg {
        background: linear-gradient(to bottom, rgba(32, 14, 8, 1), rgba(32, 14, 8, 0.8), rgba(60, 25, 12, 0.8), rgba(60, 25, 12, 0.8), rgba(32, 14, 8, 0.8), rgba(32, 14, 8, 1));
        border-left: #806b32 solid 2px;
        border-bottom: #806b32 solid 2px;
    }
}

/* Media query para max-width de 768px */
@media (max-width: 768px) {
    /* Agrega aquí los estilos específicos para pantallas de hasta 768px */
}

/* Media query para max-width de 566px */
@media (max-width: 566px) {
    #header .text {
        font-size: 28px;
        max-width: 100%;
    }
    #header .row {
        min-height: 302px;
        max-height: 303px;
    }
    #translucent-1, #translucent-2 {
        display: none;
    }
    .logo img {
        width: 90%;
    }
    .header-section h2 {
        font-size: 1.8rem;
    }
    #about ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        list-style: none;
        padding-top: 50px;
        margin: 0;
        padding-left: 0;
    }
    #about ul li {
        width: calc(50% - 40px);
        list-style: none;
        text-align: center;
    }
    #games ul li {
        width: 100%;
        padding: 10px;
    }
    #games .col-9 {
        flex: 0 0 auto;
        width: 100%;
    }
    #games ul li .viewCard {
        background-color: rgba(0, 0, 0, 0.5);
        padding: 10px;
        border-radius: 10px;
        display: block;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    #games ul li .logo img {
        max-width: 57%;
        height: auto;
    }
    #footer {
        font-size: 12px;
    }
    #powered {
        display: none;
    }
    #contact .map {
        flex: 0 0 auto;
        width: 100%;
        max-height: 350px;
    }
    #contact .office h1 {
        font-size: 1.3rem;
        margin-bottom: 0;
    }

    #team .team-grid li {
        padding: 0px;
    }
    #team {
        padding-top: 50px;
    }
    #legal {
        padding-top: 50px;
    }
}
