/**** fonts ****/

/* Previous Font*/
/* @import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@200&family=Open+Sans:wght@300;400;500;600&display=swap"); */

@import url('styleguide.css');
@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
@import url("https://fonts.googleapis.com/css?family=Livvic:800,700,600,500,400,300|Lato:400,600,700|Open+Sans:600,700|Roboto:400");

* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    font-family: var(--font-livvic);
}

h1,
h2,
h3 {
    font-family: var(--font-livvic);
}

p {
    font-family: var(--paragraph-body-text-font-family);
    font-style: var(--paragraph-body-text-font-style);
    font-weight: var(--paragraph-body-text-font-weight);
    letter-spacing: var(--paragraph-body-text-letter-spacing);
    line-height: var(--paragraph-body-text-line-height);
    font-size: var(--paragraph-body-text-font-size);
}

html,
body {
    margin: 0px;
    height: 100%;
}

a {
    text-decoration: none;
}

/**** backgrounds ****/
.img-overlay-left {
    /* display */
    width: 100%;
    height: 100%;
    background-image: linear-gradient(90deg,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.2) 100%);
}

.content .split-50-50 {
    margin: 250px 0 !important;
}

.content .split-50-50 h1 {
    font-size: 80px !important;
    font-weight: 600 !important;
}

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

    .menu-btn {
        /* display */
        display: flex;
        height: 95px;

        /* content */
        text-decoration: none;

        /* animations */
        transition: opacity 300ms ease-out;
    }

    .menu-btn div {
        /* display */
        margin: auto 0;

        /* content */
        font-size: 16px;
        font-weight: 300;
        color: #ffffff;
    }

    #search-icon {
        /* display */
        margin: auto 0;
        cursor: pointer;

        /* appearance */
        color: #ffffff;
        font-size: 32px;
        background-color: rgba(0, 0, 0, 0);
        border-width: 0;

        /* animations */
        transition: opacity 300ms ease-out;
    }

    #search-icon:hover {
        /* appearance */
        opacity: 0.8;
    }

    #mobile-menu-overlay {
        /* display */
        display: none;
    }

    #overlay {
        /* display */
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 20;

        /* content */
        background-color: rgba(0, 0, 0, 0.4);
    }

    .popup {
        /* display */
        display: none;
        padding: 20px;
        margin: auto;
        flex-direction: column;
        width: 90%;
        max-width: 1080px;
        height: 80vh;
        overflow-y: hidden;

        /* appearance */
        background-color: #ffffff;
        border-radius: 15px;
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4);
    }

    .popup p {
        /* display */
        margin-bottom: 1em;
    }

    .popup-container {
        /* display */
        height: 80vh;
        overflow-y: scroll;
    }

    /**** search bar ****/
    #search-overlay {
        /* display */
        display: none;
        position: fixed;
        width: 100vw;
        height: 100vh;
        z-index: 20;

        /* content */
        background-color: rgba(0, 0, 0, 0.4);
    }

    #search {
        /* display */
        display: flex;
        position: absolute;
        top: 20vh;
        left: 50%;
        transform: translateX(-50%);
        width: 40%;
        height: 50px;
        flex-direction: row;
        gap: 0;
        justify-content: center;
        z-index: 21;

        /* appearance */
        filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.4));
    }

    #search input {
        all: unset;

        /* display */
        padding: 6px 15px;
        width: 100%;

        /* appearance */
        color: #ffffff;
        background-color: #424242;
        border-width: 0;
        border-radius: var(--corner-radius) 0 0 var(--corner-radius);
    }

    #search button {
        /* display */
        padding: 0;
        width: 60px;
        height: 50px;
        border-width: 0;
        cursor: pointer;

        /* appearance */
        background-color: #323232;
        border-radius: 0 var(--corner-radius) var(--corner-radius) 0;
    }

    #search-bar-icon {
        /* display */
        margin: auto 0;

        /* content */
        color: #ffffff;
        font-size: 32px;

        /* animations */
        transition: color 200ms ease-out;
    }

    #search button:hover #search-bar-icon {
        /* display */
        color: #808080;
    }

    #search-bar-exit {
        /* display */
        display: flex;
        position: absolute;
        top: calc(20vh - 30px);
        left: 64%;
        cursor: pointer;

        /* appearance */
        color: #ffffff;
        font-weight: 300;
        font-size: 14px;
        background-color: rgba(0, 0, 0, 0);
        border-width: 0;

        /* animations */
        transition: opacity 200ms ease-out;
    }

    #search-bar-exit:hover {
        /* appearance */
        opacity: 0.8;
    }

    /**** backgrounds ****/
    .img-overlay-left {
        /* display */
        width: 100%;
        height: 100%;
    }

    .img-overlay-right {
        /* display */
        width: 100%;
        height: 100%;
        background-image: linear-gradient(90deg,
                rgba(0, 0, 0, 0.2) 0%,
                rgba(0, 0, 0, 0.6) 50%,
                rgba(0, 0, 0, 0.9) 100%);
    }

    .gradient-bottom {
        /* appearance */
        background-image: linear-gradient(rgba(0, 0, 0, 0) 50%,
                rgba(0, 0, 0, 0.1) 100%);
    }

    .gradient-top {
        /* appearance */
        background-image: linear-gradient(rgba(0, 0, 0, 0.1) 0%,
                rgba(0, 0, 0, 0) 50%);
    }

    /**** structure ****/
    .content {
        /* display */
        margin: 0 auto;
        width: 90%;
        max-width: 1080px;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .split-50-50 {
        display: grid;
        grid-template-columns: calc(50% - 5px) calc(50% - 5px);
        gap: 10px;
    }

    .col-1-2 {
        grid-column: 1/2;
    }

    .col-1-3 {
        grid-column: 1/3;
    }

    .col-2-3 {
        grid-column: 2/3;
    }

    /**** banner ****/
    #banner {
        /* display */
        width: 100%;
        min-height: 100vh;

        /* background */
        background-image: url("../img/skyline-at-dusk-on-commencement-bay-2264639361.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    #banner .img-overlay-right,
    #banner .img-overlay-left {
        /* display */
        display: flex;
        flex-direction: column;
        justify-content: end;
        min-height: 100vh;

        /* display */
        justify-content: end;
    }

    #banner .img-overlay-right {
        /* dipsplay */
        text-align: right;
    }

    #banner .img-overlay-left {
        /* dipsplay */
        text-align: left;
    }

    #banner .split-50-50 {
        /* display */
        margin: 80px 0;
    }

    /**** text ****/
    .white {
        color: #ffffff;
    }

    .black {
        color: #000000;
    }

    h1 {
        /* display */
        margin: 20px 0;

        /* content */
        font-size: 48px;
        font-weight: 600;
    }

    h1 em-txt {
        /* content */
        text-decoration: none;
        color: #30e3ca;
    }

    h2 {
        /* display */
        margin: 10px 0;

        /* content */
        font-size: 48px;
    }

    h2 em-txt {
        /* content */
        text-decoration: none;
        color: #11999e;
    }

    h3 {
        /* display */
        margin: 5px 0;

        /* content */
        font-weight: 600;
        font-size: 28px;
    }

    h3 em-txt {
        /* content */
        text-decoration: none;
        color: #11999e;
    }

    h4 {
        /* display */
        margin: 0;

        /* appearance */
        font-weight: 400;
        font-size: 28px;
    }

    p {
        /* display */
        margin: 0;

        /* content */
        font-weight: 300;
        font-size: 16px;
    }

    li {
        /* display */
        margin: 0;

        /* content */
        font-weight: 300;
        font-size: 16px;
    }

    /**** buttons ****/
    .more {
        /* display */
        display: block;
        margin: 20px auto;
        padding: 10px 25px;

        /* appearance */
        border-radius: 5px;
        border-width: 0;

        /* content */
        font-weight: 600;
        font-size: 16px;
        background-color: rgba(49, 227, 203, 0.2);
        color: #30e3ca;
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.05);

        /* animations */
        transition: background-color 200ms ease-out;
    }

    /**** animations ****/
    @keyframes cutDown {
        0% {
            clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        }

        100% {
            clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 0);
        }
    }

    @keyframes flyDown {
        0% {
            opacity: 0;
            transform: translateY(-200%);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /**** positioning ****/
    .center {
        /* display */
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }

    .left {
        margin: 0 auto 0 0;
    }

    .bottom {
        /* display */
        display: flex;
        flex-direction: row;
        align-content: end;
    }
}

@media screen and (max-width: 900px) {

    /**** variables ****/
    :root {
        --corner-radius: 15px;
        --animate-duration: 500ms;
    }

    /**** structure ****/
    body {
        margin: 0;
    }

    a {
        text-decoration: none;
    }

    #mobile-menu-overlay {
        /* display */
        display: none;
        flex-direction: column;
        justify-content: space-evenly;
        position: absolute;
        top: 0;
        padding: 0 5vw;
        height: 100vh;
        width: 90vw;
        z-index: 100;

        /* appearance */
        color: #ffffff;
        text-align: center;
        font-size: 24px;
        background-color: rgba(0, 0, 0, 0.8);
    }

    #mobile-menu-overlay a {
        /* appearance */
        color: #ffffff;
    }

    #mobile-menu-overlay button {
        all: unset;

        /* display */
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;

        /* appearance */
        font-weight: 700;
    }

    #overlay {
        /* display */
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 20;

        /* content */
        background-color: rgba(0, 0, 0, 0.4);
    }

    .popup {
        /* display */
        display: none;
        padding: 20px;
        margin: auto;
        flex-direction: column;
        width: 90%;
        max-width: 1080px;
        height: 70vh;
        overflow-y: hidden;

        /* appearance */
        background-color: #ffffff;
        border-radius: 15px;
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4);
    }

    .popup p {
        /* display */
        margin-bottom: 1em;
    }

    .popup-container {
        /* display */
        height: 70vh;
        overflow-y: scroll;
    }

    /**** search bar ****/
    #search-overlay {
        /* display */
        display: none;
        position: fixed;
        width: 100vw;
        height: 100vh;
        z-index: 20;

        /* content */
        background-color: rgba(0, 0, 0, 0.4);
    }

    #search {
        /* display */
        display: flex;
        position: absolute;
        top: 20vh;
        left: 50%;
        transform: translateX(-50%);
        width: 90vw;
        height: 50px;
        flex-direction: row;
        gap: 0;
        justify-content: center;
        z-index: 101;

        /* appearance */
        filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.4));
    }

    #search input {
        all: unset;

        /* display */
        padding: 6px 15px;
        width: 100%;

        /* appearance */
        color: #ffffff;
        background-color: #424242;
        border-width: 0;
        border-radius: var(--corner-radius) 0 0 var(--corner-radius);
    }

    #search button {
        /* display */
        padding: 0;
        width: 60px;
        height: 50px;
        border-width: 0;
        cursor: pointer;

        /* appearance */
        background-color: #323232;
        border-radius: 0 var(--corner-radius) var(--corner-radius) 0;
    }

    #search-bar-icon {
        /* display */
        margin: auto 0;

        /* content */
        color: #ffffff;
        font-size: 32px;

        /* animations */
        transition: color 200ms ease-out;
    }

    #search-bar-exit {
        /* display */
        display: none;
    }

    .img-overlay-right {
        /* display */
        width: 100%;
        height: 100%;
        background-image: linear-gradient(90deg,
                rgba(0, 0, 0, 0.6),
                rgba(0, 0, 0, 0.9));
    }

    .gradient-bottom {
        /* appearance */
        background-image: linear-gradient(rgba(0, 0, 0, 0) 50%,
                rgba(0, 0, 0, 0.1) 100%);
    }

    .gradient-top {
        /* appearance */
        background-image: linear-gradient(rgba(0, 0, 0, 0.1) 0%,
                rgba(0, 0, 0, 0) 50%);
    }

    /**** structure ****/
    .content {
        /* display */
        margin: 0 auto;
        width: 90%;
        max-width: 1080px;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .split-50-50 {
        /* display */
        display: flex;
        flex-direction: column;
    }

    .col-1-2 {
        grid-column: 1/2;
    }

    .col-1-3 {
        grid-column: 1/3;
    }

    .col-2-3 {
        grid-column: 2/3;
    }

    /**** banner ****/
    #banner {
        /* display */
        width: 100%;
        min-height: 100vh;

        /* background */
        background-image: url("../img/skyline-at-dusk-on-commencement-bay-2264639361.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    #banner .img-overlay-right,
    #banner .img-overlay-left {
        /* display */
        display: flex;
        flex-direction: column;
        justify-content: end;
        min-height: 100vh;

        /* display */
        justify-content: end;
    }

    #banner .img-overlay-right {
        /* dipsplay */
        text-align: right;
    }

    #banner .img-overlay-left {
        /* display */
        text-align: left;
    }

    #banner .split-50-50 {
        /* display */
        margin: 80px 0;
    }

    /**** text ****/
    .white {
        color: #ffffff;
    }

    .black {
        color: #000000;
    }

    h1 {
        /* display */
        margin: 20px 0;

        /* content */
        font-size: 50px;
    }

    h1 em-txt {
        /* content */
        text-decoration: none;
        color: #30e3ca;
    }

    h2 {
        /* display */
        margin: 10px 0;

        /* content */
        font-size: 40px;
    }

    h2 em-txt {
        /* content */
        text-decoration: none;
        color: #11999e;
    }

    h3 {
        /* display */
        margin: 5px 0;

        /* content */
        font-weight: 600;
        font-size: 28px;
    }

    h3 em-txt {
        /* content */
        text-decoration: none;
        color: #11999e;
    }

    h4 {
        /* display */
        margin: 0;

        /* appearance */
        font-weight: 400;
        font-size: 28px;
    }

    p {
        /* display */
        margin: 0;

        /* content */
        font-weight: 300;
        font-size: 16px;
    }

    li {
        /* display */
        margin: 0;

        /* content */
        font-weight: 300;
        font-size: 16px;
    }

    /**** buttons ****/
    .more {
        /* display */
        display: block;
        margin: 20px auto;
        padding: 10px 25px;

        /* appearance */
        border-radius: 5px;
        border-width: 0;

        /* content */
        font-weight: 600;
        font-size: 16px;
        background-color: rgba(49, 227, 203, 0.2);
        color: #30e3ca;
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.05);

        /* animations */
        transition: background-color 200ms ease-out;
    }

    /**** animations ****/
    @keyframes cutDown {
        0% {
            clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        }

        100% {
            clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 0);
        }
    }

    @keyframes flyDown {
        0% {
            opacity: 0;
            transform: translateY(-200%);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /**** positioning ****/
    .center {
        /* display */
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }

    .left {
        margin: 0 auto 0 0;
    }

    .bottom {
        /* display */
        display: flex;
        flex-direction: row;
        align-content: end;
    }
}