* {
    margin: 0;
    padding: 0;
}


html {
    overflow-x: hidden;
}

/* COLOR PALETTE RULES */
body {
    background-color: var(--background);
    color: var(--foreground);
}

body a {
    color: var(--foreground);
}

/* 
body {
    background-color: white;
    color: black;
    padding-bottom: 1em;
}
body a {
    color: black;
}
body.dark-theme {
    background-color: black;
    color: white;
}
body.dark-theme a {
    color: white;
}
body a:hover {
    color:blue;
}
.svgLight {
    fill: black;
}
.svgDark {
    fill: white;
} */

/* TYPOGRAPHY RULES */
.text-rule-header {
    width: 90vw;
    margin: auto;
    margin-bottom: 2em;
    border-top: 1px solid;
}
.text-rule-half {
    width:50%;
    text-align:left;
    margin: 1em auto 1em 0;
    border-top: 1px solid;
}
.text-rule-full {
    width: 100%;
    text-align: center;
    margin: 1em auto;
    border-top: 1px solid;
}

/* BUTTON RULES - CUSTOM ... COLORS ARE IN SKELETON CSS */
.button {
    text-decoration: none;
    padding: .5em 2em;
    border: 3px solid;
    border-radius: 10em;
    text-align: center;
    width: auto; height: auto;
    display: inline-block;
    margin-right: 1em;
}
button:hover {
    font-weight: bold;
}

/* UNIVERSAL STYLING CLASSES */
.outline {
    border: 1px solid;
    /* border-radius: 3em; */
}
.pad1 {
    padding: 1em;
}
.spacer {
    height: 5em;
}

/* PAGE SETTINGS */
#pageContainer {
    width: auto;
    /* height: auto; */
}

/* Container for canvas */
#container {
    width: 100vw; height: 100vh;
}

#canvas {
    height: 80vh;
}

.footer-ps {
    /* position: absolute;
    bottom: 0; */
    width: 100%;
    margin: 2em auto 0 auto;
    text-align: center;
}

/* MENU HEADER START */
#menuContainer {
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
#menuHeader {
    text-align: center;
    margin: 0 5vw;
    width: 90vw;
}

/* Larger than tablet */
@media (min-width: 750px) {
    #menuHeader {
        width: 70vw;
        margin: 0 15vw;
    }
}

#menuHeaderScroll {
    margin: 1vh 15vw;
}

#menuHeader ul {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0; padding: 0;
}
#menuHeader li {
    list-style: none;
    flex: 1;
}
#menuHeader a {
    text-decoration: none;    
}
#menuHeader #logo {
    flex: 2;
    width: 0;
    margin: 0;
}

/* Smaller than phablet */
@media (max-width: 550px) {
    #menuHeader #logo {
        flex: 3;
    }
}

#homeLink {
    mix-blend-mode: var(--mixBlnd);
}

#homeLink:hover {
    mix-blend-mode: normal !important;
}


#svgsDiv {
    display: inline-flex;
    vertical-align: middle;
    align-items: center;
}
.svgLogo {
    display: none;
    width: auto; height: 1.2em;
}
.svgActive {
    display: inherit;
}
.icons {
    width: 1em; height: 1em;
}
.icons a, .text-rule-header {
    color: var(--foreground);
    mix-blend-mode: var(--mixBlnd);
}

.icons a:hover {
    color: var(--primary);
    mix-blend-mode: normal !important;
}
/* MENU END */

/* MODAL */
.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 3;
    margin: auto;
    background-color: rgba(0,0,0,0.5);
}
.modalContent {
    position: relative;
    max-width: 50em;
    width: 50vh;
    height: 50vh;
    max-height: 90vh;
    margin: 5em auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--background);
    font-size: 2em;
    text-align: center;
    border-radius: 2em;
}

.modal .close {
    text-align: center;
    margin-bottom: 1em;
}

.payModal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 3;
    margin: auto;
    background-color: rgba(0,0,0,0.5);
}
.payModalContent {
    position: relative;
    width: auto;
    height: auto;
    max-height: 90vh;
    margin: 5em 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--background);
    text-align: center;
    border-radius: 2em;
    padding: 2em;
}
.payModalContent img {
    margin: 2em auto;
}

.payModal .close {
    font-size: 2em;
}

/* MAIN BODY SECTION / LANDING */
#canvas {
    position: absolute;
    z-index: -1;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    display: block;
}
.landing {
    text-align: center;
    height: auto;
}

.landing h1, .landing p {
    mix-blend-mode: var(--mixBlnd);
    margin: auto;
    padding: 1em;
}

/* Sizing to fit the text within the canvas */
/* Smaller than a phablet */
@media (max-width: 550px) {
    .landing h1 {
        font-size: 2.5em;
    }
}
/* Smaller than a phone */
@media (max-width: 400px) {
    .landing h1 {
        font-size: 2em;
    }
}
/* Smaller than a phone */
@media (max-width: 300px) {
    .landing h1 {
        font-size: 1.4em;
        margin-bottom: 5em;
    }
}
/* Larger than tablet */
@media (min-width: 750px) {
    .landing h1, .landing p {
        width: 60vw;
    }
}

/* Arrow animation point to scroll down */
#landingArrow {
    position: absolute;
    margin: auto;
    width: 5em;
    top: 90%; left: 0; right: 0;
    z-index: 5;
    color: var(--fg);
    animation: soft-bounce 2s linear infinite;
    mix-blend-mode: var(--mixBlnd);
  
    /* -webkit-transition: all 2s ease;
    -moz-transition: all 2s ease;
    -ms-transition: all 2s ease;
    -o-transition: all 2s ease;
    transition: all 2s ease; */
  
  }
  
  @keyframes soft-bounce
  {
    0% { transform: translateY(0); }
    50% { transform: translateY(1em); }
    100% { transform: translateY(0); }
  }
  
  #landingArrow:hover {
    mix-blend-mode: normal !important;
  }

/* Landings and main content sections */
.pageContent {
    margin: auto;
}

.tempLanding {
    margin: auto;
    text-align: center;
}

/* services section */
.services ul {
    list-style: none;
}

.serviceTitle {
    text-align: center;
}

.servicesList {
    text-align: left;
}

/* Larger than phablet */
@media (min-width: 550px) {
    .servicesList {
        padding-top: 2.5em;
    }
}


/* PROJECTS SECTION */
.project {
    border-radius: 2em;
    height: 15vh;
    margin: 2vh auto;
    padding: 5em 1em;
}

/* realestate canvas for original location */
/* #realestate {
    margin: auto;
    width: auto; height: auto;
    
} */

/* #realestateCanvas {
    margin: auto;
    width: auto; height: auto;
    position:absolute; top: 0; left: 0;
    display: block;
} */


/* .project:hover {
    background-color: green;
} */


.contact {
    text-align: center;
}


/* FOOTER
----------------------------------- */

.footer {
    margin: 2;
}

#footerLogo * {
    height: 2.5em; width: auto;
    margin: 2em 2em 2em 0;
    display: inline-block;

}

#footerLogo + h5 {
    display: inline-block;
}

.sitemap {
    border: 1px solid;
    padding: 1em;
    border-radius: 2em;
}

.site {
    background-color: var(--background);
    border: 1px solid var(--foreground);
    border-radius: 1em;
    padding: 1em;
    margin: 0.5em;
    width: auto;
    display: inline-block;
}
