@media (max-device-width: 480px), (max-width: 950px) {
    body {
        -webkit-text-size-adjust: 100%;
        overflow: initial;

        --padding-main: 20px;
        --padding-home: 20px;
    }

    .desctop-only {
        display: none;
    }

    .reservationsButton.desctop-only {
        display: none !important;
    }

    header,
    header.inner-header {
        margin-bottom: 40px;
    }

    .mobile-only {
        display: block;
    }



    header .mobile-only {
        display: flex;
        align-items: center;
    }

    .mobile-menu {
        display: inline-flex;
        width: 30px;
        flex-direction: column;
        justify-content: space-between;
        height: 13px;
    }

    .mobile-menu > span {
        height: 1px;
        background-color: var(--color-text);
        width: 20px;
        transition: transform 0.4s;
    }

    .mobile-menu > span:first-child {
        width: 12px;
    }

    .mobile-menu > span:last-child {
        width: 100%;
    }

    header .mobile-only:last-child {
        justify-content: flex-end;
    }

    a.lined:after {
        bottom: 2px;
    }

    .home-restaurants {
        display: grid;
        grid-template-columns: 100%;
        padding: 0px calc(var(--padding-main) * 2);
        gap: 0px;
    }

    .home-restaurants > div:nth-child(2) {
        grid-row: 1;
    }

    .home-restaurants > div > .item {
        margin-top: 0px;
    }

    .home-restaurants > div > .item, .home-restaurants > div:nth-child(2) > .item {
        width: 100%;
        margin-bottom: 25px;
    }

    .home-restaurants > div > .item > .photo, .home-restaurants > div:nth-child(2) > .item > .photo {
        /* height: 85vw; */
        height: 370px;
    }

    .home-restaurants > div > .item > .logo, .home-restaurants > div:nth-child(2) > .item > .logo {
        /* height: 32vw; */
        height: 120px;
    }

    .home-restaurants > div > .item > .logo img {
        /* height: 60%;
        width: auto; */
        height: 80px;
    }

    .home-restaurants > div > .item > .name {
        height: 95px;
        font-size: 18px;
    }

    .home-restaurants .button {
        width: 100%;
        margin-top: 0px;
        margin-bottom: 10px;
    }

    .home-restaurants .button.mobile-only {
        display: flex;
    }

    .home-text {
        padding: 0px calc(var(--padding-main) * 2);
        margin-bottom: 50px;
    }

    main.home,
    footer .michelin {
        margin-bottom: 40px;
    }

    #menu {
        position: fixed;
        left: 0px;
        top: 0px;
        width: 100vw;
        transform: translateX(-100%);
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow-y: scroll;
        transition: transform 0.4s;
        background-color: var(--color-bg);
        z-index: 49;

        box-sizing: border-box;
        padding: 100px 20px 50px 20px;
    }

    #menu .mobile-only {
        margin-top: auto;
    }

    #menu .menu {
        display: flex;
        flex-direction: column;
        margin-bottom: 40px;
    }

    #menu li {
        margin-bottom: var(--line-height-normal);
    }

    .openMenu #menu {
        transform: translateX(0);
    }

    .openMenu .mobile-menu > span:nth-child(2) {
        display: none;
    }

    .openMenu .mobile-menu > span {
        width: 15px;
        position: absolute;
    }

    .openMenu .mobile-menu {
        position: relative;
    }

    .openMenu .mobile-menu > span:first-child {
        transform: rotate(45deg);
        left: 0px;
        top: 6px;
    }

    .openMenu .mobile-menu > span:last-child {
        transform: rotate(-45deg);
        left: 0px;
        bottom: 6px;
    }

    footer .line-2 {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    .newsletter form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    footer .line-3 .menu {
        display: none;
    }

    footer .line-3 {
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .newsletter {
        padding: 40px 0px;
        border-top: 1px solid var(--line-color);
        border-bottom: 1px solid var(--line-color);
        width: 100vw;
        transform: translateX(calc(0 - var(--padding-main)));
    }

    footer .line-2 input {
        margin: 20px 20px 40px 20px;
        width: calc(100vw - calc(var(--padding-main) * 4));
    }

    footer .line-2 p {
        padding: 20px 50px 0px 50px;
    }

    header.inner-header .logo img {
        width: auto !important;
        height: 50px !important;
    }
    header.inner-header .logo {
        padding: 5px 0px;
    }

    header.inner-header.small .logo {
        padding: 5px 0px;
    }

    .big-photo-with-text .photo {
        margin-bottom: 40px;
    }

    .big-photo-with-text .photo img {
        width: 100vw;
        transform: translateX(-20px);
    }

    .big-photo-with-text h2 {
        margin-bottom: var(--line-height-normal);
    }
    .big-photo-with-text .link {
        margin-top: var(--line-height-normal);
    }

    .big-photo-with-text {
        margin-bottom: 30px;
    }

    .menus > h3,
    .gallery > h3,
    .enquire > h3 {
        height: 100px;
    }

    .menus .item {
        width: 100%;
        margin: 0px;
        margin-bottom: 24px;
    }
    .menus .item .title {
        height: 70px;
    }

    .menus .item .photo {
        margin-bottom: var(--line-height-normal);
    }

    .menus .item .links .link {
        display: inline-block;
    }

    .menus .item .links .link:first-child:not(:last-child) {
        margin-bottom: var(--line-height-normal);
    }

    .menus .item .text {
        padding-bottom: var(--line-height-normal);
    }

    .menus .item .links {
        padding-bottom: 30px;
    }

    .gallery .photos {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 73vw 73vw;
        gap: 20px;
    }

    .gallery:not(.only-vertical) .photos {
        grid-auto-rows: 73vw 50vw;
    }

    .gallery .photos .photo:nth-child(6n + 5),
    .gallery .photos .photo:nth-child(6n) {
        grid-column: initial;
    }

    .gallery:not(.only-vertical) .photos .photo:nth-child(3n) {
        grid-column: 1/3;
    }

    main.home-item,
    main.home-private {
        margin-bottom: 40px;
    }

    .reservations h3 {
        height: 100px;
        margin-bottom: 40px;
    }

    .reservations .restaurants {
        display: grid;
        /* grid-template-columns: 1fr 1fr; */
        grid-template-columns: 100%;
        grid-column-gap: 20px;
        grid-row-gap: 30px;
        width: 60%;
        padding: 0px var(--padding-main);
        box-sizing: border-box;
    }

    .reservations .restaurants .item {
        margin: 0px;
        width: 100%;
    }

    .reservations .restaurants .item .photo {
        height: 45vw;
    }

    .reservations .restaurants .item .logo {
        height: 23vw;
    }

    .reservations .restaurants .item .logo img {
        height: 60%;
        width: auto;
    }

    .enquire {
        margin: 0px var(--padding-main);
    }

    .big-photo-with-text.small .photo img {
        width: 100%;
        height: auto;
        transform: none;
    }

    .big-photos {
        padding: 0px;
        margin-bottom: 40px;
    }

    .team-persons .item {
        width: 220px;
        margin: 0px;
        margin-bottom: 25px;
    }

    main.team {
        margin-bottom: 0px;
    }

    .gallery {
        position: relative;
    }

    #open-mobile-gallery {
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .hidden-gallery {
        display: none;
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        overflow-y: scroll;
        z-index: 51;
        background-color: var(--color-bg);
        padding: 20px;
        font-size: 0px;
        line-height: 0px;
    }

    .hidden-gallery img {
        width: 100%;
        margin-bottom: 20px;
    }

    .close-gallery {
        height: 60px;
        width: 100%;
        background-image: url("../img/CLOSE.svg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: 10px;
        display: inline-block;
    }

    header {
        height: 60px;
    }

    .reservations {
        border-top: 1px solid var(--color-text);
    }

    header .contacts:not(.desctop-only) {
        display: flex;
        padding: 0px;
        align-items: center;
        justify-content: flex-end;
    }

    #reservationsClose {
        font-size: 0px;
    }

    .enquire form {
        padding: 0px 20px;
        padding-bottom: 50px;
        height: min-content;

        margin-bottom: 40px;
    }

    .enquire .inputs {
        grid-template-columns: 100%;
        grid-column-gap: 20px;
        grid-row-gap: 24px;
        margin-bottom: 30px;
    }

    .enquire .inputs.small {
        grid-template-columns: 1fr 1fr;
    }

    .enquire .button {
        margin-top: 40px;
    }

    footer .line-3 span {
        display: block;
    }

    .popup-out {
        padding: 20px;
    }

    .popup-out .item {
        width: 100%;
        margin: 0px;
        margin-bottom: 24px;
    }
    .popup-out .item .title {
        height: 70px;
    }

    .popup-out .item .text {
        padding-bottom: 24px;
    }

    .popup-out .item .photo {
        margin-bottom: var(--line-height-normal);
    }

    .popup-out .item .text-footer {
        padding-bottom: 30px;
    }

    .popup-out a.lined:after {
        bottom: -3px;
    }

    .popup-out .text-footer span {
        font-size: 0px !important;
        line-height: 0px;
        display: block;
    }

    .carrers-links {
        grid-template-columns: 100%;
        grid-row-gap: 40px;
        padding: 50px 40px 0px;
    }

    footer .line-2 {
        border-top: none;
    }

    footer .line-4 {
        text-align: center !important;
        grid-template-columns: 100%;
        grid-row-gap: 18px;
    }
    footer .line-4>div:nth-child(3) {
        text-align: center !important;
    }
}
