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

@font-face {
    font-family: mhl;
    src: url("../fonts/MozillaHeadline_Condensed-Bold.ttf");
}

body {
  font-family: mhl;
    background-color: rgb(242, 249, 255);
}

#mainhead {
    height: 50px;
    text-align: center;
    padding: 15px;
}

#mainhead h1 {
    text-transform: capitalize;
    font-size: 23px;
}

.contaner {
    padding: 100px;
}

#hero {
    display: flex;
   height: 500px;
   padding: 70px;
    background: linear-gradient(to left top, rgb(144, 255, 255),rgb(255, 255, 255),rgb(255, 255, 255));
}

#hero .ldiv {
    width: 50%;

}

#hero .rdiv {
    width: 50%;
    text-align: center;
}

.rdiv img {
    height: 350px;
    width: 300px;
    border-radius: 10px;
}

.ldiv h2 {
    color: rgb(26, 18, 18);
    font-size: 40px;
    text-transform: capitalize;
    margin-bottom: 15px;
}

.ldiv p {
 width: 300px;
 text-transform: capitalize;
 font-weight: 400;
}

.ldiv button {
    padding: 10px;
    text-transform: uppercase;
    border: 1px solid #222;
    margin: 20px 0;
    font-weight: bold;
}
    
.ldiv div img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: relative;
}

.ldiv div .img1 {
    z-index: 1;
    border: 1px solid rgb(247, 240, 240);
}

.ldiv div .img2 {
z-index: 2;
right: 10px;
border: 1px solid rgb(247, 240, 240);
}

.ldiv div .img3 {
z-index: 3;
right: 20px;
border: 1px solid rgb(247, 240, 240);
}

.ldiv div .fa-star {
    color: #f0ab16;
    position: relative;
    bottom: 25px;
}

.ldiv div p {
    text-transform: lowercase;
    position: relative;
    bottom: 23px;
    font-size: 10px;
    left: 120px;
}

.read {
    display: flex;
    padding: 70px;
}

.l-div div {
    width: 50%;
    margin-right: 40px;
}

.l-div div  img {
    height: 400px;
    width: 350px;
    border-radius: 10px;
}

.r-div {
    width: 50%;
}

.r-div h2 {
    text-transform: capitalize;
    font-weight: 700;
}

.r-div div {
    margin: 20px 0 40px 20px;
    display: flex;
}

.r-div div i {
    background-color: #ffffff; 
    border: 1px solid #222;
    padding: 2px;
    border-radius: 3px;
    width: 23px;
    height: 23px;
    position: relative;
    top :5px;
}

.r-div div p {
    margin-left: 5px;
    font-size: 16px;
    font-weight: 700; 
    width: 300px;
}

.average-book-club {
    display: flex;
    justify-content: space-between;
}

.average-book-club .left {
    padding: 100px;
}

.average-book-club .left h2 {
    margin-bottom: 20px;
    text-transform: capitalize;
}

.left h2 span {
    border: 2px solid rgba(180, 2, 2, 0.507);
    border-radius: 70% 25% ;
    padding: 0 10px;
}

.average-book-club .right {
    width: 50%;
}

.average-book-club .right img {
    height: 350px;
    width: 350px;
    border-radius: 10px;
    margin: 0 30px;
}

.tech-reading {
    text-align: center;
    padding: 100px;
     background: linear-gradient(to left top, rgb(144, 255, 255),rgb(255, 255, 255),rgb(255, 255, 255));
}

.journey {
    display: flex;
    justify-content: space-evenly;
}

.tech-reading h2 {
    font-size: 30px;
    margin-bottom: 40px;
}

.journey h3 {
    margin: 20px 0;
    position: relative;
    width: 20px;
    right: 0px;
    border: 1px solid #222;
}

.member {
    text-align: center;
    padding: 10px;
}

.member h2 {
    font-size: 30px;
    text-transform: capitalize;
    margin: 30px;
}

.member div {
    display: flex;
    margin: auto;
}

.pro {
    background: linear-gradient(to left top , rgb(2, 199, 182),rgb(199, 199, 199),rgb(255, 253, 253));
}

.starter,.pro,.custom  {
    display: block;
    text-align: left;
    flex-direction: column;
    padding: 10px;
    justify-content: space-around;
    border: 2px solid #22222260;
    height: 230px;
    width: 225px;
    position: relative;
}

.member div h3 {
    font-size: 14px;
    text-transform: capitalize; 
    padding: 5px;
}

.member div h4 {
    font-weight: 300;
padding: 5px;
}

.member div h4 span {
font-weight: 700;
}

.member div .custom h4 {
    font-weight: 700;
}

.member div i {
    border: 1px solid #222;
    position: absolute; 
    left: 10px;
}

.member div p {
    position: absolute;
    left: 35px;
}

.member div button {
    text-transform: uppercase;
    padding: 10px 20px;
    border: 1px solid black;
    border-radius: 5px;
    background-color: #eee;
}

.last_sec{
    padding: 100px;
    text-align: center;
    height: 250px;
}

.last_sec .star {
    margin: 20px;
    color: #E6BF38;
}

.last_sec p {
    font-weight: 700;
    font-size: 25px;
    margin-bottom: 25px;
}

.last_sec h5 {
    font-weight: 200;
}

#foot {
    background-color: #423F37;
    height: 450px; 
    position: relative;
}

#foot h2 {
    color: #E9E9E9;
    padding: 30px 100px;
    
    margin: auto;
    text-align: center;
    font-size: 30px;
    width: 500px;
    height: 150px;
}

#foot button {
    padding: 20px;
    text-transform: uppercase;
    background-color: transparent;
    border: 2px solid #eee;
    color: #eee;
    margin: 20px 0;
    font-weight: bolder;
    position: absolute;
    top: 100px;
    left: 38%;
    border-radius: 5px;
}

.img_star {
    color: #f0ab16;
    position: relative;
    top: 30px;
    text-align: center;
}

.img_star img {
      width: 40px;
    height: 40px;
    border-radius: 50%;
}

.img_star .img1 {
    z-index: 1;
    position: relative;
    top: 15px;
    border: 2px solid rgb(247, 240, 240);
}

.img_star .img2 {
z-index: 2;
position: relative;
right: 10px;
top: 15px;
border: 2px solid rgb(247, 240, 240);
}

.img_star .img3 {
z-index: 3;
position: relative;
right: 20px;
top: 15px;
border: 2px solid rgb(247, 240, 240);
}

#foot p {
    text-align: center;
    color: #eee;
    position: relative;
    top: 50px;
}

#foot hr {
    position: relative;
    top: 200px;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .contaner {
    padding: 24px 16px;
  }

  #hero {
    flex-direction: column;
    height: auto;
    padding: 24px 16px;
  }

  #hero .ldiv,
  #hero .rdiv {
    width: 100%;
  }

  .rdiv img {
    width: 100%;
    height: auto;
    max-width: 320px;
  }

  .ldiv h2 {
    font-size: 26px;
  }

  .ldiv p {
    width: 100%;
  }

  .read {
    flex-direction: column;
    padding: 24px 16px;
  }

  .l-div div {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .l-div div img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .r-div {
    width: 100%;
  }

  .r-div div p {
    width: auto;
  }

  .average-book-club {
    flex-direction: column;
  }

  .average-book-club .left {
    padding: 24px 16px;
  }

  .average-book-club .right {
    width: 100%;
    text-align: center;
  }

  .average-book-club .right img {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
  }

  .tech-reading {
    padding: 40px 16px;
  }

  .journey {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .member div {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .starter, .pro, .custom {
    width: 100%;
    max-width: 320px;
    height: auto;
    padding: 20px;
    position: static;
  }

  .member div i,
  .member div p {
    position: static;
  }

  .last_sec {
    padding: 40px 16px;
    height: auto;
  }

  .last_sec p {
    font-size: 18px;
  }

  #foot {
    height: auto;
    padding-bottom: 40px;
  }

  #foot h2 {
    width: 100%;
    padding: 24px 16px;
    font-size: 22px;
    height: auto;
  }

  #foot button {
    position: static;
    display: block;
    margin: 16px auto;
  }

  .img_star {
    top: 0;
    margin-top: 16px;
  }

  #foot p {
    top: 0;
    margin-top: 16px;
  }

  #foot hr {
    top: 0;
    margin-top: 16px;
  }
}
