*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@700&display=swap');

/*navbar*/
a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

nav > ul > li:hover {
  opacity: 0.5;
  transition: 0.5s;
  font-style: italic;
}

.logo{
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.logo:hover {
  opacity: 0.5;
  transition: 0.5s;
  font-weight: 480;
  font-style: italic;
}

nav {
  display: flex;
  position: relative;
  justify-content: space-around;
  align-items: center;
  font-family: system-ui, -apple-system, Helvetica, Arial, sans-serif;
  background: #1369b4;
  height: 8vh;
  box-shadow: rgb(0, 0, 0)  0px 0px 10px;
}

.nav-list {
  list-style: none;
  display: flex;
  
}

.nav-list li {
  letter-spacing: 3px;
  margin-left: 32px;
}

.mobile-menu {
  display: none;
  cursor: pointer;
}

.mobile-menu div {
  width: 32px;
  height: 2px;
  background: #fff;
  margin: 8px;
  transition: 0.3s;
}

@media (max-width: 999px) {
  body {
    overflow-x: hidden;
  }
  .nav-list {
    position: absolute;
    top: 8vh;
    right: 0;
    width: 50vw;
    height: 92vh;
    background: #1369b4;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    transform: translateX(100%);
    transition: transform 0.3s ease-in;
    
  }
  .nav-list li {
    margin-left: 0;
    opacity: 0;
  }
  .mobile-menu {
    display: block;
  }
}
.nav-list.active {
  transform: translateX(0);
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-menu.active .line1 {
  transform: rotate(-45deg) translate(-8px, 8px);
}

.mobile-menu.active .line2 {
  opacity: 0;
}

.mobile-menu.active .line3 {
  transform: rotate(45deg) translate(-5px, -7px);
}


body{
  background: linear-gradient(to top,#ffffff, #def5ff, #d7f2ff) no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  height: 92vh;
}

.main{
  max-width: 1200px;
  margin: 0 auto;
}

h1 {
  color: #001696;
  font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
  text-shadow: 2px 2px 3px rgba(29, 132, 158, 0.705);
  font-weight: 700;
  font-size: 50px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 8vh;
  margin-bottom: 3vh;
}

.logo-curso{
    position: relative;
    width: 28%;
    height: 30%;
    margin: 0 auto;
    display: block;
    margin-top: 3vh;
    margin-bottom: 3vh;
}

h2 {
    color: #001696;
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
    text-shadow: 2px 2px 3px rgba(29, 132, 158, 0.705);
    font-weight: 700;
    font-size: 30px;
    text-transform: uppercase;
    text-align: center;
    margin-top: 2vh;
    margin-bottom: 2vh;
}

p{
  font-size: 19px;
  text-align: center;
  margin: 0 auto;
  width: 80%;
  color: #181212;
  line-height: 1.6;
  font-family: "Inter", sans-serif;
  margin-bottom: 7vh;
  text-shadow: 1px 1px 2px rgba(233, 233, 233, 0.842);
  font-weight: 400;
  letter-spacing: 0.5px;
}

section > ul{
  font-size: 19px;
  text-align: center;
  margin: 0 auto;
  width: 80%;
  color: #181212;
  line-height: 1.6;
  font-family: "Inter", sans-serif;
  margin-bottom: 5vh;
  text-shadow: 1px 1px 2px rgba(233, 233, 233, 0.842);
  font-weight: 400;
  letter-spacing: 0.5px;
}

section > ul > li{
    display: block;
     
}

.card-1, .card-2{
    padding: auto;
    display: inline-block;
    width: 200px;
    height: 110px;
    background: linear-gradient(to bottom left, #a3ade2 40%, #8375cf 100%);
    flex-direction:column;
    border-radius: 15px;
}

.card-1:hover{
    opacity: 0.5;
    transition: 0.5s;
    font-style: italic;
    cursor: pointer;
}

.card-2:hover{
    opacity: 0.3;
    transition: 0.5s;
    font-style:italic;
    cursor: pointer;
}

h3 {
    text-align: center;
    margin-top: 4vh;
}

.card > p {
    margin-top: 5vh;

}

footer > p{
    font-size: 15px;
}