@font-face {
    font-family: 'Title';
    src: url(../fonts/PoetsenOne-Regular.ttf);
}
@font-face {
    font-family: 'text';
    src: url(../fonts/Montserrat-Italic-VariableFont_wght.ttf);
}
* {
    margin: 0; 
    padding: 0;
    font-family: 'text',Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth; 
}
body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    background:#76b0ed;
    background-attachment: scroll;
    background-repeat: no-repeat;
}

h1{
    text-align: center;
    width: 95%;
    color: white;
    margin-top: 20px;
    font-size: 4rem;
    font-family: 'Title', Arial, Helvetica, sans-serif;
    margin-bottom: 20px;
    display: block;
    margin: 1rem auto 0 auto;
    z-index: 1;
    position: relative;
}

h2{
    text-align: center;
    width: 95%;
    color: rgb(255, 255, 255);
    margin-top: 20px;
    font-size: 1.5rem;
    font-family: 'Title', Arial, Helvetica, sans-serif;
    margin-bottom: 20px;
    display: block;
    margin: 1rem auto 0 auto;
    z-index: 1;
    position: relative;

}


.container_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 150px;
    margin-bottom: 20px;
    position: relative;
}

header {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
}

#logo_header {
    width: 25%;
    height: auto;
}

#logo_header img {
    width: 100%;
    height: 100%;
}
#hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 9999;
    position: absolute;
    top: 20px;
    right: 20px;
  }

  #hamburger span {
    height: 4px;
    width: 100%;
    background: black;
    border-radius: 4px;
    transition: 0.3s ease;
  }







#menu{
    width: 50%;
    margin-top: 20px;
    z-index: 9998; /* Garante que fique acima dos títulos */
}



#navegation {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 40px;
  
  list-style: none;
}

#navegation li a {
  position: relative;
  color: black;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5rem;
  font-family: 'Title', Arial, Helvetica, sans-serif;
  transition: color 0.3s ease;
}

#navegation li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: rgb(255, 255, 255);
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease;
}

#navegation li a:hover::after {
  width: 100%;
}

#navegation li a:hover {
  color: rgb(255, 255, 255);
}





/*Rodapé*/ 
footer {
    background: linear-gradient(to bottom, transparent, #fff 90%);
    height: auto;
    margin-top: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
.container_footer{
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

}
/*Parte esquerda do footer*/
#left_footer{
    width: 30%;
}
#left_footer > ul{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100px;
    list-style-type: none;
}

#left_footer > ul > li > a {
    position: relative;
    color: black;
    text-decoration: none;
    font-weight: bold;
}

#left_footer > ul > li > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    background: black;
    transition: width 0.2s;
    bottom: 0;
    left: 0;
}

#left_footer > ul > li > a:hover::after {
    width: 100%;
}

/*Centro do rodapé*/
#footer_center{
    width: 40%;
    height: 100px;
    gap: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.image_footer{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 18%;
    
}
.image_footer > img{
    width: 80%;
    height: 80%;
}

/*Responsividade*/

/*Responsividade telas maiores*/
@media (min-width: 1600px) {
   #logo_header {
    width: 40%;
    height: 200px;
}
}

@media (min-width: 1500px) {
  #logo_header img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    max-width: 300px;
  }

}

/*Responsividade Tablet*/
/* Responsivo tablet (até 1100px) */
@media (max-width: 1100px) {
  
  .container_header {
    height: auto;
    padding: 1rem 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
  }

  .container_header > header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
  }

  #logo_header {
    width: 100vw;
    height: a;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }

  #logo_header img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    max-width: 200px;
  }

  #hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 30px;
    height: 22px;
    margin-top: 1rem;
    cursor: pointer;
    margin-right: 20px;
  }

  #hamburger span {
    height: 4px;
    width: 100%;
    background-color: black;
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  #menu {
    display: none;
    flex-direction: column; 
    align-items: center;
    background: white;
    position: fixed;  
    max-width: 100vw; 
    overflow-x: hidden;
    top: 20px; /* Altura em relação ao topo da tela */
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
  }
  h1{
      z-index: -10;
  }
  #menu.active {
    display: flex;
    animation: fadeSlide 0.4s ease forwards;
  }

  #navegation {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    height: auto;
    width: 100vw;
  }

  #navegation li {
    opacity: 0;
    transition: all 0.5s;
    transform: translateY(20px);
    animation: fadeIn 0.5s ease forwards;
  }

  #menu.active #navegation li:nth-child(1) { animation-delay: 0.1s; }
  #menu.active #navegation li:nth-child(2) { animation-delay: 0.2s; }
  #menu.active #navegation li:nth-child(3) { animation-delay: 0.3s; }

  @keyframes fadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeSlide {
    from {
      opacity: 0;
      transform: translate(-50%, 10px);
    }
    to {
      opacity: 1;
      transform: translate(-50%, 0);
    }
  }

  #navegation > li:hover {
    background-color: rgb(5, 0, 78);
    color: white;
    border-radius: 7px;
    box-shadow: 2px 2px 40px rgba(0, 0, 0, 0.479);
    padding: 10px;
  }

    

  .container_footer {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #left_footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100vw;
  }

  #left_footer > ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  #left_footer > ul > li {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  #footer_center {
    align-items: center;
    width: 40%;
    height: auto;
    display: flex;
    justify-content: space-around;
    margin-top: 60px;
    margin-bottom: 40px;
  }
}

/*Responsivo celular*/
@media (max-width: 460px) {
  .container_header {
    height: auto;
    padding: 1rem 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .container_header > header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
  }

  #logo_header {
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }

  #logo_header img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    max-width: 200px;
  }
  h1{
    z-index: -10;
  }
  #hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 40px;
    height: 22px;
    margin-top: 1rem;
    cursor: pointer;
  }

  #hamburger span {
    height: 3px;
    width: 100%;
    background-color: black;
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  #menu {
    display: none;
    flex-direction: column; 
    align-items: center;
    background: white;
    position: fixed; /* Fixo na tela inteira */
    top: 20px; /* Altura em relação ao topo da tela */
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
}

  #menu.active {
    display: flex;
    animation: fadeSlide 0.4s ease forwards;
  }

  #navegation {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    height: auto;
    width: 100%;
  }

  #navegation li {
    opacity: 0;
    transition: all 0.5s;
    transform: translateY(20px);
    animation: fadeIn 0.5s ease forwards;
  }

  #menu.active #navegation li:nth-child(1) { animation-delay: 0.1s; }
  #menu.active #navegation li:nth-child(2) { animation-delay: 0.2s; }
  #menu.active #navegation li:nth-child(3) { animation-delay: 0.3s; }

  @keyframes fadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeSlide {
    from {
      opacity: 0;
      transform: translate(-50%, 10px);
    }
    to {
      opacity: 1;
      transform: translate(-50%, 0);
    }
  }

 

  .card_formulario_content h3 {
    margin-top: 0;
    font-size: 1.4rem;
    color: #333;
  }

  .container_footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #left_footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  #left_footer > ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  #left_footer > ul > li {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  #footer_center {
    align-items: center;
    width: 100%;
    height: auto;
    display: flex;
    margin-top: 60px;
    margin-bottom: 40px;
  }
  .footer_right{
    width: 80vw;
  }
}
