*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: system-ui;
    min-height: 100vh;
}

a, p, li, span {
    text-decoration: none;
    font-size: 1.6rem;
}

/* Start of header section */

.bg {
    background: center / cover no-repeat url(background/background1.webp);
    width: 100vw;
    height: 17rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0rem 1rem 0.5rem rgb(199, 199, 199);
    flex-direction: column;
}

.logo {
    width: 18rem;
}

.reservation {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .2rem;
}

.number {
    background-color: rgb(255, 83, 83);
    padding: .8rem;
    border-radius: 5rem;
    width: 20rem;
    transition: 200ms;
}

.fa-whatsapp {
    font-size: 2.5rem;
    padding-right: .7rem;
    padding-left: 1rem;
    color: rgba(0, 0, 0, 0.553);
    transition: 100ms;
    position: absolute;
}

.number:hover i {
    color: black;
    transform: scale(1.2);
}

.number:hover {
    background-color: rgb(243, 110, 110);
}

a {
    display: flex;
    align-items: center;
}

.num {
    margin-left: auto;
    color: rgb(247, 247, 247);
    font-weight: bold;
    font-size: 1.55rem;
}

/* End of header section */

/* Start of body */

main {
    margin: auto;
    max-width: 126rem;
    width: calc(100% - 4rem);
}

.header-title {
    margin: 4.5rem 0;
}

.header-title h1 {
    font-size: 3rem;
    font-weight: 440;
}

.hero {
    display: block;
    box-shadow: 0 0 1rem 0.1rem lightgray;
    padding: 1.1rem 1rem 1.1rem 0;
    border-radius: 0.7rem;
    margin-bottom: 4rem;
}

.description {
    display: flex;
    flex-wrap: nowrap;
}

.list {
    margin: 2rem 0 2rem 4rem;
    letter-spacing: .03rem;
}

.description-line {
    display: flex;
}

.description-line i {
    font-size: 1.6rem !important;
}

.description-line:hover .arrow {
    transform: translateX(.4rem);
}

.fa-caret-right {
    padding: 0 1rem 0 0;
    transition: 200ms;
    color: orange;
    display: inline;
}

.list ul {
    list-style: none;
}

.img-container {
    width: calc(33% - 4rem);
    min-width: 37rem;
    padding: .4rem;
    margin: 0 1rem;
    transition: 200ms;
    border: solid;
    display: flex;
    justify-content: center;
}

.price h1, .price h2 {
    font-weight: 350;
    color: rgba(0, 0, 0, 0.76);
    padding-left: 1.5rem;
}

.price h1 {
    font-size: 2.4rem;
}

.reserve {
    display: flex;
    background-color: rgb(250, 209, 25);
    width: 20rem;
    height: 5rem;
    justify-content: center;
    align-items: center;
    border: solid;
    border-radius: 4rem;
    cursor: pointer;
    margin: 2rem auto;
    transition: 200ms;
}

#reserve, #display {
    display: none;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.686);
    position: fixed;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
}

#display .navbar {
    position: fixed;
    top: 0;
    height: 3rem;
    width: 100%;
    display: flex;
    align-items: center;
    margin: 1.5rem;
    justify-content: end;
}

.dl-img, .xmark {
    font-size: 2.5rem;
    color: white;
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    justify-self: flex-end;
    margin: 2rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 200ms;
}

.xmark {
    font-size: 3.6rem;
    font-weight: 100;
}

.xmark:hover, .dl-img:hover {
    color: gray;
}

.reserve p {
    transition: 200ms;
}

.reserve:hover {
    box-shadow: 0 0 1rem 0.1rem rgb(187, 187, 133);
}

.reserve:hover p {
    transform: scale(1.1);
    font-weight: 400;
}

.wrap {
    display: flex;
    align-items: center;
}

.wrap-title {
    justify-self: flex-start;
}

.wrap-title h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-left: 2rem;
}

.close {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.1rem;
    cursor: pointer;
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: 1rem;
    position: relative;
    display: block;
  }

  .close:hover {
    box-shadow: 0 0 1rem 0.1rem lightgray;
  }
  .gg-close {
    box-sizing: border-box;
    position: relative;
    display: block;
    width: 2.2rem;
    height: 2.2rem;
    border: 2px solid transparent;
    border-radius: .5rem;
}
.close::after,
.close::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 2rem;
    height: 0.2rem;
    background: currentColor;
    transform: rotate(45deg);
    border-radius: 5px;
    top: 8px;
    left: -1px
}
.close::after {
    transform: rotate(-45deg)
}

.reserve-container {
    display: block;
    background-color: rgb(247, 244, 244);
    width: 60%;
    border-radius: 0.8rem;
}

.options {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100% - 4.5rem);
    padding-bottom: 5rem;
}

.optionOne {
    width: 45%;
    margin-left: 1rem;
}

.optionOne a {
    display: flex;
    justify-content: center;
}

.options .line {
    border: solid lightgray;
    margin: 0 3rem;
    height: 25rem;
    transform: scaleX(0.4);
}

.separation {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.separation span {
    margin: 1rem 0;
    color: rgb(83, 83, 83);
}

.optionTwo {
    width: 45%;
}

.optionTwo .grid-table {
    display: grid;
    grid-template-rows: 1fr 1fr 3fr 1fr;
    grid-template-columns: 1fr 1fr;
    margin-top: 5rem;
}

.firstName {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
}

.lastName {
    grid-row: 1 / 2;
    grid-column: 2 / 3;

}

.email {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
}

.phone-number {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
}

.comment {
    grid-row: 3 / 4;
    grid-column: 1 / 3;
}

.submit {
    grid-row: 4 / 5;
    grid-column: 1 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

input:focus, textarea:focus {
    outline: 0.15rem solid rgb(0, 89, 255);
}

.comment textarea {
    width: 97% !important;
}

.comment textarea {
    height: 14rem !important;
}

.submit input {
    height: 4rem !important;
    font-size: 1.8rem;
    background-color: rgb(255, 83, 83);
    cursor: pointer;
    transition: 200ms;
}

.submit:hover input {
    background-color: black;
    color: white;
}

.firstName input, .lastName input, .email input, .comment textarea, .submit input, .phone-number input {
    width: 95%;
    margin-top: 0.4rem;
    height: 2.4rem;
    border: solid .1rem lightgray;
    border-radius: .5rem;
    margin-left: 0.1rem;
    margin-bottom: 1rem;
}

.separation-row {
    content: "";
    border-top: solid lightgray;
    width: 98%;
    display: block;
    margin: 1rem auto;

}

.flex-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flex-col h1 {
    margin: 2rem 0;
    font-size: 2.6rem;
    color: rgba(0, 0, 0, 0.853);
}

.grid-table-two {
    display: grid;
    grid-template-columns: repeat(auto-fit, 15rem);
    max-width: 90%;
    grid-gap: 1rem;
}

.image {
    cursor: zoom-in;
    width: 15rem;
    height: 15rem;
    overflow: hidden;
    display: block;
}

.image:hover img {
    transform: scale(1.2);
}

.image img {
    width: 15rem;
    height: 15rem !important;
    object-fit: cover;
    object-position: bottom;
    transition: 500ms;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }

  .fade-fast {
    animation-name: fade-fast;
    animation-duration: 500ms;
  }
  
  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }

  @keyframes fade-fast {
    from {opacity: .4}
    to {opacity: 1}
  }

.page1 {
    display: block;
}

.page2, .page3, .page4, .page5 {
    display: none;
}

.dots {
    display: flex;
    flex-direction: row;
    margin: 2rem 0;
}

.dot {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: rgba(0, 0, 0, 0.838);
    color: rgb(223, 222, 222);
    border-radius: 50%;
    font-size: 2rem;
    margin: 0.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: 300ms;
}

#one {
    background-color:rgb(207, 87, 99);
}

.dot:hover {
    background-color: rgb(207, 87, 99) !important;
}

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

.slides {
    height: 100vh;
    user-select: none;
}

.slides img {
    object-fit: contain;
    height: 100% !important;
    width: auto;
}

.next, .prev {
    display: flex;
    width: 6%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    margin: 1rem;
    color: rgb(219, 219, 219);
    cursor: pointer;
    transition: 300ms;
}

.next:hover, .prev:hover{
    color: gray;
}

.next {
    margin-left: auto;
}

.prev {
    margin-right: auto;
}

.no-display {
    display: none;
}

/* */

.grid {
    display: flex;
    flex-wrap: wrap;
    max-width: 126rem;
    padding: 5rem 0;
    margin: auto;
    justify-content: center;
}

.element {
    width: calc(25% - 4rem);
    margin: 1rem;
    padding: 1rem;
    background-color: rgba(255, 0, 0, 0.602);
    border-radius: .8rem;
    transition: 200ms;
}

.element:hover {
    box-shadow: 0 0 1rem black;
}

.sub-element-picture a {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto !important;
    vertical-align: middle;
    transition: 300ms;
}

.element:hover img {
    object-fit: cover;
    transform: scale(1.05);
}

.sub-element-name {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .5rem 0;
    font-weight: bold;
    font-size: 1.5rem;
    height: 8rem;
    display: flex;
    position: relative;
    background-color: rgb(240, 240, 240);
}

.sub-element-name a {
    color: rgb(255, 194, 80);
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    padding-top: 2.5rem;
}

.sub-text {
    font-weight: 300;
    text-align: center;
    padding-top: 1rem;
}

@media (max-width: 75rem) {
    .element {
        width: 40%;
    }

     .options {
        flex-direction: column;
     }

     .optionOne {
        display: block;
        margin: 1.5rem;
        min-width: 24rem;
     }
    
     .separation {
        flex-direction: row;
        width: 100%;
     }

     .line {
        width: 100%;
        max-width: 20rem;
        height: 1px !important;
        margin: 0 1rem !important;
        transform: none !important;
     }

     .optionTwo {
        width: 80%;
        margin-top: -2rem;
     }
 }

 @media (max-width: 40rem) {
    .element {
        width: 100%;
    }

    .reserve-container {
        width: 90%;
    }
 }

 @media (min-width: 40rem) {
    .reserve-container {
        min-width: 56rem;
    }
 }

 @media (max-width: 62rem) {
    .description {
        flex-direction: column;
    }

    .img-container {
        width: calc(100% - 4rem);
        min-width: 1rem !important;
        margin: auto;
    }
 }

 /* Start of footer section */

footer {
    width: 100vw;
 }
 
  .contacts {
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     padding: 2rem 0;
     box-shadow: 0 -1rem 2.5rem 0 rgba(0,0,0,0.3);
  }
 
  .contacts ul {
     list-style: none;
     text-align: center;
  }
 
  .contacts li {
     font-size: 1.8rem;
     font-weight: 600;
  }
 
  .contacts a {
     color: rgb(97, 97, 97);
     justify-content: center;
  }
 
 
  .social {
     display: flex;
     flex-direction: row;
     justify-content: center;
     align-items: center;
  }
 
  .social a {
     display: block;
     width: 5rem;
     height: 5rem;
     border-radius: 1.5rem;
     margin: 1rem 0.5rem 0 .5rem;
  }
 
  .social .whatsapp {
     background: center / contain no-repeat url(../social/whatsapp.png);
  }
 
  .social .instagram {
     background: center / contain no-repeat url(../social/instagram.webp);
  }