*{
    padding: 0;
    margin: 0;
    text-transform: capitalize;
}

body{
    overflow-x: hidden;
}

:root{
    --heading-font: "Rochester", cursive;
    --heading-font-weight: 400;
    --heading-color: var(--bs-dark);
    --heading-line-height: 1.24;

    --swiper-theme-color: var(--bs-primary);




    --custom-easing: cubic-bezier(.17, .67, .83, .67);

    --background-color: #F3EBEB;

    --secondary-font: "Rochester", cursive;

    /* bootstrap */
    --bs-body-font-family: "Poppins", sans-serif;
    --bs-body-font-size: 1.25rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.7;
    --bs-body-color: #555555;
    --bs-body-color-rgb: 85, 85, 85;

    --bs-primary: #694E38;
    --bs-primary-dark: 155, 113, 80;
    --bs-secondary: #d6d6d2;
    --bs-black: #111;
    --bs-light: #F1F1F0;
    --bs-dark: #212529;
    --bs-gray: #9aa1a7;
    --bs-gray-dark: #51565b;

    --bs-primary-rgb: 105, 78, 56;
    --bs-secondary-rgb: 214, 214, 210;
    --bs-black-rgb: 17, 17, 17;
    --bs-light-rgb: 241, 241, 240;
    --bs-dark-rgb: 33, 37, 41;

    --bs-link-color: var(--bs-dark);
    --bs-link-color-rgb: 17, 17, 17;
    --bs-link-decoration: underline;
    --bs-link-hover-color: var(--bs-primary);
    --bs-link-hover-color-rgb: 17, 17, 17;
}
.bg-img{
    background-image: linear-gradient( rgba(109, 92, 79, 0.226)), url(images/background.png);
    height: 97vh;
    background-repeat: no-repeat;
    width: 100%;
    background-size: cover;
}

nav{
    transition: 0.5s ease-in-out;
    position: fixed;
    top: 0;
    z-index: 999;
    width: 94%;
    padding: 10px 50px;
    align-items: center;
    height: 90px;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
}
.fa-bars{
    position: absolute;
    right: 100px;
    color: #694E38;
    font-size: 30px;
}


.list{
    background-color:#694E38;
    color: #fff;
    position: absolute;
    width: 30%;
    left: 0px;
    line-height: 2;
    font-size: 20px;
    height: 100%;
    transition: 0.5s ease-in-out;
    top: 0;
    z-index: 1000;
    padding:20px 60px;
}

.list>ul{
    list-style-type: none;
    font-family: var(--bs-body-font-family);
}
.list>ul>li{
    transition: 0.3s ease-in-out;
    border: 1px solid transparent;
}

.list{
    display: flex;
    flex-direction: column;
    justify-content: center;
    display: none;
}
.fa-xmark{
    font-size: 30px;
}
.list>ul>:hover{
    border-bottom: 1px solid #fff;
}
.fl{
    padding-right: 30px;
    align-items: center;
    display: flex;
    justify-content: space-between;
}











/* main section */

.main{
    height: 60vh;
    padding: 0px 80px;
    align-content: center;
    position: relative;
    top: 100px;
}
.main>h1{
    
    font-size: 80px;
    font-family: var(--heading-font);
    font-weight: var(--heading-font-weight);
    color: var(--heading-color);
    line-height: var(--heading-line-height);
    text-transform: capitalize;
    width: 400px;
}


@media (max-width:500px){

    .main>h1{
        margin-bottom: 20px;
        font-size: 50px;
    }

    .main{
        margin-left: -30px;
    }

}
.h3{
    font-size: 20px;
    color: #694E38;
    font-weight: 200;
    letter-spacing: 4px;
    font-family: var(--bs-body-font-family);
}
.are{
    width: 400px;
    line-height: 1.6;
    color: #555555;
    margin-top: 20px;
    font-family: var(--bs-body-font-family);
}

/* subscribe */


.subs{
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 80px 40px;
    line-height: 2.5;
}
.subs>h3{
    margin-bottom: 20px;
    width: 500px;
    line-height: 1.4;
}
.subs>h1{
    font-size: 30px;
    font-family: var(--heading-font);
    font-weight: var(--heading-font-weight);
    color: var(--heading-color);
}
.inn{
    width: 350px;
    text-align:center;
    height: 43px;
    background-color: transparent;
    border: 1px solid #694E38;
    border-radius: 9px;
    color: #694E38;
    outline: none;
    margin-bottom: 20px;
}
.inn:focus{
    border: 2px solid #694E38;
}
.inn::placeholder{
    color: #694E38;
    font-size: 16px;
}
.subs>form>.btn{
    width: 350px;
    height: 50px;
    background-color: #694E38;
    color: #fff;
    border: none;
    border-radius: 9px;
}

.check{
    margin-top: -16px;
    width: 350px;
    transition: 0.5s ease-in-out;
    height: 50px;
}
.email{
    text-transform: lowercase;
}



/* calarifi */

.clari{
    padding: 20px 70px;
    display: flex;
    gap: 140px;
    justify-content: center;
}
.boxes{
    width: 400px;
    height: 200px;
    display: flex;
    border: 1px solid #d4d4d4;
    align-content: center;
    padding: 25px 10px;
}
.boxes>.i>i{
    font-size: 20px;
}
.i{
    margin-right: 20px;
}
.text>h1{
    font-size: 33px;
    font-family: var(--bs-body-font-family);
}
.p{
    margin: 30px 0px;
    width: 1200px;
    width: 300px;
    line-height: 2;
    font-size: 22px;
}
.right-carali>img{
    width: 600px;
    height: 900px;
}


.boxes{
    border-radius: 10px;
    margin-bottom: 40px;
}

.i>i{
    font-size: 20px;
    padding:6px 4px;
    border-radius: 50%;
    border: 1px solid #111;
}





@media (max-width:1237px){
    .clari{
        flex-direction: column;
        align-items: center;
    }
   .left-carali{
        display: flex;
        gap: 50px;
        flex-wrap: wrap;
        justify-content: center;
    }
}
 



@media (max-width:883px){
    .right-carali>img{
        display: none;
    }
}
 






/* self tips */

.selftips{
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 80px 90px;
}

.left-self>img{
width: 550px;
}

.right-self>h1{
    font-size: 40px;
}
.right-self>.h3{
    margin-top: 20px;
}
.right-self>p{
    font-size: 25px;
    margin: 40px 0px;
}


.t{
    margin: 30px 0px;
}
.bht{
    text-align: center;
    width: 500px;
    height: 50px;
    border-radius: 5px;
    background-color: #694E38;
    border: 1px solid #694E38;
    color: #fff;
}
.view{
    display: flex;
    justify-content: center;
}

.bht{
    font-size: 20px;
    animation: tran 2s ease-in-out 1;
}


@keyframes tran{
    0%{
        transform: translate(0px ,50px);
        background-color: transparent;
        color: #fff;
        border: none;
    }
    100%{
        background-color: #694E38;
        border: 1px solid #694E38;
        color: #fff;
        transform: translate(0px ,0px);
    }
}




@media (max-width:1156px){
    .selftips{
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .left-self>img{
        display: none;
    }
}




@media (max-width:599px){
    .right-self{
        padding: 0px 50px;
    }
    .view>.bht{
        width: 400px;
    }
    .t>.h3{
        font-size: 17px;
    }
}

/* contact section */

.contact-img>img{
    width: 100%;
}
.contact{
    padding: 40px 30px; 
    left: 30%;
    background-color: #fff;
    width: 40%;
    position: relative;
    bottom: 250px;
    box-shadow: 2px 2px 20px grey;
}
.contact>h1{
    font-size: 50px;
}

.contact>.h3{
    font-size: 28px;
    width: 500px;
    margin: 30px 0px;
}

.contact>p{
    font-size: 20px;
}

.full-name{
    padding: 20px 0px;
    text-align: center;
}
.full-name>.inn,.full-name>textarea{
    width: 400px;
    border-radius:10px;
    border: 1px solid #694E38;
}

.full-name>textarea::placeholder{
    font-size: 20px;
    text-align: center;
    color: #694E38;
    padding-top: 7px;
}

.full-name>.bht{
    width: 400px;
    margin-top: 20px;
    border-radius: 12px;
}


@media (max-width:1256px){
    .contact>h1{
        font-size: 40px;
    }
    .contact>.h3{
        width: 100%;
        padding: 10px;
        font-size: 20px;
    }
}




@media (max-width:1135px){
    .contact{
        width: 50%;
        text-align: center;
        justify-content: center;
    }
}



@media (max-width:889px){
    .contact{
        position: relative;
        left: 140px;
        width: 60%;
        text-align: center;
        justify-content: center;
    }
}



@media (max-width:786px){
    .contact{
        top: -90px;
        position: relative;
        left: 100px;
        width: 70%;
        text-align: center;
        justify-content: center;
    }
}




@media (max-width:688px){
    .contact{
        position: relative;
        left: 30px;
        width: 81%;
        text-align: center;
        justify-content: center;
    }
}



@media (max-width:562px){
    .contact{
        position: relative;
        margin: 30px 40px ;
        left: -25px;
        width: 80%;
        text-align: center;
        justify-content: center;
    }
}



/* footer */


footer{
    display: flex;
    flex-direction: column;
    align-items: center;
}
footer>p{
    text-align: center;
}
.iconn>i{
    margin: 20px 0px;
    font-size: 30px;
    transition: 0.5s ease-in-out;
}
.iconn>i:hover{
    color: #694E38;
}
.foo{
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    font-size: 20px;
    font-family: var(--bs-body-font-family);
}
footer>hr{
    width: 100%;
    margin: 30px 0px;
}



@media (max-width:678px){
    .foo{
        font-size: 17px;
    }
}


@media (max-width:600px){
    .foo{
        line-height: 2;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}












@media (max-width: 532px) {

  /* MAIN SECTION */
  .main {
    padding: 0 20px;
    text-align: center;
    top: 60px;
  }

  .main > h1 {
    font-size: 42px;
    width: 100%;
  }

  .h3 {
    font-size: 16px;
    letter-spacing: 2px;
  }

  .are {
    width: 100%;
    margin-left: 10px;
    font-size: 15px;
  }

  /* SUBSCRIBE */
  .subs > h1 {
    font-size: 24px;
  }
  .subs > h3 {
    width: 100%;
    font-size: 16px;
  }
  .inn,
  .subs > form > .btn,
  .check {
    width: 90%;
  }

  /* CLARIFY */
  .clari {
    padding: 20px;
    gap: 40px;
  }
  .boxes {
    width: 100%;
    height: auto;
  }
  .text > h1 {
    font-size: 24px;
  }
  .p {
    font-size: 16px;
    width: 100%;
  }

  /* SELF HELP TIPS */
  .selftips {
    padding: 40px 20px;
    gap: 20px;
  }
  .right-self > h1 {
    font-size: 28px;
  }
  .right-self > p {
    font-size: 18px;
  }
  .view > .bht {
    width: 90%;
  }
  .t > .h3 {
    font-size: 15px;
  }

  /* CONTACT SECTION */
  .contact {
    position: relative;
    left: 0;
    margin: 20px auto;
    width: 90%;
    padding: 20px;
  }
  .contact > h1 {
    font-size: 28px;
  }
  .contact > .h3 {
    font-size: 16px;
    width: 100%;
  }
  .contact > p {
    font-size: 15px;
  }
  .full-name > .inn,
  .full-name > textarea,
  .full-name > .bht {
    width: 90%;
  }

  /* FOOTER */
  .foo {
    flex-direction: column;
    text-align: center;
    font-size: 15px;
    gap: 10px;
  }
}