@import url('https://fonts.googleapis.com/css2?family=La+Belle+Aurore&family=Lato:wght@400;700&family=Ubuntu:wght@500&display=swap');

:root {
  --debug: 1px solid red;
/*-----primary colors--------*/
  --color-1: #18B887;
  --color-2: #41C19A;
  --color-3: #6ACAAD;
  --color-4: #93D3BF;
  --color-5: #BCDCD2;
  --color-6: #B7E4E2;
  --color-7: #E1F6F0;
  --color-8: #E5E5E5;
  --color-9: #F7FBFA;
  --color-text-1: rgb(0, 0, 0);
  --color-text-2:  rgba(0, 0, 0, 0.568);
  --color-text-3: #3E4958;
}

  /*-----------BODY CONTAINER------------*/

  *,
  *:before,
  *:after{
      box-sizing: border-box;
  }

  html,
  body {
  font-family: 'Lato', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

  body{
      max-width: 100vw;
      font-size: 20px;
      overflow: scroll;
      background-color: var(--color-9);
  }

  .body-wrapper{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, auto);
    grid-template-areas: "head" "user" "input" "latest" "csr" "foot";
    max-width: 100vw;
    margin: 0 auto;
  }


/* ----------HEADER----------------*/

  .header-wrapper{
    grid-area: head;
    width: 100%;
    height: 74px;
    padding: 1em;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background-color: var(--color-7);
}

/*-----------LOGO------------*/
.logo{  
    width: 249px;
    height: 65px;

    font-family: La Belle Aurore;
    font-style: normal;
    font-weight: normal;
    font-size: 35px;
    line-height: 65px;
    color: var(--color-1);
}

/*-----------NAVIGATION ITEMS------------*/

.hamburger-menu{
    display: none;
}

.navlinks{
    height: 45px;

    font-family: 'Ubuntu', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 160%;
}

.nav-items ul{
    height: 10px;

    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
}

.nav-items li a{
    text-decoration: none;
    color: var(--color-text-1);
    margin-right: 2em;
}

.nav-items ul li a:hover{
    color: var(--color-2);
}

.nav-items span{
    color: var(--color-1);
}
  
/*---------WELCOME USER-------------*/
  .welcum{
    grid-area: user;

    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    font-size: 10px;
    padding: 2em;
  }

  .h2{
    font-family: Lato;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 160%;

    color: var(--color-text-1);
  }
  .prof-img{
    height: 40px;
    padding-right: 1.5em;
  }


/*----------INPUT CONTAINER----------*/
  .input{
    grid-area: input;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 2em;
  }

  .input1{
    width: 773px;
    height: 48px;
    border-radius: 10px;
    border: none;
    background-color: var(--color-8);
  }

  .b1{
    width: 116px;
    height: 31px;

    font-family: Lato;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 160%;

    border-radius: 10px;
    border: none;
    color: #FFFFFF;
    background-color: var(--color-1);
    margin-left: 1em;

    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
  }
  .b1:hover{
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }

/*------------LATEST CONTAINER-------------*/
  .latest-container{
    grid-area: latest;
    display: flex;
    flex-direction: column;
    padding: 2em;
  }

  h2 {
    width: auto;
    height: 54px;

    font-family: Lato;
    font-style: normal;
    font-weight: 600;
    font-size: 34px;
    line-height: 160%;
    
    display: flex;
    align-items: center;
    padding: 2em;
    
    color: var(--color-text-1);
  }

  .main{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-top: 30px;
  }

  .img1 img{
    width: 300px;
    height: 200px;

    border-radius: 10px;
  }

  .text2{
    width: 610px;
    height: 200px;

    font-family: Lato;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 30px;
    
    color: rgba(0, 0, 0, 0.6);    
    padding-left: 2em;
  }

/*----------CSR------------*/
  .csr{
    grid-area: csr;
    /* margin-top: 50px;
    margin-left: 20px;
    margin-bottom: 30px; */
  }
  .ranks{
    border: 1.5px solid #E5E5E5;
    background-color:#6ACAAD;
    width: 90%;
    margin-top: 20px;
    padding: 10px;
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;

  }
  .ranks:hover{
    background-color: #18B887;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  .ranking{
    margin-left: 60px;
    margin-bottom: 80px;

  }
  .tex{
    margin-left: 20px;
  }
  .below{
    margin-left: 90%;
    margin-bottom: 40px;
  }
  .blw1:hover{
    color: #18B887;
  }
  .blw1{
    text-decoration: none;
    color: #6ACAAD;
  }


  /* --------BOTTOM WRAPPER------------- */

.bottom-wrapper{
  /* grid-area: sec; */
  padding: 2em;
}

.sorted-text{
  width: 200px;
  height: 43px;
  
  font-family: Lato;
  font-style: normal;
  font-weight: 500;
  font-size: 30px;
  line-height: 43px;
  
  color: var(--color-text-1);
}

.bottom_container{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: flex-start;
}

.img_beneath{
  width: 280px;
  height: 400px;
  padding-bottom: 3em;

  background-color: var(--color-4);
  box-shadow: 0px 0px 10px 8px rgba(0, 0, 0, 0.05);
  border-radius: 20px;
}

.img_beneath img{
  width: 100%;
  height: 70%;
}

.img_beneath-text{
  padding: 1em;
}

.img_beneath h4{
  height: 36px;

  font-family: Lato;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 36px;
  color: var(--color-text-1);
}

.img_beneath p{
  height: 24px;

  font-family: Lato;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-text-1);
}


  /*----------------FOOTER-------------------------*/

  footer{
    grid-area: foot;
    margin: 0;
    background-color: var(--color-1);
}

.footer-links{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-around;

    width: 100%;
}

.community-column{
   padding: 2em;
}

.community-column ul{
    list-style: none;
}

.community-column li{
    margin: .5em;
    font-size: 14px;
}

.community-column li a{
    text-decoration: none;
    color: var(--color-text-2);
}

.community-column h3{
    width: max-content;
    height: 30px;

    font-family: Lato;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 30px;
    margin: 0 auto;

    color: var(--color-text-1);
}

footer p{
  font-size: 14px;
    text-align: center; 
    color: var(--color-text-2);
    padding-bottom: 1em;
    margin-bottom: 0;
}

footer .fa{
    color: var(--color-text-2);
}

.break-line2{
    width: 900px;
    height: 2px;
    border-radius: 30px;
    margin: 0 auto;

    background-color: var(--color-text-2);
}


@media screen and (max-width:710px) {

  /*-----------HEADER ITEMS------------*/

    .header-wrapper{
        
      width: 100%;
      height: 35px;
      padding: 2em;
  }

  /*-----------LOGO------------*/

  .logo{  
      width: 200px;
      height: 45px;

      font-size: 24px;
      line-height: 35px;
  }

  /*-----------NAVIGATION ITEMS------------*/



  /*-----------RESPONSIVE HAMBURGER MENU------------*/

  .hamburger-menu{
      display: flex;
      flex-direction: column;

      position: absolute;
      right: 3%;
      top: 3%;

      cursor: pointer;
  }

  /* .navlinks{
      flex-direction: row;
      align-items: center;
      font-size: 14px;
      line-height: 19px;
  } */

  .line{
      width: 40px;
      height: 4px;
      margin: 3px;
    
      transition: all .7s;

      background-color: var(--color-text-1);
  }

  .nav-items ul {
      flex-direction: column;
      height: 50vh;
      width: 60%;
      background-color: #fff;
      justify-content: center;
      /* align-items: center; */
      right: -0.5em;
      top: -35em;
      transition: top 1s;
      margin: 5px;
      position: absolute;
    }

    .ham .nav-items ul{
      right: -1em;
      top: -0.5em;
    }

    .nav-items ul li a{
      margin-bottom: .5em;
      display: block;
    }    

  .ham .line1{
      transform: rotateZ(-45deg) translate(-7px, 7px);
  }

  .ham .line2{
      opacity: 0;
  }

  .ham .line3{
      transform: rotateZ(45deg) translate(-7px, -7px);
  }

  /*--------Body Container-------- */

  /* .main1{
    
  } */
  .main{
    display: flex;
    flex-direction: column;
  }
  .img1{
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .text2{
    width:100%;
    flex-direction: column;
  }




  /*----------------FOOTER-------------------------*/

  .footer-links{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;

    width: 100%;
  }

  .community-column{
  padding: 2em;
  }

  .community-column ul{
    list-style: none;
  }

  .community-column li{
    margin: .5em;
    font-size: 14px;
  }

  .community-column li a{
    text-decoration: none;
    color: var(--color-text-2);
  }

  .community-column h3{
    width: auto;
  }

  .break-line2{
    width: 300px;
  }

  footer p{
    font-size: 14px;
  }

  
}