* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  background-color: white;
  margin: 0;
}

main {
  margin-bottom: 10rem;
}

ul {
  text-align: justify;
}

.tit-li {
  font-size: 3rem;
}

img {
  border-radius: 1rem;
  display: block;
  width: 40%;
  height: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.gallery-item {
  width: 20%;
  height: auto;
  cursor: pointer;
  transition: transform 0.5s ease;
  border-radius: 1rem;
  border: 0.3rem solid gray;
  object-fit: contain;
}

.gallery-item:hover {
  transform: scale(1.1);
  object-fit: contain;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 1rem 1rem 0 0;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  padding: 2rem;
  background-color: #4895D9;
  color: #fff;
  font-size: 1.2rem;
}

#voltar-topo {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 4rem;
  height: 4rem;
  font-size: 2rem;
  text-align: center;
  line-height: 4rem;
  border-radius: 50%;
  background-color: black;
  color: white;
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

#voltar-topo:hover {
  background-color: #6666ff;
  color: white;
}

#voltar-topo.show {
  opacity: 1;
  pointer-events: auto;
}

.logo-link {
  display: flex;
  align-items: center;
  height: auto;
}

.logo-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

h1 {
  font-size: 10rem;
  text-align: center;
  color: #2E2726;
  margin: 7rem auto 2rem auto;
  font-family: "Times New Roman", serif;
}

h2 {
  font-size: 3rem;
  text-align: left;
  color: #2E2726;
  margin: 2rem auto;
  font-family: "Times New Roman", serif;
}

h3 {
  font-size: 2.5rem;
  text-align: center;
  color: #2E2726;
  margin: 2rem auto;
  font-family: "Times New Roman", serif;
}

.p1 {
  font-size: 2.2rem;
  text-align: justify;
  color: #3D3432;
  font-family: "Times New Roman", serif;
  background-color: white;
  margin: 0 auto;
  margin-top: 0rem;
  max-width: 90%;
  padding: 0rem;
}

.menu {
  width: 100%;
  background: #4895D9;
  position: fixed;
  z-index: 9999;
  top: 0;
}

.menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.menu ul li {
  margin: 0;
}

.menu ul li a {
  padding: 2rem;
  text-decoration: none;
  display: block;
  text-align: center;
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: bold;
  color: #fff;
  transition: background-color 0.3s ease;
}

.menu ul li a:hover {
  background-color: #6666ff;
  color: #fff;
  border-radius: 0.8rem;
}

.toggle-nav {
  color: #fff;
  text-decoration: none;
  display: none;
}

.social {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.social a {
  max-width: 100%;
  text-align: center;
}

.social a i {
  font-size: 2rem;
  background: #fff;
  width: 4rem;
  line-height: 4rem;
  color: #000;
  border-radius: 50%;
}

.social i:hover {
  background: #6666ff;
  color: #fff;
}

.delete-cookies,
.f {
  padding: 1rem 2rem;
  font-size: 1rem;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.delete-cookies:hover,
.f:hover {
  background-color: #6666ff;
}

.container {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  border: 0.2rem solid #4895D9;
  border-radius: 1.5rem;
  max-width: 60rem;
  margin: 1rem auto;
  background-color: #4895D9;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
    box-shadow 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.container img {
  width: 15rem;
  height: 15rem;
  object-fit: cover;
  border-radius: 1rem;
}

.container .texto {
  font-family: Arial, sans-serif;
  font-size: 1.6rem;
  color: white;
  transition: inherit;
}

.container .texto a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.container .texto a:hover {
  color: white;
  text-decoration: underline;
}

.container .texto a:visited {
  color: white;
}

.container:hover {
  transform: scale(1.06);
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.2);
}

    #translateBtn {
      position: fixed;
      top: 2rem;
      right: 2rem;
      padding: 1rem 2rem;
      background-color: #4285F4;
      color: white;
      border: none;
      border-radius: 0.5rem;
      cursor: pointer;
      font-size: 1.4rem;
      box-shadow: 0 0.2rem 0.5rem rgba(0,0,0,0.3);
      z-index: 10000;
      transition: background-color 0.3s;
    }

    #translateBtn:hover {
      background-color: #3367D6;
    }

@media (max-width: 480px) {
html {
    font-size: 62.5%;
  }

  h1 {
    font-size: 3rem;
    padding-top: 2rem;
    margin-top: 2rem auto 0rem auto;
  }

  h2 {
    font-size: 2.4rem;
  }

  h3 {
    font-size: 2rem;
  }

  .p1 {
    font-size: 1.6rem;
  }

.tit-li {
  font-size: 2rem;
}

  .menu {
    width: 100%;
    background: #4895D9;
    position: fixed;
    z-index: 9999;
    top: 0;
    font-size: 1rem;
  }

  .menu ul li a {
    padding: 2rem;
    font-size: 1rem;
    justify-content: flex-start;
  }

  #voltar-topo {
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
    line-height: 4rem;
  }

  .social a i {
    width: 4rem;
    line-height: 4rem;
    font-size: 2rem;
  }

.gallery-item {
  width: 40%;
  height: auto;
  margin: 0rem auto 0rem auto;
  display: block;
}

.gallery-item img {
  width: 100%;
}


.gallery-item:hover {
  transform: scale(1.1);
  object-fit: contain;
}

footer {
  padding: 0.5rem;
  flex-direction: column;
  align-items: center; 
}


}

@media (min-width: 481px) and (max-width: 1199px) {
  html {
    font-size: 62.5%;
  }

  h1 {
    font-size: 3rem;
    padding-top: 2rem;
    margin-top: 2rem auto 0rem auto;
  }

  h2 {
    font-size: 2.4rem;
  }

  h3 {
    font-size: 2rem;
  }

  .p1 {
    font-size: 1.6rem;
  }

.tit-li {
  font-size: 2rem;
}

  .menu {
    width: 100%;
    background: #4895D9;
    position: fixed;
    z-index: 9999;
    top: 0;
    font-size: 1rem;
  }

  .menu ul li a {
    padding: 2rem;
    font-size: 1.2rem;
    justify-content: flex-start;
  }

  #voltar-topo {
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
    line-height: 4rem;
  }

  .social a i {
    width: 4rem;
    line-height: 4rem;
    font-size: 2rem;
  }

.gallery-item {
  width: 40%;
  height: auto;
  margin: 0rem auto 0rem auto;
  display: block;
}

.gallery-item img {
  width: 100%;
}

footer {
  padding: 0.5rem;
}

}

@media (min-width: 1200px) and (max-width: 1920px) {
  html {
    font-size: 62.5%;
  }

  h1 {
    font-size: 6rem;
    padding-top: 2rem;
    margin-top: 2rem auto 0rem auto;
  }

  h2 {
    font-size: 4rem;
  }

  h3 {
    font-size: 2.5rem;
  }

  .p1 {
    font-size: 2.2rem;
  }

.tit-li {
  font-size: 2.5rem;
}

    .menu {
    width: 100%;
    background: #4895D9;
    position: fixed;
    z-index: 9999;
    top: 0;
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .menu ul li a {
    padding: 2rem;
    font-size: 1.5rem;
  }

  #voltar-topo {
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
    line-height: 4rem;
  }

  .social a i {
    width: 4rem;
    line-height: 4rem;
    font-size: 2rem;
  }
}