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

body{
    font-family: "Quicksand", sans-serif;
    font-style: normal;
    margin: 0;
    font-size: 1.2rem;
    padding: 0;
    margin-top: 93px;   
}

@media screen and (min-width: 1400px) {
    .container-fluid{
        max-width: 90%;
    }
}

* {
    box-sizing: border-box;
}

h1,h2,h3,h4,h5,h6{
    font-family: "Playfair Display", serif;
    font-weight: 300;
    margin: 0 0 1rem 0;
}

h1{
    font-size: 2.4rem;    
}

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

h2{
    font-size: 2.2rem;    
}

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

h3{
    font-size: 2rem;    
}

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

h4{
    font-size: 1.8rem;    
}

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

h5{
    font-size: 1.6rem;    
}

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

h6{
    font-size: 1.4rem;    
}

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

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

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

a{
    transition: all 200ms ease;
}

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

.wpcf7 input.wpcf7-form-control,
.wpcf7-form-control {
    width: 100%;
    max-width: 38rem;
    padding: .3rem .8rem;
    margin-bottom: 1rem;
    font-family: "Quicksand", sans-serif !important;
    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;
}

/*IMAGE SINGLE*/
.page-not-found,
.page-template-single-image-template,
.single-project{
    background-color: #F0EFEA;
}

@media screen and (min-width: 992px){
    .row .image-masonry:nth-child(2) .image,
    .row .image-masonry:nth-child(4) .image,
    .row .image-masonry:nth-child(5) .image,
    .row .image-masonry:nth-child(7) .image,
    .row .image-masonry:nth-child(10) .image,
    .row .image-masonry:nth-child(12) .image{
        aspect-ratio: 16/14;
    }
    
    .row .image-masonry:nth-child(5) .image,
    .row .image-masonry:nth-child(7) .image{
        margin-top: -1.8rem;
    }
}

@media screen and (min-width: 1200px){
    .row .image-masonry:nth-child(2) .image,
    .row .image-masonry:nth-child(4) .image,
    .row .image-masonry:nth-child(5) .image,
    .row .image-masonry:nth-child(7) .image,
    .row .image-masonry:nth-child(10) .image,
    .row .image-masonry:nth-child(12) .image{
        aspect-ratio: 16/14;
    }
    
    .row .image-masonry:nth-child(5) .image,
    .row .image-masonry:nth-child(7) .image{
        margin-top: -2.8rem;
    }
}    

.page-template-single-image-template .image-highlight-wrapper{
    padding: 5rem 0;
}

.page-template-single-image-template .highlighted-image{
    display: block;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center center;
    border-radius: 1rem;
}

.page-template-single-image-template .image{
    display: block;
    aspect-ratio: 16/12;
    background-size: cover;
    background-position: center center;
    border-radius: 1rem;
    position: relative;
}

.page-template-single-image-template h6{
    text-align: center;
}

.page-template-single-image-template .image__overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0, .5);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    transition: opacity 0.3s ease;
}

.page-template-single-image-template .image__overlay svg{
    fill: white;
    width: 2.4rem;
    height: 2.4rem;
}

.page-template-single-image-template .image:hover .image__overlay {
    opacity: 1;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

/*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: .5rem;
}

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

.page-not-found a:hover{
    color: #e8c490;
}





.related-images{
}

.related-image{
    width: 100%;
    height: 16rem;
    background-color: #cecece;
    margin-bottom: 1rem;
    border-radius: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center center;
    background-size: cover;
    position: relative;
}

.related-image-overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0, .5);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    transition: opacity 0.3s ease;
}

.related-image-overlay svg{
    fill: white;
    width: 2.4rem;
    height: 2.4rem;
}

.related-image:hover .related-image-overlay{
    opacity: 1;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.related-image-0,
.related-image-3,
.related-image-4,
.related-image-7,
.related-image-8,
.related-image-11,
.related-image-12,
.related-image-15,
.related-image-16,
.related-image-19,
.related-image-20,
.related-image-23,
.related-image-24,
.related-image-27
{
    height: 24rem;
}

.related-image-3,
.related-image-7,
.related-image-11,
.related-image-15,
.related-image-19,
.related-image-23,
.related-image-27{
    margin-top: -8rem;
}

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

    .related-image{
        height: 16rem;
        margin-top: 0;
    }

    .related-image-0,
    .related-image-2,
    .related-image-4,
    .related-image-6,
    .related-image-8,
    .related-image-10,
    .related-image-12,
    .related-image-14,
    .related-image-16,
    .related-image-18,
    .related-image-20,
    .related-image-22,
    .related-image-24,
    .related-image-26,
    .related-image-28{
        height: 24rem;
    }

    .related-image-4,
    .related-image-10,
    .related-image-16,
    .related-image-22{
        margin-top: -8rem;
    }
}

@media screen and (min-width: 992px){
    .related-image{
        height: 16rem;
        margin-top: 0;
    }

    .related-image-0,
    .related-image-2,
    .related-image-5,
    .related-image-7,
    .related-image-8,
    .related-image-10,
    .related-image-13,
    .related-image-15,
    .related-image-16,
    .related-image-18,
    .related-image-21,
    .related-image-23,
    .related-image-24,
    .related-image-26
    
    {
        height: 24rem;
    }

    .related-image-5,
    .related-image-7,
    .related-image-13,
    .related-image-15,
    .related-image-21,
    .related-image-23
    {
        margin-top: -8rem;
    }
}