/*DEFINIÇÃO GERAL*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
}

header, section, footer {
    width: 100%;
}

/*DEFINIÇÃO MENU*/
main{
    position: relative;
}

header{
    height: 60px;
    background: linear-gradient(to right, #063c6e,#0c539f, #13c4a1);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 2;
}

header #logo{
    margin-left: 20px;
    font-size:22px ;
    width: 360px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}



header #logo img{
    width: 55px;
    height: 55px;
    border-radius: 50%;
    
}

header nav{
    margin-right: 20px;
}


.navlist{
  display: flex;
  justify-content: space-between;
  list-style: none;
  position: static;
  float: right;    
}

.navlist a{
  padding: 12px 30px;
  font-size: 19px;
  color: white;
}

.navlist a:hover{
  background: rgba(255, 255, 255, 0.596);
  border-radius: 5px;
}

.mobileMenu{
  cursor: pointer;
  display: none;
}

.mobileMenu div{
  width: 32px;
  height: 2px;
  background: #fff;
  margin: 8px;
}

@media (max-width: 999px) {

    .mobileMenu{
        display: block;
        z-index: 3;
    }

    .navlist{
        position: absolute;
        top: 60px;
        right: 0;
        width: 50vw;
        height: calc(100vh - 60px);
        background: linear-gradient(to right, #063c6e,#0c539f, #13c4a1);
        
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;

        transform: translateX(100%);
        transition: transform 0.4s ease;
    }

    .navlist li{
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    /* MENU ATIVO */
    .navlist.active{
        transform: translateX(0);
    }

    .navlist.active li{
        opacity: 1;
    }
}


footer{
    background: linear-gradient(to right, #063c6e,#0c539f, #13c4a1);
    color: white;
    font-size: 20px;
    height: 310px;
    text-align: center;
    padding: 10px 0px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap; 
}

.cor{
    color: rgb(255, 255, 255);
    margin: 70px;
    margin-bottom: 50px;
}

.cd :hover{
    text-decoration: underline;
    color: rgb(44, 44, 44);
}

.cp{
   
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.redes{
    background: #fff;
    width: 100%;
    height: 3px;
    
}

.social-icons{
    gap: 20px;
    font-size: 50px;
}

.co{
    color: rgb(255, 255, 255);
    margin: 20px;
    
}

section{
    background-image: url(/img/im32);
    margin: 0%;
     height: auto;
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat; 
    min-height: 500px;
    background-attachment: fixed;
    z-index: -1;
    
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    background: #fffcfc;
    font-family: Arial, sans-serif;
    color: white;
  }
  
  .container {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 40px;
    padding: 40px;
  }
  
  /* LADO ESQUERDO */

.left{
    margin-top: 80px;
}

  .left img {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 5px;
     box-shadow: 0px 6px 4px  rgba(0, 0, 0, 0.568);
  }
  
  .left h2 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #00365a;
  }
  
  .left p {
    color: #666565;
    margin-bottom: 20px;
  }
  
  .left a {
    text-decoration: none;
    color: rgb(1, 97, 114);
    font-size: 12px;
    border-bottom: 1px solid rgb(0, 88, 104);
  }
  
  /* LADO DIREITO */
  .right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
  }
  
  .top img {
    width: 100%;
    margin-bottom: 10px;
    
  }
  
  .top p {
    font-size: 12px;
    color: #00365a;
  }
  
  /* IMAGEM PRINCIPAL */
  .main-image img {
    width: 90%;
    height: 400px;
    border-radius: 3px;
     box-shadow: 0px 6px 4px rgba(0, 0, 0, 0.568);
  }
  
  /* IMAGENS PEQUENAS */
  .bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
   
  }
  
  .bottom img {
    width: 70%;
    height: 200px;
     border-radius: 5px;
     box-shadow: 0px 6px 4px rgba(0, 0, 0, 0.568);
  }

  /* ========================= */
/* RESPONSIVIDADE GERAL */
/* ========================= */

/* TABLET */
@media (max-width: 1024px) {
  .container {
    grid-template-columns: 40% 60%;
    gap: 20px;
    padding: 20px;
  }

  .left {
    margin-top: 100px;
  }

  .right {
    margin-top: 100px;
  }
}

/* MOBILE */
@media (max-width: 768px) {

  /* CONTAINER VIRA COLUNA */
  .container {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  /* AJUSTE DOS BLOCOS */
  .left,
  .right {
    margin-top: 80px;
  }

  /* TEXTO MAIS LEGÍVEL */
  .left h2 {
    font-size: 16px;
  }

  .left p {
    font-size: 14px;
  }

  /* IMAGENS */
  .main-image img {
    height: auto;
  }

  .bottom {
    grid-template-columns: 1fr 1fr;
  }

  /* FOOTER */
  footer {
    height: auto;
    padding: 20px;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    font-size: 16px;
  }

  .cp {
    flex-direction: column;
    gap: 20px;
  }

  .cor {
    margin: 10px;
  }

  .social-icons {
    font-size: 30px;
  }
}

/* MOBILE PEQUENO */
@media (max-width: 480px) {

  .bottom {
    grid-template-columns: 1fr;
  }

  .left a {
    font-size: 11px;
  }

  header #logo {
    width: auto;
    font-size: 16px;
  }

  header #logo img {
    width: 40px;
    height: 40px;
  }
}