@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');

:root{
    --main-color:#d3ad7f;
    --black:#13131a;
    --bg:#010103;
    --border:.1rem solid rgba(255,255,255,.3);

    --cor-azul1:#1c3661;
    --cor-azul2:#468cbc;
    --cor-azul3:#82ceea;
    --cor-azul4:#0d2d43;
    --cor-branco:#ffffff;
    --cor-preto:#000000;
    --cor-dourado:#ccc;
}

*{
    font-family: 'Sunflower', 'Roboto', sans-serif;
    margin:0; padding:0;
    box-sizing: border-box;
    outline: none; border:none;
    text-decoration: none;
    /* text-transform: capitalize; */
    transition: .2s linear;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
}

body {
  background: var(--cor-branco);
  padding: 2rem;
  margin: 0;
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  gap: 5rem;
  width: 100%;
  flex-direction: column;
  align-items: center;


}



.main-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  width: 100%;
  height: 100%;
}



.grid-container-one,
.grid-container-two {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5rem;
  width: 100%;
}

.card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 2rem;
  background-image: linear-gradient(to bottom left, #e0e4e5, #f2f6f9);
  box-shadow:
    inset -2px 2px hsl(0 0 100% / 1),
    -20px 20px 40px hsl(0 0 0 / .25);
  width: 500px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.card img {
  width: 200px;
  height: auto;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.title {
  font-size: 1.6rem;
  text-transform: uppercase;
  font-weight: 600;
  word-break: break-word;
  transition: all 0.3s ease;
}



.footer{
    background:var(--cor-branco); 
    text-align: center;
}

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

.footer .share a{
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    color:var(--cor-azul1); 
    border:var(--cor-azul3); 
    margin:.3rem;
    border-radius: 50%;
}

.footer .share a:hover{
    background-color: var(--cor-azul3);
}

.footer .links{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding:2rem 0;
    gap:1rem;
}

.footer .links a{
    padding:.7rem 2rem;
    color:#fff;
    border:var(--border);
    font-size: 2rem;
}

.footer .links a:hover{
    background:var(--main-color);
}

.footer .credit{
    font-size: 2rem;
    color:var(--cor-dourado);
    font-weight: lighter;
    padding:1.5rem;
}

.footer .credit span{
    color:var(--cor-dourado);
}










/* media queries  */
@media (max-width:991px){

    html{
        font-size: 55%;
    }

    .header{
        padding:1.5rem 2rem;
    }

}

@media (max-width:768px){

    #menu-btn{
        display: inline-block;
    }

    .header .navbar{
        position: absolute;
        top:100%; right: -100%;
        background: #fff;
        width: 30rem;
        height: calc(100vh - 9.5rem);
    }

    .header .navbar.active{
        right:0;
    }

    .header .navbar li{
        color:var(--black);
        display: block;
        margin:1.5rem;
        padding:.5rem;
        font-size: 2rem;
    }

    .header .search-form{
        width: 90%;
        right: 2rem;
    }

    .home{
        background-position: left;
        justify-content: center;
        text-align: center;
        
    }

    .main-wrapper{
      margin-top: 90px;
      width: 90%;
      /* height: calc(100vh - 9.5rem); */
    }

    .home .content h3{
        font-size: 4.5rem;
    }

    .home .content p{
        font-size: 1.5rem;
    }

}




/* ====== Versão Mobile: telas menores que 580px ====== */
@media (max-width: 580px) {
  html {
    font-size: 55%;
  }

  body {
    flex-direction: column;
    padding: 1rem;
  }

  .main-wrapper {
    gap: 1.5rem;
    padding: 1rem;
  }

  .grid-container-one,
  .grid-container-two {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .card {
    flex-direction: column;
    width: 80%;
    padding: 1.5rem;
    text-align: center;
  }

  .card img {
    width: 80%;
    height: auto;
  }

  .title {
    font-size: 1.8rem;
    margin-top: 1rem;
  }
}

