@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  font-family: "Inter", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.landing-header {
  height: 70vh;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-left: 80px;
}

.landing-header .image-container {
  margin-top: 50px;
}

.landing-content h2 {
  font-size: 50px;
  margin-bottom: 20px;
}

.landing-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.browse_button {
  background-color: black;
  color: #fff;
  border-radius: 50px;

  padding: 15px 25px;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 40px;
}

.promo {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 20%,
    rgb(73, 73, 73) 100%
  );

  color: white;
  display: flex;
  justify-content: space-around;
  padding-bottom: 20px;
}

.box-container {
  display: flex;

  justify-content: space-between;
  gap: 20px;
}

.box-container .box {
  background-color: black;
  color: #fff;
  width: 224px;
  height: 224px;
  border-radius: 10%;
  font-size: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.box-container .box .box-head {
  font-weight: bold;
  margin-bottom: 10px;
}

.box-container .box .box-sub {
  font-size: 20px;
}

.categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  place-items: center;
  padding: 40px;
  margin-bottom: 100px;
}

.categories .category {
  height: 300px;
  width: 450px;
  border: 2px solid #000;
  background-size: cover;
  border-radius: 10px;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.2s ease;

  --overlay: linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
}

.categories .category:hover {
  transform: scale(1.1);
}

.category.programming {
  background-image: var(--overlay), url("../images/programming.jpeg");
}

.category.networks {
  background-image: var(--overlay), url("../images/networks.jpeg");
}

.category.Ds {
  background-image: var(--overlay), url("../images/ds-algo.jpeg");
}

.category.Cyber {
  background-image: var(--overlay), url("../images/cybersecurity.jpeg");
}

.category.Ai_ml {
  background-image: var(--overlay), url("../images/ai.jpeg");
}

.category.web {
  background-image: var(--overlay), url("../images/webdev.jpeg");
}

.category.dbms {
  background-image: var(--overlay), url("../images/dbms.jpeg");
}

.category.os {
  background-image: var(--overlay), url("../images/os.jpeg");
}

/* we must clean this out */

.pos {
  margin-top: 195px;
  margin-left: 10px;
  font-family: Arial Black;
  font-size: 25px;
  color: white;
}

.poslogo {
  margin-top: 30px;
  margin-left: 10px;
}

.pos2 {
  font-size: 13px;
  color: white;
  margin-left: 40px;
  margin-top: -25px;
}

a {
  text-decoration: none;
}

@media only screen and (max-width: 768px) {
  .landing-header {
    height: 50vh;
    margin: 0;
  }

  .landing-header .landing-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
  }

  .landing-header .image-container {
    display: none;
  }

  .landing-header .image-container img {
    width: 280px;
    height: 300px;
  }

  .box-container {
    flex-direction: column;
    gap: 20px;
  }

  .categories {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .categories .category {
    margin-top: 40px;
    justify-self: stretch;
    width: 300px;
  }

  .poslogo {
    margin-top: 3px;
    margin-left: 10px;
  }

  .pos2 {
    font-size: 13px;
    color: white;
    margin-left: 40px;
    margin-top: -25px;
  }
}
