* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "Cinzel";
    font-weight: 400;
    src: url('../fonts/Cinzel-Regular.woff2') format('woff2');
    src: url('../fonts/Cinzel-Regular.woff') format('woff');
}

html{
    scroll-behavior: smooth;
}

body {
    font-size: 14px;
    font-family: "Roboto", sans-serif;
    scroll-behavior: smooth;
}

body.active{
    overflow: hidden;
}

.wrapper {
    margin: auto;
    padding: 0 25px;
}

.header{
    font-weight: bold;
}

.header h1{
    position: absolute;
    z-index: 100;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Cinzel";
}

.header .wrapper {
    height: 41px;
    display: flex;
    align-items: center;
    position: relative;
}

.header__email {
    margin-left: auto;
}

.header__menu {
    z-index: 100;
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    max-width: 470px;
    width: 100%;
    background-color: white;
    padding: 30px;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
    text-align: center;
    font-size: 20px;
}

.header__menu ul {
    line-height: 75px;
    list-style-type: none;
}

.header__menuB {
    display: none;
    cursor: pointer;
    position: absolute;
    right: 0;
    text-align: center;
    width: -moz-fit-content;
    width: fit-content;
    height: 41px;
    z-index: 1000;
}

.header__menu.active {
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}

.language__switcher ul {
    list-style-type: none;
    display: flex;
    gap: 5px;
    margin-left: 15px;
}



.language__switcher li:first-child a{
    border-right: 1px solid black;
    padding-right: 5px;
}

.copyright {
    background-color: #385563;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

a {
    text-decoration: none;
    color: black;
}

.image__container img {
    width: 100%;
    height: 100%;
}

.appartments ul{
    list-style: disc inside none;
}


.title, .appartments h2 {
    /* text-align: center; */
    margin: 50px 0 15px 0;
}

.appartments h3{
    margin-left: -5px;
    display: inline;
}

.appartments h4{
    margin-top: 5px;
}

.appartments span{
    font-weight: bold;
}

.amenities{
    padding-bottom: 30px;
}

p span{
    font-weight: bold;
}

.nav {
    position: relative;
    background-image: url(../images/Main\ Hero\ Image.jpg);
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 900px;
}

.nav__bar {
    display: flex;
    justify-content: space-between;
}

.nav__bar ul {
    color: black;
    width: 100%;
    height: 91px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 90px;
    list-style-type: none;
}

.nav__bar--container {
    background-color: rgb(152 152 152 / 30%);
    min-height: 80px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.about__links {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
}

.about__links a {
    width: 40px;
    height: 40px;
}

.logo{
    width: 200px;
    height: 132px;
    position: absolute;
    top: 25px;
    left: 50%;
    right: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    z-index: 1;
    border: 5px solid white;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.3);
    padding: 0 20px;
}

.nav__bar a:hover {
    opacity: 70%;
}

/* .about__us {
    text-align: center;
} */

.block{
    content: "";
    width: 260px;
}

.rooms__images {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    margin-bottom: 40px;
    margin-top: 20px;
}

.rooms__images::after { 
    content: ""; 
    width: 260px;
}

.rooms__images img {
    max-width: 260px;
    height: 173.33px;
    cursor: pointer;
    border-radius: 5px;
}

.rooms__images img:hover {
    transform: scale(1.1);
}

.rooms__text {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.rooms__text h3 {
    text-align: center;
    margin: 25px 0;
    font-size: 18px;
}

.rooms__text p {
    text-align: center;
    max-width: 600px;
    margin-top: 0;
}

.rooms__text p:last-child {
    margin-bottom: 40px;
}

.contact{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact ul {
    margin: auto;
    list-style-type: none;
}

.contact ul li {
    margin-bottom: 15px;
    font-size: 14px;
}

.contact span {
    font-weight: bold;
}

.contact h1{
    margin: 50px 0 35px 0;
}

.contact h3{
    margin-bottom: 20px;
    font-weight: 400;
}

.map {
    width: 100%;
    display: flex;
    margin-bottom: 40px;
}

.main{
    background-color: #f2f2f2;
}

.espa__container{
    text-align: center;
    width: fit-content;
}

.espa__container img{
    max-width: 380px;
    width: 100%;
    position: absolute;
    right: 0;
    padding: 10px;
}

.input-control.error input,
.input-control.error select {
  border-color: #ff3860;
}

.input-control .error {
  color: #ff3860;
  font-size: 12px;
  height: 13px;
}

.footer__container {
    background-color: #557789;
    height: 200px;
    position: relative;
    display: flex;
}

.footer a{
    color: white;
}

.footer__logo {
    width: 210px;
    height: 170px;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%);
    z-index: 1;
    fill: white;
}

.footer{
    color: white;
}
.footer h3{
    margin-bottom: 7px;
}

.footer ul{
    list-style: none;
}

.footer li{
    margin-bottom: 5px;
    width: fit-content;
}

.form__container input {
    -webkit-text-fill-color: #ffffff;
}

.form__input {
    background-color: rgba(211, 211, 211, 0.4);
    border: 1px solid white;
    padding: 10px;
    height: 50px;
    color: white;
    border-radius: 2px;
    font-family: "Montserrat", sans-serif;
    text-align: center;
}

.form__input:hover,
.form__submit:hover {
    cursor: pointer
}

.form__input::placeholder {
    color: white;
}

.form__submit {
    background-color: rgba(211, 211, 211, 0.4);
    border: 1px solid white;
    padding: 10px;
    height: 50px;
    color: white;
    border-radius: 2px;
    margin-right: 20px;
    font-family: "Montserrat", sans-serif;
    margin: 0;
    display: inline;
    border-radius: 2px;
    background-color: transparent;
    width: 104px !important;
    padding: 0;
}

.form__select {
    background-color: rgba(211, 211, 211, 0.4);
    border: 1px solid white;
    padding: 10px;
    height: 50px;
    color: white;
    border-radius: 2px;
    margin-right: 20px;
    font-family: "Montserrat", sans-serif;
    margin-top: 10px;
    option {
        background-color: white;
        color: black;
    }
}

.form__container {
    position: absolute;
    top: 700px;
    left: 50%;
    transform: translate(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    height: 100px;
    display: flex;
    align-items: center;
}

.form__container label{
    position: absolute;
    visibility: hidden;
}

.book__container{
    display: flex;
    justify-content: center;
    padding: 20px;
}

.book__container .form{
    background: white;
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.book__input, .book__select{
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 16px;
}

.book__container .input-control{
    margin-bottom: 10px;
}

.book__container label{
    display: block;
    margin-bottom: 5px;
    color: #555
}

.input-control select {
    color: #888; 
}

.book__submit{
    display: block;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 20px;
    background-color: #009688;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.book__submit:hover {
    background-color: #00796b;
}

.flatpickr-input[readonly] {
    width: 195px;
}

.flatpickr-calendar {
    width: 100% !important;
    max-width: 307.875px !important;
    box-sizing: border-box;
  }
  
.flatpickr-days {
    width: initial !important;
}

.dayContainer {
    width: initial !important;
    min-width: initial !important;
    max-width: initial !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    transition: background-color 500000s ease-in-out 0s;
}

.form__container input:-webkit-autofill,
.form__container input:-webkit-autofill:hover, 
.form__container input:-webkit-autofill:focus, 
.form__container input:-webkit-autofill:active{
    -webkit-text-fill-color: #ffffff;
}

.popup-image{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    height: 100%;
    width: 100%;
    z-index: 1000;
    display: none;
}

.popup-image span {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 40px;
    font-weight: bolder;
    color: white;
    cursor: pointer;
}

.popup-image img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 5px solid white;
    border-radius: 5px;
    max-width: 80%;
    max-height: 80%;
    object-fit: cover;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -25px;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
  }
  
  .prev {
    left: 0;
  }
  
  .next {
    right: 0;
  }
  
  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }

@media screen and (max-width:1202px) {
    .form__input, .form__select, .form__submit {
        width: 130px;
    }
    .form__submit {
        margin: 20px 0 0 25px;
    }

    .form__container {
        height: 175px;
    }
    #FullName {
        margin-left: 25px;
    }
    .form__input{
        margin-right: 20px;
    }
}

@media screen and (min-width: 981px) {
    .wrapper {
        width: 900px;
    }
    #Stay{
        width: auto;
    }
    .form{
        width: 703px;
    }
    .header__title h1{
        font-size: 20px;
    }
    .header__menu {
        display: none;
    }
}

@media screen and (min-width:1203px){
    .form{
        width: 1103px;
        display: flex;
        justify-content: space-around;
    }
}

@media screen and (min-width: 1400px) {
    .wrapper {
        width: 1200px;
    }
    .nav__bar ul {
        gap: 180px;
    }
}

@media screen and (max-width: 980px) {

    .rooms__images{
        justify-content: center;
    }

    .espa__container img{
        left: 50%;
        transform: translate(-50%);
        top: 170px;
        max-width: 550px;
    }

    .form {
        max-width: 502px;
        overflow: hidden;
    }
    #FullName {
        margin-left: 0;
    }
    .form__container {
        position: relative;
        height: 400px !important;
        top: 50%;
        padding: 20px;
        justify-content: center;
        max-width: 550px;
        margin-right: 20px;
    }

    .form__submit {
        margin: 0;
    }

    .form__input {
        width: 100%;
        margin-bottom: 30px;
        margin-right: 0;
        text-align: center;
    }

    .form__adults {
        margin-left: 0;
    }
    .logo {
        top: 106px;
    }
    .header .wrapper,
    .nav__bar--container {
        display: none;
    }

    .wrapper {
        max-width: 700px;
        padding: 0 20px;
    }

    .header {
        position: absolute;
        width: 100%;
        z-index: 1111;
        background-color: white;
        display: block;
        height: 41px;
    }

    .header__menuB {
        display: block;
    }
    .language__switcher ul{
        margin: 0;
        justify-content: center;
    }
    .prev,
    .next {
        padding: 8px;  
  }

    .footer h3{
        text-align: center;
    }

    .footer ul{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .flatpickr-input[readonly] {
        width: 100%;
      }
}

@media screen  and (max-width:450px){
    .book__container .form {
        padding: 20px;
    }
    .book__input, .book__select{
        font-size: 15px;
    }
    .nav{
        height: 700px;
    }

    .form__container{
        top: 40%;
    }
}

@media screen  and (max-width:400px){
    .copyright{
        font-size: 11px;
    }
    li a{
        white-space: nowrap;
    }
}