@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap%22");

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

body {
  background: #0e0e0e;
  text-align: center;
  cursor: url("../img/logos/mdcursor.png"), auto;
}

a {
  text-decoration: none;
  color: white;
}

ul {
  list-style: none;
  align-items: center;
  display: flex;
}

ul li {
  color: white;
  padding: 20px 40px;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 20px;
  font-family: "Poppins", sans-serif;
}

.purple {
  color: #c300ff;
}

.blue:hover {
  color: #00b4ff;
}

.green:hover {
  color: #97fe01;
}

.red:hover {
  color: #ff3535;
}

.navbar_container {
  align-items: center;
  margin-left: 50px;
  display: flex;
  justify-content: space-around;
}

.logo {
  width: 80px;
}

#btn-mobile {
  display: none;
}

.logo-mobile {
  display: none;
}

.container-mobile {
  display: none;
}

.home-mobile {
  display: none;
}


main > div {
  margin: 0 auto;
  display: grid;
  border-style: solid;
  border-color: white;
  border-radius: 40px;
  margin-top: 30px;
  width: 60%;
}

main > div > img {
  margin-left: 500px;
  position: relative;
  right: 20px;
  bottom: 130px;
}

main > div > h1 {
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  margin-top: 20px;
  margin-left: 20px;
  text-align: left;
  color: white;
}

main > div > h4 {
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-weight: 300;
  text-align: left;
  margin-left: 20px;
  margin-bottom: 15px;
  color: white;
}

main > div > p {
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-weight: 500;
  text-align: justify;
  width: 420px;
  margin-left: 20px;
  color: white;
}

@media screen and (max-width: 600px) {
  main div{
    width: 85%;
    height: 600px;
    display: flex;
    flex-wrap: wrap;
  }

  main img {
    display: none;
  }

  main h1 {
    font-size: 20px;
  }

  main p {
    font-size: 14px;
    margin: 0 20px !important;
  }

  #logo-mobile {
    display: none !important;
  }

  #menu li:nth-child(1) {
    border-top: 1px solid grey;
  }

  #menu li:last-child {
    border-bottom: 1px solid grey;
  }

  #nav ul {
    display: block;
    position: absolute;
    width: 70%;
    top: 0px;
    right: 0px;
    background-color: #101010;
    height: 0;
    transition: 0.6s;
    z-index: 1000;
    visibility: hidden;
    overflow-y: hidden;
  }

  .container-mobile {
    width: 90%;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
  }

  #nav.active #menu {
    height: 100vh;
    visibility: visible;
    overflow-y: hidden;
  }

  .logo-mobile {
    display: flex;
    width: 40px;
    height: 40px;
    margin: 8px 16px;
  }

  .navbar_container {
    display: flex;
    margin: 0;
  }

  .home-mobile {
    display: flex;
  }

  #menu li {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    margin: 50px 2.3rem;
  }

  #btn-mobile {
    display: flex;
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    cursor: pointer;
    color: #fff;
    gap: 0.5rem;
    z-index: 1100;
  }

  #hamburger {
    border-top: 2px solid;
    width: 20px;
  }

  #hamburger::after,
  #hamburger::before {
    display: block;
    content: "";
    width: 20px;
    height: 2px;
    background: currentColor;
    margin-top: 5px;
    transition: 0.3s;
    position: relative;
  }

  #nav.active #hamburger {
    border-top-color: transparent;
  }

  #nav.active #hamburger::before {
    transform: rotate(135deg);
  }

  #nav.active #hamburger::after {
    transform: rotate(-135deg);
    top: -7px;
  }

  #nav button {
    visibility: visible;
  }

  #nav ul li::after {
    display: none;
  }
}
