@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;700;800&display=swap');

:root {
    --black: #343434;
    --gold: #C9AB81;
    --background: #fafafa;
    --placeholder: #C8C8C8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Jost', sans-serif;
}

html {
    font-size: 62.5%;
}

body {
    display: flex;
    font-size: 1.6rem;
    font-weight: 300;
    width: 100%;
    height: 100vh;
    line-height: 1;
    background: var(--background);
    color: var(--black);
    overflow-x: hidden;
}

@media screen and (max-width: 1200px) {
    body {
        flex-direction: column;
        height: 100%;
    }
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

button,
input[type='button'],
input[type='submit'],
input[type='reset'] {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    margin: 0;
    padding: 0;
    cursor: pointer;
    outline: none;
}

button:hover {
    cursor: pointer;
}

span {
    font-family: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}

img {
    display: block;
}


/* title */

.text-300 {
    font-size: 1.6rem;
    font-weight: 300;
}

.text-400 {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.8rem;
}

.text-500 {
    color: var(--background);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.4;
}

.text-700 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.8rem;
}

.text-800 {
    text-align: center;
    font-size: 3.6rem;
    font-weight: 800;
    letter-spacing: 0.288rem;
    line-height: 1.44;
}

/* CSS */

.left {
    width: 50vw;
    height: 100vh;
    background: url();
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 1200px) {
    .left {
        width: 100vw;
        height: 50vh;
    }
}

@media screen and (max-width: 480px) {
    .left {
        width: 100vw;
        height: 32vh;
    }
}

.left::before {
    /* content: ''; */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(32, 32, 32, 0.6);
    z-index: 1;
}

.rectangle {
    width: calc(50vw - 5.8vw);
    height: calc(100vh - 8.2vh);
    border: 1px solid #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

@media screen and (max-width: 1200px) {
    .rectangle {
        width: calc(100vw - 8vw);
        height: calc(50vh - 8vh);
    }
}

@media screen and (max-width: 480px) {
    .rectangle {
        width: calc(100vw - 10vw);
        height: calc(32vh - 4vh);
    }
}

.logo {
    max-width: 16rem;
    /* height: 100%; */
}

@media screen and (max-width: 1200px) {
    .logo {
        max-width: 12rem;
    }
}

@media screen and (max-width: 480px) {
    .logo {
        max-width: 8.7rem;
    }
}

.right {
    width: 50vw;
    height: 100vh;
    padding: 3.33vh 2.083vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10.5vh;
    overflow-y: auto;
}

@media screen and (max-width: 1200px) {
    .right {
        width: 100vw;
        height: 100%;
        padding: 2.1rem 2rem 5.9rem 2rem;
        gap: 4.8rem;
    }
}

.back-to-web {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 1rem;
}

.back-to-web--arrow {
    width: 3.5rem;
    height: 100%;
}

.back-to-web--text {
    text-transform: uppercase;
}

.center-block {
    justify-items: center;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
/*
.center-block--dropdowns {
    width: 39.5rem;
    display: flex;
    flex-direction: column;
    margin-top: 7.77vh;
}
*/

.center-block--subtitle {
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

@media screen and (max-width: 1200px) {
    .center-block--subtitle {
        font-size: 1.8rem;
    }
}

.center-block--title {
    text-transform: uppercase;
}

@media screen and (max-width: 1200px) {
    .center-block--title {
        font-size: 3rem;
        line-height: 3.6rem;
        letter-spacing: 2.4px;
    }
}

.center-block--dropdowns {
    width: 39.5rem;
    display: flex;
    flex-direction: column;
    margin-top: 7.77vh;
}

@media screen and (max-width: 1200px) {
    .center-block--dropdowns {
        width: 82vw;
        max-width: 32.2rem;
        /* margin-top: 4rem; */
        margin-top: 3.5rem;
    }
}

.select-wrap {
    position: relative;
    width: 100%;
    height: 3.6rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* margin-bottom: 3rem; */
    margin-bottom: 4rem;
}

.select-wrap__no-bottom-margin {
    margin-bottom: 0!important;
}

.select-icon {
    position: relative;
    width: 3.6rem;
    height: 3.6rem;
    background: var(--black);
    border-radius: 5px 0px 0px 5px;
}

.select-icon-user::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url(../images/img/user.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 2.4rem;
    height: 2.4rem;
}

.select-icon-date::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url(../images/img/date.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 2.4rem;
    height: 2.4rem;
}

.select-icon-time::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url(../images/img/time.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 2.4rem;
    height: 2.4rem;
}

.select-icon-experience::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url(../images/img/questionmark.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 2.4rem;
    height: 2.4rem;
}

/* .custom-select {
    width: 90%;
    height: 3.6rem;
    padding-left: 0.7rem;
    border-radius: 0px 5px 5px 0px;
    border: 1px solid #D9D9D9;
    background-image: url('../images/img/dropdown-arrow.svg');
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
} */

.custom-select {
    width: 90%;
    height: 3.6rem;
    padding-left: 0.7rem;
    border-radius: 0px 5px 5px 0px;
    border: 1px solid #D9D9D9;
    background-image: url('../images/img/dropdown-arrow.svg');
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 1.6rem;
    font-weight: 300;
}

option {
    font-size: 1.6rem;
    font-weight: 300;
}

.custom-select-2 {
    width: 90%;
    height: 3.6rem;
    padding-left: 0.7rem;
    border-radius: 0px 5px 5px 0px;
    border: 1px solid #D9D9D9;
    background-image: url('../images/img/dropdown-arrow.svg');
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.datepick {
    width: 100%;
    border: none;
    outline: none;
    background: var(--gray);
}

.datepick:hover {
    cursor: pointer !important;
}

.selected-option {
    font-size: 1.6rem;
    font-weight: 300;
}

.options-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--background);
    border: 1px solid #D9D9D9;
    z-index: 1;
    border-radius: 5px 5px 5px 5px;
    max-height: 32rem;
    overflow-y: auto;
    display: none;
}

.option {
    padding: 0.7rem 1.5rem;
    text-transform: initial;
    cursor: pointer;
}

/*
.custom-select .option:hover {
    background-color: #f1f1f1;
}
*/

.custom-select.open .options-container {
    display: block;
}

.button {
    min-width: 12rem;
    align-self: flex-end;
    padding: 1rem 2.6rem;
    background-color: var(--black);
    border-radius: 6px;
    text-transform: uppercase;
    margin-top: 4rem;
    transition: 0.4s ease-in-out;
    margin-bottom: 8rem;
}

@media screen and (max-width: 1200px) {
    .button {
        margin-top: 1rem;
    }
}

.button:hover {
    background: var(--gold);
    transition: 0.4s ease-in-out;
}


/* step 2 */
.choosed-options-wrap {
    width: 40.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.9rem 0;
}

@media screen and (max-width: 1200px) {
    .choosed-options-wrap {
        width: 82vw;
        max-width: 32.2rem;
        padding: 2rem 0;
    }
}

.choosed-user {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 5px;
}

.choosed-icon {
    width: 2.4rem;
    height: 2.4rem;
}

@media screen and (max-width: 390px) {
    .choosed-icon {
        width: 2rem;
        height: 2rem;
    }
}

.choosed-user-text {
    padding-top: 2px;
}

@media screen and (max-width: 1200px) {
    .choosed-user-text {
        font-size: 1.4rem;
    }
}

.border {
    width: 11rem;
    height: 1px;
    background-color: var(--gold);
}


/* form */
.form {
    width: 39.5rem;
}

@media screen and (max-width: 1200px) {
    .form {
        width: 82vw;
        max-width: 32.2rem;
    }
}

.form-title {
    text-transform: uppercase;
    align-self: start;
}

.formblock {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    margin: 3rem 0;
    gap: 0.3rem;
}

@media screen and (max-width: 1200px) {
    .formblock {
        margin: 1.6rem 0;
    }
}

.formblock:nth-of-type(1) {
    margin: 1.5rem 0;
}

@media screen and (max-width: 1200px) {
    .formblock:nth-of-type(1) {
        margin: 1.6rem 0;
    }
}

.label {
    text-transform: initial;
}

.input {
    width: 100%;
    height: 3.6rem;
    border-radius: 5px;
    border: 1px solid #D9D9D9;
    padding: 1rem;
    text-align: left;
}

@media screen and (max-width: 1200px) {
    .input {
        width: 100%;
        height: 3.6rem;
        border-radius: 5px;
        border: 1px solid #D9D9D9;
        padding: 1rem;
        text-align: left;
    }
}

.input::placeholder {
    color: #C8C8C8;
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 300;
}

textarea {
    width: 100%;
    max-width: 39.5rem;
    height: 10.8rem;
    border-radius: 5px;
    border: 1px solid #D9D9D9;
    padding: 1rem;
}

.textbox {
    text-align: left;
}

.buttons {
    align-self: flex-end;
    display: flex;
    justify-content: end;
    align-items: end;
    gap: 3rem;
    margin-top: 4rem;
    margin-bottom: 8rem;
}

.button-back {
    background-color: var(--background);
    color: var(--black);
    border: 1px solid var(--background);
    margin: 0;
}

.button-back:hover {
    border: 1px solid var(--gold);
    background-color: var(--background);

}

.button-next {
    margin: 0;
}

/* step 3 */
.card-wrap {
    max-width: 42.2rem;
}

@media screen and (max-width: 1200px) {
    .card-wrap {
        max-width: 32.2rem;
    }
}

.card-form {
    width: 39.5rem;
}

@media screen and (max-width: 1200px) {
    .card-form {
        max-width: 32.2rem;
    }
}

.input-icon {
    width: 100%;
    position: relative;
}

.input-icon::before {
    position: absolute;
    content: '';
    left: 10px;
    /* Adjust as needed */
    top: 50%;
    transform: translateY(-50%);
    background: url(../images/img/credit-card-icon.svg) no-repeat center;
    background-size: contain;
    width: 20px;
    height: 20px;
}

#card {
    padding: 2rem;
    padding-left: 4rem;
    /* Make space for the icon */
}

.disclaimer-text {
    max-width: 49rem;
    text-align: start;
    margin: 1rem 0 5rem 0;
    line-height: 1.2;
}

@media screen and (max-width: 1200px) {
    .disclaimer-text {
        text-align: start;
        margin: 2rem 0 4rem 0;
    }
}

.terms-text {
    font-size: 1.2rem;
    text-align: start;
    margin: 0;
    line-height: 1.2;
}

@media screen and (max-width: 1200px) {
    .terms-text {
        line-height: 1.4rem;
    }
}

.formblock-wrap {
    display: flex;
    justify-content: space-between;
    gap: 3.7rem;
    margin-bottom: 3rem;
}

.cvv {
    position: relative;
}

.cvv-questionmark {
    position: absolute;
    top: -2px;
    right: -14px;
    background: url(../images/img/questionmark.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 1rem;
    height: 1rem;
}

.cvv-questionmark:hover {
    cursor: pointer;
}

.tooltip {
    visibility: hidden;
    width: 120px;
    background-color: var(--black);
    color: var(--background);
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 120%;
    left: 50%;
    opacity: 0;
    transition: opacity 0.3s;
}

.cvv-questionmark:hover + .tooltip,
.cvv-questionmark:focus + .tooltip {
    visibility: visible;
    opacity: 1;
}

.terms-wrap {
    display: flex;
    justify-content: start;
    align-items: start;
    gap: 1rem;
}

/* step 4 */
.center-block-4 {
    margin-top: 13rem;
}

@media screen and (max-width: 1200px) {
    .center-block-4 {
        margin-top: 8.3rem;
    }
}

.message {
    max-width: 49rem;
    text-align: center;
    margin: 3rem 0;
    line-height: 1.2;
}

@media screen and (max-width: 1200px) {
    .message {
        max-width: 31.5rem;
    }
}

.reservation-details {
    text-transform: uppercase;
    margin-top: 3rem;
}

.flex-column {
    width: max-content;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 1.5rem;
    padding: 3rem 0 3rem 0;
    margin-right: 2rem;
}

@media screen and (max-width: 1200px) {
    .flex-column {
        margin-right: 4rem;
        gap: 1.1rem;
    }
}

@media screen and (max-width: 1200px) {
    .button-4 {
        margin-top: 4rem;
    }
}

/* error message */
.error-message {
    display: flex;
    align-items: center;
    justify-content: start;
    color: #D02035;
    min-height: 2.4rem;
    font-weight: 300;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    bottom: -30px;
    margin: 0 10px 0 40px;
}

.error-message::before {
    content: ""; /* Necessary for the element to be generated */
    display: inline-block;
    margin-right: 0.5rem;
    min-width: 17px;
    height: 17px;
    background-image: url(../images/img/warning.svg);
    background-size: contain; /* Adjusts the background image to cover the element's area */
    background-repeat: no-repeat;
}



/* disable button */
#button-form:disabled {
    background-color: #C8C8C8;
    cursor: not-allowed;
}

#button-card:disabled {
    background-color: #C8C8C8;
    cursor: not-allowed;
}

/* button hover */
.button-container {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.btn-4 {
    display: inline-block;
    position: relative;
    background: none;
    cursor: pointer;
    border: 1px solid var(--background);
    border-radius: 0;
}

.btn-4::before,
.btn-4::after {
    content: "";
    width: 0;
    height: 1px;
    position: absolute;
    transition: all 0.2s linear;
    background: var(--gold);

}

span::before,
span::after {
    content: "";
    width: 1px;
    height: 0;
    position: absolute;
    transition: all 0.2s linear;
    background: var(--gold);
}

.btn-4:hover::before,
.btn-4:hover::after {
    width: 100%;
}

.btn-4:hover span::before,
.btn-4:hover span::after {
    height: 100%;
}

/*----- button 4 -----*/
.btn-4::after {
    right: 0;
    bottom: 0;
    transition-duration: 0.4s;
}

.btn-4 span::after {
    right: 0;
    bottom: 0;
    transition-duration: 0.4s;
}

.btn-4::before {
    left: 0;
    top: 0;
    transition-duration: 0.4s;
}

.btn-4 span::before {
    left: 0;
    top: 0;
    transition-duration: 0.4s;
}


/*----- margin -----*/

.mt-1 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 4rem;
}