
body,html{
    font-family: "larken", sans-serif;
    font-weight: 400;
    font-optical-sizing: auto;
    /* font-weight: 400; */
    font-size: 18px;
    letter-spacing: 1px;
    font-style: normal;
}

span,input,i, textarea {
    font-family: "larken", sans-serif;
    font-weight: 300;
}

p{
    font-family: "larken", sans-serif;
    font-weight: 300;
}

h4, h5, h6{
    font-family: "larken", sans-serif;
    font-weight: 400;
}

h1, h2, h4{
    font-family: "larken", sans-serif;
    color: #111;
    font-style: 400;
    font-variant-ligatures: no-common-ligatures;
}

h3{
    font-weight: 300;
}

p{  
    font-size: 1.2rem;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.8rem;
    color: #000000;
    padding-bottom: 1.8rem;
}

h1{
    font-size: 2.8rem; 
    line-height: 2.8rem;
    padding-bottom: 1rem;
    font-weight: 500;
    /* text-transform: uppercase; */
    /* text-decoration-line: underline;
    text-decoration-color: var(--main-color);
    text-decoration-thickness: 10px;
    text-decoration-style: solid; */
}


h2{
    font-size: 2.2rem;
    line-height: 2.2rem;
    padding-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.8px;
    color: var(--main-color);
    /* text-decoration-line: underline;
    text-decoration-color: var(--main-color);
    text-decoration-thickness: 8px;
    text-decoration-style: solid; */
}

.underline-dark{
    text-decoration-color: #000000;
}

h3{
    font-size: 1.2rem;
    line-height: 1.8rem;
    font-variation-settings: "wght" 700;
    color: #000;
    padding-bottom: 1rem;
}

h4{
    font-size: 1.4rem;
    line-height: 2.2rem;
    color: #000000;
    padding-bottom: 0.4rem;
    /* text-transform: uppercase; */
}

h5{
    font-size: 1rem;
    line-height: 2rem;
    color: #000000;
    padding-bottom: 2rem;
    /* text-transform: uppercase; */
}

h6{
    font-size: 1.1rem;
    line-height: 1rem;
    color: var(--second-color);
    padding-bottom: 0.5rem;
    text-transform: uppercase;
}

@media (max-width: 650px){
  h1{
    font-size: 4.2rem;
    line-height: 4.8rem;
  }

  h2{
    font-size: 4rem;
    line-height: 4.6rem;
  }
}

@media (max-width: 400px){

    body, html{
        font-size: 16px;
    }



    p{
        font-size: 1.2rem;
        line-height: 1.6rem;
    }

     h1{
        font-size: 2.8rem;
        line-height: 2.8rem;
        font-weight: 500;
        padding-bottom: 1rem;
     }

     h2{
        font-size: 2rem;
        line-height: 2.4rem;
        font-weight: 500;
     }

     h3{
        font-size: 1.2rem;
        line-height: 1.4rem;
     }

     h4{
        font-size: 1.5rem;
        line-height: 2rem;
     }

     h5{
        font-size: 1.2rem;
     }

     h6{
        font-size: 1rem;
     }
}