@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Viaoda+Libre&display=swap");

*,
*::before,
*::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html {
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    color: #000;
    line-height: 1.6rem;
    margin: 0 auto;
    /* padding: 0 2rem; */
}
body {
    min-height: 100vh; /* THIS is BECAUSE of the sticky FOOTER */
    display: flex; /* THIS is BECAUSE of the sticky FOOTER */
    flex-direction: column; /* THIS is BECAUSE of the sticky FOOTER */
}
header,
footer {
    background-color: #ffcc00;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* min-height: 100%; */
    padding: 0 2rem;
}
footer {
    justify-content: center;
    margin-top: auto;
    text-align: center;
}
h1,
h2,
h3,
h4 {
    font-family: "Viaoda Libre", cursive;
    line-height: 2rem;
    margin: 2rem 0 3rem 0;
    text-align: center;
}
ul {
    list-style-type: none;
    line-height: 5em;
    /* text-align: center; */
}
a {
    text-decoration: none;
    color: #000eff;
}
p {
    margin: 1rem 0;
}
.container a svg {
    width: 100%;
}
#logo-b {
    display: flex;
    padding: 3em 3em 0 3em;
    width: 90%;
    margin: 0 auto;
}
#logo-full {
    padding-top: 2em;
}
a h3 {
    font-size: 4rem;
    padding-bottom: 1em;
    color: #000eff;
}
nav {
    margin-bottom: 2em;
}
nav a {
    border: 1px solid #ffcc00;
    padding: 1em;
    border-radius: 25px;
}
nav a:hover {
    /* border-top: 2px #000 solid; */
    color: #e41719;
    background-color: #ffcc00;
}
.link {
    color: #000eff;
}

/* POPUP STARTS HERE */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* width: 18.75em;
    height: 25em; */
    margin: 0 auto;
    display: none;
}
.contentBox {
    position: relative;
    width: 12.5em;
    /* height: 28.125em; */
    height: auto;
    display: flex;
    background-color: #ffcc00f3;
    border-radius: 20px;
    padding: 1em;
    box-shadow: 0 0 2em -0.5em #000eff;
}
.contentBox .popContent {
    position: relative;
    /* width: 18.75em;
    height: 25em; */
    display: flex;
    justify-content: center;
    align-items: center;
}
.close {
    position: absolute;
    top: 1em;
    right: 1em;
    width: 2em;
    height: 2em;
    background: #f900ff no-repeat url(../imgs/close.png);
    /* background-repeat: no-repeat; */
    background-size: 1em;
    background-position: center;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}
/* POPUP ENDS HERE */

/* ====== FOR LESS THAN 600px ====== */
@media (max-width: 37.5em) {
    #logo-full {
        display: none;
    }
    #tel_rest {
        display: none;
    }
    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    nav ul {
        min-width: 20ch;
    }
}

/* ====== FOR MORE THAN 601px AND LESS THAN 901px, THAT IS 601 TILL 900px ====== */
@media (min-width: 37.5625em) and (max-width: 56.25em) {
    nav {
        display: grid;
        grid-auto-flow: column;
        gap: 0.5em;
    }
    #logo-b {
        display: none;
    }
    #tel_rest {
        display: none;
    }
    nav a {
        padding: 1rem;
        margin: 1rem 1rem 1rem 4rem;
    }
    .contentBox {
        width: 25em;
        padding: 2em;
        box-shadow: 0 0 2em -0.5em #000eff;
        /* height: 25em; */
    }
}

/* ====== FOR MORE THAN 901px ====== */
@media (min-width: 56.3125em) {
    nav ul {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.5rem;
    }
    #logo-b {
        display: none;
    }
    #tel_phone_tablet {
        display: none;
    }
    main,
    footer .container {
        max-width: 75em;
        margin: 0 auto;
    }
    nav a {
        padding: 1rem;
        margin: 1rem;
    }
    .contentBox {
        width: 37.5em;
        padding: 3em;
        box-shadow: 0 0 2em -0.5em #000eff;
    }
}
