/* Reset de estilos para garantir consistência */
* {
  margin: 0;
  padding: 0;
  font-family: "Kanit", sans-serif;
}

body {
  max-width: 2000px;
  /* Largura máxima de 2000px */
  margin: 0 auto;
  /* Centraliza o conteúdo horizontalmente */
  box-sizing: border-box;
  /* Incluindo padding e bordas na largura total */
}

.container {
  max-width: 1300px;
  /* Largura máxima do conteúdo */
}

/* Aplica o scroll suave para o link da logo */
#logo-link {
  scroll-behavior: smooth;
}

/* Estilos para a navbar */
.navbar {
  position: fixed;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  /* padding: 0 50px; */
  z-index: 100;
}

#check {
  display: none;
}

.icons {
  font-size: 2.8rem;
  color: #0e273c;
  cursor: pointer;
  display: none;
  right: 5%;
}

.content {
  width: 1300px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo img {
  max-width: 172px;
  max-height: 59px;
  margin-bottom: 15px;
  margin-left: 30px;
}

.nav-links ul {
  margin-top: 2px;
  animation: fadeInDown;
  animation-duration: 1s;
  list-style: none;
  display: flex;
  padding: 0;
}



.nav-links a {
  text-decoration: none;
  color: #0e273c;
  font-family: "Kanit", sans-serif;
  font-weight: 550;
  font-size: 22px;
  /* Aumentando o tamanho da fonte */
  padding: 5px 20px;
  /* Aumentando o espaçamento interno */
  border: 1px solid transparent;
  border-top-left-radius: 15px;
  border-bottom-right-radius: 15px;
  transition: background-color 0.3s ease, border 0.3s ease;
  margin: 6px;
  text-transform: capitalize;
}

.nav-links a:hover {
  background-color: #ffc53a;
}

.nav-links a::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: transparent;
  border-top: none;
  border-right: none;
  transform: translate(-50%, -50%) rotate(-45deg);
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-links a:hover::before {
  opacity: 1;
}

/* Estilos para o ícone "Home" */
.nav-links a:first-child {
  display: flex;
  align-items: center;
}

.nav-links a:first-child i {
  margin-right: 5px;
}

.banner {
  background: url('./img/bg/bg.png') center top/cover no-repeat;
  background-size: cover;
  /* essa linha cobre todo o conteudo do bg */
  height: 782px;
}

/* ... Outros estilos ... */

.headline {
  max-width: 800px;
  font-family: "Kanit", sans-serif;
  position: relative;
  top: 12rem;
  left: 4rem;
  text-align: left;
  /* Alinhando o texto à esquerda */
}

.headline .linha-amarela {
  animation: fadeInLeft;
  animation-duration: 3s;
  width: 100px;
  height: 1px;
  background-color: #ffc53a;
}

.headline h1 {
  animation: fadeInLeft;
  animation-duration: 2s;
  color: #fff;
  font-size: 60px;
  font-weight: 50;
  margin: 0 0 10px 0;
  word-wrap: break-word;
}

.headline p {
  animation: fadeInLeft;
  animation-duration: 2s;
  color: #fff;
  font-size: 24px;
  font-weight: 50;
  margin: 0;
}

.enfase-texto {
  font-weight: 550;
}

.enfase-texto-amarelo {
  font-weight: 550;
  color: #ffc53a;
}

.headline button {
  font-weight: 550;
  margin: 20px 0 0 0;
  background-color: #ffc43a;
  transform: translateX(5%) skewX(-20deg);
  padding: 12px 36px;
  font-size: 24px;
  border: 1px solid antiquewhite;
  box-shadow: inset 0px 0px 0px 0px rgba(255, 255, 255, .5),
    7px 7px 20px 0px rgba(0, 0, 0, .5),
    4px 4px 5px 0px rgba(0, 0, 0, .5);
  border-top-left-radius: 15px;
  border-bottom-right-radius: 15px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.headline button:hover {
  background-color: #ffc53a;
  transform: translateX(5%) skewX(-20deg) scale(1.05);

}


.headline button span {
  display: inline-block;
  transform: skewX(20deg);
}

.headline button span a {
  text-decoration: none;
  color: #000000;
}
.float{
  display: none;
}
/* Styles for screens wider than 1300px */
@media (max-width: 1300px) {
  .nav-links a {

    font-size: 18px;
    /* Aumentando o tamanho da fonte */
    padding: 4px 16px;
    /* Aumentando o espaçamento interno */
    margin: 4px;
  }

  .content {
    width: 1024px;
  }
}

@media (max-width:990px) {
  .logo {
    width: 160px;
  }

  .logo img {
    max-width: 172px;
    max-height: 59px;
    margin-bottom: 15px;
    margin-left: 0px;
    transform: scale(0.8);
  }

  .nav-links a {
    font-weight: 550;
    font-size: 16px;
    /* Aumentando o tamanho da fonte */
    padding: 4px 6px;
    /* Aumentando o espaçamento interno */
    margin-top: 4px;
  }
}

@media (max-width: 1024px) {

  .content {
    width: 768px;
  }

  .headline {
    left: 2rem;
    top: 10rem;
    width: 600px;
  }

  .headline button {
    margin: 50px 0 0 0;
  }

  .banner {
    background-position-x: -700px;
  }
}

@media (max-width: 767px) {
  .icons {
    display: inline-flex;
    position: absolute;
  }

  #check:checked~.icons #menu-icon {
    display: none;
  }

  .icons #close-icon {
    display: none;
  }

  #check:checked~.icons #close-icon {
    display: block;
  }

  .navbar {
    z-index: 1;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(255, 255, 255, 9);

    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transition: .3s ease;
  }

  #check:checked~.nav-links {
    height: 16.6rem;
  }

  .nav-links ul {
    filter: no;
    display: flex;
    flex-direction: column;
  }

  .navbar ul li {
    margin: 0 auto;
  }


  .content {
    width: 500px;
  }

  .gradient {
    background-color: rgba(0, 0, 0, 0.4);

    height: 715px;
  }

  .headline {
    left: -1rem;
    top: 12rem;
    width: 400px;
  }

  .headline h1 {
    font-size: 46px;
  }

  .headline p {
    font-size: 20px;
  }

  .headline button {
    margin: 10px 0 0 0;
  }

  .banner {
    background-position-x: -900px;

  }

  .float{
    display: block;
    position:fixed;
    width:50px;
    height:50px;
    bottom:40px;
    right:40px;
    background-color:#25d366;
    color:#FFF;
    border-radius:50px;
    text-align:center;
    font-size:30px;
    box-shadow: 2px 2px 3px #999;
    z-index:100;
  }

  .my-float{
    font-size: 26px;
  }

}

@media (max-width: 550px) {
  .gradient {
    background-color: rgba(0, 0, 0, 0.6);
  }

  .content {
    width: 350px;
  }

  .headline {
    left: -1rem;
    top: 25rem;
    width: 350px;
  }

  .headline h1 {
    font-size: 40px;
  }

  .headline p {
    font-size: 18px;
  }

  .banner {
    background-position-x: -1050px;

  }
}

@media (max-width:399px) {

  .content {
    width: 320px;
  }

  .headline {
    top: 27rem;
    width: 300px;
  }

  .headline h1 {
    font-size: 36px;
  }

  .headline p {
    font-size: 16px;
  }

  .banner {
    background-position-x: -1120px;

  }
}

@media (max-width:320px) {

  .content {
    width: 280px;
  }

  .headline {
    width: 260px;
  }

  .headline h1 {
    font-size: 32px;
  }

  .headline p {
    font-size: 15px;
  }

  .banner {
    background-position-x: -1180px;

  }
  .headline button span a {
    font-size: 20px;
  }

  .headline button{
    padding: 8px 22px;
  }
}