@import url("https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Rajdhani:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Play:wght@400;700&family=Rajdhani:wght@300;400;500;600;700&family=Saira+Condensed:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Julius+Sans+One&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

section {
  height: 100vh;
  width: 100%;
}

header {
  width: 100%;
  height: 8vh;
  background-color: black;
  position: fixed;
  z-index: 1;
}

nav {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7rem;
  z-index: 100;
}

.menu a {
  font-size: 2.5rem;
  text-decoration: none;
  color: white;
  font-family: "Rajdhani", sans-serif;
  font-weight: 400;
  z-index: 100;
}

.menu a:hover {
  color: yellow;
}

.menu a.active {
  color: yellow;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  width: 32px;
  height: 2px;
  background-color: #fff;
  margin: 8px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.whatsapp-container {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 100;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
}

.whatsapp-icon img {
  width: 70px;
  height: 70px;
  margin-left: 10px;
  transition: 0.2s ease-in-out;
}

.whats-text {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  color: #111;
  opacity: 0;
  transition: opacity 0.3s;
  background-color: rgb(111, 182, 78);
  padding: 5px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  font-size: 1.2rem;
}

.whatsapp-container:hover .whats-text {
  opacity: 1;
}

.whatsapp-container:hover .whatsapp-icon img {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .menu {
    position: absolute;
    top: 8vh;
    left: 0;
    width: 50vw;
    height: 92vh;
    background: black;
    flex-direction: column;
    align-items: center;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in;
    z-index: 100;
  }

  .menu a {
    margin-left: 0;
    font-size: 2rem;
  }

  .menu.active {
    transform: translateX(0);
  }

  .hamburger {
    display: block;
    align-items: center;
    justify-content: center;
  }
}
