html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

header {
    position: relative;
    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);
}

/* 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;
}

@keyframes slide-smooth {
    0% {
        transform: translateY(calc(-100% - 50rem)) rotate(-90deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vw) rotate(-90deg);
        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;
}

.main {
    width: 100%;
    height: 100vh;
    z-index: 1;
    position: relative;
}

.main-content {
    position: relative;
    margin-left: 1rem;
    margin-top: -50px;
    width: 100%;
    height: 100vh;
    z-index: 1;
}

.lead,
.display-5,
.btn-primary,
.fw-bold {
    margin-left: 1rem;
    color: white;
}

.row {
    color: white;
}

.btn-outline-secondary {
    margin-left: 0%;
}

.img1 {
    height: 90%;
    margin: auto;
    width: 90%;
    border-radius: 20px;
    border: solid rgba(255, 255, 255, 0.164) 1px;
}

.sessao1 {
    background-color: #01111f;
    position: relative;
    height: 100vh;
    width: 100%;
}

.sessao2 {
    background: linear-gradient(#01111f, #002242);
    position: relative;
    height: 100vh;
    width: 100%;
}

.sessao3 {
    background: linear-gradient(#002242, #033666);
    position: relative;
    height: 100vh;
    width: 100%;
}
.sessao4 {
    background: linear-gradient(#033666, #1b4e7a);
    position: relative;
    height: 100vh;
    width: 100%;

}

.sessao5 {
    background: linear-gradient(#1b4e7a, #033666);
    position: relative;
    height: 100vh;
    width: 100%;

}

.sessao6 {
    background: linear-gradient(#033666, #002242);
    position: relative;
    height: 100vh;
    width: 100%;
}
.sessao7 {
  background: linear-gradient(#002242, #01111f);
  position: relative;
  height: 100vh;
  width: 100%;
  z-index: 1;
}
.sessao8 {
  background: linear-gradient(#01111f, #033666);
  position: relative;
  height: 100vh;
  width: 100%;
}
.container {
    position: relative;
    top: 5%;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0px);
  }
}


.sessao-paragraph {
    font-size: 18pt;
}
.sessao-paragraph, h1, h2 {
    
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}

@media (min-width: 320px)and (max-width: 1440px) {

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

    .main {
        width: 100%;
    }

    .sessao1 {
        background-color: #01111f;
        position: relative;
        height: 100vh;
        width: 100%;
    }

    .sessao2 {
        background: linear-gradient(#01111f, #002242);
        position: relative;
        height: 100vh;
        width: 100%;
    }

    .sessao3 {
        background: linear-gradient(#002242, #033666);
        position: relative;
        height: 100vh;
        width: 100%;
    }

    .sessao4 {
        background: linear-gradient(#033666, #1b4e7a);
        position: relative;
        height: 100vh;
        width: 100%;

    }

    .sessao5 {
        background: linear-gradient(#1b4e7a, #033666);
        position: relative;
        height: 100vh;
        width: 100%;

    }

    .sessao6 {
        background: linear-gradient(#033666, #002242);
        position: relative;
        height: 100vh;
        width: 100%;
    }

  .sessao7 {
  background: linear-gradient(#002242, #01111f);
  position: relative;
  height: 100vh;
  width: 100%;
  z-index: 1;
}

.sessao8 {
  background: linear-gradient(#01111f, #033666);
  position: relative;
  height: 100vh;
  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;
    }

    .h1-text {
        margin-top: -50px;
        margin-left: -1%;
    }

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

    .sessao1 {
        background-color: #01111f;
        position: relative;
        height: 110vh;
        width: 100%;
    }

    .sessao2 {
        background: linear-gradient(#01111f, #002242);
        position: relative;
        height: 130vh;
        width: 100%;
    }

    .sessao3 {
        background: linear-gradient(#002242, #033666);
        position: relative;
        height: 100vh;
        width: 100%;
    }
.sessao4 {
  background: linear-gradient(#033666, #1b4e7a);
  position: relative;
  height: 100vh;
  width: 100%;

}

.sessao5 {
  background: linear-gradient(#1b4e7a, #01111f);
  position: relative;
  height: 100vh;
  width: 100%;
  z-index: 1;
}
.sessao6 {
  background: linear-gradient(#033666, #01111f);
  position: relative;
  height: 100vh;
  width: 100%;
}

.sessao7 {
  background: linear-gradient(#002242, #01111f);
  position: relative;
  height: 100vh;
  width: 100%;
  z-index: 1;
}

.sessao8 {
  background: linear-gradient(#01111f, #033666);
  position: relative;
  height: 100vh;
  width: 100%;
  display: block;
  align-content: end;
}

    .sessao-paragraph {
        font-size: 100%;
    }
}

@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;
    }

}
@media (min-width: 2560px) {
    
.sessao5 {
  background: linear-gradient(#1b4e7a, #01111f);
  position: relative;
  height: 100vh;
  width: 100%;
  z-index: 1;
}
.sessao6 {
  background: linear-gradient(#033666, #01111f);
  position: relative;
  height: 100vh;
  width: 100%;
}

.sessao7 {
  background: linear-gradient(#002242, #01111f);
  position: relative;
  height: 100vh;
  width: 100%;
  z-index: 1;
}

.sessao8 {
  background: linear-gradient(#01111f, #033666);
  position: relative;
  height: 100vh;
  width: 100%;
  display: block;
  align-content: end;
}

}
