:root {
    --brandColor: #365958;
    --bannerHeight: 20rem;
    --projectCardSize: 26rem;
}

[v-cloak] {
    display: none;
}

html {
    font-family: Roboto, Arial;
    font-size: 10px;
}

body {
    margin: 0;
}

input[type=submit], input[type=text], button {
    border-radius: 0;
    appearance: none;
}

button {
    color: #000;
}

a {
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
}

a:visited {
    color: #fff;
}

#wrapper {
    width: 100%;
}

#container {
    width: 100%;
}

#banner {
    width: 100%;
    height: var(--bannerHeight);
}

#bannerTitleContainer {
    display: flex;
    width: 100%;
    height: 75%;
    background-image: url('banner.jpg');
    background-position: 50% 57%;
    background-size: cover;
    background-repeat: no-repeat;
}

#bannerTitleContent {
    margin: auto;
    overflow: hidden;
}

#bannerTitleContent h1 {
    font-size: 5rem;
    font-family: brandon-grotesque;
    font-weight: normal;
    color: white;
    text-align: center;
    text-shadow: 0.2rem 0.2rem 0.4rem #000000ff;
    letter-spacing: 0.2rem;
    margin: 0;
    line-height: 1;
}

#bannerLogoContainer {
    display: flex;
    width: 100%;
    height: 25%;
    background-color: var(--brandColor);
}

#bannerLogoContainer img{
    display: block;
    height: 50%;
    width: auto;
    margin: auto;
}

#contentContainer {
    width: 100%;
    display: flex;
}

#content {
    width: 90%;
    margin: 0 auto 2.5rem auto;
}

#reservationCodeFormContainer {
    width: 100%;
    padding: 1rem 0 0 0;
}

#reservationCodeFormHeader {
    width: 100%;
}

#reservationCodeFormHeader h1 {
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0;
    padding: 1rem 0 1rem 0;
}

#reservationCodeFormContent {
    width: 100%;
}

input[type=text] {
    font-size: 1.6rem;
    height: 3rem;
    padding: 0 0.5rem 0 0.5rem;
    margin: 0;
    border: 0.1rem solid var(--brandColor);
}

#reservationCodeFormContent input[type=text] {
    width: 18rem;
}

input[type=submit] {
    font-size: 1.6rem;
    letter-spacing: 0.2rem;
    font-weight: 400;
    height: 3.2rem;
    border: 0;
    background-color: var(--brandColor);
    color: #fff;
    margin: 0;
    padding: 0;
}

#reservationCodeFormContent input[type=submit] {
    width: 12rem;
}

#projectContainer {
    width: 100%;
    display: grid;
    gap: 2.5rem;
    grid-template-columns:repeat(auto-fill, var(--projectCardSize));
    justify-content: space-around;
    margin: 5rem 0 0 0;
}

.projectCard {
    width: var(--projectCardSize);
    height: var(--projectCardSize);
    background-color: var(--brandColor);
    font-size: 10px;
}

.projectCardImageContainer {
    position:relative;
    width: 100%;
    height: 66%;
    overflow: hidden;
}

.projectCardImageContainer img {
    display: block;
    width: auto;
    height: 100%;
}

.projectCardTypeIconContainer {
    position: absolute;
    display: flex;
    width: 5em;
    height: 5em;
    top: 0;
    right: 0;
    background-color: rgba(255,255,255,0.8);
}

.projectCardTypeIconContainer img {
    display: block;
    width: auto;
    height: 3em;
    margin: auto;
}

.projectCardButtonsContainer {
    width: 100%;
    height: 34%;
}

.projectCardInfoBlock {
    width: 100%;
    height: 50%;
    color: #fff;
    display: block;
}

.projectCardInfoBlock h1 {
    padding-left: 2%;
    padding-top: 1%;
    font-size: 1.6em;
    font-weight: 500;
    margin: 0;
}

.projectCardInfoBlock h2 {
    padding-left: 2%;
    padding-top: 1%;
    font-size: 1.2em;
    font-weight: 400;
    margin: 0;
}

.projectCardButtons {
    display: flex;
    width: 100%;
    height: 50%;
}

.projectCardButton {
    display: block;
    width: 45%;
    height: 70%;
    float: left;
    margin: auto 0 auto 0.5em;
    background-color: #fff;
    color: var(--brandColor);
    border: 0;
    font-size: 1.5em;
    cursor: pointer;
}

/*
    +---------------------+
    |      CALENDAR       |
    +---------------------+
*/

#calendarContainer {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.25);
    backdrop-filter: blur(5px);
    z-index: 1000;
}

#calendarContentContainer {
    width: 100%;
    height: 100%;
    background-color: #fff;
    margin:auto;
    box-shadow: 0.25rem 0.25rem 1rem rgba(0,0,0,0.3);
}

#calendarHeaderContainer {
    position: relative;
    width: calc(100% - 2rem);
    padding-left: 2rem;
    height: 20rem;
}

#calendarHeaderContainer h1 {
    color: var(--brandColor);
    padding-left: 1rem;
    padding-top: 6rem;
    margin: 0;
    line-height: 1;
    letter-spacing: 0.2rem;
}

#calendarHeaderContainer h2 {
    color: #000;
    font-size: 1.8em;
    font-weight: bold;
    padding-left: 1rem;
    padding-top: 1rem;
    margin: 0;
}

#calendarHeaderContainer h3 {
    color: #000;
    font-size: 1.6em;
    font-weight: normal;
    padding-left: 1rem;
    padding-top: 1rem;
    margin: 0;
}

#calendarHeaderContainer h3 {
    color: #000;
    font-size: 1.6em;
    font-weight: normal;
    padding-left: 1rem;
    padding-top: 1rem;
    margin: 0;
}

#calendarHeader {
    width: 100%;
}

#calendarProjectData {
    margin-top: 2rem;
    margin-left: 1rem;
    height: 7rem;
}

#calendarTypeIcon {
    width: 7rem;
    height: 7rem;
    float: left;
    display: flex;
}

#calendarTypeIcon img {
    height: 7rem;
    width: auto;
    display: block;
    margin: auto;
}

#calendarProjectName {
    float: left;
    height: 100%;
    margin-left: 1rem;
}

#closeCalendar {
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 4rem;
    height: 4rem;
    font-size: 4rem;
    text-align: center;
    color: var(--brandColor);
    line-height: 1;
    cursor: pointer;
}

#closeCalendar a {
    color: var(--brandColor);
}

#calendarContent {
    width: 100%;
    height: calc(100% - 20rem);
    display: flex;
    flex-flow: column;
    -webkit-flex-flow: column;
}

#calendarWeekSelection {
    width: 100%;
    height: 5rem;
    display: flex;
    background-color: var(--brandColor);
    flex-shrink: 0;
}

#calendarWeekSelection button {
    display: block;
    float: left;
    width: 20%;
    height: 100%;
    border: 0;
    background-color: var(--brandColor);
    color: #fff;
    font-weight: bold;
    font-size: 2.5rem;
    cursor: pointer;
}

#calendarWeekSelection h1 {
    display: block;
    float: left;
    width: 60%;
    margin: auto;
    padding: 0;
    text-align: center;
    color: #fff;
    font-weight: normal;
}

#calendarDateScrollBox {
    width: 100%;
    float: left;
    overflow-x: auto;
    overflow-y: visible;
}

#calendarDates {
    float: left;
    display: flex;
    flex-flow: row;
}

.calendarDate {
    width: calc(25vw - 2.5px);
    float: left;
    border: 2px solid var(--brandColor);
    border-right: 0;
    flex-shrink: 0;
}

.calendarDate:last-child {
    border-right: 2px solid var(--brandColor);
}

.calendarDate h1 {
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    font-size: 1.5rem;
}

#calendarScrollBox {
    height: calc(100% - 5rem);
    overflow-y: auto;
    overflow-x: visible;
    float: left;
}

#calendar {
    display: flex;
    width: 100%;
    flex-flow: row;
    height: unset;
    white-space: nowrap;
    float: left;
}

.dayBox {
    width: calc(25vw - 2.5px);
    margin: 0;
    border: 2px solid var(--brandColor);
    border-top: 0;
    border-right: 0;
    display: flex;
    flex-flow: column;
    flex-shrink: 0;
    float: left;
}

.dayBox:last-child {
    border-right: solid 2px var(--brandColor);
}

.dateHeader {
    width: 100%;
    flex-grow: 0;
    border-bottom: 2px solid var(--brandColor);
}

.timeContainer {
    width: 90%;
    margin: 1rem auto 1rem auto;
    display: flex;
    flex-flow: column;
    justify-content: space-around;
}

.timeButton {
    font-size: 1.5rem;
    display: block;
    margin: 1.5rem auto 0 auto;
    width: 90%;
    height: 4rem;
    background-color: #fff;
    border: 2px solid var(--brandColor);
    cursor: pointer;
    user-select: none;
    padding: 0;
}

.timeButton:first-child {
    margin-top: 0;
}

#leadFormContent {
    width: 100%;
    margin: 1rem 1rem 0 1rem;
}

#selectedTimeHeader h2 {
    font-size: 1.6rem;
    font-weight: normal;
    margin: 0 0 0 1rem;
}

#selectedTimeHeader p {
    margin: 0.5rem 0 0 1rem;
    font-size: 1.6rem;;
}

#selectedTimeHeader a {
    color: var(--bannerHeight);
    text-decoration: underline;
    font-weight: bold;
}

#selectedTimeHeader a:visited {
    color: var(--bannerHeight);
}

.leadFormItem {
    float: left;
    clear: left;
    margin: 1rem 0 0 1rem;
}

.leadFormItem label {
    display: block;
    font-size: 1.4rem;
}

.leadFormItem input[type=text] {
    width: 24rem;
}

.leadFormItem input[type=submit] {
    width: 24rem;
    cursor: pointer;
}

.leadFormItem input[type=submit]:disabled {
    width: 24rem;
    background-color: #6d7979;
    cursor: default;
}

#reservationSuccessContent {
    margin-left: 2rem;
}

#reservationSuccessContent h2 {
    font-weight: normal;
    font-size: 1.6rem;
}
#reservationSuccessContent p {
    font-size: 1.4rem;
}

#reservationError p {
    font-size: 1.4rem;
    color: red;
}

footer {
    width: 100%;
    height: 12rem;
    background-color: var(--brandColor);
    display: flex;
    flex-flow: column;
}

#logoContainer {
    width: 20rem;
    margin: auto auto 0.5rem auto;
    display: flex;
    flex-flow: column;
}

#logoContainer p {
    display: block;
    width: 50%;
    margin: 0 0 1rem 0;
    color: #fff;
    font-size: 1.4rem;
}

#logoContainer a {
    display: block;
    float: left;
    margin: 0;
}

#logoContainer img {
    height: auto;
    width: 20rem;
    margin: auto 0 auto 0;
}

#legalContainer {
    margin: 0.5rem auto auto auto;
    color: #fff;
    font-size: 1.5rem;
}

#legalContainer p {
    margin: 0;
    padding: 0;
}

@media (min-width: 1025px) {
    :root {
        --bannerHeight: 40rem;
        --projectCardSize: 38rem;
    }

    #bannerTitleContent h1 {
        font-size: 10rem;
        text-shadow: 0.4rem 0.4rem 0.6rem #000000dd;
    }

    .projectCard {
        font-size: 14px;
    }

    #calendarContentContainer {
        width: 90rem;
        height: 75%;
    }

    #calendarDateScrollBox {
        display: flex;
        flex-flow: column;
    }

    #calendarDates {
        margin: 1rem auto 0 1rem;
    }

    .calendarDate {
        width: 12rem;
    }

    #calendarScrollBox {
        height: calc(100% - 5rem);
        overflow: auto;
    }

    #calendar {
        display: flex;
        flex-flow: row;
        -webkit-flex-flow: row;
        width: unset;
        height: unset;
        margin-bottom: 1rem;
        margin-left: 1rem;
    }

    .dayBox {
        width: 12rem;
        display: block;
        float: left;
        border-right: 0;
    }

    .dayBox:last-child {
        border-right: solid 2px var(--brandColor);
    }

    .dateHeader {
        width: 100%;
        flex-grow: 0;
        border-bottom: 2px solid var(--brandColor);
    }

    .timeContainer {
        display: block;
    }

    .timeButton {
        width: 8rem;
        margin: 1rem auto 0 auto;
    }
}

@media (min-width: 1750px) {
    :root {
        --bannerHeight: 60rem;
        --projectCardSize: 50rem;
    }

    #bannerTitleContent h1 {
        font-size: 15rem;
    }

    .projectCard {
        font-size: 18px;
    }

    #reservationCodeFormContainer {
        padding: 1rem 0 0 0;
    }
    
    #reservationCodeFormHeader h1 {
        font-size: 2rem;
        font-weight: 500;
        margin: 0;
        padding: 1rem 0 1rem 0;
    }

    input[type=text] {
        font-size: 2rem;
        height: 4rem;
        padding: 0 1em 0 1rem;
        border: 0.1rem solid var(--brandColor);
    }
    
    #reservationCodeFormContent input[type=text] {
        width: 36rem;
    }

    #calendarHeaderContainer h1 {
        font-size: 3rem;
    }
    
    input[type=submit] {
        font-size: 2rem;
        letter-spacing: 0.3rem;
        font-weight: 400;
        height: 4.2rem;
    }

    #reservationCodeFormContent input[type=submit] {
        width: 24rem;
    }

    .leadFormItem label {
        font-size: 1.6rem;
    }

    .leadFormItem input[type=text] {
        width: 32rem;
    }
}

@media (min-width: 2100px) {
    #content {
        width: 75%;
    }
}

@media (max-height: 500px) {
    #calendarHeaderContainer {
        height: 7rem;
    }

    #calendarHeaderContainer h1 {
        padding-top: 1rem;
    }

    #calendarProjectData {
        height: 3rem;
        margin: 1rem 0 0 0;
    }

    #calendarTypeIcon {
        display: none;
    }

    #calendarProjectName {
        height: unset;
        float: left;
    }

    #calendarProjectName h2 {
        float: left;
        margin: 0;
        padding: 0;
        font-size: 1.6rem;
        padding-right: 1rem;
    }

    #calendarProjectName h3 {
        float: left;
        padding: 0;
        margin: 0;
    }

    #calendarContent {
        height: calc(100% - 7rem);
    }

    #calendarWeekSelection {
        height: 3rem;
    }

    .timeButton {
        height: 3rem;
        font-size: 1.4rem;
        margin-top: 1rem;
    }

    .calendarDate h1 {
        margin: 0.5rem;
    }

    #calendarDateScrollBox {
        margin-top: 0.5rem;
    }
}