.menu-section {
    display: none
}

.menu-section.active {
    display: block;
}

.menu-contents {
    display: flex;
    padding-left: 8rem;
    width: 100%;
    margin-top: 5rem;
}

.header-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
}

.second-half h1, .menu-section h2 {
    font-weight: normal;
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.testing-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-right: 3rem;
}

.button-container {
    display: flex;
    width: 80%;
    justify-content: space-between;
    align-items: flex-start;
}

.inner-button-container {
    display: flex;
    flex-direction: column;
    width: 30%;
    height: 100%;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

.menu-link {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-color: var(--lightgray);
    color: var(--main-color);
    text-decoration: none;
    border-radius: 10px;
    text-align: center;
    border: 0.5px solid var(--main-color);
    height: 4rem;
    margin-bottom: .5rem;
}

.menu-link:hover, .mobylmenu-link:hover {
    background-color: var(--main-color);
    color: white;
}

.powered-by {
    text-decoration: none;
    font-size: 0.8rem;
    color: black;
}

.mm-text {
    color: #00A6FF;
    font-size: 0.8rem;
    font-weight: 600;
}

.second-half {
    display: flex;
    width: 100%;
    margin-top: 5rem;
    background-color: var(--lightgray);
    height: auto;
}

.second-half-left, .second-half-right {
    width: 50%;
}

.second-half-left{
    padding-left: 8rem;
    padding-top: 7rem;
    margin-right: 5rem;
}

.second-half p, .page-header p {
    line-height: 1.8rem;
}

.testing {
    display: flex;
    width: 100%;
    background-color: white;
}

.testing-left {
    width: 50%;
    display: flex;
    justify-content: center;
    padding-left: 8rem;
    text-align: left;
}

.second-half-right {
    height: 100%;
}

#pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-images {
    display: flex;
    justify-content: center;
    padding-right: 8rem;
}

.menu-images img {
    width: 70%;
    height: 100%;
    object-fit: cover;
}

.horizontal-line {
    display: flex;
    justify-content: center;
    background-color: rgba(84, 22, 73, 0.2);
    height: 0.05rem;
    margin: 5rem 8rem 0 8rem;
}

#allergen-link {
    color: var(--main-color);
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 480px) {
    .testing-right {
        height: 15vh;
    }
    .powered-by {
        text-decoration: none;
        font-size: 0.6rem;
        color: black;
    }
    .mm-text {
        font-size: 0.6rem;
    }
}

@media (max-width: 768px) {
    .testing {
        flex-direction: column;
    }
    .testing-left {
        width: 100%;
        padding: 0rem 3rem;
    }
    .testing-right {
        padding-right: 0;
        width: 100%;
    }
    .menu-link, .mobylmenu-link {
        margin: 0.7rem;
        font-size: 12px;
    }
    .horizontal-line {
        margin: 0 3rem 3rem 3rem;
    }
    .menu-contents {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-left: 0;
        width: 100%;
        margin-top: 0;
    }
    .menu-images {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding-right: 0;
    }

    .menu-images img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .menu-section.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .second-half {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
        height: auto;
    }
    .second-half-left{
        margin-right: 5rem;
        width: 100%;
        padding: 2rem 4rem;
    }
    .second-half-right {
        width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .testing-right {
        width: 50%;
        height: 50vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        padding-right: 3rem;
    }
    .button-container {
        flex-direction: column;
        width: 80%;
        justify-content: center;
        align-items: center;
    }
    .inner-button-container {
        display: flex;
        flex-direction: column;
        width: 70%;
        justify-content: flex-start;
        margin-bottom: 1rem;
    }
    .menu-link {
        width: 100%;
    }
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .testing-right {
        width: 50%;
        height: 50vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        padding-right: 3rem;
    }
    .button-container {
        flex-direction: column;
        width: 80%;
        justify-content: center;
        align-items: center;
        min-width: 10rem;
    }
    .inner-button-container {
        display: flex;
        flex-direction: column;
        width: 70%;
        justify-content: flex-start;
        margin-bottom: 1rem;
    }
    .menu-link {
        width: 100%;
    }
}