@font-face {
    font-family: 'Oswald';
    src: url(../font/Oswald/Oswald-VariableFont_wght.ttf);
}

@font-face {
    font-family: 'Courier Prime';
    src: url(../font/Oswald/Oswald-VariableFont_wght.ttf);
}

@font-face {
    font-family: 'Lato';
    src: url(../font/Lato/Lato-Regular.ttf);
}

:root {
    /* --primary: #4487B6; */
    /* Grays */
    /* --gray-light: #b3b3b3; */
    --gray-lighter: #e6e6e6;
    /* --gray: #cccccc; */
    --gray-dark: #999999;
    /* --gray-darker: #666666; */
    /* --gray-darkest: #4d4d4d; */
    /* --gray-background: #d1d1d1; */
    /* --gray-border: #99b3cc; */

    /* Reds */
    /* --red-light: #ff9999; */
    /* --red: #cc3333; */
    /* --red-dark: #993333; */
    /* --red-darker: #663333; */
    /* --red-border: #cc6666; */
    /* --red-background: #996666; */

    /* Oranges */
    /* --orange-light: #ffcc99; */
    /* --orange: #ff9933; */
    --orange-dark: #ff8200;
    /* --orange-darker: #ff6633; */
    /* --orange-border: #c34016; */
    /* --orange-background: #d15532; */

    /* Yellows */
    /* --yellow-light: #ffffcc;
    --yellow: #ffcc00;
    --yellow-background: #e7e68a; */

    /* Blues */
    /* --blue-light: #99b3b3; */
    /* --blue: #85a3a3; */
    --blue: #6718b1;
    /* --blue-background: #bbcccc; */

    /* Blacks */
    --black: #000000;
    /* --black-dark: #1a1a1a; */
    /* --black-darker: #333333; */

    /* Miscellaneous */
    --misc-light: #e6e6f0;
    /* --misc-background: #ffffe6; */
    --bg: #ffffff;
}

/* :root {
    --primary: rgba(37, 37, 37, 1.0);
    --secondary: rgba(252, 41, 74, 1.0);
    --shades: rgba(238, 238, 238, 1.0);
} */

html,
body,
*,
*::after,
*::before {
    font-family: 'Lato', 'Courier Prime', 'Courier New', Courier, monospace;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--orange-dark);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--gray-dark);
}

section {
    min-height: 100vh;
    max-width: 90vw;
    overflow-x: hidden;
    position: relative;
    margin: auto;
    align-content: center;
}

footer {
    position: relative;
}

a {
    text-decoration: none;
}

.btn {
    background-color: transparent;
    border: 1px solid var(--orange-dark);
    padding: 0.5rem 1rem;
    color: var(--orange-dark);
    cursor: pointer;
    width: max-content;
    border-radius: 10px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    /* z-index: 1; */
}

.btn2 {
    background-color: var(--orange-dark);
    color: var(--bg);
}

.btn:hover {
    /* background-color: transparent; */
    color: var(--bg);
    transition: all 0.2s ease;
}

.btn::after {
    content: '';
    position: absolute;
    left: 0%;
    top: 0%;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-color: var(--orange-dark);
    transform: translateY(-150%);
    transition: all 0.2s ease;
    z-index: -1;
}

.btn2::after {
    display: none;
}

.btn:hover:after {
    transform: translateY(0%);
    transition: all 0.2s ease;
}

.btn-container {
    display: flex;
    gap: 2em;
    justify-content: center;
}

.header .btn {
    font-size: 1.2rem;
    margin-top: 1em;
}


.colored-text {
    color: var(--orange-dark);
}

.sec-flex {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}

.sec-left {
    text-align: center;
    vertical-align: middle;
    align-content: center;
    max-width: 50%;
}

.portfolio .sec-left {
    width: 55%;
    max-width: none;
}

.portfolio .sec-right {
    width: 45%;
    text-align: center;
}

.header .sec-right {
    /* text-align: right; */
    align-content: center;
}

.contact .sec-right {
    max-width: 50%;
    width: 40%;
}

.sec-flex.credits {
    justify-content: space-between;
}

.tagline {
    font-size: 3em;
    margin: 1em 25%;
    text-align: left;
    line-height: 1;
}

.building-img {
    max-height: 100%;
    max-width: 100%;
    bottom: 0;
    left: 0;
}

.about .tagline,
.contact .tagline {
    margin: 5% auto;
    line-height: 1.2;
}

p {
    font-family: Arial, Helvetica, sans-serif;
    /* margin-top: 0.5em; */
    text-align: left;
}

.about-details {
    display: flex;
    align-items: center;
    margin: 2em 0;
}

.about-details img {
    width: 5em;
}

.about-details h4 {
    margin: auto 1em;
    color: var(--orange-dark);
    text-align: left;
}

.about-details p {
    margin: auto 1em;
}

.section-header {
    font-size: 3vw;
    color: var(--orange-dark);
    text-align: center;
}

@media screen and (max-width: 60em) {
    section {
        max-width: 80vw;
    }

    section.contact {
        margin-top: 5vh;
    }

    .sec-flex {
        flex-direction: column;
        text-align: center;
    }

    .sec-left {
        max-width: none;
    }

    .tagline {
        margin: 1em 2em;
        text-align: center;
        font-size: 3em;
    }

    .portfolio .sec-left,
    .portfolio .sec-right {
        width: auto;

    }

    .contact .sec-right {
        width: 80%;
        max-width: none;
    }
}

@media screen and (max-width: 40em) {
    section {
        max-width: 90vw;
    }

    .tagline {
        font-size: 2em;
    }

    .header .btn {
        font-size: 1rem;
    }

    .section-header {
        font-size: 2em;
    }

    .contact .sec-right {
        width: 90%;
    }
}


.amenities-img {
    max-width: 70%;
    margin-left: 15%;
}

.portfolio-container {
    margin: 2em auto;
}

.portfolio-description {
    background: var(--gray-lighter);
    border-radius: 1em;
    padding: 2em;
    text-align: left;
    margin: 1em 1em;
    font-size: 1vw;
}

.portfolio-details .sec-left,
.portfolio-details .sec-right {
    width: max-content;
    max-width: none;
    position: relative;
    text-align: left;
    font-size: 1em;
    /* margin-left: 5vw; */
}

.portfolio-details {
    display: flex;
    justify-content: center;
    gap: 1em;
    align-items: center;
    text-align: left;
    width: 100%;
}

.portfolio-address {
    max-width: 60%;
}

.portfolio-details2 {
    padding: 0.5em;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1px 1em;
}

.portfolio-details2 b {
    text-align: right;
}

.portfolio-details h5 {
    text-align: right;
}

.portfolio-details-icon {
    position: relative;
    z-index: 0;
    font-size: 1.2rem;
    color: var(--orange-dark);
}

.portfolio-item-wrapper .sec-left,
.portfolio-item-wrapper .sec-right {
    width: max-content;
}


.portfolio-item-wrapper.sec-flex {
    justify-content: center;
    gap: 1vw;
}

.portfolio-item-wrapper p {
    font-size: 1vw;
    line-height: 1.25;
}

.amenities {
    /* padding: 1em; */
    /* overflow: hidden; */
    width: 100%;
}

.amenities h2 {
    padding: 10px;
}

@keyframes infiniteScroll {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

.scrolling-container {
    width: 100%;
    /* overflow-x: hidden; */
}

.horizontal-scrolling-items {
    display: flex;
    /* font-size: 40px; */
    width: max-content;
    animation-name: infiniteScroll;
    animation-duration: 30s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.horizontal-scrolling-items__item {
    white-space: nowrap;
}

.amenities ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-content: center;
    align-items: center;
    justify-content: space-evenly;
    /* width: max-content; */
    /* position: absolute; */
    /* animation-name: slide;
    animation-duration: 20s;
    animation-timing-function: linear;
    animation-iteration-count: infinite; */
    padding: 0.5em;
    /* height: max-content; */
}

.amenities ul li {
    background: var(--gray-lighter);
    width: max-content;
    padding: 5px 10px;
    border-radius: 10em;
    opacity: 0.8;
    font-size: 0.9rem;
    /* display: inline-block; */
    /* padding-left: 100%; */

    /* width: 10rem; */
}

/* 
@keyframes slide {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
} */


.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.modal-content {
    background-color: white;
    padding: 2em;
    /* width: 80%; */
    max-width: 70vw;
    max-height: 90vh;
    position: absolute;
    text-align: center;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gallery img {
    max-width: 90%;
    max-height: 60vh;
    vertical-align: top;
}

.gallery {
    display: flex;
    /* margin: 10px auto; */
    max-width: 75vw;
    position: relative;
    padding-top: 60vh;
    overflow-x: auto;
}

.gallery::-webkit-scrollbar {
    display: none;
    /* height: 5px; */
}

.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    color: var(--gray-dark);
    padding: 10px;
    cursor: pointer;
    z-index: 1;
    /* display: none; */
    /* Initially hide buttons */
    font-size: 2em;
}

.scroll-button.left {
    left: 1em;
}

.scroll-button.right {
    right: 1em;
}

.gallery__item {
    min-width: 100px;
    max-height: 150px
}

.gallery__img {
    position: fixed;
    top: 2em;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.gallery__thumb {
    padding-top: 6px;
    margin: 6px;
    display: block;
    cursor: pointer;
}

.gallery__selector {
    position: absolute;
    opacity: 0;
    visibility: hidden;
}

.gallery__selector:checked+.gallery__img {
    opacity: 1;
}

.gallery__selector:checked~.gallery__thumb>img {
    box-shadow: 0 0 0 3px var(--orange-dark);
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}





.google-maps {
    position: relative;
    padding-bottom: 25vh;
    height: 40vh;
    overflow: hidden;
}

.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.address {
    height: max-content;
    margin: 1em;
    flex-direction: row;
    gap: 1rem;
}

.border-straight {
    border: 1px solid var(--gray-lighter);
    height: 5em;
    width: 1px;
}

.contact-buttons {
    justify-content: center;
    gap: 2em;
    flex-direction: row;
}


form {
    max-width: 100%;
    padding: 2em 1em;
}

form label {
    display: block;
    padding: 1em;
    padding-top: 1em;
    margin-bottom: 1em;
    width: 100%;
    position: relative;
}

.form-label {
    position: absolute;
    left: 2em;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.3s ease all;
    pointer-events: none;
}

form input,
form textarea {
    outline: none;
    padding: 1em;
    width: 100%;
    box-sizing: border-box;
    resize: none;
    border: none;
    background: var(--gray-lighter);
}

.floating-label {
    top: 0em;
    color: var(--orange-dark);

}

form button {
    float: right;
    min-width: 10rem;
}

.footer {
    margin: auto;
    padding: 0 5vw;
}

footer .credits a {
    color: var(--blue);
}

@media screen and (max-width: 60em) {
    form button {
        float: none;
    }

    .modal-content {
        max-width: 90vw;
    }

    .gallery {
        padding-top: 60vh;
    }

    .gallery img {
        max-height: 50vh;
        /* height: 50vh; */
    }

    .gallery__img {
        bottom: 60%;
        top: auto;
        transform: translate(-50%, 50%);
    }

    .portfolio-description {
        font-size: 1em;
    }
}

@media screen and (max-width: 40em) {
    .portfolio-details-icon {
        font-size: 1em;
    }

    .portfolio-details {
        grid-gap: 0.5em 1em;
        font-size: 0.8rem;
    }

    .amenities ul li {
        font-size: 0.8rem;
    }

    .address {
        /* display: block; */
        flex-direction: column;
        margin: 1em auto;
    }

    .modal-content {
        padding: 1em;
    }

    .border-straight {
        height: 1px;
        width: 50%;
    }

    .scroll-button.left {
        left: 0;
    }

    .scroll-button.right {
        right: 0;
    }
}

.logo-header {
    margin: auto;
    width: 50%;
}

.navbar {
    background-color: var(--bg);
    -webkit-box-shadow: 0 14px 14px -14px rgba(0, 0, 0, .75);
    -moz-box-shadow: 0 14px 14px -14px rgba(0, 0, 0, .75);
    box-shadow: 0 5px 20px -20px rgba(0, 0, 0, .75);
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 10;
}

.hidden {
    display: none;
}

.nav__items {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav__link {
    color: var(--shades);
    text-decoration: none;
}

.brand a {
    padding: 10px 15px;
    text-align: center;
    display: block;
}

.logo {
    display: inline-block;
    line-height: inherit;
}

.logo img {
    max-height: 2em;
    vertical-align: text-top;
}

.brand .nav__link,
.nav__items .nav__link {
    padding: 10px 1em;
    text-align: center;
    display: block;
}

.nav__items .nav__link {
    color: var(--shades);
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.nav__items .nav__link::after {
    /* .nav__items .nav__link::before { */
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 10px;
    background: var(--orange-dark);
    transition: all 0.2s ease-out;
    z-index: -1;
    left: 0%;
    transform: translateY(-150%);
    border-radius: 10px;
}

/* .nav__items .nav__link::before {
    right: 0%;
    transform: translateX(100%);
} */

.nav__items .nav__link:hover {
    /* color: var(--bg); */
}

.nav__items .nav__link:hover::after {
    /* .nav__items .nav__link:hover::before { */
    transform: translateY(0%);
    transition: all 0.2s ease-in;
    height: 2px;
}

@media (min-width: 800px) {

    .navbar,
    .nav__items {
        display: flex;
        gap: 1em;
    }

    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .navbar {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media screen and (max-width: 799px) {
    .nav {
        position: fixed;
        top: -200%;
        left: 0;
        height: max-content;
        width: 100%;
        z-index: -1;
        background-color: var(--bg);
        opacity: 0;
        transition: all 0.2s ease;
        /* display: none; */
    }

    .nav .nav__items {
        position: relative;
        /* top: 0em; */
        /* transform: translateY(-50%); */
        width: 100%;
        padding-inline-start: 0;
    }

    .nav .nav__items .nav__item {
        display: block;
        float: none;
        width: 100%;
        text-align: right;
        margin-bottom: 10px;
    }

    .nav .nav__items .nav__item:nth-child(1) a {
        transition-delay: 0.2s;
    }

    .nav .nav__items .nav__item:nth-child(2) a {
        transition-delay: 0.3s;
    }

    .nav .nav__items .nav__item:nth-child(3) a {
        transition-delay: 0.4s;
    }

    .nav .nav__items .nav__item:nth-child(4) a {
        transition-delay: 0.5s;
    }

    .nav .nav__items .nav__item:not(:first-child) {
        margin-left: 0;
    }

    .nav .nav__items .nav__item .nav__link {
        padding: 10px 25px;
        opacity: 0;
        color: var(--black);
        font-size: 24px;
        font-weight: 600;
        transform: translateY(-20px);
        transition: all 0.2s ease;
    }

    .nav .nav__items .nav__item .nav__link:hover {
        color: var(--orange-dark);
    }

    .nav__open {
        position: absolute;
        right: 10px;
        top: 5px;
        display: block;
        width: 3em;
        height: 3em;
        cursor: pointer;
        z-index: 30;
        border-radius: 50%;
    }

    .nav__open i {
        display: block;
        width: 20px;
        height: 2px;
        background-color: var(--gray-dark);
        border-radius: 2px;
        margin-left: 14px;
    }

    .nav__open i:nth-child(1) {
        margin-top: 16px;
    }

    .nav__open i:nth-child(2) {
        margin-top: 4px;
        opacity: 1;
    }

    .nav__open i:nth-child(3) {
        margin-top: 4px;
    }

}


#nav:checked+.nav__open {
    transform: rotate(45deg);
}

#nav:checked+.nav__open i {
    background-color: var(--gray-dark);
    transition: transform 0.2s ease;
}

#nav:checked+.nav__open i:nth-child(1) {
    transform: translateY(6px) rotate(180deg);
}

#nav:checked+.nav__open i:nth-child(2) {
    opacity: 0;
}

#nav:checked~.nav__item a {
    display: block !important;
}

#nav:checked+.nav__open i:nth-child(3) {
    transform: translateY(-6px) rotate(90deg);
}

#nav:checked~.nav {
    z-index: 20;
    opacity: 1;
    top: 3em;
}

#nav:checked~.nav ul li a {
    opacity: 1;
    transform: translateY(0);
}