@media (min-width: 0px) and (max-width: 1200px) {
    .pc-search {
        position: relative;
        display: none;
    }

    section {
        padding: 10px 10px;
    }

    .col-4 {
        width: 30%;
    }

    /*///////////////////////////////////*/
    /*///////////////////////////////////*/

    /* Styling scoped to the parent class upcoming_event_section */
    .upcoming_event_section {
        display: flex;
        flex-wrap: wrap;
        margin: 60px auto;
    }

    .upcoming_event_section aside {
        width: 100%;
        display: flex;
        margin: 30px;
        gap: 20px;
    }

    .upcoming_event_section .payment_area {
        width: 40%;
        min-width: 40%;
    }

    .upcoming_event_section .archive_area {
        position: relative;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 20px 50px;
        margin-top: 0px;
    }

    .upcoming_event_section .archive_area .col-4 {
        width: 100%;
        height: auto;
    }

    /*///////////////////////////////////*/
    /*///////////////////////////////////*/

    .ticket-summary .holder {
        height: auto;
        padding-bottom: 20px;
    }

}

@media (min-width: 0px) and (max-width: 830px) {
    .pc-search {
        position: relative;
        display: none;
    }
    /*    ////////////////////////////////////////*/
    /*    ////////////////////////////////////////*/
    .footer p {
        text-align: center;
    }
}

@media (min-width: 0px) and (max-width: 800px) {

    .header {
        padding: 10px 10px;
/*        margin-bottom: 40px;*/
        justify-content: flex-start;
         border-bottom: 1px solid rgba(224, 224, 224, 0);
        gap: 40px;
    }

    .pc-search {
        position: relative;
        width: fit-content;
        display: block;
    }

    .create {
        width: 50px;
    }

    .create i {
        margin-right: auto;
        margin-left: auto;
    }

    .create p {
        display: none;
    }

    .header .menu-li {
        position: absolute;
        top: 0;
        right: 0;
        display: block;
        margin: 15px 20px;
        font-size: 30px;
        z-index: 2;
    }

    .header .close-li {
        position: relative;
        bottom: 10px;
        color: #000000;
        display: block;
        width: 100%;
        margin: 0 15px 30px 14px;
        font-size: 20px;
    }

    .right-side-nav {
        position: fixed;
        width: 100%;
        height: 100%;
        background: #ffffff;
        top: 0;
        right: -100%;
        opacity: 0;
        display: block;
        padding: 30px 20px 0 0px;
        transition: 0.5s;
    }

    .right-side-nav .top-nav {
        width: 100%;
        display: block;
        height: auto;
        margin-bottom: 20px;
        padding: 10px 30px 0 10px;
    }

    .right-side-nav .top-nav li {
        width: 100%;
        height: 50px;
        color: #000000;
        text-align: left;
        margin-bottom: 0px;
        font-weight: 400;
        font-size: 14px;
        padding: 15px 0px;
        font-weight: 600;
    }

    .right-side-nav .user {
        position: absolute;
        right: 0;
        top: 0;
        margin: 25px 30px;
        height: 50px;
        width: 50px;
        padding-top: 5px;
    }

    .right-side-nav .user i {
        font-size: 17px;
        text-align: center;
        height: auto;
        width: 100%;
        padding-top: 11px;
    }

    .search-area {
        width: 90%;
    }

    .search-control {
        width: 70%;
        height: auto;
        margin: 10px auto;
        display: flex;
        padding: 0;
    }

    .search-control i {
        top: 0px;
        width: 45px;
        height: 45px;
        border-radius: 40px;
        margin: 2px!important;
    }

    .search-area input {
        width: 100%;
        height: 50px;
        margin: 0px auto;
        display: block;
    }

    /*    ////////////////////////////////////////*/
    /*    ////////////////////////////////////////*/

    .col-4 {
        width: 45%;
    }

    .upcoming_event_section aside {
        display: block;
    }

    .upcoming_event_section .payment_area {
        width: 100%;
        min-width: 100%;
        margin: 20px auto 40px auto;
    }

    .upcoming_event_section .archive_area {
        width: 100%;
        min-width: 100%;
        padding: 30px 20px;
        box-shadow: none;
    }

    .upcoming_event_section .archive_area .col-4 {
        width: 49%;
        height: auto;
    }
    
    /*    ////////////////////////////////////////*/
    /*    ////////////////////////////////////////*/
    .footer p {
        text-align: center;
    }
}

@media (min-width: 0px) and (max-width: 700px) {

    .pc-search {
        position: relative;
        display: none;
    }
    
    .logo {
        margin: 1px 0px;
    }

    .mobile-menu {
        width: fit-content;
        bottom: 30px;
        display: flex;
        padding: 0 10px;
        transition: 0.5s;
    }

    .mobile-menu ul {
        width: 70px;
        overflow: hidden;
        transition: width 0.5s ease-in-out;
        transform-origin: left;
        /* Ensures it grows from the left */
    }

    .error-handler {
        background: rgb(255, 255, 255);
    }

    /*    ////////////////////////////////////////*/
    /*    ////////////////////////////////////////*/

    .title h1 {
        font-size: 15px;
        padding-left: 10px;
        margin-bottom: 0px;
    }

    .search-control {
        width: 100%;
    }

    .search-area input {
        width: 100%;
    }

    .search-control i {
        margin: 0px 0;
    }

    .category {
        width: 90%;
        flex-wrap: wrap;
        margin: 0 auto;
    }

    .category li {
        margin-bottom: 20px;
    }

    /*    ////////////////////////////////////////*/
    /*    ////////////////////////////////////////*/

    .col-4 {
        height: 120px;
        width: 95%;
        height: auto;
        margin: 0 auto;
        display: flex;
        justify-content: flex-start;
        padding: 10px 10px;
    }

    .col-4 img {
        position: relative;
        width: 30%;
        height: 100%;
        border-radius: 10px;
        margin-bottom: 0px;
        object-fit: cover;
        object-position: top;
    }

    .col-4 .write-up h2 {
        font-size: 13px !important;
        width: 70% !important;
        height: auto;
        margin-bottom: 5px;
    }

    .col-4 .write-up .capacity {
        display: none;
    }

    .near-event-card .card-control {
        position: relative;
        width: 90%;
        min-width: 90%;
        height: 200px;
        border-radius: 15px;
        padding: 15px 10px 10px 15px;
    }

    .near-event-card .card-control:nth-child(even) {
        min-width: 95%;
        bottom: 0px;
        height: 200px;
    }

    .near-event-card .card-control:hover {
        width: 100%;
        min-width: 100% !important;
    }


    .upcoming_event_section {
        padding: 10px;
        margin: 0px 0px 60px 0px;
        gap: 0;
    }

    .upcoming_event_section .upcoming_event_view {
        width: 100%;
        padding: 0 0px;
    }
    
    .upcoming_event_section .payment_area{
        display: none;
    }

    .upcoming_event_view .view_content {
        margin-bottom: 0px;
    }

    .upcoming_event_view .location {
        margin: 10px;
    }

    .upcoming_event_view .icon {
        margin: 10px;
    }

    .upcoming_event_view .write-up {
        padding: 10px;
    }

    .upcoming_event_view .write-up h2 {
        font-size: 22px;
        width: 100%;
        margin-bottom: 10px;
        line-height: 30px;
    }

    .archive_area .title h1 {
        padding: 0;
    }

    .upcoming_event_section aside {
        width: 100%;
        margin: 0;
    }

    .upcoming_event_section .archive_area {
        padding: 30px 10px;
    }

    .upcoming_event_section .archive_area .col-4 {
        width: 109%;
        height: 110px;
    }

    .categories {
        gap: 5px;
    }
    
    .categories li {
        padding: 10px 15px;
        width: fit-content;
        height: auto;
        font-size: 10px;
    }
    
    

    /*    ////////////////////////////////////////*/
    /*    ////////////////////////////////////////*/

    .ticket-summary {
        padding: 10px;
    }

    .ticket-summary .holder {
        width: 95%;
        height: 90vh;
        border-radius: 20px;
    }

    .ticket-details {
        position: relative;
        width: 100%;
        height: auto;
        display: block;
        justify-content: none;
        flex-wrap: nowrap;
        padding: 10px 30px;
    }

    .ticket-details p {
        position: relative;
        width: 100%;
        align-content: center;
        font-size: 13px;
        padding: 5px 10px;
        /*            background: #a57d7d;*/
    }

    .qr-code p {
        font-size: 10px;
    }

    .empty-page {
        position: relative;
        width: fit-content;
        height: auto;
        top: 0;
        left: 0%;
        transform: none;
        margin: 30px auto;
        display: block;
    }

    /*    ////////////////////////////////////////*/
    /*    ////////////////////////////////////////*/
    .footer {
        padding: 30px 10px;
        z-index: 4;
    }
    
    .footer .foot-logo {
        position: relative;
        width: fit-content;
        height: 45px;
        margin: 15px auto;
        cursor: pointer;
    }

    .footer nav {
        width: 100%;
        display: flex;
        justify-content: center;
        overflow-x: scroll;
        gap: 10px 20px;
        padding: 0 10px;
    }

    .footer nav::-webkit-scrollbar {
        display: none;
    }

    .footer nav li {
        white-space: nowrap;
        font-size: 11px;
    }

    .footer p {
        font-size: 11px;
        padding: 0 10px;
    }
    
    .footer hr {
        width: 100%;   
    }
    
    /*    ////////////////////////////////////////*/
    /*    ////////////////////////////////////////*/
    
    /*    ////////////////////////////////////////*/
    /*    ////////////////////////////////////////*/
    
    .mobile-get-ticket{
        display: block;
    }

}
