body {
  margin: 0;
  padding: 0;
  font-family: "Poppins";
  background-image: url("../imgs/alumni-board.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

nav,
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3rem;
}

.logo {
  width: 200px;
  cursor: pointer;
  z-index: 3;
}

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

ul li {
  margin-right: 20px;
}

ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

ul li a:hover {
  color: rosybrown;
}

.checkbtn {
  font-size: 28px;
  color: white;
  cursor: pointer;
  display: none;
}

#check {
  display: none;
}

footer {
  background-color: white;
  margin: 0;
  padding: 3rem;
  color: maroon;
  font-size: 16px;
}

a {
  color: maroon;
}

.socials {
  align-items: center;
  width: 50px;
  cursor: pointer;
}

.content {
  color: white;
  text-align: center;
  align-items: center;
  margin-left: 10%;
  margin-right: 10%;
  opacity: 0;
  transform: translateY(30px);
  animation: moveup 1s linear forwards;
}
@keyframes moveup {
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

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

button {
  border: none;
  padding: 30px 35px;
  text-align: center;
  align-items: center;
  font-size: 18px;
  margin: 0 80px;
  border-radius: 50px;
  transition: 0.5s;
  background-color: white;
  color:black;
}

button:hover {
  background-color: lightgrey;
  cursor: pointer;
}

h1 {
  text-align: center;
  font-size: 70px;
  margin: 2rem;
}

h2 {
  font-size: 18px;
  margin: 2rem;
  text-shadow: 2px 2px black;
}

.buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.nav-button {
  border-style: solid;
  display: block;
  width: 75px;
  background: linear-gradient(rgb(42, 0, 0, 1), rgb(128, 0, 0, 0.7));
  padding: 12px;
  text-align: center;
  border-radius: 10px;
  line-height: 25px;
}

@media (max-width: 900px) {
  .checkbtn {
    display: block;
    order: 1;
    margin-right: 20px;
    z-index: 3;
  }

  nav ul {
    position: fixed;
    top: 0px;
    right: -100%;
    background-color: maroon;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    z-index: 2;
  }

  ul li {
    margin: 20px 0;
  }

  ul li a {
    font-size: 20px;
    color: white;
  }

  #check:checked ~ ul {
    right: 0;
  }

  nav {
    margin: 1rem 2rem;
  }

  footer {
    padding: 1rem 2rem;
    font-size: 14px;
  }

  .socials {
    width: 40px;
  }

  .nav-button {
    width: 85px;
    padding: 15px;
  }

  button {
    flex: 1;
    margin: 1rem;
  }
  .buttons {
    flex-direction: column;
  }

  h1 {
    font-size: 50px;
  }
}
