/* html */
html, body {
    padding: 0;
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    overflow-x: hidden!important;
    width: auto!important;
}
img {
    padding:0;
    margin:0;
}
/* scrollbar */
::-webkit-scrollbar { display: none; }
/* variables */
:root {
    --gold: #AF9A63;
    --slate: #231F20;
    --white: #ffffff;
    --light-grey: #f2f2f2;
}
/* fonts */
@font-face {
    font-family: 'Engravers';
    src: url('../fonts/EngraversGothic.ttf') format('truetype');
}

/* typography */
h1 {
    font-family: 'Engravers';
    font-weight: 300;
    color: var(--white);
    padding:0;
    margin:0;
    font-size: 56px;
    text-align: center;
}
h2 {
    font-family: 'Engravers';
    font-weight: 300;
    color: var(--gold);
    font-size: 40px;
    text-align: center;
}
p { 
    font-family: 'Inter';
    font-weight: 300;
    padding: 0;
    margin:0;
    text-align:center;
    font-size: 20px;
    max-width: 360px;
    margin-bottom: 32px;
}

.text-link {
    color: var(--slate);
    font-family: 'Inter';
    font-weight: 400;
    font-size: 32px;
}

#hero-p {
    font-size: 24px;
    margin: 48px 0 48px 0;
}
#copyright-p {
    font-size: 12px;
    font-family: 'Inter';
    font-weight: 400;
    color: var(--gold);
}
.dark-copy {
    color: var(--slate);
}
.light-copy {
    color: var(--white);
}
/* letter spacing */
.ls5 {
    letter-spacing: 5px;
}
/* max width */
.mw700 {
    max-width: 700px;
}
/* height */
.h100 {
    height: 100%;
}
/*----------- layout ------------*/
.container {
    display: flex;
    width:100%;
}
.left-center {
    align-items: center;
    justify-content: flex-start;
}
.right-center {
    align-items: center;
    justify-content: flex-end;
}
.center-center {
    align-items: center;
    justify-content: center;
}
.center-end {
    align-items: center;
    justify-content: flex-end;
}
.center-start {
    align-items: center;
    justify-content: flex-start;
}
.center {
    align-items: center;
}
.horizontal {
    flex-direction: row;
}
.vertical {
    flex-direction: column;
}
.col {
    display:flex;
    flex:1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin:48px 0 48px 0;
}
.left {
    margin-left:128px;
}
.right {
    margin-right: 128px;
}
.bottom-bevel{
    flex-direction: column;
    align-items:center;
    justify-content: flex-end;
    margin-bottom:-1px;
}
.top-bevel{
    flex-direction: column;
    align-items:center;
    justify-content: flex-start;
}
/* nav */
#nav {
    background-color: var(--slate);
    display: flex;
    height: 64px;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 32px 0 32px;
    position: fixed;
    width: calc(100% - 64px);
}
/* hero */
#hero {
    height: 600px;
    display: flex;
    background-size: cover;
    background-image: url('../img/hero-bgr.png');
    background-repeat: no-repeat;
    background-position: center;
}
#hero-content {
    margin-top: 64px;
}
#overview {
    display: flex;
    background-color: var(--slate);
}
#listings {
    display: flex;
    background-size: cover;
    background-image: url('../img/listings-bgr.png');
    background-repeat: no-repeat;
    background-position: center;
}
#marketing {
    display: flex;
    background-color: var(--light-grey);
}
#buyers {
    display: flex;
    background-color: var(--slate);
}
#branding {
    display: flex;
    background-color: var(--slate);
}
#getintouch {
    display: flex;
    background-color: var(--light-grey);
}
#viewings {
    display: flex;
    background-size: cover;
    background-image: url('../img/viewings-bgr.png');
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
}
#viewings-left {
    margin-bottom: -64px;
}
#copyright { 
    display: flex;
    background-color: var(--light-grey);    
}
/*----------- buttons ------------*/
.primarybutton {
    display: flex;
    border:none;
    border-radius: 8px;
    background-color: var(--gold);
    color: var(--white);
    font-size: 20px;
    font-family: 'Inter';
    font-weight: 500;
    text-decoration: none;
    height:48px;
    width: 240px;
}
/*---------- cursor ------------*/
.hand {
    cursor: pointer;
}
/*---------- menu ------------*/
#menu-holder {
    display: none;
    flex:1;
    z-index: 999;
    background-color:var(--slate);
    width: 100%;
    position: fixed;
    top: 0;
    left:0;
    height:100%;
    flex-direction:column;
}
#menu-holder a {
    font-size:24px;
    font-family: 'Engravers';
    text-decoration: none;
    letter-spacing: 5px;
}
#menu-holder ul {
    text-align: center;
    list-style-type: none;
    margin: 32px;
    padding: 0;
}
#menu-holder li {
    margin: 16px;
}
/* colours */
.gold {
    color: var(--gold);
}
.white {
    color: var(--white);
}

/*---------- media queries ------------*/
@media (min-width: 992px) and (max-width: 1199.98px) {
    .left {
        margin-left: 64px;
    }
    .right {
        margin-right: 64px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .left {
        margin-left: 32px;
    }
    .right {
        margin-right: 32px;
    }
}

@media (min-width: 200px) and (max-width: 767.98px) {
    .left {
        margin-left: 0px;
    }
    .right {
        margin-right: 0px;
    }
    .horizontal {
        flex-direction: column;   
    }
    #listings-left {
        order: 2;
    }
    #listings-right {
        order: 1;
    }
    #buyers-left {
        order: 2;
    }
    #buyers-right {
        order: 1;
    }
    #viewings-left {
        order: 2;
    }
    #viewings-right {
        order: 1;
    }
    h1{
        font-size: 40px;
    }
    p{
        max-width: 300px;
    }
}
