/* //////////////////////////////////
/////////////// Nav Bar ///////////// */

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        align-items: flex-start;
        /* Align items to the start */
        margin: 0;
        /* Remove default margin */
    }

    nav ul.active {
        display: flex;
        max-height: 300px;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
    }

    .toggle-button {
        display: flex;
    }

    nav {
        flex-direction: row;
        /* Stack items vertically */
        align-items: flex-start;
        /* Align items to the start */
    }

    .brand-name {
        margin: 0;
        /* Remove left margin for brand name */
    }
}



/* ///////////////////////////////////////
///////////////// Home ////////////////// */
@media screen and (max-width: 1200px) {
    .game-section {
        padding: 30px 20px;
    }

    .game-section .item {
        margin: 0 10px 40px;
        width: 280px;
        height: 350px;
    }

    .game-section .item.active {
        width: 400px;
    }

    .line-title {
        width: 300px;
    }

    .owl-carousel.custom-carousel {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

@media screen and (max-width: 768px) {
    .game-section {
        padding: 20px 15px;
    }

    .game-section .item {
        margin: 0 8px 30px;
        width: 220px;
        height: 300px;
    }

    .game-section .item.active {
        width: 300px;
    }

    .item-desc h3 {
        font-size: 20px;
        line-height: 24px;
    }

    .item-desc p {
        font-size: 14px;
        line-height: 1.4;
    }

    .line-title {
        width: 250px;
        font-size: 24px;
    }

    .owl-carousel.custom-carousel {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

@media screen and (max-width: 576px) {
    .game-section {
        padding: 15px 10px;
    }

    .game-section .item {
        margin: 0 5px 20px;
        width: 180px;
        height: 250px;
    }

    .game-section .item.active {
        width: 250px;
    }

    .item-desc h3 {
        font-size: 18px;
        margin: 5px 0;
    }

    .item-desc p {
        font-size: 13px;
    }

    .line-title {
        width: 250px;
        font-size: 30px;
        margin-bottom: 30px;
        margin-left: 5px;

    }

    .owl-carousel.custom-carousel {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}




/* //////////////////////////////////////////
//////////// Time Line ///////////////// */

@media (min-width: 768px) {

    .timeline-split .timeline,
    .timeline-centered .timeline {
        display: table;
    }

    .timeline-split .timeline-item,
    .timeline-centered .timeline-item {
        display: table-row;
        padding: 0;
    }

    .timeline-split .timeline-info,
    .timeline-centered .timeline-info,
    .timeline-split .timeline-marker,
    .timeline-centered .timeline-marker,
    .timeline-split .timeline-content,
    .timeline-centered .timeline-content,
    .timeline-split .period .timeline-info {
        display: table-cell;
        vertical-align: top;
    }

    .timeline-split .timeline-marker,
    .timeline-centered .timeline-marker {
        position: relative;
    }

    .timeline-split .timeline-content,
    .timeline-centered .timeline-content {
        padding-left: 30px;
    }

    .timeline-split .timeline-info,
    .timeline-centered .timeline-info {
        padding-right: 30px;
    }

    .timeline-split .period .timeline-title,
    .timeline-centered .period .timeline-title {
        position: relative;
        left: -45px;
    }

    .timeline-info {
        font-size: 25px;
        line-height: 28px;
    }
}

/*----------------------------------------------
      MOD: TIMELINE CENTERED
  ----------------------------------------------*/
@media (min-width: 992px) {

    .timeline-centered,
    .timeline-centered .timeline-item,
    .timeline-centered .timeline-info,
    .timeline-centered .timeline-marker,
    .timeline-centered .timeline-content {
        display: block;
        margin: 0;
        padding: 0;
    }

    .timeline-centered .timeline-item {
        padding-bottom: 40px;
        overflow: hidden;
    }

    .timeline-centered .timeline-marker {
        position: absolute;
        left: 50%;
        margin-left: -7.5px;
    }

    .timeline-centered .timeline-info,
    .timeline-centered .timeline-content {
        width: 50%;
    }


    .timeline-centered>.timeline-item:nth-child(odd) .timeline-info {
        float: left;
        text-align: right;
        padding-right: 30px;
    }

    .timeline-centered>.timeline-item:nth-child(odd) .timeline-content {
        float: right;
        text-align: left;
        padding-left: 30px;
    }

    .timeline-centered>.timeline-item:nth-child(even) .timeline-info {
        float: right;
        text-align: left;
        padding-left: 30px;
    }

    .timeline-centered>.timeline-item:nth-child(even) .timeline-content {
        float: left;
        text-align: right;
        padding-right: 30px;
    }

    .timeline-centered>.timeline-item.period .timeline-content {
        float: none;
        padding: 0;
        width: 100%;
        text-align: center;
    }

    .timeline-centered .timeline-item.period {
        padding: 50px 0 90px;
    }

    .timeline-centered .period .timeline-marker:after {
        height: 30px;
        bottom: 0;
        top: auto;
    }

    .timeline-centered .period .timeline-title {
        left: auto;
    }
}

/* ////////////////////////////////////////////
/////////// buttons ////////////////// */



.read_more {
    padding: 20px;
    display: flex;
    justify-content: space-evenly;
}

/* .read_more a{
    height: 4.8em;
    width: 9.8em;
} */

.read_more h1 {
    font-size: 2rem;
}

.read_more .arrow {
    padding-top: 5px;
    margin-top: 10px;
}

.contri .button_text {
    font-size: 1.1rem;
}

.contri {
    background: #1e1e1e;
    margin-top: 10px;
    padding-top: 15px; /* Reduced padding-top for less height */
    padding-bottom: 30px;
}

.contri h1 {
    font-size: 2rem; /* Adjust font size if needed */
    margin: 0; /* Remove margin to reduce height */
    padding: 0; /* Remove padding to reduce height */
}



.contri a {
    width: 13em;
}

@media (max-width: 768px) {
    .read_more {
        flex-direction: column;
    }

    .read_more h1 {
        font-size: 50px;
        /* Smaller font size for tablets */
    }

    .read_more button {
        margin-top: 20px;
        padding: 10px 16px;
        /* Adjust button padding for smaller screens */
        font-size: 1em;
        /* Smaller font size for button */
    }
}

@media (max-width: 480px) {
    .read_more {
        flex-direction: column;
    }

    .read_more h1 {
        font-size: 1.5em;
        /* Smaller font size for mobile */
    }

    .read_more button {
        margin-top: 20px;
        padding: 10px 12px;
        /* Further adjust button padding for mobile */
        font-size: 1em;
        /* Smaller font size for button */
    }
}


section{
    height: auto;
}





