@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

@font-face {
  font-family: "CirceSlaB-B";
  src: url("../fonts/CIRCESLABB-BOLD.OTF") format("opentype"),
    url("../fonts/CIRCESLABB-BOLD.OTF") format("opentype");
  font-weight: normal; /* Peso da fonte (normal, bold, etc.) */
  font-style: normal; /* Estilo da fonte (normal, italic, etc.) */
}

@font-face {
  font-family: "CirceSlaB-B-Italic";
  src: url("../fonts/CIRCESLABB-BOLDITALIC.OTF") format("opentype"),
    url("../fonts/CIRCESLABB-BOLDITALIC.OTF") format("opentype");
  font-weight: normal; /* Peso da fonte (normal, bold, etc.) */
  font-style: normal; /* Estilo da fonte (normal, italic, etc.) */
}

:root {
  --green-main-banner: #bfd582;
  --main-green: #245539;
  --light-gray: #f5f2ec;
  --light-orange: #f3d19e;
  --main-orange: #d0962a;
  --main-green-hover: #42795a;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: var(--light-gray);
  font-family: "Open Sans", sans-serif;
}

h2 {
  font-family: "CirceSlaB-B";
  font-size: 2.5em;
  color: var(--main-green);
  margin: 0;
}

.header-grid {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0px;
  height: 100%;
}

.header-grid nav ul li a {
  color: var(--main-green);
  font-size: 1.2em;
}

.header-buttons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 50px;
}

.header-buttons a {
  text-decoration: none;
  color: var(--main-green);
  margin-right: 20px;
  border-radius: 50px;
  border: 1px solid var(--main-green);
  padding: 15px 60px;
  font-size: 1.2em;
  font-family: "Open Sans", sans-serif;
}

#button-1 {
  background-color: var(--main-green);
  color: white;
}

#item-2 {
  background-color: var(--green-main-banner);
  grid-row-start: 1;
  grid-column-start: 2;
  grid-row-end: 2;
  grid-column-end: 4;
  display: flex;
  justify-content: right;
  padding-top: 40px;
}

#item-3 {
  background-color: var(--green-main-banner);
  grid-row-start: 1;
  grid-column-start: 1;
  grid-row-end: 2;
  grid-column-end: 2;
  display: flex;
  justify-content: space-between; /* Adicionado para alinhar o logo à esquerda e o menu à direita */
  align-items: center; /* Centraliza verticalmente o conteúdo dentro do #item-0 */
  padding-top: 40px;
}

.logo {
  margin: 0;
}

.logo img {
  width: 40%;
  margin-left: 50px; /* Ajuste conforme necessário */
}

nav ul {
  display: flex; /* Isso fará com que os itens do menu fiquem lado a lado */
  list-style: none; /* Remove os marcadores padrão da lista */
  padding: 0; /* Remove o padding padrão da lista */
}

nav ul li {
  margin-right: 20px; /* Adiciona espaço entre os itens do menu, ajuste conforme necessário */
}

nav ul li a {
  text-decoration: none; /* Remove o sublinhado dos links */
  color: #000; /* Cor do texto dos links, ajuste conforme necessário */
}

.logo img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40%;
  margin-left: 50px;
}

.angry-grid {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 0px;
  height: 100%;
}

#item-0 {
  background-color: var(--green-main-banner);
  grid-row-start: 1;
  grid-column-start: 1;

  grid-row-end: 2;
  grid-column-end: 2;
}
#item-1 {
  background-color: var(--green-main-banner);
  grid-row-start: 1;
  grid-column-start: 2;

  grid-row-end: 2;
  grid-column-end: 3;
}

.nutty-campaing {
  text-align: center;
  margin-top: 50px;
}

.nutty-campaing p {
  font-size: 1.5em;
  color: var(--main-green);
  margin-bottom: 50px;
  padding: 0 100px;
}

.cta-footer {
  background-color: var(--light-orange);
  display: flex;
  justify-content: center;
  padding-bottom: 50px;
}

.cta-footer a {
  padding: 15px 70px;
  background-color: var(--main-green);
  color: white;
  text-decoration: none;
  font-size: 1.5em;
  font-weight: 700;
}

.cta-footer a:hover {
  background-color: var(--main-green-hover);
  color: white;
  text-decoration: none;
}

.nutty-campaing a {
  padding: 15px 70px;
  background-color: var(--main-green);
  color: white;
  text-decoration: none;
  font-size: 1.5em;
  font-weight: 700;
}

.nutty-campaing a:hover {
  background-color: var(--main-green-hover);
  color: white;
  text-decoration: none;
}

.nutty-campaing img {
  width: 66%;
}

.nutty-campaing-beca {
  text-align: center;
}

.nutty-campaing-beca img {
  width: 100%;
  display: flex;
}

.container {
  display: flex;
  background-image: url("../images/Elementos.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-size: 100%;
}

.container-vote {
  background-image: url("../images/Elementos.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-size: 100%;
  padding: 60px 100px;
}

.left-column,
.right-column {
  flex: 1;
  text-align: center;
  margin-top: 80px;
}

.left-column p {
  padding: 10px 120px;
  font-size: 1.2em;
  color: var(--main-green);
}

.left-column p span {
  font-weight: 700;
}

.left-column .image-bg {
}

.left-column h1 {
  font-family: "CirceSlaB-B-Italic";
  font-size: 3em;
  color: var(--main-green);
  text-align: left;
  padding-left: 140px;
  font-weight: 700;
}

.right-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.button {
  margin-top: 20px;
  padding: 15px 60px;
  background-color: var(--main-orange);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.3em;
  font-weight: 700;
}
.button:hover {
  background-color: var(--light-orange);
}
.image {
  width: 100%;
  height: auto;
}

.subscribe-rules {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  background-color: var(--light-orange);
}

.image-div {
  width: 100%;
  height: auto;
  object-fit: cover;
  background-color: var(--light-orange);
  margin-top: 50px;
}

.image-div img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.card {
  width: 16%; /* Ajuste a largura conforme necessário */
  padding: 20px;
  text-align: center;
}
.card h3 {
  margin-top: 0;
}
.card p {
  line-height: 1.6;
  text-transform: uppercase;
  font-family: "Lato", sans-serif;
}
.card img {
  width: 72px;
  height: 64px;
  border-radius: 10px;
}

.footer {
  background-color: #1a472a; /* Cor de fundo verde */
  color: white;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-content {
  width: 100%;
  max-width: 1200px; /* Largura máxima do conteúdo */
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  max-width: 100px; /* Ajuste conforme o tamanho do seu logo */
}

.footer-links {
  display: flex;
  gap: 20px; 
  flex-flow: column;
  text-align: center;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-social a {
  display: inline-block;
  margin-left: 20px;
}

.footer-social img {
  width: 24px; /* Tamanho dos ícones */
  height: auto;
}

.instagram-gallery {
  display: flex;
  justify-content: center; /* Espaço igual entre cada embed */
  max-width: 70%; /* Certifique-se de que a galeria não exceda a largura da tela */
  gap: 10px; /* Espaço entre os embeds */
  margin: 20px auto; /* Centralize a galeria */
}

.instagram-media {
  flex: 1; /* Cada embed tentará ocupar o mesmo espaço na linha */
  min-width: 0; /* Isso evita que o embed cresça além do espaço disponível */
  max-width: calc(20% - 10px); /* Ajuste o espaçamento baseado no 'gap' acima */
}

/* Estilo para indicar campo inválido */
.invalid {
  border: 2px solid red;
}

.participants-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.participant {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  flex: 1 1 calc(45.333% - 20px);
  box-sizing: border-box;
  transition: background-color 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 300px; /* Defina uma altura mínima */
}

.participant .media-placeholder {
  width: 100%;
  height: 550px;
  background-color: #f0f0f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.participant img, .participant video {
  max-width: 75%;
  max-height: 100%;
  border-radius: 10px;
  display: block;
}

.participant p {
  margin: 10px 0;
  font-weight: bold;
}

.participant a {
  color: var(--main-orange);
  text-decoration: none;
}

.participant a:hover {
  color: var(--light-orange);
}


.participant button {
  background-color: var(--main-orange);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

.participant.selected {
  background-color: #f0f0f0;
}

.participant.selected button {
  background-color: #28a745;
}

.participant.not-selected {
  background-color: #f0f0f0;
}

form input{
  font-size: 16px;
}

/* Media query para responsividade */
@media (max-width: 768px) {
  .participant {
      flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .participant {
      flex: 1 1 100%;
  }
}

.subtitle-partipants {
  text-align: center;
  margin-top: 50px;
  font-family: "CirceSlaB-B-Italic";
  font-size: 2em;
  color: var(--main-green);
}

.container-register {
  display: flex;
  justify-content: center;
  margin: 50px;
}

.form-container {
  background-color: #c1e1c1; /* Cor de fundo do formulário */
  padding: 20px;
  border-radius: 33px 0px 0px 33px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 400px; /* Ajuste conforme necessário */
}

.form-container p {
  font-size: 1em;
  font-family: "Lato", sans-serif;
  color: var(--main-green);
  margin: 0;
  margin-bottom: 20px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
textarea {
  width: 100%;
  padding: 15px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 20px;
  box-sizing: border-box;
}

button {
  width: 100%;
  padding: 15px;
  background-color: #4caf50; /* Cor do botão */
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
}

button:hover {
  background-color: #45a049;
}

.image-container {
  width: 35%; 
  background-image: url("../images/cadastro.png"); 
  background-size: cover;
  background-position: center;
  border-radius: 0px 33px 33px 0px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; 
}

.alert-box {
  background: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.alert-box p {
  margin-bottom: 20px;
}

.alert-box button {
  padding: 5px 10px;
  background: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.alert-box button:hover {
  background: #45a049;
}

.modal {
  display: none; 
  position: fixed; 
  z-index: 1; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4); 
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto; 
  padding: 20px;
  border: 1px solid #888;
  width: 80%; 
  text-align: center;
  border-radius: 25px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1024px) {
  .nutty-campaing p {
    font-size: 1.1em;
  }
  .left-column p {
    padding: 10px 25px;
  }
  .button {
    font-size: 1em;
    width: 85%;
  }
  .left-column h1 {
    padding-left: 25px;
  }
}

@media (max-width: 768px) {

  .nutty-campaing p {
    padding: 0 25px;
    font-size: 0.8em;
    margin-bottom: 25px;
  }

  .left-column h1 {
    font-size: 2em;
  }

  .left-column p {
    font-size: 0.8em;
  }

  .button {
    font-size: 0.7em;
    padding: 15px 30px;
  }

  .card p {
    font-size: 0.8em;
  }

  .cta-footer a {
    padding: 10px 60px;
    font-size: 0.7em;
  }

  .header-buttons a {
    padding: 15px 15px;
    font-size: 0.7em;
  }

  .logo img {
    width: 100%;
    margin-left: 50px;
  }

  nav ul {
    margin-left: 70px;
  }

  nav ul li {
    font-size: 0.7em;  
  }

  .nutty-campaing a {
    font-size: 0.7em;
  }

  .nutty-campaing p {
    font-size: 0.8em;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    margin-top: 20px;
    flex-direction: column;
    gap: 10px;
  }

  .footer-social {
    margin-top: 20px;
  }

  .footer-social a {
    margin: 0 10px;
  }
}

@media(max-width: 480px) {
  .nutty-campaing-beca img {
    margin-top: 100px;
  }

  .header-buttons a {
    text-align: center;
    margin-right: 0;
  }

  .container {
    display: block;
  }

  .left-column {
    margin-top: 0;
  }
  
  .left-column h1 {
    margin: 0;
    text-align: center;
    padding-top: 60px;
  }

  .subscribe-rules {
    display: block;
    text-align: -webkit-center;
  }
  .card {
    width: 100%;
    padding: 0;
  }
  .card p {
    font-size: 1em;
  }

  .cta-footer a {
    padding: 15px 60px;
    font-size: 1em;
  }
}

@media (max-width: 479px) {

  #item-3 {
    display: block;
  }

  .image-container {
    display: none;
  }

  .logo {
    text-align: -webkit-center;
  }

  .logo img {
    width: 60%;
    margin: 0;
  }

  nav {
    display: none;
  }

  .image-div {
    margin-top: 0;
  }

  .container {
    background-color: white;
  }

  .right-column {
    margin-top: 10px;
  }

  #item-2 a {
    display: none;
  }

  .header-buttons a {
    padding: 15px 10px;
    font-size: 0.7em;
  }

  .angry-grid {
    display: block;
    background-color: #bfd582;
  }

  .nutty-campaing {
    margin-top: 0;
  }

  .nutty-campaing-beca img {
    margin-top: 10px;
  }

  .cta-footer a {
    padding: 15px 40px;
    font-size: 0.7em;
  }

  .nutty-campaing a {
    padding: 15px 40px;
    font-size: 0.7em;
  }

  .nutty-campaing p {
    font-size: 0.7em;
  }

  .card p {
    font-size: 0.7em;
  }

  .footer-links a {
    font-size: 0.7em;
  }

  .footer-social img {
    width: 20px;
  }

  .form-container {
    border-radius: 0;
  }

  #item-2 {
    display: none;
  }

  .header-grid {
    display: block;
  }

  .container-vote{
    padding: 60px 10px;
  }

}
