/* Estilo geral */
html {
  scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
  }
  
  header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: background-color 0.5s, box-shadow 0.3s;
  }
  
  #navbar {
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    backdrop-filter: blur(10px);

  }
  .nav-links a:hover {
    color: #004AAD; /* Cor de destaque ao passar o mouse */
    text-decoration: underline; /* Sublinhado ao passar o mouse */
}

  
  .logo img{
  height: 90px; /*aq vc altera o tamanho da logo*/
  margin-top: 0px;
  
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    margin-right: 10px;
  }
  
  
  .nav-links li {
    margin-top: -10px; 
    margin-left: 20px;
    
  }
  
  .nav-links a {
    text-decoration: none;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
    font-size: 15px; /*aq o tamanho dos links da navbar*/
    color: #000;
    font-weight: bold;
    transition: color 0.5;
  }
  
  #hero {
    height: 100vh;
    background-image: url('fundo.jpg');
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    text-align: center;
  }
  
  #INTRODUCAO {
    padding: 50px 50px;
    text-align: center;
    background-color: #11114E;
  }
  
  .home_titulo {
    margin-bottom: 20px;
    font-size: 50px;
  }
  
  .home_subtitulo{
    font-size: 20px;
    margin-bottom: 35px;
  }
  
  /*O span aq*/
  .span_title {
    color: #003b88; 
  }

  .span_title2 {
    color: white; 
  }
  
  .section_title {
    font-size: 35px;
    color: black;
    text-align: center;
    
  }
  .botao_home {
    background-color: #004AAD;
    color: #fff;
    font-family: "Lato", sans-serif;
    padding: 15px;
    text-decoration: none;
    margin-top: 80px;
    width: 200px;
    border: none;
    border-radius: 30px;
    font-size: 20px;
    transition: 0.3s;
  }
  
  .botao_home:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgb(17, 17, 19, 0.534);
    cursor: pointer;
  }
  
  /* Estilo da navbar quando rolar */
  .scrolled {
    background-color: white;
  }
  
  .scrolled .nav-links a {
    color: black;
  }
  .scrolled .nav-links a:hover {
    color: #004AAD;
  }

  
  .scrolled .logo {
    color: black;
  }
  
  #origem {
    padding: 50px 50px;
    text-align: center;
    background-image: url("Screenshot\ 2024-09-20\ 190343.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    
  }



  a {
    text-decoration: none;
}

 
  
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    margin-top: 10px;
  }
  
  .container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 150px;
    width: 4px;
    height: 100%;
    background-color: #5CE1E6;
    z-index: 0;
  }
  
  .single-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 20px 0;
    width: 100%;
    position: relative;
    transition: 0.5s;
  }
  
  .single-box:hover {
    transform: scale(1.1);
    cursor: pointer;
  }
  
  .contentt {
    background: #fff;
    color: #000;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: calc(100% - 100px);
    z-index: 1;
    display: flex;
    align-items: center;
    transition: 0.5s;
  }
  
  .contentt:hover {
    box-shadow: 0 4px 8px rgba(4, 16, 150, 0.579);
  }
  
  .hist {
    height: 200px;
    margin-right: 20px;
  }
  
  .contentt h2,
  .contentt h3,
  .contentt p {
    margin: 0;
  }
  
  .box-right .date-area {
    order: 2;
    margin-right: 0;
    margin-left: 20px;
  }
  
  .box-right .contentt {
    order: 1;
    text-align: right;
  }
  
  .contentt-right {
    background: #fff;
    color: #000;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: calc(100% - 100px);
    z-index: 1;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    transition: 0.5s;
  }
  
  .hist-right {
    height: 200px;
    margin-left: 10px;
  }
  
  .contentt-right h2,
  .contentt-right h3,
  .contentt-right p {
    margin: 0;
    margin-left: 30px;
  }
  
  .contentt-right:hover {
    box-shadow: 0 4px 8px rgba(4, 16, 150, 0.579);
  }
  
  .date-area {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #004AAD;
    color: #fff;
    font-size: 20px;
    width: 180px;
    height: 70px;
    border-radius: 50%; 
    z-index: 1;
    margin-right: 20px;
  }

 

.origem_section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.15); /* Fundo suave para destacar o conteúdo */
    border-radius: 10px;
}

.origem_section img {
    width: 350px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.origem_section img:hover {
    transform: scale(1.05); /* Efeito de zoom na imagem ao passar o mouse */
}

.origem_text {
    max-width: 60%;
    padding-right: 20px;

    font-size: 1.2em;
    line-height: 1.8;
}

.origem_text_full {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    font-size: 1.1em;
    line-height: 1.7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.origem_text_full p {
    margin: 0;
}

@media (max-width: 768px) {
    .origem_section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .origem_text {
        max-width: 100%;
        padding-right: 0;
    }

    .origem_section img {
        margin-top: 20px;
    }
}
  #CONCEITOS {
    margin-top: 150px;
    text-align: center;
    padding: 50px 50px;
    background-color: #11114E;
  }

  .caixinha{
    background-color: #fff;
    border-left: 8px solid #5CE1E6;
    border-right: 8px solid #5CE1E6; /* Borda colorida na esquerda */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 2; /* Faz a caixinha ocupar mais espaço */
    
}
.caixinha p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #333;
}

.imagem_caixinha img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex: 1; /* Faz a imagem ocupar menos espaço */
}

/* botão de acessibilidade */
.font-size-controls {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
}

.font-size-button {
  padding: 10px;
  font-size: 16px;
  background-color: #007BFF;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.font-size-button:hover {
  background-color: #0056b3;
}

.icon {
  width: 24px;
  height: 24px;
}

/* teste */
#SOBRE {
  text-align: center;
  padding: 50px 20px;
  background-color: #f9f9f9;
}

/* Container dos cards */
.cards-container {
  display: flex;
  justify-content: center;  /* Centraliza os cards horizontalmente */
  align-items: center;      /* Alinha os cards verticalmente */
  gap: 20px;                /* Espaçamento entre os cards */
  flex-wrap: wrap;          /* Permite que os cards quebrem de linha */
  max-width: 1200px;        /* Define uma largura máxima para o container */
  margin: 0 auto;           /* Centraliza o container na página */
}

/* Estilo do card */
.card {
  width: 250px;
  height: 300px;
  perspective: 1000px; /* Perspectiva para criar o efeito de rotação 3D */
}

.card-content {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease-in-out;
}

/* Frente do card com a imagem */
.card-front {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover; /* A imagem cobrirá o card */
  background-position: center;
  border-radius: 10px;
  backface-visibility: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Parte de trás do card */
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background-color: #fff;
  color: #333;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transform: rotateY(180deg); /* Esconde a parte de trás inicialmente */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-back h3 {
  margin-bottom: 15px;
  font-size: 20px;
  font-family: "Montserrat", sans-serif;
}

.card-back p {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  text-align: center;
}

/* Efeito de rotação ao passar o mouse */
.card:hover .card-content {
  transform: rotateY(180deg);
}

/* CARDS COTIDIANO */


.cardizinho_container{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* Garante que os cards se ajustem em diferentes tamanhos de tela */
  gap: 20px; /* Espaçamento entre os cards */
  padding: 20px;
}

:root {
  /* Colors */
  --brand-color: #5CE1E6;
  --black: hsl(0, 0%, 0%);
  --white: hsl(0, 0%, 100%);
  /* Fonts */
  --font-titlezin: "Montserrat", sans-serif;
  --font-text: "Lato", sans-serif;
}

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.cardizinho {
  flex: 1;
  min-width: 250px; /* Largura mínima dos cards */
  max-width: 300px; /* Largura máxima para impedir cards muito grandes */
  height: 350px; /* Ajuste na altura dos cards */
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 0.625rem;
  box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
}

.cardizinho > * {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.card__background {
  object-fit: cover;
  max-width: 100%;
  height: 100%;
}

.flow > * + * {
  margin-top: var(--flow-space, 1em);
}

.card__contenti {
  --flow-space: 0.9375rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: flex-end;
  height: 80%; 
  padding: 12% 1.25rem 1.875rem;
  background: linear-gradient(
    180deg,
    hsla(0, 0%, 0%, 0) 0%,
    hsla(0, 0%, 0%, 0.3) 10%,
    hsl(0, 0%, 0%) 100%
  );
}

.card__content--container {
  --flow-space: 1.25rem;
}

.card__titlezin {
  position: relative;
  width: fit-content;
  width: -moz-fit-content; /* Prefijo necesario para Firefox  */
  color: white;
}

.card__titlezin::after {
  content: "";
  position: absolute;
  height: 0.3125rem;
  width: calc(100% + 1.25rem);
  bottom: calc((1.25rem - 0.5rem) * -1);
  left: -1.25rem;
  background-color: var(--brand-color);
}

.card__button {
  padding: 0.75em 1.6em;
  width: fit-content;
  width: -moz-fit-content; /* Prefijo necesario para Firefox  */
  font-variant: small-caps;
  font-weight: bold;
  border-radius: 0.45em;
  border: none;
  background-color: var(--brand-color);
  font-family: var(--font-title);
  font-size: 1.125rem;
  color: var(--black);
}

.card__button:focus {
  outline: 2px solid black;
  outline-offset: -5px;
}

.card__description {
  color: white;
}

@media (any-hover: hover) and (any-pointer: fine) {
  .card__contenti {
    transform: translateY(62%);
    transition: transform 500ms ease-out;
    transition-delay: 500ms;
  }

  .card__titlezin::after {
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 1000ms ease-in, transform 500ms ease-out;
    transition-delay: 500ms;
    transform-origin: right;
  }

  .card__background {
    transition: transform 500ms ease-in;
  }

  .card__content--container > :not(.card__titlezin),
  .card__button {
    opacity: 0;
    transition: transform 500ms ease-out, opacity 500ms ease-out;
  }

  .card:hover,
  .card:focus-within {
    transform: scale(1.05); 
    transition: transform 500ms ease-in;
  }

  .cardizinho:hover .card__contenti,
  .cardizinho:focus-within .card__contenti {
    transform: translateY(0);
    transition: transform 500ms ease-in;
  }

  .cardizinho:focus-within .card__contenti {
    transition-duration: 0ms;
  }

  .cardizinho:hover .card__background,
  .cardizinho:focus-within .card__background {
    transform: scale(1.3);
  }

  .cardizinho:hover .card__content--container > :not(.card__titlezin),
  .cardizinho:hover .card__button,
  .cardizinho:focus-within .card__content--container > :not(.card__titlezin),
  .cardizinho:focus-within .card__button {
    opacity: 1;
    transition: opacity 500ms ease-in;
    transition-delay: 1000ms;
  }

  .cardizinho:hover .card__titlezin::after,
  .cardizinho:focus-within .card__titlezin::after {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
    transition: opacity 500ms ease-in, transform 500ms ease-in;
    transition-delay: 500ms;
  }
}


