* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
main {
  display: flex;
  flex-direction: column;
  width: 100vw;
  background: linear-gradient(
      rgba(255, 255, 255, 0.157),
      rgba(255, 255, 255, 0.222)
    ),
    url(./Germany_Deutschland.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.body {
  display: flex;
  flex-direction: column;
}

.lista-nav {
  list-style: none;

  display: flex;
  justify-content: space-around;
  padding: 0 1rem;
}
#link {
  text-decoration: none;
  color: white;
}
.nav-links {
  text-decoration: none;
  margin-top: 5vh;
}

.lista-nav > li {
  display: flex;
  font-family: "Inter", sans-serif;
  justify-content: space-around;
  align-items: center;
  color: white;
  margin: 1rem 0;
  height: 2rem;
}

.input-group {
  display: flex;
  justify-content: center;
  align-items: baseline;
}
#search-container > input {
  background: linear-gradient(
    rgba(255, 255, 255, 0.586),
    rgba(255, 255, 255, 0.586)
  );

  border-radius: 0.8rem;
  width: 50vw;
  display: flex;
  justify-content: center;
  justify-items: center;
  align-items: center;
  height: 5vh;
  margin-bottom: 2rem;
}
.text-input {
  background: linear-gradient(
    rgba(255, 255, 255, 0.586),
    rgba(255, 255, 255, 0.586)
  );

  border-radius: 0.8rem;
  width: 50vw;
  display: flex;
  justify-content: center;
  justify-items: center;
  align-items: center;
  height: 5vh;
  margin-bottom: 2rem;
}

.text-tittle {
  color: white;
  font-family: "Inter", sans-serif;
  padding: 3rem;
}
.text-tittle > h1 {
  font-size: 3.125rem;
  width: 46.875rem;
  height: 15.5rem;
  text-shadow: 5px 5px 5px rgb(134, 130, 130);
}
.text-tittle > h3 {
  text-shadow: 5px 5px 5px rgb(134, 130, 130);
  width: 46.875rem;
  height: 8rem;
  font-size: 1.25rem;
}
.curiosidades {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 1rem;
  margin-bottom: 4rem;
  justify-content: center;
}
.box-1 {
  font-family: "Inter", sans-serif;
  padding: 2.5rem;
  background-color: white;
  background: linear-gradient(
    rgba(255, 255, 255, 0.681),
    rgba(255, 255, 255, 0.681)
  );
  border-radius: 1.25rem;
  display: flex;
  flex-direction: column;
  width: 25vw;
  height: 50vh;
  align-items: center;
  justify-content: center;
}
.box-1 > h1 {
  font-variant: small-caps;
  margin-bottom: 1rem;
}


#cards-city {
  
  font-family: "Inter", sans-serif;
  padding: 2rem;
  background-color: white;
  background: linear-gradient(
    rgba(255, 255, 255, 0.681),
    rgba(255, 255, 255, 0.681)
  );
  border-radius: 1.25rem;
  display: flex;
  flex-direction: column;
  width: 25vw;
  height: 60vh;
  align-items: space-between;
  justify-content: center;
}


#img-city{
  margin-bottom: 3rem;
}

#pesquisa-input {
  width: 8rem;
}
header {
  display: flex;
  justify-content: center;
  height: 5vh;
  width: 100vw;
  background-color: black;
  color: white;
}
header > h2 {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
}

footer {
  display: flex;
  justify-content: center;
  height: 5vh;
  width: 100vw;
  background-color: black;
  color: white;
  bottom: 0;
}
footer > h2 {
  display: flex;
  align-items: center;
  font-size: 1rem;
}

#products {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-column-gap: 1.5em;
  padding: 2em 0;
}


.container {
  padding-top: 1em;
  color: #110f29;
}
.container h5 {
  font-weight: 500;
}
.hide {
  display: none;
}

@media screen and (max-width: 1055px) {
  .curiosidades {
    margin: 1rem 1rem 5rem 1rem;
    justify-content: space-evenly;
  }
  .box-1 {
    height: 50vh;
    width: 35vw;
  }
  #cards-city {
    padding: 2rem;
   width: 28vw;
    height: 65vh;
    margin-bottom: 7rem;
  }
  
   #img-city{
    margin-bottom:2rem;
  }
}

@media screen and (max-width: 900px) {
  .curiosidades {
    gap: 1rem;
  }
  .box-1 {
    justify-content: center;
    padding: 0.5rem;
    font-size: 0.9rem;
    height: 40vh;
  }
  .text-tittle > h1 {
    font-size: 2.5rem;
    width: 30rem;
  }

  .text-tittle > h3 {
    font-size: 0.9rem;
    width: 30rem;
  }
  #cards-city {
    height: 50vh;
    padding: 1.5rem;
   
  }
  #cards-city > p {
   font-size: x-small;
  }
  

@media screen and (max-width: 700px) {
  .box-1 {
    height: 30vh;
    font-size: 0.6rem;
  }
  #cards-city {
    height: 45vh;
    padding: 1.5rem;
   
  }

@media screen and (max-width: 595px) {
 
  .text-tittle > h1 {
    font-size: 2rem;
    width: 25rem;
  }
  .text-tittle > h3 {
    font-size: 0.8rem;
    width: 25rem;
  }
  .box-1 > h1 {
    margin-bottom: 1rem;
  }
  #cards-city {
    height: 35vh;
    padding: 1rem;
   
  }
  #cards-city > p {
    font-size: 0.5rem;
   }
 }
}

@media screen and (max-width: 510px) {
  .box-1 {
    justify-content: center;
    padding: 0 0.3rem;
    height: 25vh;
    font-size: 0.5rem;
  }

  .curiosidades {
    padding-top: 2rem;
  }
  .text-tittle > h1 {
    font-size: 1.5rem;
    width: 20rem;
    height: 20vh;
   margin-bottom: 0
  }
  .text-tittle > h3 {
    font-size: 0.5rem;
    width: 20rem;
    margin-bottom: 0
  }
  .text-tittle {
    margin: 0;
    height: 45vh;
  }
}

@media screen and (max-width: 450px) {
  .text-tittle > h1 {
    font-size: 1.5rem;
    width: 18rem;
  }
  .text-tittle > h3 {
    font-size: 0.6rem;
    width: 18rem;
  }
  .box-1 {
    font-size: 0.5rem;
  }
  #cards-city {
    height: 30vh;
    
   
  }
  #cards-city > p {
    font-size: 0.4rem;
   }
}

@media screen and (max-width: 404px) {
  .text-tittle > h1 {
    font-size: 1.2rem;
    width: 15rem;
  }
  .text-tittle > h3 {
    font-size: 0.5rem;
    width: 15rem;
  }
  .box-1 {
    height: 20vh;
    font-size: 0.4rem;
  }
  #search-input {
    width: 58vw;
    height: 3vh;
  }
  footer > h2 {
    font-size: x-small;
  }
  #cards-city {
    height: 25vh;
    border-radius: 0.8rem;
  }
  #img-city{
    margin-bottom: 0.5rem;
  }
  
}
@media screen and (max-width: 360px) {
  #cards-city {
    
    height: 20vh;}
    #cards-city > p {
      font-size: 0.3rem;
     }
  #search-container > input {
    height: 3vh;
    width: 8rem;
    font-size: xx-small;
  }

  .box-1 {
    justify-content: center;
    padding: 0 0.3rem;
    height: 20vh;

    font-size: 0.32rem;
  }
  .box-1 > h1 {
    margin-bottom: 0.5rem;
  }

  .text-tittle > h1 {
    font-size: 1rem;
    width: 8rem;
    height: 10rem;
  }
  .text-tittle > h3 {
    height: 1vh;
    font-size: 0.3rem;
    width: 10rem;
    margin-bottom: 0;
  }
  .lista-nav {
    font-size: small;
  }
  footer {
    margin-top: 5rem;
  }

  #search-input {
    font-size: xx-small;
    width: 50vw;
    height: 2.5vh;
  }
  #search {
    font-size: xx-small;
    height: 2vh;
  }
}

@media screen and (max-width: 275px) {
  #cards-city {
    
    height: 15vh;}
    #cards-city > p {
      font-size: 0.2rem;
     }
  .box-1 {
    justify-content: center;
    padding: 0 0.2rem;
    height: 15vh;
    font-size: 0.26rem;
  }
  footer > h2 {
    font-size: xx-small;
  }
  .lista-nav {
    font-size: x-small;
  }
  .box-1 {
    border-radius: 0.8rem;
  }
  #search-container > input {
    font-size: 0.3rem;
    width: 35vw;
    height: 2vh;
  }
}

@media screen and (max-width: 225px) {
  #cards-city {
    padding: 0.5rem;
    width: 25vw;}
  #search {
    height: 1.5vh;
  }

  #search-input {
    font-size: 0.4rem;
    width: 50vw;
    height: 2vh;
  }
  .text-tittle > h1 {
    font-size: 0.6rem;
    width: 6rem;
    height: 8rem;
  }
  .text-tittle > h3 {
    height: 5vh;
    font-size: 0.2rem;
    width: 6rem;
  }
  .lista-nav {
    font-size: xx-small;
  }
  .box-1 {
    border-radius: 0.6rem;
    justify-content: center;
    padding: 0 0.5rem;
    height: 14vh;
    font-size: 0.2rem;
  }
  footer {
    font-size: xx-small;
    margin-top: 8rem;
  }
  footer > h2 {
    font-size: 0.5rem;
  }
}

@media screen and (max-width: 190px) {
  footer > h2 {
    font-size: 0.3rem;
  }
  .text-tittle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  #search {
    font-size: 0.2rem;
    height: 1vh;
  }
  #search-input {
    font-size: 0.2rem;
    width: 58vw;
    height: 1.5vh;
  }
  .box-1 {
    border-radius: 0.3rem;
    justify-content: center;
    padding: 0 0.2rem;
    height: 13vh;
    font-size: 0.14rem;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border-width: 0;
  white-space: nowrap;
}
/*
@media screen and (max-width: 560px) {
  header > h2 {
    font-size: medium;
  }
  footer > h2 {
    font-size: small;
  }
  .weimar-box,
  .dresden-box,
  .nurnberg-box {
    display: flex;
    justify-content: space-around;
    font-size: xx-small;
  }
  #img-city {
    height: 9vh;
    width: 15vw;
  }
  .cidades {
    justify-content: center;
  }
}

@media screen and (max-width: 380px) {
  .lista-nav {
    display: flex;
    justify-content: center;
    gap: 1vw;
  }
  .lista-nav > li {
    height: 4vh;
  }
  .weimar-box {
    width: 36vw;
    height: 35vh;
  }
  .dresden-box {
    width: 36vw;
    height: 35vh;
  }
  .nurnberg-box {
    width: 36vw;
    height: 35vh;
  }
}
@media screen and (max-width: 340px) {
  .weimar-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50vw;
    height: 30vh;
  }
  .dresden-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50vw;
    height: 30vh;
  }
  .nurnberg-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50vw;
    height: 30vh;
  }
  .cidades {
    justify-content: center;
    justify-items: center;
    justify-self: center;
  }

  #img-city {
    height: 8vh;
    width: 18vw;
  }
  header > h2 {
    font-size: small;
  }
}

@media screen and (max-width: 290px) {
  #pesquisa-input {
    width: 3rem;
  }
  header > h2 {
    font-size: xx-small;
  }
  footer > h2 {
    font-size: xx-small;
  }
}

@media screen and (max-width: 290px) {
  #img-city {
    height: 5vh;
    width: 18vw;
  }
  #listCity {
    font-size: xx-small;
  }
} */
