@import url("https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.cabecalho {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.logo-cabecalho {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-right: 5rem;
  margin-left: 5rem;
}

.logo-cabecalho {
  font-family: Oswald;
  font-weight: 600;
  font-size: 30px;
  padding-right: 20rem;
  text-transform: uppercase;
  color: #01152e;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 9rem;
  padding-left: 10rem;
  font-family: Arimo;
  font-weight: 500;
  font-size: 24px;
  margin-left: 5rem;
  color: aliceblue;
}

a {
  text-decoration: none;
  color: aliceblue;
}

a:hover {
  text-decoration: underline;
  transform: scale(1.05);
}

body {
    background: #12dede;
    background: linear-gradient(120deg, rgba(18, 222, 222, 1) 0%, rgba(78, 120, 191, 1) 54%, rgba(68, 110, 158, 1) 74%);
}

.titulo {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.titulo-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 3rem 0 2rem 15rem;
}
.search {
    justify-content: center;
    margin-right: 20rem;
    background: white;
    height: 55px;
    border-radius: 40px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-botao img{
    width: 25px;
    height: 25px;
}

.search-botao{
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.lupa-branca {
    display: none;
}

.search-text {
    border: 0;
    background: none;
    outline: none;
    font-size: 16px;
    width: 0;
    padding: 0;
}

.search:hover > .search-text {
    width: 220px;
    transition: 0.4s;
    padding-left: 20px;
}

.search:hover > .search-botao {
    background: #17c2c2;
    transition: 0.4s;
}

.titulo-top h1 {
    font-family: Oswald;
    font-size: 35px;
    font-weight: 600;
    color: #011835;
    border-bottom: #01152e solid 0.4px;
    padding-bottom: 1rem;
}

.titulo-top p {
    font-family: Arimo;
    font-size: 20px;
    font-weight: 500;
    color: #011835;
    padding-top: 0.5rem;
}

.card-local {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding: 3rem;
    justify-items: center;
}

.card-linha {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.card-conteiner {
    background: #011835;
    width: 100%;
    max-width: 260px;
    height: 16rem;
    border-radius: 15px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;

    color: aliceblue;
}

.card-conteiner:hover {
    transform: scale(1.05);
    background: #012745;
    transition: 0.3s;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.imagem-cell {
    width: 150px;
    height: 150px;
    padding-bottom: 1rem;
    border-radius: 10px;
}

.card-img {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-titulo {
    font-family: Oswald;
    font-weight: 500;
    font-size: 20px;
}

.card-img p {
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
}

.rodape {
    border-top: #01152e solid 0.8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 2rem;
    height: 9rem;
}

.rodape h2 {
    font-family: Arimo;
    font-size: 20px;
    font-weight: 500;
    color: aliceblue;
    height: 100%;
}

/* ===== RESPONSIVIDADE ===== */

@media (max-width:900px){

.cabecalho{
    flex-direction: column;
}

.logo-cabecalho{
    padding-right: 0;
}

nav{
    gap: 2rem;
    padding-left: 0;
    margin-left: 0;
}

.titulo{
    flex-direction: column;
    gap: 2rem;
}

.titulo-top{
    margin: 2rem;
    text-align: center;
}

.search{
    margin-right: 0;
}

.card-linha{
    flex-direction: column;
}

.card-conteiner{
    margin: 1rem;
}

}

@media (max-width:600px){

.card-conteiner{
    width: 80%;
}

.imagem-cell{
    width: 120px;
    height: 120px;
}

}