/* ============ IMPORTS ============ */
@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url(../css/colors.css);
@import url(../css/animations.css);

/* ============ ESTILO GERAL ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
textarea {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  width: 100%;
}

/* ============ ESTILO DO CABEÇALHO ============ */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(to bottom, var(--background-color), rgba(0, 0, 0, 0));
  overflow: visible;
  z-index: 999;
  transition: all 0.4s;
  border-bottom: 0px;
}

.scrolled {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(16px);
  transition: all 0.4s;
  border-bottom: 1px solid var(--dark-blue);
}

nav {
  width: 100%;
  position: relative;
  z-index: 50;
  overflow: visible;
}

.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 130px;
  margin-top: 12px;
  overflow: visible;
}

.container-left {
  position: relative;
  display: flex;
}

.container-center {
  position: relative;
  display: block;
  padding: 0 80px 0 50px;
  margin-top: 15px;
}

.container-right {
  position: relative;
  display: flex;
}

.logo {
  width: 70px;;
}

.header-links ul {
  display: flex;
  padding: 0px 35px;
}

.header-links a {
  display: inline-block;
  padding: 0.9rem 3.5vw;
  padding-bottom: 45px;
  color: var(--light-gray);
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1;
  transition: 0.1s;
  height: 2rem;
  border-top: 1px solid var(--dark-gray);
}

.login a {
  display: inline-block;
  text-align: center;
  padding: 12px 40px;
  font-size: 0.9rem;
  font-family: Poppins;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: 0.2s;
  color: var(--blue-gradient-left);
  border: solid transparent;
  border-width: 1px;
  border-image: linear-gradient(
    to right,
    var(--blue-gradient-left) 0%,
    var(--blue-gradient-right) 100%
  );
  border-image-slice: 1;
  background: linear-gradient(
    to right,
    var(--blue-gradient-left) 0%,
    var(--blue-gradient-right) 100%
  );
  background-repeat: no-repeat;
  background-position: 0% 0%;
  background-size: 0% 100%;
  transition: background-size 0.3s, color 0.3s, transform 0.3s;
  backdrop-filter: blur(5px);
}

.login a:hover {
  display: inline-block;
  text-align: center;
  padding: 12px 40px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: var(--white);
  background-size: 100% 100%;
  transform: scale(1.1);
}

.clientlogin.current {
  display: inline-block;
  text-align: center;
  padding: 12px 40px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: var(--white);
  background-size: 100% 100%;
}

.header-links a:hover {
  color: white;
  border-top: 5px solid var(--dark-gray);
}

.header-links .current {
  color: var(--light-blue);
  border-top: 5px solid var(--dark-blue);
}

.toggle-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.toggle-button .bar {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 10px;
}








.dropbtn {
  background-color: #04AA6D;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #3e8e41;}

/* ============ MEDIA QUERY PARA TABLET E MOBILE ============ */
@media only screen and (max-width: 1200px) {
  .nav {
    overflow: hidden;
  }

  .logo {
    display: flex;
    align-items: flex-start;
    width: 48px;
  }

  .wrapper {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
  }

  .mobile-menu {
    padding-left: 22px;
  }

  .toggle-button {
    display: flex;
  }

  .container-left {
    position: absolute;
    left: 29px;
    display: flex;
    align-items: center;
    z-index: 6;
  }
  
  .container-right {
    position: absolute;
    right: 29px;
  }

  .container-center {
    padding: 70px 0 0 0;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: black;
  }

  .header-links ul {
    flex-direction: column;
    padding-top: 40px;
    flex-wrap: nowrap;
  }

  .login a, 
  .login a:hover,
  .clientlogin.current {
    padding: 10px 18px;
    font-size: 12px;
  }
}