:root {
    --bg-color: #171614;
    --highlight-color: #A6A3A0;
    --main-color: #F6F4F4;
    --default-font: "Noto Sans", sans-serif;
    --highlight-font: "Times New Roman";
    font-family: var(--default-font);
    background-color: var(--bg-color);
    font-size: 16px;
}
body{
    max-width: 100vw;
    margin: 0 0 0 0 ;
}
img{
    pointer-events: none;
    user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
}
.headerBackground{
    width: 120vw;
    margin: -7vw 0 0 -20vw;
    z-index: -1;
    position: absolute;
}

header{ /*
    background-image: url(images/Background.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-position: center center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;*/

    overflow: hidden;
    position: relative;

    height: 90vh;
    color: white;
    padding:5vw 0 0 10vw;

    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimizeQuality;
}
.headerFlexWrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
}
@media (min-height:calc(120vw * 9/12)) {
    header {
        height: fit-content;
    }
    main {
        padding-top: 5vh;
    }
}
.logoWrapper{
    height: fit-content;
}
header .logo{
    width: 5vw;
    height: 5vw;
}
header span:nth-child(01){
    display: inline-block;
}
a{
    color: var(--main-color);   
}
a:hover{
    color: var(--highlight-color);
    transition: color 200ms ease-in-out;
}
a :visited{
    color: var(--highlight-color);
}

.headerText{ /*Cayman Construction & Renovations*/
    display: flex;
    flex-direction: row;
    align-items: center;
    width: fit-content;
    font-size: clamp(0.5rem, 0.9vw,2rem);
    font-weight: bolder;
    text-shadow: 2px 2px 2px black;
    max-height:100vh ;
}

.sectionTitle{
    font-size: clamp(2rem, 3vw,5rem);
    font-weight: bolder;
    text-shadow: 2px 2px 2px var(--highlight-color);
    font-style: italic;
}


header h2 { /*Elevate your space*/
    margin-bottom: 0vh;
    /*margin-top: clamp(200px, 25vh, 600px);*/
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-shadow: 2px 2px 2px black;
}
header button{
    font-size: clamp(0.5rem, 1vw,2rem);
    padding: clamp(0.5rem, 2vw, 1rem) clamp(0.5rem, 2.5vw, 1.5rem) clamp(0.5rem, 2vw, 1rem) clamp(0.5rem, 2.5vw, 1.5rem);
    border-radius: 0;
    font-weight: 100;
    margin-bottom: 10vh;
}




main{
    padding: 10vh 0 0vh 0vh;
    z-index: 1;
}
.mainWrapper1 {
    padding: 0 7vw 0 7vw;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 10vh;
    max-width: 100vw;
}
.mainWrapper1 h2{
    margin:  0 0 0 0 ;
}
.mainWrapper1 :nth-child(1) {/*our Story*/
    width: clamp(360px, 35vw, 800px);
    color: var(--main-color);
}
p{
    font-size: clamp(1rem, 1.3vw, 3rem);
}
.mainWrapper1 span:nth-child(2){
    width: fit-content;
}
.mainWrapper1 :nth-child(2) img{/*img*/
    width: clamp(360px, 45vw, 1000px);
}



.mainWrapper2{
    background-color: var(--main-color);
    padding: 10vh 0 0 0;
    width: 100vw;
}
.mainWrapper2>div:nth-child(1){ /*Services+p tag*/
    margin: 0 0 5vh 7vw;
    width: clamp(300px,50vw,2000px);
}
.mainWrapper2 >div > *{
    margin: 0 0 0 0 ;
}
.mainWrapper2 .sectionTitle{
    color: var(--bg-color);
    /*text-shadow: 2px 2px 10px var(--bg-color);*/
}
.servicesFlexWrapper h3 {
    border-bottom: 2px solid var(--bg-color);
}
.servicesFlexWrapper ul{
    list-style-position:inside ;
}
.servicesFlexWrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 7vw 0 7vw;
    max-width: 100vw;
    flex-wrap: wrap;
}


.servicesExamplesFlexWrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 10vh 0 0 0;
}
.servicesExamplesFlexWrapper span{
    border-radius: 2%;
    overflow: hidden;
}
.servicesExamplesFlexWrapper img{
    width: clamp(300px, 30vw, 700px);
}



.mainWrapper3 h2{ /*Projects*/
    color: var(--main-color);
    text-shadow: 2px 2px 10px var(--highlight-color);
    margin: 10vh 0 0 10vw;
}

.projectsFlexWrapper{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.mainWrapper3 img{
    width: clamp(120px, 30vw, 700px);
}
.mainWrapper3 span {
    border-radius: 2%;
    overflow: hidden;
}

.mainWrapper3 p {
    color: var(--main-color);
}



.mainWrapper4{
    background-color: var(--highlight-color);
    padding: clamp(10px, 10vw, 100px) 0 clamp(10px, 10vw, 100px) 0;
}

.mainWrapper4{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
}

.mainWrapper4 p{
    font-size: clamp(1rem, 2.2vw, 3rem);
    margin: 0 0 0 0;
}

.mainWrapper4 span :nth-child(2){
    color: var(--main-color);
    text-align: right;
}
.mainWrapper4 h2{
    margin: 0 0 0 0;
    font-size: clamp(1rem, 3vw, 3rem);
}


.mainWrapper4 span:nth-child(odd){
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.mainWrapper4 span:nth-child(2){
    border-color: #171614;
    border-width: 0 0 2px 0;
    border-style: solid;
    width: 25%;
}


.mainWrapper5 {
    background-color: var(--main-color);
    padding: 10vh 7vw 10vh 7vw;
}
.mainWrapper5 .sectionTitle{
    text-shadow: 2px 2px 10px black;
}
.reviewWrapper{
    background-color: white;
    width: clamp(330px, 35vw, 2000px);
    padding: 3vw;
    border: var(--bg-color) solid 1px;
    border-radius: 20px;
    display: inline-block;
}


footer{
    /*
    background-image: url(images/Footer\ BAckground.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-position: center top;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    */
    background-color: #5F5C59;
}
.footerWrapper{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 10vh 0 1vh 0;
}
footer  div {
    min-width: 260px;
}

.contactWrapper{
    height: fit-content;
}
.contactWrapper span {
    display: flex;
    flex-direction: row;
    align-items: center;
}


footer .logo{
    width: clamp(30px, 3vw, 50px);
    display: inline-block;
}

footer p {
    color: var(--main-color);
}

footer h3{
    color: var(--main-color);
    font-size: clamp(1.5rem, 2.2vw, 3rem);
    margin: 0 0 0 0;
}
footer >span{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
}
footer > span > p{
    font-size: clamp(0.4rem, 1vw, 1rem);
    text-align: center;
    margin: 0 0 0 0;
    width: fit-content;
    display: inline-block;
}
footer>span img {
    width: clamp(50px, 6vw, 100px);  
    display: inline-block;  
}

.iconWrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.fa-facebook, .fa-house {
    width: clamp(30px, 2.5vw, 100px);
    height: auto;

}


@font-face {
    font-family: "Noto Sans";
    src: url(Fonts/fonts/Noto_Sans/NotoSans-Italic-VariableFont_wdth,wght.woff2) format("woff2");
    font-display: swap;
    font-weight: 100 900;
    font-style: italic;
}

@font-face {
    font-family: "Noto Sans";
    src: url(Fonts/fonts/Noto_Sans/NotoSans-VariableFont_wdth\,wght.woff2) format("woff2");
    font-display: swap;
    font-weight: 100 900;
}













@font-face {
    font-family: "Cocomat Pro";
    src: url("Fonts/fonts/fonnts.com-cocomatpro-regular.otf") format("opentype");
}

@font-face {
    font-family: "Cocomat Pro";
    src: url("Fonts/fonts/fonnts.com-cocomatpro-italic.otf") format("opentype");
    font-style: italic;
}
@font-face {
    font-family: "Cocomat Pro";
    src: url("Fonts/fonts/fonnts.com-cocomatpro-bold.otf") format("opentype");
    font-weight: bold;
}
@font-face {
    font-family: "Cocomat Pro";
    src: url("Fonts/fonts/fonnts.com-cocomatpro-bolditalic.otf") format("opentype");
    font-weight: bold;
    font-style: italic;
}
@font-face {
    font-family: "Cocomat Pro";
    src: url("Fonts/fonts/fonnts.com-cocomatpro-extrabold.otf") format("opentype");
    font-weight: bolder;
}

@font-face {
    font-family: "Cocomat Pro";
    src: url("Fonts/fonts/fonnts.com-cocomatpro-extrabolditalic.otf") format("opentype");
    font-weight: bolder;
    font-style: italic;
}