@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.header {
    font-size: 1.2em;
    font-family: "Roboto", sans-serif;
    text-align: center;
}

.header img {
    margin-bottom: -30px;
    margin-top: 10px;
    width: 54px;
    height: 54px;
}

.form {
    font-family: "Roboto", sans-serif;
    text-align: center;
}

.destaques {
    font-family: "Roboto", sans-serif;
    display: flex;
    justify-content: center;
    gap: 40px;
    text-align: center;
    margin: 20px auto;
    max-width: 1200px;
    flex-wrap: wrap;
}

.destaques img:hover  {
    transform: scale(1.05);
}

.imagem img {
    border-radius: 5px;
    width: 220px;
    margin-bottom: 10px;
}

.imagem h3 {
    margin-bottom: 5px;
    font-size: 1.2em;
}

.imagem p {
    font-size: 0.85em;
    color: #222222;
}

.footer {
    width: 100%;
    background-color: #f4f4f4;
    color: #333;
    text-align: center;
    padding: 10px 0;
    box-shadow: 0 -1px 5px rgba(0,0,0,0.1);
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    margin-top: auto;
}

.footer img {
    vertical-align: middle;;
    width: 24px;
    height: 24px;
}

.dica {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  font-family: "Roboto", sans-serif;
  text-align: center;
  font-size: 0.85em;
  margin-top: 10px;
  color: #555;
}

.dica.visivel {
  opacity: 1;
  visibility: visible;
}

#saida {
    font-family: "Roboto", sans-serif;
}

#loading {
    text-align: center;
    margin-top: 30px;
}

#formulario input {
    font-family: "Roboto", sans-serif;
    width: 100%;               
    max-width: 240px;          
    padding: 8px 12px;         
    border: 1px solid #c9c9c9;    
    border-radius: 5px;       
    font-size: 16px;           
    box-sizing: border-box; 
}

#button {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

#button img {
    width: 24px;
    height: 24px;
}

#button img:hover {
    transform: scale(1.05);
}

#saida {
    column-count: 6;
    column-gap: 15px;
    padding: 20px;
    width: fit-content;
    margin: 0 auto;
}

#saida img {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 10px;
    display: block;
    break-inside: avoid;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

#saida img:hover {
    transform: scale(1.05);
}

#formulario {
  display: flex;
  justify-content: center;
}

@media (max-width: 2432px) {
    #saida {
    column-count: 5;
  }
}

@media (max-width: 2031px) {
    #saida {
    column-count: 4;
  }
}

@media (max-width: 1631px) {
    #saida {
    column-count: 3;
  }
}

@media (max-width: 1231px) {
    #saida {
    column-count: 2;
  }
}

@media (max-width: 831px) {
    #saida {
    column-count: 1;
  }
}