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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  list-style: none;
  text-decoration: none;
}
:root {
  --primary: #45abff;
  --secundary: #01f5ff;
  --white: #fff;
  --dark: #0e0c0c;
}
body {
  color: var(--dark);
  background: var(--white);
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  column-gap: 50px;
}

header {
  position: sticky;
  top: 0;
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  box-shadow: 0 0.1rem 0.5rem #ccc;
  width: 100%;
  background: var(--white);
  transition: all 0.5s;
}
.navigation .logo {
  color: var(--primary);
  font-size: 1.7rem;
  font-weight: 600;
}
h2{
  font-size: 33px;
  margin-bottom: 15px;
  text-align: center;
}
.logo span {
  color: var(--dark);
}
.navigation ul {
  display: flex;
  align-items: center;
  gap: 5rem;
}
.navigation ul li a {
  color: var(--dark);
  font-size: 17px;
  font-weight: 500;
  transition: all 0.5s;
}
.navigation ul li a:hover {
  color: var(--secundary);
}
.navigation i {
  cursor: pointer;
  font-size: 1.5rem;
}
.menu {
  cursor: pointer;
  display: none;
}
.menu .bar {
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--dark);
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
}
.menu .bar:nth-child(1),
.menu .bar:nth-child(3) {
  background: var(--primary);
}
.home {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 15%;
  height: fit-content;
  margin-top: 70px;
}
.home-text {
  max-width: 37rem;
}
.home-text .text-h4 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.home-text .text-h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 2.5rem;
}
.home-text p {
  margin-bottom: 3rem;
}
.home-img img {
  width: auto;
  height: auto;
}
@media (max-width: 785px) {
  .navigation {
    padding: 18px 20px;
  }
  .menu {
    display: block;
  }
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    width: 100%;
    height: 100%;
    flex-direction: column;
    background: var(--white);
    gap: 2px !important;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(1, 0, 0, 1);
  }
  .nav-menu.active {
    left: 0;
  }
  .menu.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-item {
    margin: 16px 0;
  }
  .home {
    margin-top: 20px;
    padding: 1px 2%;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
    gap: 5rem; 
  }
  .home .text-h4 {
    font-size: 15px;
  }
  .home .text-h1 {
    font-size: 2.5rem;
    line-height: 3rem;
  }
  .home p {
    font-size: 15px;
  }
  .home-img {
    display: none;
  }

  .gallery .overlay .close-modal {
    right: 5% !important;
    top: 5% !important;
  }
}

.social-icons .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  width: 3.5rem;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 100%;
  font-size: 1.5rem;
  margin-right: 1.5rem;
}
.social-icons .social-icon:last-child {
  margin-right: 0;
}
.social-icons .social-icon:hover {
  background-color: var(--secundary);
}
.social-icon .linktree {
  width: 40%;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  padding: 5px;
  flex-direction: row;
  justify-content: center;
  width: 95%;
  margin-bottom: 7em;
}

.gallery-item {
  margin: 5px;
  width: 256px;
  height: 256px;
  cursor: pointer;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery .overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.8);
  display: inline;
}

.gallery .overlay .modal-image {
  max-width: 100%;
  max-height: 90vh;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.gallery .overlay .close-modal {
  position: absolute;
  top: 10px;
  right: 20px;
  width: 20px;
  height: 10px;
  color: var(--white);
  font-size: 30px;
}

.gallery .overlay .close-modal:hover {
  opacity: 0.8;
}


/* ----------- */
/* Estilos gerais da seção */

/* Estilos específicos para cada bloco/card */
.block {
  background-color: var(--white);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px; 
  margin: 10px;
  width: 100px; /* 50% da largura da seção com espaço de 20px entre os cards */
  text-align: center;
  box-sizing: border-box; /* Garante que a largura inclua padding e borda */
  flex: 1 0 calc(50% - 20px);
}
.div-about {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Espaçamento entre as divs */
  justify-content: center; /* Centralizar as divs horizontalmente */
}

/* Estilizando o título do bloco/card */
.block h3 {
  color: #333;
  font-size: 1.5em;
  margin-bottom: 10px;
}

/* Estilizando o texto do bloco/card */
.block p {
  color: #666;
  font-size: 1em;
  line-height: 1.4;
}

/* Adicionando um efeito de sombra sutil nos cards */
.block:hover {
  box-shadow: 0 0 10px rgba(69, 171, 255, 0.7);
}
#frase-final{
  margin-top: 2rem;
  display: flex;
  text-align: center;
  font-size: 20px;
  margin: 2rem;
}

footer {
  width: 100%;
  color: var(--white);
}

.footer-link {
  text-decoration: none;
}

#footer_content {
  padding: 3rem 3.5rem;
  padding: 18px 40px;
  box-shadow: 0 0.1rem 0.5rem #ccc;
  width: 100%;
  background: var(--white);
  transition: all 0.5s;
}

#footer_content p{
  color: var(--dark);
  font-size: 1.5rem;
}

#footer_contacts h1 {
  margin-bottom: 0.75rem;
}

#footer_social_media {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
} 

#footer_social_media .footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  color: var(--white);
  border-radius: 50%;
  transition: all 0.4s;
}

#footer_social_media .footer-link i {
  font-size: 1.25rem;    
}

#footer_social_media .footer-link:hover {
  opacity: 0.8;
}

#instagram {
  background: linear-gradient(#7f37c9, #ff2992, #ff9807);
}

.linktree{
  width: 22px;
}

#linktree{
  background-color: var(--dark);
}

#facebook {
  background-color: #4267b3;
}

#whatsapp {
  background-color: #25d366;
}

#footer_copyright {
  color: var(--dark);
  font-size: 0.9rem;
  padding: 1.5rem;
  font-weight: 100;
  text-align: center;
  width: 100%;
  height: 60px;
  box-shadow: 0 0.2rem 0.6rem #ccc;
}

#logofinal{
  width: 115px;
}

#footer_contacts{
  display: grid;
  place-items: center;
}

#galeria{
  width: 100%;
  margin-top: 100px;
}
