html{
    overflow-x: hidden;
    overflow-y: scroll;
    font-size: 18px;
}

body{
    font-family: "Nunito Sans", sans-serif;
    font-style: normal;
    margin: 0;
    font-size: 1rem;
    line-height: 1.8rem;
    padding: 0;
    margin-top: 77px;   
    color: var(--text-color);
}

@media screen and (min-width: 1400px) {

    .container{
        max-width: 1240px !important;
    }
    .container-fluid{
        max-width: 90%;
    }
}

* {
    box-sizing: border-box;
}

h1,h2,h3,h4,h5,h6{
    font-weight: 900;
    margin: 0 0 1rem 0;
}

h1{
    font-size: 2.2rem;    
}

@media screen and (min-width: 992px) {
    h1{
        font-size: 2.8rem; 
        line-height: 2.8rem;
    }
}

h2{
    font-size: 2rem;    
}

@media screen and (min-width: 992px) {
    h2{
        font-size: 2.2rem; 
        line-height: 2.2rem;
    }
}

h3{
    font-size: 1.8rem;    
}

@media screen and (min-width: 992px) {
    h3{
        font-size: 2.4rem;
        line-height: 2.4rem; 
    }
}

h4{
    font-size: 1.6rem;    
}

@media screen and (min-width: 992px) {
    h4{
        font-size: 2.2rem;
        line-height: 2.2rem; 
    }
}

h5{
    font-size: 1.4rem;    
}

@media screen and (min-width: 992px) {
    h5{
        font-size: 2rem;
        line-height: 2rem; 
    }
}

h6{
    font-size: 1.2rem;    
}

@media screen and (min-width: 992px) {
    h6{
        font-size: 1.6rem; 
        line-height: 2rem;
    }
}

ul{
    margin-bottom: 0;
}

img{
    width: 100%;
    height: auto;
}

p{
    margin-top: 0;
    line-height: 1.6rem;
}

a{
    color: var(--text-color);
    transition: all 200ms ease;
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}

.page-content{
    margin: 3rem 0;
}

.wpcf7 input.wpcf7-form-control,
.wpcf7-form-control {
    width: 100%;
    max-width: 38rem;
    padding: .3rem .8rem;
    margin-bottom: 1rem;
    color: black;
    border-radius: 0 !important;
    box-sizing: border-box;
}

.wpcf7-form-control.wpcf7-textarea {
    height: 10rem;
}

.wpcf7-form-control::placeholder {
    color: black;
}

.wpcf7-form-control.wpcf7-submit {
    color: white !important;
    background-color: black;
    border: 0;
    padding: .6rem 1.2rem !important;
    transition: all 200ms ease;
    width: fit-content !important;
}

.wpcf7-form-control.wpcf7-submit:hover {
    cursor: pointer;
    background-color: #e8c490;
}

/*404*/
.page-not-found{
    padding: 5rem 0;
}

.page-not-found ul{
    padding-left: 0;
    margin: 0;
}

.page-not-found ul li{
    list-style-type: none;
    margin-bottom: .2rem;
}

.page-not-found a{
    color: black;
    text-decoration: none;
    transition: all 200ms ease;
}

.page-not-found a:hover{
    color: var(--primary-color);;
}