@font-face {
    font-family: 'Montserrat';
    src: url(../fonts/Montserrat.ttf) format('truetype');
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

html, body {
    width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
}

#price {
    overflow-y: auto;
}

th, td {
  padding: 0.75rem 1rem;
}

th {
  background: #f3f4f6;
  font-weight: 600;
}

tbody tr:nth-child(even) {
  background: #fafafa;
}

tbody tr:hover {
  background: #eef2ff;
}

.table-service {
    width: 70%;
}

caption {
    caption-side: top;
    font-weight: 700;
    text-align: center;
    padding-bottom: 0.5rem;
    font-size: 27px;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

li,
ul {
    list-style: none;
    padding: 0;
}

.header {
    font-family: var(--main-font);
    color: #000;
    position: sticky;
    top: 0;
    box-shadow: 0 1px 30px #656565;
    z-index: 1001;
}

.wrapper {
    min-height: 100%;
    width: 100%;
    font-family: 'Montserrat';
}

.container {
    max-width: 1260px;
    padding: 0 15px;
    margin: 0 auto;
    box-sizing: border-box;
}

.btn {
    font-weight: 700;
}

.carousel {
    width: 100%;
    overflow-x: auto;
    margin: 3em auto;
    display: flex;
    gap: 1em;
    scroll-behavior: smooth;
    anchor-name: --carousel;
    scroll-snap-type: x mandatory;
    position: relative;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel::scroll-button(right),
.carousel::scroll-button(left) {
    content: url(../icons/arrow_forward.svg);
    border: none;
    background-color: transparent;
    cursor: pointer;
    position: absolute;
    position-anchor: --carousel;
    position-area: right center;
    z-index: 1;
}

.carousel::scroll-button(left) {
    content: url(../icons/arrow_back.svg);
    position-area: left center;
}

.carousel::scroll-button(right):disabled,
.carousel::scroll-button(left):disabled {
    opacity: 50%;
    cursor: auto;
}

.card {
    scroll-snap-align: start;
    flex: 0 0 10em;
    height: 15em;
    padding: 1em;
    border-radius: var(--main-border-radius);
    text-align: center;
    align-content: center;
}

/*---*/


.header__top {
    padding: 20px 0;
    background-color: #fff;
}

.logo {
    font-weight: 700;
    font-size: 27px;
}

.header__top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__nav {
    align-content: center;
    margin-left: 145px;
    border-radius: var(--main-border-radius);
    padding: 0 10px 0 10px;
    font-weight: 400;
}

.header__logo {
    align-content: center;
}

.header__nav-list {
    display: flex;
    align-content: center;
    align-items: center;
}

.header__nav-item {
    margin: 0 10px 0 10px;
}

.header__nav-link a {
    scroll-behavior: smooth;
}

.book-online {
    color: #fff;
    align-content: center;
    padding: 10px 15px;
    font-weight: 700;
    background-color: #000;
    border-radius: var(--main-border-radius);
}

.header__btn {
    display: flex;
    align-content: center;
    padding: 10px;
    border-radius: var(--main-border-radius);
}

.header__btn a {
    max-width: 30px;
    min-width: 20px;
    align-content: center;
    opacity: 50%;
    transition: all .1s ease-in;
}

.header__btn a:hover {
    opacity: 100%;
}

.header__btn a:not(:last-child) {
    margin-right: 10px;
}

.nailsImg {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    object-fit: cover;
    max-height: 600px;

}

.nailsImg {
    filter: brightness(50%)
}

.section-img {
    min-height: 500px;
    background-image: url(../img/photonailsmain.jpg);
    background-size: cover;
    background-position: 50% 79%;
    background-repeat: no-repeat;
}

.information {
    background-color: #fff;
}

.main-information {
    padding-top: 80px;
    padding-bottom: 80px;
}

.main-information__inner {
    display: flex;
    justify-content: space-between;
}

.hero-left {
    align-content: center;
    margin-right: 20px;
    max-width: 600px;
}

.hero-left__main-text {
    font-size: 23px;
}

.hero-left__text {
    margin: 10px 0;
}

.booking-btn {
    margin-top: 20px;
    font-weight: 700;
}

.hero-right img {
    max-block-size: 600px;
    min-width: 200px;
    box-shadow: 5px 5px 30px lightgray;
}


.services {
    margin: 80px 0;
}

.services__list {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nail-service {
    display: flex;
    flex-direction: column;
    align-content: center;
    text-align: center;
    align-items: center;
}

.nail-service img {
    max-height: 90px;
    min-width: 50px;
    margin-bottom: 20px;
}

.services__button {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    font-weight: 700;
    margin-left: 42px;
}

.price {
    margin: 80px 0;
    box-sizing: border-box;
}

.gallery {
    margin: 80px 0;
}

.gallery-btn {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.gallery__inner {
    padding: 0 30px;
}

.contacts__hero-left iframe {
    width: 600px;
    height: 450px;
}

.footer {
    padding: 5px 0;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
}

.footer__list {
    display: flex;
    gap: 10px;
    opacity: 50%;
}

.footer__item {
    display: flex;
    align-content: center;
    align-items: center;
    font-weight: 700;
}

.link {
    opacity: 10%;
}

.footer__link img {
    max-width: 30px;
    min-height: 20px;
}

.footer__maps iframe {
    min-width: 600px;
    min-height: 300px;
}

.contacts__inner {
    display: flex;
    justify-content: space-around;
}

.columns {
    display: flex;
    gap: 60px
}

.open-burger img {
    display: none;
}

.off-screen-menu {
    display: none;
    justify-content: flex-end;
    color: #fff;
}

.off-screen-menu__inner {
    padding: 10px;
    width: 100%;
    height: 100vh;
    max-width: 300px;
    position: fixed;
    top: 0;
    display: block;
    color: #fff;
    background-color: rgba(101, 101, 101, 0.44);
    backdrop-filter: blur(30px);
    z-index: 1000;
}

.off-screen-menu__inner * {
  max-width: 100%;
  box-sizing: border-box;
}

.off-screen__nav {
    margin-top: 100px;
    color: #fff;
}

.off-screen__nav ul {
    font-size: 25px;
    display: flex;
    flex-direction: column;
    font-weight: 600;
    gap: 15px;
    text-align: left;
    align-content: left;
    align-items: left;
}

.off-screen__book-online {
    display: flex;
    justify-content: center;
    
}

.off-screen__book-online a {
    color: #000;
    background-color: #fff;
    padding: 5px 10px;
    border-radius: var(--main-border-radius);
}

.close {
    cursor: pointer;
}

@media (max-width: 450px) {
    .header__logo-link {
        font-size: 20px;
    }
    .nail-service h1 {
        font-size: 20px;
    }
    .nail-service p {
        font-size: 12px;
    }
    .services__list {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 800px) {
    .hero-right img {
        display: none;
    }
    .main-information__inner {
        display: flex;
        justify-content: center;
        align-content: center;
        text-align: center;
    }
    .contacts__hero-left iframe {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 900px) {
    .contacts__inner {
        flex-direction: column;
        justify-content: center;
        align-content: center;
        text-align: center;
    }
    
    .contacts__hero-right {
        margin-top: 30px;
    }
    
    .columns {
        justify-content: center;
    }
    
    .contacts__hero-left iframe {
        max-width: 400px;
        min-height: 450px;
    }
}

@media (max-width: 950px) {
    .open-burger img {
        display: flex;
    }
    
    .header__nav {
        display: none;
    }
    
    .book-online {
        display: none;
    }
}