/* ---MAIN STYLES--- */

.main_section {
    padding: 0 3vw 5vw 3vw;
    overflow: hidden;
    
}

.main_section .main_box {
    position: relative;
    height: 40vw;
    display: grid;
    grid-template-columns: 50% 48%;
    gap: 2%;
    border-radius: 1vw;
    background: var(--orange2);
    background-image: url("../media/svg/pattern.svg");
    background-repeat: repeat;
    animation: background_animation 60s alternate infinite;
}

.main_section .main_slider {
    pointer-events: none;
}

.main_section .main_slider,
.main_section .slick-list,
.main_section .slick-track,
.main_section .slick-slide {
    height: 100%;
    overflow: visible !important;
}

.main_section .slick-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_section .main_slider img {
    transform: scale(1.15);
}

.main_section .info_box {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2vw;
    padding: 3vw;
    z-index: 1;
}

.main_section .title_box {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

.main_section .subtitle {
    color: var(--orange2);
}

.main_section .title_box h1 {
    color: white;
    font-size: 3.7vw;
    font-weight: 200;
}

.main_section .title_box h1 span {
    color: var(--yellow);
    font-family: "Mixed Breed";
}

.main_section .info_box p {
    color: white;
}

.main_section .buttons_box {
    display: flex;
    align-items: center;
    gap: 2vw;
}

.main_section .main_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .75vw;
    color: var(--orange2);
    border: .15vw solid white;
    background: white;
}

.main_section .main_btn:hover {
    color: white;
    background: none;
}

.main_section .main_btn i {
    transform: scale(1.3);
}

@media (max-width: 996px) {
    .main_section {
        padding: 10vw 5vw;
        overflow: hidden;
    }
    .main_section .main_box {
        height: fit-content;
        grid-template-columns: 100%;
        border-radius: 4vw;
    }
    .main_section .media_box img {
        transform: scale(1.15);
    }
    .main_section .info_box {
        gap: 5vw;
        padding: 5vw 5vw 15vw 5vw;
    }
    .main_section .title_box h1 {
        font-size: 7.7vw;
    }
    .main_section .buttons_box {
        gap: 5vw;
    }
}


/* ---WELCOME STYLES--- */

.welcome_section {
    padding: 5vw 3vw;
}

.welcome_section .welcome_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3vw;
}

.welcome_section .title_box {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1vw;
}

.welcome_section .title_box h2 {
    color: var(--red);
    text-align: center;
}

.welcome_section .title_box p {
    text-align: center;
}

.welcome_section .order_box {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 2vw;
}

.welcome_section .filter_box {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

.welcome_section .mobile_filter {
    display: none;
}

.welcome_section .left_filter {
    align-items: flex-end;
}

.welcome_section .filter_box button {
    display: flex;
    align-items: center;
    gap: 1vw;
    width: fit-content;
    color: var(--red);
    font-family: "Mixed Breed";
    font-size: 1.5vw;
    border: .15vw solid var(--red);
    border-radius: 10vw;
    background: white;
    user-select: none;
}

.welcome_section .filter_box button * {
    pointer-events: none;
}

.welcome_section .left_filter button {
    text-align: right;
    padding: .25vw .25vw .25vw 2vw;
}

.welcome_section .right_filter button {
    flex-direction: row-reverse;
    text-align: left;
    padding: .25vw 2vw .25vw .25vw;
}

.welcome_section .filter_box button.active,
.welcome_section .filter_box button:hover {
    transform: scale(.95);
    color: white;
    background: var(--red);
}

.welcome_section .icon_box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5vw;
    height: 2.5vw;
    border-radius: 50%;
    background: var(--red);
    transition: .25s;
}

.welcome_section .filter_box button.active .icon_box,
.welcome_section .filter_box button:hover .icon_box {
    background: white;
}

.welcome_section .icon_box svg {
    width: 1.5vw;
}

.welcome_section button path {
    transition: .25s;
}

.welcome_section button.active path,
.welcome_section button:hover path {
    fill: var(--red);
}

.welcome_section .media_box {
    min-height: 25vw;
}

.welcome_section .media_item {
    display: flex;
    flex-direction: column;
    gap: 1vw;
    animation: 1s zoomIn;
}

.welcome_section .thumbnail_box {
    position: relative;
    width: 100%;
    height: 25vw;
    border-radius: 1vw;
    background: whitesmoke;
    overflow: hidden;
}

.welcome_section .info_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1vw;
}

.welcome_section .info_box h2 {
    color: var(--red);
    font-size: 2.5vw;
    text-transform: uppercase;
}

.welcome_section .info_box p {
    text-align: center;
}

@media (max-width: 996px) {
    .welcome_section {
        padding: 10vw 0;
    }
    .welcome_section .welcome_box {
        gap: 10vw;
    }
    .welcome_section .title_box {
        width: 100%;
        gap: 5vw;
        padding: 0 5vw;
    }
    .welcome_section .order_box {
        grid-template-columns: 1fr;
        gap: 10vw;
    }
    .welcome_section .mobile_filter {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
    }
    .welcome_section .mobile_filter::-webkit-scrollbar {
        display: none;
    }
    .welcome_section .left_filter,
    .welcome_section .right_filter {
        display: none;
    }
    .welcome_section .filter_box button {
        flex-direction: row-reverse;
        gap: 2vw;
        font-size: 4vw;
        border: .5vw solid var(--red);
        border-radius: 10vw;
        padding: 1vw 3vw 1vw 1vw;
    }
    .welcome_section .filter_box button:first-child {
        margin-left: 5vw;
    }
    .welcome_section .filter_box button:last-child {
        margin-right: 5vw;
    }
    .welcome_section .icon_box {
        width: 8vw;
        height: 8vw;
    }
    .welcome_section .icon_box svg {
        width: 5vw;
    }
    .welcome_section .media_box {
        min-height: 110vw;
        padding: 0 5vw;
    }
    .welcome_section .media_item {
        gap: 5vw;
    }
    .welcome_section .thumbnail_box {
        height: 60vw;
        border-radius: 4vw;
    }
    .welcome_section .info_box {
        gap: 5vw;
    }
    .welcome_section .info_box h2 {
        font-size: 6vw;
    }
}


/* ---DELIVERY STYLES--- */

.delivery_section {
    padding: 5vw 5vw 5vw 3vw;
    overflow: hidden;
}

.delivery_section .delivery_box {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 1vw;
    background: var(--orange2);
}

.delivery_section .absolute_media {
    opacity: .15;
}

.delivery_section .info_box {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1vw;
    padding: 5vw;
    z-index: 1;
}

.delivery_section .subtitle {
    color: var(--orange2);
}

.delivery_section .info_box h2 {
    color: var(--yellow);
}

.delivery_section .info_box h2 span {
    color: white;
}

.delivery_section .info_box p {
    color: white;
}

.delivery_section .main_btn {
    color: var(--orange);
    border: .15vw solid white;
    background: white;
}

.delivery_section .main_btn:hover {
    color: white;
    background: none;
}

.delivery_section .media_box {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
}

.delivery_section .media_box img {
    width: 100%;
    pointer-events: none;
    transform: scale(1.2) translateX(-3%);
    transform-origin: bottom;
}

@media (max-width: 996px) {
    .delivery_section {
        padding: 10vw 5vw;
        overflow: hidden;
    }
    .delivery_section .delivery_box {
        grid-template-columns: 1fr;
        gap: 10vw;
        border-radius: 4vw;
        background: var(--orange);
    }
    .delivery_section .info_box {
        gap: 5vw;
        padding: 5vw;
    }
    .delivery_section .main_btn {
        border: .5vw solid white;
    }
    .delivery_section .media_box img {
        width: 90%;
        transform: scale(1) translateX(0);
        transform-origin: bottom left;
    }
}


/* ---ABOUT STYLES--- */

.about_section {
    padding: 5vw 3vw 5vw 0;
}

.about_section .about_box {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5vw;
}

.about_section .media_box {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.about_section .media_box::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 90%;
    height: 25vw;
    border-radius: 0 1vw 1vw 0;
    background: var(--green);
}

.about_section .media_box img {
    width: 75%;
    transform: scale(1.2);
}

.about_section .info_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1vw;
    padding: 5vw;
}

.about_section .info_box .subtitle{
    color: var(--green);
}

.about_section .info_box .main_btn {
    background-color: var(--green);
    border: .15vw solid var(--green);
}

.about_section .info_box .main_btn:hover {
    color: var(--green);
    background-color: transparent;
}   

.about_section .info_box h2 {
    color: var(--green);
}

@media (max-width: 996px) {
    .about_section {
        padding: 10vw 5vw;
    }
    .about_section .about_box {
        grid-template-columns: 1fr;
        gap: 15vw;
    }
    .about_section .media_box {
        order: 2;
        justify-content: center;
    }
    .about_section .media_box::before {
        height: 40vw;
        border-radius: 4vw;
    }
    .about_section .media_box img {
        transform: scale(1.25);
    }
    .about_section .info_box {
        align-items: center;
        gap: 5vw;
        padding: 0;
    }
    .about_section .info_box h2,
    .about_section .info_box p {
        text-align: center;
    }
}


/* ---GALLERY STYLES--- */

.gallery_section {
    padding: 5vw 3vw;
}

.gallery_section .gallery_box {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 1vw;
}

.gallery_section .gallery_item:nth-child(1) {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2vw;
    border-radius: 1vw;
    padding: 3vw;
    background: var(--orange2);
    background-image: url("../media/svg/pattern.svg");
    background-repeat: repeat;
    animation: background_animation 10s alternate infinite;
}

.gallery_section .gallery_item:nth-child(1) .subtitle {
    color: var(--red);
    margin-right: auto;
    background: white;
} 

.gallery_section .gallery_item:nth-child(1) h2 {
    position: relative;
    color: white;
    font-weight: normal;
    text-align: right;
    white-space: nowrap;
    z-index: 1;
}

.gallery_section .gallery_item:nth-child(1) h2 span {
    color: white;
}

.gallery_section .gallery_item:nth-child(1) a {
    position: relative;
    margin-top: auto;
    background: none;
    z-index: 1;
}

.gallery_section .gallery_item:nth-child(1) .main_btn {
    display: flex;
    align-items: center;
    padding: 0;
    border: none;
    border-radius: 0;
}

.gallery_section .gallery_item:nth-child(1) .main_btn:hover {
    color: white;
}

.gallery_section .gallery_item:nth-child(1) i {
    font-size: 1.5vw;
    transition: .25s;
}

.gallery_section .gallery_item:nth-child(1) .main_btn:hover i {
    transform: translateX(25%);
}

.gallery_section .gallery_item:nth-child(2) {
    display: flex;
    flex-wrap: wrap;
    gap: 1vw;
}

.gallery_section .media_item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(50% - .5vw);
    position: relative;
    height: 22vw;
    border-radius: 1vw;
    background: black;
    overflow: hidden;
}

.gallery_section .media_item p {
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    z-index: 1;
    opacity: 0;
    transition: .25s;
}

.gallery_section .media_item:hover p {
    opacity: 1;
}

.gallery_section .media_item p:hover {
    transform: scale(.95);
}

.gallery_section .media_item i {
    font-size: 1vw;
    transition: .25s;
}

.gallery_section .media_item p:hover i {
    transform: translateX(25%);
}

.gallery_section .gallery_item img {
    transition: .25s;
}

.gallery_section .media_item:hover img {
    transform: scale(1.1);
    opacity: .5;
}

.gallery_section .info_box {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    gap: 2vw;
    border-radius: 1vw;
    background: #1d2327;
}

.gallery_section .info_box img {
    width: 100%;
    transform: scale(1.5) translateX(-5%) translateY(-6%);
    pointer-events: none;
}

.gallery_section .text_box {
    display: flex;
    flex-direction: column;
    gap: 1vw;
    padding: 2vw 2vw 2vw 0;
}

.gallery_section .text_box p {
    color: white;
}

.gallery_section .text_box h2 {
    color: var(--orange);
    font-size: 3vw;
}

.gallery_section .gallery_item:nth-child(3) {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 1vw;
    background: black;
    overflow: hidden;
    cursor: pointer;
}

.gallery_section .gallery_item:nth-child(3):hover img {
    transform: scale(1.1);
    opacity: .5;
}

.gallery_section .gallery_item:nth-child(3) p {
    position: relative;
    color: white;
    z-index: 1;
    opacity: 0;
    transition: .25s;
}

.gallery_section .gallery_item:nth-child(3):hover p {
    opacity: 1;
}

.gallery_section .gallery_item:nth-child(3) p:hover {
    transform: scale(.95);
}

.gallery_section .gallery_item:nth-child(3) i {
    font-size: 1vw;
    transition: .25s;
}

@media (max-width: 996px) {
    .gallery_section {
        padding: 10vw 5vw;
    }
    .gallery_section .gallery_box {
        grid-template-columns: 1fr;
        gap: 5vw;
    }
    .gallery_section .gallery_item:nth-child(1) {
        justify-content: center;
        align-items: center;
        gap: 5vw;
        border-radius: 4vw;
        padding: 5vw;
    }
    .gallery_section .gallery_item:nth-child(1) .subtitle {
        margin: auto;
    }
    .gallery_section .gallery_item:nth-child(1) h2 {
        text-align: center;
    }
    .gallery_section .gallery_item:nth-child(1) .main_btn {
        gap: 1vw;
    }
    .gallery_section .gallery_item:nth-child(1) i {
        font-size: 4vw;
    }
    .gallery_section .gallery_item:nth-child(2) {
        gap: 5vw;
    }
    .gallery_section .media_item {
        width: calc(50% - 2.5vw);
        height: 45vw;
        border-radius: 4vw;
    }
    .gallery_section .media_item i {
        font-size: 4vw;
    }
    .gallery_section .info_box {
        grid-template-columns: 1fr;
        gap: 0;
        border-radius: 4vw;
    }
    .gallery_section .info_box img {
        width: 50%;
        transform: scale(1.3) translateX(0);
        margin: auto;
    }
    .gallery_section .text_box {
        align-items: center;
        gap: 5vw;
        padding: 10vw 5vw;
    }
    .gallery_section .text_box h2 {
        font-size: 8vw;
        text-align: center;
    }
    .gallery_section .text_box p {
        text-align: center;
    }
    .gallery_section .gallery_item:nth-child(3) {
        height: 100vw;
        border-radius: 4vw;
    }
    .gallery_section .gallery_item:nth-child(3) i {
        font-size: 4vw;
    }
}


/* ---CONTACT STYLES--- */

.contact_section {
    padding: 5vw 3vw;
}

.contact_section .contact_box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5vw;
}

.contact_section .info_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1vw;
}

.contact_section .info_box h2 {
    color: var(--purple);
}

.contact_section .info_box .subtitle {
    color: var(--purple);
}

.contact_section .info_box .main_btn {
    background-color: var(--purple);
    border: .15vw solid var(--purple);
}

.contact_section .info_box .main_btn:hover {
    color: var(--purple);
    background-color: transparent;
}

.contact_section .form_box {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

.contact_section .form_box input {
    font-size: 1vw;
    padding: .75vw 1vw;
    border: none;
    border-radius: 10vw;
    background: #7823792c;
    transition: .25s;
}

.contact_section .form_box textarea {
    resize: none;
    height: 8vw;
    font-size: 1vw;
    padding: .75vw 1vw;
    border: none;
    border-radius: 1vw;
    background: #7823792c;
    transition: .25s;
}

.contact_section .form_box input::placeholder,
.contact_section .form_box textarea::placeholder {
    color: var(--purple)
}

.contact_section .form_box input:focus-visible,
.contact_section .form_box textarea:focus-visible {
    outline: none;
    background: #78237944;
}

.contact_section .message_box {
    position: relative;
    height: 1.5vw;
}

.contact_section .message_box p {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: .8vw;
}

.contact_section .success {
    color: #0bb300;
}

.contact_section .error {
    color: #f31212;
}

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

.contact_section .media_box img {
    width: 100%;
    pointer-events: none;
}

@media (max-width: 996px) {
    .contact_section {
        padding: 10vw 5vw;
    }
    .contact_section .contact_box {
        grid-template-columns: 1fr;
    }
    .contact_section .info_box {
        align-items: center;
        gap: 5vw;
    }
    .contact_section .info_box h2,
    .contact_section .info_box p {
        text-align: center;
    }
    .contact_section .form_box {
        width: 100%;
        gap: 5vw;
    }
    .contact_section .form_box input {
        font-size: 3.5vw;
        padding: 3vw 4vw;
    }
    .contact_section .form_box textarea {
        height: 30vw;
        font-size: 3.5vw;
        padding: 3vw 4vw;
        border-radius: 4vw;
    }
    .contact_section .message_box {
        height: 5vw;
    }
    .contact_section .message_box p {
        width: 100%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 3vw;
        text-align: center;
    }
}

/*==================     Pop up    ======================*/

.modal-taqueria {
    display: block;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 999;
    /* Sit on top */
    padding-top: 50px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0, 0.8);
    /* Fallback color */
}


/* Modal Content */

.modal-content-taqueria {
    position: relative;
    background-color: #fefefe02;
    margin: 6vw auto;
    width: 50%;
    text-align: center;
}

.modal-content-taqueria img {
    width: 85%;
    border-radius: 15px;
}

/* The Close Button */

.close-taqueria {
    color: #fff;
    float: right;
    font-size: 34px;
    font-weight: bold;
    width: 40px;
    height: 40px;
    border-radius: 100px;
    background-color: #f9bd16;
    transform: translate(-150%, -50%);
}

.close-taqueria:hover,
.close-taqueria:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive design pop-up */

@media (max-width: 996px) {
    .modal-content-taqueria{
        width: 100%;
    }

    .modal-content-taqueria {
        margin: 50vw auto 50vw 9vw;
        width: 90%;
    }

    .close-taqueria {
        transform: translate( -70%, -50%);
    }
}