/* Google Fonts */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* Padrões */

:root {
  --vermelho: #cc0000;
  --vermelho_escuro: #9A1915;
  --cinza: #D9D9D9;
  --preto: #000;
  --branco: #ffffff;
  --fonte_texto: "Montserrat", sans-serif;
}

/* Configurações Gerais */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--fonte);
}

/* Header */

.container_header {
  display: flex;
  align-items: center;
  gap: 0.33rem;
  padding: 0.5rem;
  background-color: var(--vermelho);
  height: 6rem;
}

.container_img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30%;
  height: 100%;
}

.container_img img {
  width: 70%;
  height: 80%;
}

.divisoria {
  background-color: var(--branco);
  width: 0.15rem;
  height: 80%;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 5rem;
  width: 70%;
}

.nav a {
  color: var(--branco);
  font-size: 20px;
  text-decoration: none;
  padding: 10px;
  border-radius: 15px;
  cursor: pointer;
  font-family: var(--fonte_texto);
}

.nav a:hover {
  background-color: var(--vermelho_escuro);
}

/* Menu */
.icon-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 35px;
  height: 24px;
  cursor: pointer;
  margin-right: 1rem;
}

.line1, .line2, .line3 {
   background-color: #ffffff;
   height: 4px;
   width: 100%;
   border-radius: 2px;
}

.menu-dropdown {
  display: none;
  background-color: #9a1915;
  position: absolute;
  top: 70px;
  right: 20px;
  width: 150px;
  border-radius: 8px;
  z-index: 10;
}

.menu-dropdown ul {
  list-style: none;
  padding: 20px;
  margin: 0;
  flex-direction: column;
}

.menu-dropdown ul li {
  margin: 0.1rem;
}

.menu-dropdown ul li a {
  text-decoration: none;
  font-size: 10px;
  color: #ffffff;
  font-size: 25px;
  display: block;
}

.menu-dropdown ul li a:hover {
  background-color: #5c0202;
  border-radius: 5px;
}

/* Main */

main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Banner */

.banner {
  width: 100%;
  height: 45rem;
  position: relative;
  display: inline-block;
}

.banner img {
  width: 100%;
  height: 100%;
}

.texto-banner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 10rem;
  padding: 10px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(7.9px);
  -webkit-backdrop-filter: blur(7.9px);
  border: 1px solid rgba(255, 255, 255, 0.18);

}

/* Navegação */

.navegacao {
  display: flex;
  padding: 2rem 0;
  justify-content: center;
  gap: 20%;
}

.navegacao a {
  background-color: var(--cinza);
  padding: 4px 30px;
  border-radius: 18px;
  text-decoration: none;
}

.navegacao a:hover {
  background-color: var(--vermelho);
}

.navegacao li {
  font-size: 15px;
  color: var(--preto);
  list-style-type: none;
}

.divisoria_nav {
  background-color: var(--vermelho);
  width: 10%;
  height: 0.2rem;
}

/* Noticias */

.container_frase {
  width: 750px;
  height: 500px;
  border: 1px solid;
  margin: auto;
  border-radius: 50px;
  margin-top: 1rem;
}

#container1 {
  background: linear-gradient(#00000050, #00000050), url(image/home/jose_alencar.jpeg) center no-repeat;
}

.texto1 {
  width: 650px;
  margin: 30px;
  margin-top: 200px;
  color: var(--branco);
  justify-content: center;
  text-align: center;
  font-size: 30px;
}

/* Simulados */

.simulado1 {
  margin: 30px;
  justify-content: space-between;
  border-radius: 20px;
}

.simulados ul {
  margin: 20px;
  right: 0;
}

.simulados li {
  display: inline-block;
  padding: 0 230px;
  color: var(--preto);
}

  .link{
    text-decoration: none;
  }

/* CARDS */
.container {
  color: rgb(0, 0, 0);
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 1rem;
  padding: 2rem;
}

.fileira {
  display: flex;
  width: 100%;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  align-items: center;
  gap: 1rem;

}

.card {
  margin: 10px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
}

.card:hover {
  transform: scale(1.1);
  cursor: pointer;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.card-simulados img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tag {
  background: #cccccc;
  border-radius: 50px;
  font-size: 12px;
  margin: 0;
  color: #fff;
  padding: 2px 10px;
  text-transform: uppercase;
  cursor: pointer;
}

.tag-teal {
  background-color: #47bcd4;
}

.tag-purple {
  background-color: #5e76bf;
}

.tag-pink {
  background-color: #cd5b9f;
}

.tag-green {
  background-color: lightgreen;
}

/* Discord */

.comunidade {
  margin: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.comunidade h1 {
  font-size: 40px;
  margin: 20px;
}

.comu-disc {
  text-align: center;
  margin: 50px;
}


.comu-text {
  text-align: center;
  margin: 10px;
}

.imagem_comunidade {
  display: flex;
  justify-content: center;
  align-items: center;
}

.imagem_comunidade img {
  width: 30%;
  height: 50%;
  cursor: pointer;
}

.imagem_comunidade .link-dics {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2em;
  background-color: rgba(154, 154, 154, 0.5);
  padding: 10px;
  border-radius: 5px;
}

/* Footer */

.footer-text {
  background-color: #9a1915;
  color: white;

}

.header-nav .nav-link {
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  margin: 6px;
  color: #ffffffff;
}

.footer {
  background-color: #9a1915;
  color: white;
  margin-top: 50px;
}

.footer .icones {
  background-color: #e30613;
}

.senai {
  width: 20%;
  display: inline-block;
  text-align: center;
  padding: 30px 0 20px 0;
  margin-left: 25%;
}

.senai h3 {
  text-align: left;
}

.senai p {
  text-align: left;
}

.sesi {
  width: 20%;
  display: inline-block;
  margin-left: 3%;
  text-align: center;
  padding: 0 0 20px 0px;
}

.sesi h3 {
  text-align: left;
}

.sesi p {
  text-align: left;
}

.footer .icones img {
  display: inline-block;
  margin-left: 25px;
  ;
}

.icones {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-text {
  background-color: #9a1915;
  color: white;
}



.img {
  width: 25%;
  margin-bottom: 300px;
  align-items: center;
}

.team {
  display: flex;
  justify-content: space-around;
  margin: 0px 0px 50px 0px;
  margin-left: 100px;
  margin-right: 100px;
}

.icones {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px 0;
  align-items: center;
  margin-left: -135px;
}

/* Estilos para dispositivos com largura máxima de 768px (Tablets) */
@media (max-width: 768px) {
  /* Header */
  .container_header {
    flex-direction: column;
    height: auto;
  }

  .container_img {
    width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
  }

  .container_img img {
    width: 50%;
  }

  .nav {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-bottom: 1rem;
  }

  .icon-menu {
    display: block;
    align-self: flex-end;
  }

  /* Banner */
  .banner {
    height: 25rem;
  }

  .texto-banner {
    font-size: 4rem;
    padding: 5px;
  }

  /* Cards */
  .fileira {
    flex-direction: column;
    gap: 1rem;
  }

  .card {
    width: 90%;
  }

  /* Comunidade */
  .comunidade h1 {
    font-size: 30px;
  }

  .imagem_comunidade img {
    width: 50%;
  }

  /* Footer */
  .enderecos {
    flex-direction: column;
    align-items: flex-start;
  }

  .senai, .sesi {
    width: 100%;
    text-align: left;
  }

  .footer .icones img {
    margin-left: 10px;
  }
}

/* Estilos para dispositivos com largura máxima de 480px (Celulares) */
@media (max-width: 480px) {
  /* Header */
  .nav {
    gap: 0.5rem;
  }

  .nav a {
    font-size: 14px;
  }

  /* Banner */
  .banner {
    height: 15rem;
  }

  .texto-banner {
    font-size: 2rem;
  }

  /* Cards */
  .fileira {
    gap: 0.5rem;
  }

  .card {
    width: 100%;
  }

  /* Comunidade */
  .comunidade h1 {
    font-size: 20px;
    margin: 1rem;
  }

  .imagem_comunidade img {
    width: 80%;
  }

  /* Footer */
  .footer {
    text-align: center;
  }

  .footer .icones {
    flex-wrap: wrap;
  }

  .icones img {
    width: 20px;
    height: 20px;
  }
}
