body {
  margin: 0;

  overflow-x: hidden;
}

html{
  scroll-behavior: smooth;
}
header {
  position: absolute;
  width: 100vw;
  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;
  align-items: center;
  width: 50rem;
  height: 4rem;
  z-index: 1;
}

/* 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: -45deg;
  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: -45deg;
  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: -45deg;
  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: -45deg;
  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: -45deg;
  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: -45deg;
  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: -45deg;
  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: -45deg;
  animation: slide-smooth 20s linear infinite;
}


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

/*ANIMAÇÃO QUE FAZ PISCAR*/
@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  50.01%,
  100% {
    opacity: 0;
  }
}

/*ANIMAÇÃO DE BOUNCE*/
@keyframes bounce {
  0% {
    transform: translateY(0%);
  }

  50% {
    transform: translateY(-20%);
  }
}
/*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;
}

.arrow {
  position: absolute;
  top: 15rem;
  color: white;
  animation: bounce infinite 0.7s;
}
.btn-home{
  padding: 20px;
  text-decoration: none;
  color: white;
}
  .sessao8 {
    background: linear-gradient(#01111f, #033666);
    position: relative;
    height: 40vh;
    width: 100%;
    display: block;
    align-content: end;
  }

#typing {
  position: relative;
  z-index: 300;
  font-size: 65px;
  margin: 10px;
  color: white;
}

#typing::after {
  content: "|";
  position: relative;
  z-index: 2000;
  animation: blink 0.7s infinite;
}

.main-subititle {
  position: absolute;
  font-family: 'Courier New', Courier, monospace;
  font-size: 20pt;
  top: 11rem;
}
.row{
  background: linear-gradient(to bottom,#01111f , #002242);
}
.lead, .display-5, .btn-primary{
  margin-left: 10%;
}
.btn-outline-secondary{
  margin-left: 0%;
}
@media (min-width: 320px)and (max-width: 1440px)  {

  html, body {
    margin: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
  }
  .main{
    width: 100%;
  }
  .main-subititle{
    margin-left: 15px ;
  }
  .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: static;
  margin-left: 10%;
  }
}
@media (min-width: 992px) {
  .rounded-lg-3 { border-radius: .3rem; }
  
}
