@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}

:root {
    font-size: 62.5%;
    font-family: "Poppins", sans-serif;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: none;
    --color_1:#DCF2F1;
    --color_2:#7FC7D9;
    --color_3:#365486;
    --color_4: #0F1035;
    --color_5: #000;
    --color_6: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

html {
    max-height: 100vh;
    max-width: 100vw;
    background: var(--color_2);
}

div.status {
    max-height: 10vh;
    display: flex;
    justify-content: end;
    align-items: center;

}

div.info {
    margin-top: 1.5rem;
    margin-right: 1.5rem;
    text-align: end;
}

#status {
    text-decoration: underline;
}

button.connect {
    padding: 1.5rem;
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-right: 1.5rem;
}

.no-mcb-connected {
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    height: 80vh;
    width: 90vw;
    margin-inline: 5vw;
    z-index: 10;

    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    font-size: 5rem;
    -webkit-text-stroke: 1px var(--color_6);
}

#order-buttons {
    display: grid;
    height: 80vh;
    margin-block: 5vh;
    margin-inline: 5vw;
    padding-inline: 15px;
    padding-block: 25px;
    gap: 5px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    background: var(--color_1);
    border: 5px solid var(--color_4);
    box-shadow: 0px 25px var(--color_5);
}

button {
    font-family: "Poppins", sans-serif;
    padding: 3rem;
    font-size: 3rem;
    color: var(--color_4);
    background: var(--color_2);
    border: 5px solid var(--color_6);
    box-shadow: 0px 15px var(--color_3);
    border-radius: 15px;

    transition: all 0.3s;
    transform: translateY(-10px);
}

button:hover {
    background: var(--color_3);
    transform: translateY(-5px);
    box-shadow: 0px 10px var(--color_3);
}

button.active {
    transform: translateY(0px);
    box-shadow: 0px 5px var(--color_3);
    color: var(--color_1);
    background: var(--color_4);
    border: 5px solid var(--color_3);
}


@media (max-width: 1024px) {
    :root {
        font-size: 50%;
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 40%;
    }
}

@media (max-width: 540px) {
    :root {
        font-size: 30%;
    }

    #order-buttons {
        grid-template-columns: 1fr 1fr;
    }

    button.connect {
        margin-top: 3rem;
        margin-right: 1.5rem;
        border: 2px solid var(--color_6);
        box-shadow: 0px 7px var(--color_3);
        border-radius: 7px;
    }
}