@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  /* overflow: hidden; */
  padding: 0 20px;
  background: #1b1b1b;
  overflow-y: scroll;
}
::selection {
  background: #ffa31a;
}
.wrapper {
  max-width: 1700px;
  width: 100%;
  /* margin: 200px auto; */
  margin: 50px auto;
  padding: 25px 30px 30px 30px;
  border-radius: 5px;
  background: #ffa31a;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
}
.wrapper header {
  font-size: 30px;
  font-weight: 600;
  padding-bottom: 20px;
}
.wrapper nav {
  position: relative;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
}
.wrapper nav label {
  display: block;
  height: 100%;
  width: 100%;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  color: black;
  font-weight: 600;
  font-size: 18px;
  border-radius: 5px;
  margin: 0 5px;
  transition: all 0.3s ease;
}
.wrapper nav label:hover {
  background: #292929;
}
#school:checked ~ nav label.school,
#course:checked ~ nav label.course,
#product:checked ~ nav label.product,
#hobby:checked ~ nav label.hobby,
#blog:checked ~ nav label.blog {
  /* color: 	#292929; */
  color: white;
}
nav label i {
  padding-right: 7px;
}
nav .slider {
  position: absolute;
  height: 100%;
  width: 20%;
  left: 0;
  bottom: 0;
  z-index: 0;
  border-radius: 5px;
  background: #1b1b1b;
  transition: all 0.3s ease;
}
input[type="radio"] {
  display: none;
}
#course:checked ~ nav .slider {
  left: 20%;
}
#product:checked ~ nav .slider {
  left: 40%;
}
#hobby:checked ~ nav .slider {
  left: 60%;
}
#blog:checked ~ nav .slider {
  left: 80%;
}
section .content {
  display: none;
  background: #1b1b1b;
  text-align: justify;
  border-radius: 5px;
  color: white;
}

#school:checked ~ section .content-1,
#course:checked ~ section .content-2,
#product:checked ~ section .content-3,
#hobby:checked ~ section .content-4,
#blog:checked ~ section .content-5 {
  display: block;
  padding: 0px 10px 10px;
  /* padding: 10px 10px 10px ; */
}

section .content .banner_school {
  position: relative;
  background-image: url(/imgs/banner.png);
  /* opacity: 0.3; */
  top: 20px;
  width: auto;
  height: 600px;
  font-size: 47px;
  font-weight: 650;
  background-size: cover;
  margin: 10px 0 10px 0;
  padding: 20px;
  text-align: center;
  color: white;
  margin-bottom: 30px;
}

section .content .banner_course {
  position: relative;
  background-image: url(/imgs/office.jpg);
  /* opacity: 0.3; */
  top: 20px;
  width: auto;
  height: 600px;
  font-size: 47px;
  font-weight: 650;
  background-size: cover;
  margin: 10px 0 10px 0;
  padding: 20px;
  text-align: center;
  color: white;
  margin-bottom: 30px;
}

/* product section */
section .content .products_section {
  margin: 10px 0 10px 0;
  color: white;
}

#product1 {
  text-align: center;
}

#product1 h2 {
  padding-top: 20px;
  color: white;
}

#product1 p {
  color: white;
  text-align: center;
}

#product1 .pro-container {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  flex-wrap: wrap;
}

#product1 .pro {
  width: 23%;
  min-width: 250px;
  padding: 10px 12px;
  border: 1px solid #cce7d0;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 20px 20px 30px rgb(0, 0, 0, 0.02);
  margin: 15px 0;
  transition: 0.2s ease;
  position: relative;
}

#product1 .pro:hover {
  box-shadow: 20 20 30px rgb(0, 0, 0, 0.06);
}

#product1 .pro img {
  width: 100%;
  border-radius: 20px;
}

#product1 .pro .des {
  text-align: start;
  padding: 10px 0;
}

#product1 .pro .des span {
  color: white;
  font-size: 12px;
}

#product1 .pro .des h5 {
  padding-top: 7px;
  color: white;
  font-size: 14px;
}

#product1 .pro .des i {
  font-size: 12px;
  color: #ffa31a;
}

#product1 .pro .des h4 {
  padding-top: 7px;
  font-size: 15px;
  font-weight: 700;
  color: white;
}

#product1 .pro .heart {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50px;
  background-color: #ffa31a;
  font-weight: 500;
  color: white;
  border-color: 1px solid #ae7c54;
  position: absolute;
  bottom: 20px;
  right: 10px;
}

section .content p {
  margin: 10px;
  text-align: justify;
  text-indent: 20px;
}

section .content .hobby_section {
  margin: 10px 0;
}

section .content .hobby_section p{
  text-align: center;
  padding-top: 10px;
  text-transform: capitalize;
  font-size: 28px;
  font-weight: 600;
  color: white;
}

section .content .hobby_section .image-grid {
  --gap: 16px;
  --num-cols: 4;
  --row-height: 300px;

  box-sizing: border-box;
  padding: var(--gap);

  display: grid;
  grid-template-columns: repeat(var(--num-cols), 1fr);
  grid-auto-rows: var(--row-height);
  gap: var(--gap);
}

section .content .hobby_section .image-grid > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section .content .hobby_section .image-grid-col-2{
  grid-column: span 2;
}

section .content .hobby_section .image-grid-row-2{
  grid-row: span 2;
}

