﻿:root {
    --mainBackGroundColor: #fff;
    --mainPadding: 150px;
    --headerBackGroundColor: #FBF7F4;
    --headerHeight: 0px;
    --mainWidth: 90%;
    --fontFamily: 'EB Garamond','Poppins', sans-serif;
    --fontSize: 1.2512rem;
    --fontSizeH1: 5rem;
    --lineHeightH1: 7rem;
    --fontLineHeight: 1.625;
    --textAlignH1: center;
    --textAlignH2: right;
    --displayDesktop: block;
    --displayMobile: none;
    --autoWidth: auto;
    --imgHeroWidth: 90%;
    --widthH2: auto;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100vh;
    
}

body {
    background-color: var(--mainBackGroundColor);
    font-family: var(--fontFamily);
    font-size: var(--fontSize);
    line-height: var(--fontLineHeight);
}
header, footer {
    padding:25px;
}
header {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    background-color: var(--mainBackGroundColor);
    z-index: 3;
}
main {
    display:table;
    width: var(--mainWidth);
    padding: 150px;
    margin: auto;
    height: calc(100vh - 105px);
    padding:var(--mainPadding);
    margin-top:var(--headerHeight);
}


nav {
    position:relative;
    float:right;
}

h1 {
    font-size: var(--fontSizeH1);
    line-height: var(--lineHeightH1);
    text-align: var(--textAlignH1);
    text-transform: capitalize;
}
h2 {
    padding-bottom: 7px;
    border-bottom: solid 2px #000;
    display: table;
    width: var(--widthH2);
    float:var(--textAlignH2);
    margin-right:10%;
    margin-bottom:13px;
}
.title {
    float: left;
    width: 70%;
    font-size: 24px;
    font-weight: bold;
}
    .title a {
        color:#000;
        text-decoration:none;
    }

.logo {
    border-radius: 50%;
    vertical-align: middle;
    height: 36px;
    width: 36px;
    margin-right: 13px;
}
.desktop {
    display: var(--displayDesktop);
}
.mobile {
    display: var(--displayMobile);
}

ul.menu {
    list-style: none;
    display: flex;
    height: calc(var(--headerHeight) - 26px);
    margin:0;
    padding:0;
}

    ul.menu li {
        display: flex;
        align-items: var(--menuItemAlign);
        font-size: 16px;
        margin: 0;
        padding: 0;
    }

    a.cta {
        border-radius: 7px;
        padding: 7px 25px 7px 25px;
        color: #fff;
        background-color: #000;
        text-decoration: none;
        display: table;
        width: var(--autoWidth);
        margin-right: 13px;
        text-align: center;
    }

div.hero {
    width:100%;
    display:table;
}
.colLeft {
    width: calc(50% - 50px);
    float:left;
}
.colH2 {
    width: 45%;
    float: left;
    display: table;
    text-align:right;
}

.colInfo {
   width:45%;
    display: table;
    font-size: var(--fontSize);
    line-height: var(--fontLineHeight);
    margin-top:7px;
    float:left;
}

.colRight {
    width: calc(50% - 50px);
    float: right;
}

img.hero {
    width:var(--imgHeroWidth);
    height: 350px;
    object-fit: cover;
    object-position: right;
    border-top-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

section {
    display:table;
    width:100%;
    margin:150px auto 0 auto;
}
footer section {
    margin-top:25px 0 25px 0;
}
ul {
    list-style: none;
}

summary {
    font-weight: bold;
    font-size: var(--fontSize);
    text-align: right;
}

details {
    float: right;
    width: auto;
    margin-left: 0;
    margin-top: 3px;
    text-align: center;
    top: 0;
}

    details > summary {
        cursor: pointer;
        display: inline-block;
        text-transform: uppercase;
        font-size: var(--fontSize);
        margin: var(--summaryMargins);
        text-align: right;
    }

    details div {
        position: absolute;
        display: table;
        right: -6px;
        z-index: 9999;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15); /* optional: make it look nice */
        padding-top: 13px;
        width: 100%;
        background-color: #fff;
        border-radius: 0px;
    }
    details > div ul.menuM {
        width:90vw;
    }
    details > div ul.menuM li a {
        font-weight: normal;
        font-size: 14px;
        text-align: right;
        margin-right: 13px;
    }
ul.menuM {
    position:relative;
    display: table;
    width: 100%;
    list-style: none;
    height: calc(var(--headerHeight) + 26px);
}

    ul.menuM li {
        display: table;
        width: 100%;
        text-align: right;
        margin-bottom: 13px;
        font-size: 14px;
    }

    ul.menu a, ul.menuM a {
        margin: var(--menuItemLinkMargin);
        color: var(--linkColor);
        text-transform: uppercase;
        font-size: 14px;
    }
@media only screen and (min-device-width :279px) and (max-device-width :767px) {
    :root {
        --mainBackGroundColor: #fff;
        --mainPadding: 0px;
        --headerBackGroundColor: #FBF7F4;
        --headerHeight: 100px;
        --mainWidth: 90%;
        --fontFamily: 'EB Garamond','Poppins', sans-serif;
        --fontSize: 1.2512rem;
        --fontSizeH1: 3rem;
        --fontLineHeight: 1.625;
        --lineHeightH1: 4rem;
        --textAlignH1: left;
        --textAlignH2: left;
        --displayDesktop: none;
        --displayMobile: block;
        --autoWidth: auto;
        --imgHeroWidth: 100%;
        --widthH2: 100%;
    }

    .colLeft, .colRight, .colH2, .colInfo {
        float:unset;
        width:100%;
        margin:0;
        padding:0;
        text-align:left;
    }
}