@font-face {
    font-family: 'Humansan-medium';
    src: url('fonts/HumanSans-Medium.otf');
    font-style: medium;
}
@font-face {
    font-family: 'Humansan-normal';
    src: url('fonts/HumanSans-Regular.otf');
    font-style: normal;
}

@font-face {
    font-family: 'Humansan-bold';
    src: url('fonts/HumanSans-Bold.otf');
    font-style: bold;
}
*{
    padding: 0;
    margin: 0;
}
html{
    background-color: #D0DDCF;
    font-size: 22px;
    font-family: 'Humansan-normal', sans-serif;
    font-style: normal;
    line-height: 1;
    width: 100vw;
    overflow-x: hidden;
}
body{
    margin: auto;
    width: 100%;
    overflow-x: hidden;
}

p{
    line-height: 2;
}
a{
    text-decoration: none;
    display: block;
}

button{
    background-color: #054900;
    border: hidden;
    border-top-left-radius: 38px;
    border-bottom-right-radius: 38px;
    width: 162px;
    height: 49px;
    font-size: 20px;
    color: white;
    font-family: 'Humansan-medium';
}

button:hover{
    background-color: #BFA000;
    transition: background-color .2s ease-in;
}

.head{
    width: 100%;
    background-color: #E6EDE5;
}
.sub-head{
    padding-top: 25px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: row;
    width: 85%;
    margin: auto;
}
#join{
    margin-left: auto;
}

.first-container{
    padding-top: 30px;
    width: 85%;
    margin: auto;
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(550px,1fr));
    color: #054900;
}

/*  */

.heading{
    display: flex;
    flex-direction: column;
}
h1{
    font-size: 200px;
    font-family: 'Humansan-bold';
}

.heading h4{
    font-size: 120%;
    font-family: 'Humansan-normal';
}

#browse{
    color: #BFA000;
}
#tag{
    font-size: 200%;
    font-family: 'Humansan-bold';
}

.second-container{
    width: 100%;
    background-color: #054900;
    color: #D0DDCF;
}
.sub-secondcontainer{
    padding-top: 40px;
    width: 85%;
    margin: auto;
    padding-bottom: 40px;
}

h3{
    font-size: 260%;
}

.third-container{
    width: 100%;
    background-color: #BFA000;
    color: #054900;
}
.sub-thirdcontainer{
    width: 85%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: auto;
    gap: 16px;
    padding: 30px 0 30px 0;

}

.third-container span{
    margin: auto;
    text-align: center;
}
.third-container h4{
    font-size: 260%;
    font-family: "Humansan-medium";
}

.forth-container{
    width: 100%;
    background-color: #C3C899;
}

.sub-forthcontainer{
    padding: 30px 0 30px 0;
    width: 85%;
    display: flex;
    flex-direction: column;
    margin: auto;
    gap: 30px;
}

.sub-forthcontainer h4{
    font-size: 260%;
    color: #054900;
    font-family: "Humansan-medium";
}
hr{
    height: 5px;
    background-color:#054900;
}

.Testimonies{
    padding: 30px 0px 20px 0px;
    width: 100%;
    border-radius: 100px 0 100px 0px;
    background-color: #054900;
    color: #C3C899;
}


.Testimonies p{
    font-size:110%;
    width: 85%;
    margin: auto;
}

.para1{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.para2{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.para3{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.para4{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.para5{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.para6{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.para7{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.showpara{
    overflow: visible;
    -webkit-line-clamp: unset;
    transform-origin: top center;
    height: auto;
    transition: height .1s ease-out;
}

#Read{
    width: 85%;
    display: flex;
    background-color: transparent;
    border: none;
    margin: auto;
    color: #BFA000;
    padding-top: 10px;
    padding-bottom: 20px;
}
#Read:hover{
    color: white;
    background: none;
}

.fifth-container{
    width: 100%;
}

.sub-fifthcontainer{
    width: 85%;
    margin: auto;
    padding-top: 30px;
    
}
.sub-fifthcontainer h4{
    font-size: 40px;
    color: #054900;
}
.sub-fifthcontainer p{
    font-size: 110%;
    padding-top: 30px;
}

footer{
    width: 100vw;
   margin: auto;
   background-position: center;
   background-image: linear-gradient(60deg, #C2A200, #043300 50%);
   transform: scale(1.5);
   margin-top: 30px;
}
.footerContainer{
    display: flex;
    gap: 10%;
    max-width: fit-content;
    margin: auto;
    justify-content: center;
    flex-direction: row;
    padding: 30px 0px 30px 0px;
    position: sticky;
    align-items: center;
}
footer img{
    height: 40px;
    width: 40px;
}

footer img:hover{
    filter: brightness(0) saturate(30%);
}

.footer{
    display: flex;
    gap: 40px;
    flex-direction: row;
}
#btn{
    background-color: #BFA000;
    width: 150px;
    height: 40px;
    font-size: 25px;
    border-radius: 30px 30px 0px 30px;
    margin-right: auto;
}

#btn:hover{
    background-color: #054900;
    transition: background-color .2s ease-in;
}

@media (max-width:668px) {
    .sub-thirdcontainer{
        flex-direction: column;
    }
}
@media (max-width:656px) {
    html{
        font-size: 3vw;
    }
    .first-container img{
        height: 500px;
        width:500px;
    }

    .first-container h1{
        font-size: 20vh;
    }
.sub-thirdcontainer{
    flex-direction: column;
}

.sub-thirdcontainer img{
    height: 50px;
    width: 50px;
}

}

@media (max-width:580px) {
    .first-container img{
        display: none;
    }
    footer{
        margin-top: 55px;
    }
    .footerContainer{
        flex-wrap: wrap;
        width: 100%;
        gap: 30px;
    }
    .footerII{
        display: flex;

        justify-content: center;
    }
    #btn{
        width:80%; ;
    }
    .Testimonies{

        border-radius: 50px 0 50px 0px;
       
    }
#join{
    display: none;
}
p{
    font-size: 4vw;
}

.first-container h4{
    font-size: 6vw;
}
#btn{
    margin-bottom: 20px;
    width: 70vw;
    font-size: 6vw;
}
}
@media (max-width:570px) {
    .heading{
        width: 90vw;
    }

    .first-container h1{
        font-size: 20vw;
    }
    footer{
        gap: 30px;
    }
    footer img{
        width: 7vw;
        height: 7vw;
    }

    .sub-fifthcontainer p{
        font-size: 5vw;
        font-family: 'Humansan-normal';
    }
  
}
