:root{  /* variaveis para cores e mais*/
    --main-color: #d3ad7f;
    --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;
    text-transform: capitalize; /* texto começa com maiuscula*/
    transition: 0.2s linear;
    font-family: "Roboto", sans-serif;
}

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

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

.header {
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    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;
}

.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-color: var(--main-color);
    color: #fff;
    padding:1rem 1.3rem;
    font-size: 1.7rem;
    cursor: pointer;
    margin-top: 1rem;
    display: inline-block;
}

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

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

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

.content {
    width: 100rem;
}

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

.content p{
    color: #fff;
    font-size: 2rem;
    font-weight: 100;
    line-height: 1.8; /*altura da linha*/
    padding: 1rem 0;
}

.title{
    font-size: 5rem;
    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: 2rem;

}

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

.about .row .content p {
    font-size: 1.6rem;
    color: #fff;
    padding: 1rem 0;
    line-height: 1.8; /*distanciamento de uma linha para outra*/
}


.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 { /*imagem café*/
    height: 10rem;

}

.menu .box-container .box h3 { /* informaçóes café */
    color: #fff;
    font-size: 2rem;
    padding: 1rem 0;
}

.menu .box-container .box .price { /*preço cafes */
    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>* {  /* >* aplico para todos os parametros incluindo span, h3, price....*/
    color: var(--black);
}   

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

.review .box-container .box p {
    font-size: 1.5rem;
    color: #fff;
    padding: 2rem o;
    line-height: 1.8;
    font-weight: lighter;
}

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

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

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

.footer .share {
    text-align: center;

}

.footer {
    padding: 1rem 0;
}

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

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

.footer .share p {
    color: #fff;
    font-size: 1.3rem;
}

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

@media (max-width: 991px) {
  html {
    font-size: 55%;
  }

  .header section {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar a {
    display: block;
    margin: 1rem 0;
  }

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

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

  .about .row {
    flex-direction: column;
  }

  .about .row .container-image img {
    width: 100%;
  }

  .box-container {
    grid-template-columns: 1fr;
  }

  iframe {
    width: 100%;
    height: 300px;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 50%;
  }

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

  .btn {
    font-size: 1.4rem;
    padding: 0.8rem 1rem;
  }

  .navbar {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .icons img {
    width: 25px;
    height: 25px;
  }
}
