:root {
  --azulClaro: #0aafb9;
  --verdeAzul: #0c5552;
  --verdeClaro: #7bb929;
  --cinzaEscuro: #1e1e1e;
  --branco: #fff;
}

@keyframes pulse {
	0% {
		transform: scale(1.2);
	}

	50% {
		transform: scale(0.9);
	}

	100% {
		transform: scale(1.2);
	}
}

body {
  font-family: "Roboto", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}


/* WPP FLOAT */

.floatButtonWpp {
  display: flex;
  position: absolute;
}

.floatButtonWpp button {
  all: unset;
  cursor: pointer;
  position: fixed;
  right: 20px;
  bottom: 20px;
  animation: pulse 2s ease 0s 50 normal none;
  
  filter: drop-shadow(0 0 0.95rem var(--branco));
}

.floatButtonWpp button i{
  font-size: 40px;
  color: var(--verdeAzul);
  
}

.floatButtonWpp button i:hover {
  transition: 0.4s;
  transform: scale(1.3);
  filter: drop-shadow(0 0 0.95rem var(--verdeClaro));
}

/* LOADER */

#loader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: var(--verdeAzul);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* MENU DESKTOP E MOBILE */
header {
  background-color: var(--verdeAzul);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  z-index: 1000;
  margin: 3% 11% 0 11%;
  align-items: center;
  align-content: center;
  height: 100px;
  border-radius: 15px;
  position: fixed;
  width: 78%;
  -webkit-box-shadow: 9px 10px 20px -10px rgba(0, 0, 0, 0.64);
  -moz-box-shadow: 9px 10px 20px -10px rgba(0, 0, 0, 0.64);
  box-shadow: 9px 10px 20px -10px rgba(0, 0, 0, 0.64);
}

.logoMenu {
  width: 20%;
  height: 100%;
  margin-left: 3%;
  display: flex;
  align-items: center;
}

.logoMenu img {
  display: flex;
  align-items: center;
  height: 78%;
  justify-content: center;
}

.menuNavigation {
  margin-right: 3%;
  display: flex;
  flex-direction: row;
}

.menuNavigation a {
  font-weight: 700;
  font-size: 19px;
  color: var(--branco);
  text-decoration: none;
  padding: 8px;
  border-radius: 10px;
  margin: 8px;
}

.menuNavigation a:hover {
  background-color: var(--branco);
  color: var(--verdeAzul);
  transition: 0.4s;
}

/* Estilos para mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-right: 3%;
}

.menu-toggle span {
  background-color: var(--branco);
  height: 3px;
  width: 25px;
  margin: 4px;
  transition: all 0.3s ease;
}

/* footer */
footer {
  background-color: var(--verdeAzul);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.containerNav {
  display: flex;
  flex-direction: row;
  width: 100%;
  padding: 2% 11% 2% 11%;
}

.nav {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  width: 33.3%;
}

.nav h2,
a {
  color: var(--branco);
  text-decoration: none;
}

.nav a:hover {
  transform: translateX(10px);
  transition: 0.5s;
}

.social {
  justify-content: center;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  width: 33.3%;
}

.social h2 {
  color: var(--branco);
}

.redes {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.redes a {
  font-size: 35px;
  margin: 10%;
  text-decoration: none;
  color: var(--branco);
}

.redes a:hover i {
  color: var(--verdeClaro);
  transition: 0.5s;
}

.contact {
  width: 33.3%;
  display: flex;
  flex-direction: column;
  align-items: end;
  color: var(--branco);
}

.contact a {
  text-align: end;
  width: 100%;
}

.copyright {
  width: 20%;
  text-align: center;
  border-top: solid 1px var(--branco);
  padding-bottom: 2%;
}

.copyright p {
  margin-top: 20px;
  color: var(--branco);
}

@media screen and (max-width: 908px) {
  header {
    background-color: var(--verdeAzul);
    display: flex;
    margin: 5% 5%;
    border-radius: 15px;
    width: 90%;
    flex-direction: row;
    align-items: center;
    align-content: center;
    text-align: center;
  }

 
  
  .logoMenu img {
    height: 70%;
  }

  .menuNavigation {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 88px;
    right: 0%;
    background-color: var(--verdeAzul);
    width: 100%;
    border-radius: 15px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    margin: auto;
    box-shadow: 9px 10px 20px -10px rgba(0, 0, 0, 0.64);
  }

  .menuNavigation.open {
    display: flex;
  }

  .menuNavigation.open::active header {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .menuNavigation a {
    font-size: 16px;
    margin: 10px 0;
  }

  .menu-toggle {
    display: flex;
  }

  /* FOOTER */
  footer {
    background-color: var(--verdeAzul);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .containerNav {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 2% 8% 2% 8%;
  }

  .nav {
    display: none;
    flex-direction: column;
    align-items: baseline;
    width: 98%;
    align-items: center;
    margin-bottom: 20px;
  }

  .nav h2,
  a {
    color: var(--branco);
    text-decoration: none;
  }

  .nav a:hover {
    transform: translateX(10px);
    transition: 0.5s;
  }

  .social {
    justify-content: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    width: 98%;
  }

  .social h2 {
    color: var(--branco);
  }

  .redes {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
  }

  .redes a {
    font-size: 35px;
    margin: 10%;
    text-decoration: none;
    color: var(--branco);
  }

  .redes a:hover i {
    color: var(--verdeClaro);
    transition: 0.5s;
  }

  .contact {
    margin-top: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--branco);
  }

  .contact a {
    text-align: center;
  }

  .copyright {
    width: 80%;
    text-align: center;
    border-top: solid 1px var(--branco);
    padding-bottom: 2%;
  }

  .copyright p {
    margin-top: 20px;
    padding-bottom: 20px;
    color: var(--branco);
  }
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 10px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -10px);
}
