*{text-decoration: none;
    margin: 0;
    padding: 0;
    align-items: center;
    }

body{
  width: 100%;
  height: auto;
  overflow-x: hidden;
}
header{
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
}
.navbar{
  width: 100%;
}
#logo{
  width: 190px;
  height: 80px;
  display: flex;
  margin-right: 50px;
  justify-content: start;
  align-items: center;
}
#logo img{
  width: 70%;
  height: 70%;
  margin-left: 70px;
  cursor: pointer;
} 
.navegation{
  width: 70%;
  margin: auto;
  height: 40px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.navegation a{
  color: #003334;
}
.login{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  width: 80px;
  height: 40px;
  background-color: #00BFFF;
  text-align: center;
  margin-left: 100px;
}
.login a{
  color: white;
}

.direitaD1{
    position: relative;
    width: 1300px;
    height: 300px;
    margin: 30px 250px;
    border-radius: 20px;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    text-align: center;
    background: -webkit-gradient(linear, left top, right top, from(#00CCCB), to(#278d8b));
    color: #fafafa;
    font-size: 20px;
}

#direitaD{
    margin-left: 210px;
}
#paraDireitaD{
  margin-left: 400px;
  margin-right: 150px;
}

#autonomaD{
    position: absolute;
    z-index: 1;
    margin-left: 150px;
    margin-top: 50px;
    height: 250px;
    width: 400px;
}

.esquerdaD{
    position: relative;
    width: 85%;
    height: 300px;
    margin: 30px -100px;
    border-radius: 20px;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    text-align: center;
    background: -webkit-gradient(linear, left top, right top, from(#00CCCB), to(#278d8b));
    color: #fafafa;
    font-size: 25px;
}

#esquerdaTD{
    margin-left: -320px;
}
#paraEsquerdaD{
  margin-left: 100px;
  margin-right: 400px;
}

#solarD{
    position: absolute;
    z-index: 1;
    margin-left: 900px;
    height: 250px;
    width: 400px;
    margin-top: 30px;
}

.direitaD2{
    position: relative;
    width: 85%;
    height: 300px;
    margin: 30px 250px;
    border-radius: 20px;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    text-align: center;
    background: -webkit-gradient(linear, left top, right top, from(#00CCCB), to(#278d8b));
    color: #fafafa;
    font-size: 25px;
}

#direitaD{
    margin-left: 210px;
}
#paraDireitaD{
  margin-left: 400px;
  margin-right: 150px;
}

#eletricoD{
    position: absolute;
    z-index: 1;
    margin-top: 30px;
    margin-left: 150px;
    height: 250px;
    width: 400px;
}

footer {
  background-color: #1E1E1E;
  color: white;
  width: 100%;
  height: 300px;
}

.banner {
  text-align: center;
  padding: 40px;
  color: white;
  font-size: 25px;
}

.footer-grupo {
  display: flex;
  justify-content: center;
  gap: 100px;
  padding: 20px;
}

.footer-texto a {
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

#central:hover{
  color: #0088cc;
}

#perguntas:hover {
  color: #0088cc;
}

.logo {
  position: absolute;
  margin-top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
}

.logo img {
  width: 130px;
  height: 80px;
  margin-right: 10px;
}

.social {
  position: absolute;
  top: 1150px;
  right: 20px;
  display: flex;
  gap: 10px;
}

h1, h2, div{
  font-family: inter;
}
p{
  font-family: inter;
  font-size: 15px;
}
@font-face{
  font-family: inter;
  src:url(../fonte/Inter-VariableFont_opsz\,wght.ttf)
}



  @media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }
    #logo{
      width: 35%;
  }
  .navegation{
    width: 85%;
    flex-wrap: wrap;
    padding: 18px;
  }

  .login{
    align-items: center;
    right: 35px;
  }
    .direitaD1, .esquerdaD, .direitaD2 {
        width: 90%;
        margin: 20px auto;
        padding: 10px;
    }
    #paraDireitaD, #paraEsquerdaD {
        margin: 10px auto;
        max-width: 90%;
    }
    #autonomaD, #solarD, #eletricoD {
       display: none;
    }

   #esquerdaTD{
    margin-left: 30px;
   }

   #direitaD, #direitaD2{
    margin-right: 210px;
   }
   .principalFD, #footerD2 {
        flex-direction: column;
    }

    .social{
      display: none;
    }

    .banner{
      font-size: 19px;
      margin-left: 60px;
    }
}