:root {
    --main-color: #b94c4c;
    --black: #13131a;
    --bg: #010103;
    --border: 0.1rem solid rgba(255,255,255,0.3);
    font-size: 10px;
}

* {
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
    text-decoration: none;
    transition: 0.2s linear;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: var(--bg);
}

section {
    padding: 3rem 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.reviews .box-container .box .instagram_clientes h3:hover {
    color: var(--main-color);
    text-decoration: underline;
}

header {
    position: fixed; /* pra ficar fixo no topo*/
    top: 0;
    left: 0;
    right: 0;
    z-index: 99; /*pelo que eu entendi é uma prioridade pra definir quem fica na frente de quem*/
    border-bottom: var(--border);
    background-color: var(--bg);
}

header section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.logotipo img {
    height: 4rem;
}

.navbar a {
    margin: 0 1rem;
    font-size: 1.8rem;
    color: #fff;
}

.navbar a:hover {
    color: var(--main-color);
    border-bottom: 0.1rem solid var(--main-color);
    padding-bottom: 0.5rem;
    font-size: 2rem;
}

.icons img {
    margin: 1rem;
    cursor: pointer;
}

.icons img:hover {
    width: 40px;
    height: 40px;
}

.btn {
    background: var(--main-color);
    color: #fff;
    padding: 1rem 3rem;
    font-size: 1.7rem;
    cursor: pointer;
    margin-top: 1rem;
    display: inline-block;
}

.btn:hover {
    letter-spacing: 0.1rem;
}

.home-container {
    background: url(img/home-img.jpg);
    background-position: center;
    background-size: cover;
}

.home-container section {
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.content {
    max-width: 60rem;
}

.content h3 {
    color: #fff;
    font-size: 6rem;
}

.content p {
    color: #fff;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.8;
    padding: 1rem 0;
}

.title {
    font-size: 4rem;
    color: var(--main-color);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 4rem;
}

.title span {
    color: #fff;
    text-transform: uppercase;
}

.about .row {
    display: flex;
    align-items: center;
    background-color: var(--black);
    gap: 1.5rem;
}

.about .row .content {
    padding: 0rem;
    padding-right: 2rem;
}

.about .row .content h3 {
    font-size: 2.5rem;
    color: #fff;
}

.about .row .content p {
    font-size: 1.6rem;
    color: #fff;
    padding: 1rem 0;
    line-height: 1.8;
}

.about img {
    height: 100%;
}

.container-image {
    padding: auto;
    margin: auto;
}

.box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.menu .box-container .box {
    text-align: center;
    border: var(--border);
    padding: 5rem;
    cursor: pointer;
}

.menu .box-container .box img {
    height: 10rem;
}

.menu .box-container .box h3 {
    color: #fff;
    font-size: 2rem;
    padding: 1rem 0;
}

.menu .box-container .box .price {
    color: #fff;
    font-size: 2.5rem;
    padding: 0.5rem 0;
}

.menu .box-container .box .price span {
    font-size: 1.5rem;
    text-decoration: line-through;
    font-weight: 100;
}

.menu .box-container .box:hover {
    background-color: #fff; 
}

.menu .box-container .box:hover>* {
    color: var(--black);
}

.reviews .box-container .box {
    border: var(--border);
    text-align: center;
    padding: 3rem 2rem;
}

.reviews .box-container .box p {
    font-size: 1.5rem;
    color: #fff;
    padding: 2rem 0;
    line-height: 1.8;
    font-weight: 300;
}

.reviews .box-container .box h3 {
    color: #fff;
    font-size: 2rem;
    margin: 1rem 0;
}

.reviews .box-container .box .user {
    height: 7rem;
    width: 7rem;
    border-radius: 50%;
}

.address {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.footer {
    text-align: center;
}

.footer .share {
    padding: 1rem 0;
}

.footer .share img {
    margin: 0.3rem;
    cursor: pointer;
    border-radius: 15%;
    padding: 1rem;
}

.footer .share img:hover {
    background-color: var(--main-color);
}

/* SEARCH INPUT */
.search-input {
    width: 0;
    opacity: 0;
    padding: 0;
    border: none;
    background: #fff;
    font-size: 1.4rem;
    border-radius: 4px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.search-input.active {
    width: 160px;
    opacity: 1;
    padding: 0.4rem 0.6rem;
    pointer-events: auto;
}


/* ===========================
   RESPONSIVIDADE MOBILE
   =========================== */

@media (max-width: 768px) {

    :root {
        font-size: 9px;
    }

    section {
        padding: 2rem 1.5rem;
    }

    /* HEADER */
    header {
        position: fixed;
    }

    header section {
        position: relative;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    /* LOGO */
    .logotipo img {
        height: 3.8rem;
    }

    /* ICONES FLUTUANTES */
    .icons {
        position: absolute;
        top: 50%;
        right: 1.5rem;
        transform: translateY(-50%);
        display: flex;
        gap: 0.8rem;
    }

    .icons img {
        width: 24px;
        height: 24px;
        margin: 0;
    }

    /* NAVBAR SEM QUEBRAR */
    .navbar {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 1.2rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 0.5rem;
    }

    .navbar::-webkit-scrollbar {
        display: none;
    }

    .navbar a {
        font-size: 1.4rem;
        margin: 0;
    }

    /* HOME */
    .home-container section {
        justify-content: center;
        text-align: center;
        padding-top: 9rem;
    }

    .content h3 {
        font-size: 3rem;
    }

    .content p {
        font-size: 1.6rem;
    }

    /* ABOUT */
    .about .row {
        flex-direction: column;
    }

    .about img {
        width: 100%;
        height: auto;
    }

    .about .row .content {
        padding: 1.5rem;
        text-align: center;
    }

    /* CATÁLOGO - 2 COLUNAS */
    .menu .box-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .menu .box-container .box {
        padding: 2rem 1.2rem;
    }

    .menu .box-container .box img {
        height: 8rem;
    }

    .menu .box-container .box h3 {
        font-size: 1.6rem;
    }

    .menu .box-container .box .price {
        font-size: 2rem;
    }

    /* REVIEWS - 3 COLUNAS */
    .reviews .box-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .reviews .box-container .box {
        padding: 1.5rem 1rem;
    }

    .reviews .box-container .box p {
        font-size: 1.3rem;
        line-height: 1.5;
    }

    .reviews .box-container .box h3 {
        font-size: 1.5rem;
    }

    .reviews .box-container .box .user {
        width: 5rem;
        height: 5rem;
    }

    /* MAPA */
    .address iframe {
        width: 100%;
        height: 300px;
    }

    .stars img {
        height: 15px;
        width: 15px;
    }


}