body {
  margin: 0;

  overflow-x: hidden;
}

html{
  scroll-behavior: smooth;
}
header {
  position: absolute;
  width: 100%;
  height: auto;
  z-index: 2;
  box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.288);
}

.navbar-brand {
  position: absolute;
  
  left: 50px;
}

.navbar-brand::after {
  content: '';
  position: absolute;
  bottom: 0;
  background-color: white;
  left: 50%;
  height: 3px;
  width: 0;
  border-radius: 50px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.navbar-brand:hover::after {
  width: 100%;
}

.nav-item {
  display: flex;
  margin: auto;
  position: relative;
  z-index: 3;
  font-size: 100%;
  transition: color 0.3s ease;

}
.nav-link:hover {
  color: rgb(255, 255, 255);
}

.navbar-nav {
  display: flex;
  margin: auto;
  z-index: 3;
  font-size: 20px;
  position: relative;
  top: 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  background-color: white;
  left: 50%;
  height: 3px;
  width: 0;
  border-radius: 50px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-item:hover::after {
  width: 100%;
}
.navbar-expand-lg {
  position: relative;
  z-index: 2;
  background: linear-gradient(#336FA5, #002242);
}
.main {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  gap: 5rem;
  z-index: 0;
  background-color: #002242;
  position: relative;
}


.main-content {
  position: relative;
  justify-content: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50rem;
  height: 4rem;
  z-index: 1;
}
video{

  width: 80%;
  height: 100%;
}
/* PARTES QUE SE MOVEM NO BACKGROUND DA MAIN!!!*/
.background {
  position: absolute;
  z-index: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  overflow: hidden;
  background: linear-gradient(to bottom, #002242, #01111f);

}

.bar1 {
  position: absolute;
  left: -15%;
  z-index: 1;
  height: 5rem;
  width: 50rem;
  background-color: #336FA5;
  border-radius: 50px;
  rotate: -135deg;
  animation: slide-smooth 10s linear infinite;
}

.bar2 {
  position: absolute;
  top: 0%;
  left: -30%;
  z-index: 1;
  height: 5rem;
  width: 50rem;
  background-color: #01111f;
  border-radius: 50px;
  rotate: -135deg;
  animation: slide-smooth 10s linear infinite;
}

.bar3 {
  position: absolute;
  top: 40%;
  left: -15%;
  z-index: 1;
  height: 6rem;
  width: 50rem;
  background-color: #033666;
  border-radius: 50px;
  rotate: -135deg;
  animation: slide-smooth 10s linear infinite;
}

.bar4 {
  position: absolute;
  top: 60%;
  right: -15%;
  z-index: 1;
  height: 6rem;
  width: 30rem;
  background-color: #033666;
  border-radius: 50px;
  rotate: -135deg;
  animation: slide-smooth 10s linear infinite;
}

.bar5 {
  position: absolute;
  top: 60%;
  right: 7%;
  z-index: 1;
  height: 6rem;
  width: 35rem;
  background-color: #336FA5;
  border-radius: 50px;
  rotate: -135deg;
  animation: slide-smooth 10s linear infinite;
}

.bar6 {
  position: absolute;
  top: 47.5%;
  right: -10%;
  z-index: 1;
  height: 6rem;
  width: 35rem;
  background-color: #002242;
  border-radius: 50px;
  rotate: -135deg;
  animation: slide-smooth 10s linear infinite;
}

.bar7 {
  position: absolute;
  top: 50%;
  right: 20%;
  z-index: 1;
  height: 6rem;
  width: 35rem;
  background-color: #033666;
  border-radius: 50px;
  rotate: -135deg;
  animation: slide-smooth 10s linear infinite;
}

.bar8 {
  position: absolute;
  top: 90%;
  right: 10%;
  z-index: 1;
  height: 6rem;
  width: 35rem;
  background-color: #01111f;
  border-radius: 50px;
  rotate: -135deg;
  animation: slide-smooth 20s linear infinite;
}


.main-p {
  font-family: monospace;
  font-size: 1.5rem;
  margin: 3rem;
}


/*animação do background*/
@keyframes slide-smooth {
  0% {
    transform: translateX(calc(-100% - 50rem)) rotate(10deg);
    opacity: 1;
  }

  100% {
    transform: translateX(100vw) rotate(10deg);
    opacity: 1;
  }
}

.bar1,
.bar2,
.bar3,
.bar4,
.bar5,
.bar6 {
  animation: slide-smooth 15s linear infinite;
}

.bar1 {
  animation-delay: -0s;
}

.bar2 {
  animation-delay: -2s;
}

.bar3 {
  animation-delay: -4s;
}

.bar4 {
  animation-delay: -6s;
}

.bar5 {
  animation-delay: -8s;
}

.bar6 {
  animation-delay: -10s;
}

.bar7 {
  animation-delay: -12s;
}

.bar8 {
  animation-delay: -14s;
}

.bar9 {
  animation-delay: -16s;
}
@media (min-width: 320px)and (max-width: 1440px) {

  html,
  body {
    margin: 0;
    overflow-x: hidden;
  }

  .main {
    width: 100%;
  }

  .background {
    position: absolute;
    z-index: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    overflow: hidden;
    pointer-events: none;
    top: 0;
    left: 0;
  }

  .arrow {
    position: absolute;
    top: 17rem;
  }

  .nav-item {
    left: 0%;
  }

  .row {
    width: 107%;
  }

  .lead,
  .display-5,
  .btn-primary {
    margin-left: 10px;
  }

  .btn-outline-secondary {
    margin-left: 10px;
  }
}



@media(min-width:320px) and (max-width:992px) {
  .navbar-brand {
    position: relative;
  }

  .img1 {
    position: relative;
    height: 40%;
    width: 75%;
    margin-top: -5%;
    border-radius: 10%;
  }

video{
margin: auto;
  width: 45%;
  height: 50%;
}

  .lead {
    margin-left: -1%;
  }

  .sessao1 {
    background-color: #01111f;
    position: relative;
    height: 110vh;
    width: 100%;
  }
}
.sessao1 {
    background-color: #01111f;
    position: relative;
    height: 40vh;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
.sessao2 {
    background-color: #01111f;
    position: relative;
    height: 70vh;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
@media (min-width: 768px) and (max-width:1024px) {
  .sessao-paragraph {
    font-size: 150%;
  }
}

@media (min-width:1440px) {
  .sessao-paragraph {
    font-size: 200%;
  }
}

@media (min-width: 992px) {
  .rounded-lg-3 {
    border-radius: .3rem;
  }

}
.video-container{
  position: relative;
  height: 25rem;
  width: 100rem;
display: flex;
justify-content: center;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0px);
  }
}
.sessao-paragraph, h1, h2 {
    
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}
.cards-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap; /* Permite quebrar linha em telas menores */
  padding: 20px;
  position: absolute;
  z-index: 10;
}

.card {
  text-align: center;
  text-decoration: none;
  color: white;
  background: #0d6efd;
  border-radius: 20px;
  padding: 15px;
  flex: 1 1 200px; /* Faz os cards se ajustarem */
  max-width: 250px;
  transition: transform 0.2s;
}

.card:hover {
  transform: scale(1.05);
}

.circle {
  border-radius: 50%;
  background: #0d6efd;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Tamanhos dos círculos */
.card.pequeno .circle {
  width: 100px;
  height: 100px;
}

.card.medio .circle {
  width: 130px;
  height: 130px;
}

.card.grande .circle {
  width: 160px;
  height: 160px;
}

.card p {
  margin-top: 10px;
  font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 1024px) {
  .cards-container {
    gap: 1.5rem;
  }

  .card {
    max-width: 200px;
  }

  .card.medio .circle {
    width: 110px;
    height: 110px;
  }

  .card.grande .circle {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 600px) {
  .cards-container {
    flex-direction: column;
    align-items: center;
  }

  .card {
    max-width: 90%;
  }

  .circle {
    font-size: 1rem;
  }
}
