* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

nav {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  align-items: center;
  background-color: #ffffff;
  /* position: fixed; */
}

.logocontainer img {
  width: 80px;
}

.contactcontainer {
  display: flex;
  gap: 10px;
}

.toptext {
  font-size: 0.8rem;
}

.fa-headset {
  font-size: 1.8rem;
}

.learning-container {
  display: flex;
  width: 80%;
  flex-direction: row;
  align-items: center;
  font-family: Poppins, -apple-system, Roboto, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 400;
  margin: 50px;
  letter-spacing: -0.32px;
  justify-content: space-between;
}

/* Styling for desktop starts here  */

.main-image {
  aspect-ratio: 0.8;
  object-fit: contain;
  object-position: center;
  width: 450px;
  align-self: stretch;
}

.course-info {
  display: flex;
  margin-top: 9px;
  width: 360px;
  max-width: 100%;
  align-items: center;
  gap: 40px 100px;
  justify-content: space-between;
}

.class-info,
.subject-info {
  align-self: stretch;
  margin: auto 0;
}

.class-info {
  /* width: 77px; */
}

.subject-info {
  width: 125px;
}

.label {
  font-weight: 600;
  color: rgb(141, 199, 63);
}

.value {
  font-weight: 700;
  color: rgb(0, 66, 122);
}

.learning-tools {
  display: flex;
  margin-top: 9px;
  width: 363px;
  max-width: 100%;
  flex-direction: column;
  align-items: center;
  white-space: nowrap;
  justify-content: center;
}
.container-of-homesection {
  scale: 1.5;
}

.tools-row {
  display: flex;
  width: 100%;
  max-width: 363px;
  align-items: center;
  gap: 23px;
  justify-content: space-between;
}

.tools-row:last-child {
  margin-top: 24px;
}

.tool-card {
  border: none;
  border-radius: 8px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  display: flex;
  padding: 15px 16px;
  align-items: center;
  gap: 19px;
  overflow: hidden;
  justify-content: start;
  width: 170px;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  text-align: left;
}

.flip-book-card {
  background-color: rgb(255, 245, 178);
  text-decoration: none;
}

.video-card {
  background-color: rgb(255, 204, 204);
  text-decoration: none;
}

.activities-card {
  background-color: rgb(200, 255, 225);
  text-decoration: none;
}

.test-card {
  background-color: rgb(208, 201, 255);
  padding: 15px 8px;
  text-decoration: none;
}

.tool-icon {
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  width: 38px;
  align-self: stretch;
  margin: auto 0;
  flex-shrink: 0;
}

.tool-text {
  align-self: stretch;
  margin: auto 0;
  color: rgb(15, 20, 30);
}

.test-card .tool-text {
  color: rgb(0, 0, 0);
}

.activities-card .tool-text {
  color: rgb(0, 0, 0);
}

@media only screen and (max-width: 600px) {
  .container-of-homesection {
    scale: 1;
  }
  nav {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    align-items: center;
    background-color: #ffffff;
    /* position: fixed; */
  }
  .learning-container {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    font-family: Poppins, -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    letter-spacing: -0.32px;
    justify-content: space-between;
  }
  .main-image {
    aspect-ratio: 0.8;
    object-fit: contain;
    object-position: center;
    width: 100%;
    align-self: stretch;
  }

  .course-info {
    display: flex;
    margin-top: 9px;
    width: 360px;
    max-width: 100%;
    align-items: center;
    gap: 40px 100px;
    justify-content: space-between;
  }

  .class-info,
  .subject-info {
    align-self: stretch;
    margin: auto 0;
  }

  .class-info {
    /* width: 77px; */
  }

  .subject-info {
    width: 125px;
  }

  .label {
    font-weight: 600;
    color: rgb(141, 199, 63);
  }

  .value {
    font-weight: 700;
    color: rgb(0, 66, 122);
  }

  .learning-tools {
    display: flex;
    margin-top: 9px;
    width: 363px;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
    justify-content: center;
  }

  .tools-row {
    display: flex;
    width: 100%;
    max-width: 363px;
    align-items: center;
    gap: 23px;
    justify-content: space-between;
  }

  .tools-row:last-child {
    margin-top: 24px;
  }

  .tool-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    display: flex;
    padding: 15px 16px;
    align-items: center;
    gap: 19px;
    overflow: hidden;
    justify-content: start;
    width: 170px;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    text-align: left;
  }

  .flip-book-card {
    background-color: rgb(255, 245, 178);
    text-decoration: none;
  }

  .video-card {
    background-color: rgb(255, 204, 204);
    text-decoration: none;
  }

  .activities-card {
    background-color: rgb(200, 255, 225);
    text-decoration: none;
  }

  .test-card {
    background-color: rgb(208, 201, 255);
    padding: 15px 8px;
    text-decoration: none;
  }

  .tool-icon {
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
    width: 38px;
    align-self: stretch;
    margin: auto 0;
    flex-shrink: 0;
  }

  .tool-text {
    align-self: stretch;
    margin: auto 0;
    color: rgb(15, 20, 30);
  }

  .test-card .tool-text {
    color: rgb(0, 0, 0);
  }

  .activities-card .tool-text {
    color: rgb(0, 0, 0);
  }
}
