@keyframes categories {
    0% {
        transform: translateX(-600%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes map {
    0% {
        transform: translateX(-300%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        fill: #3e9c55;
    }

    50% {
        fill: #363D42;
    }

    100% {
        fill: #3e9c55;
    }
}

@keyframes rippleAnimation {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}
/* ul */
/* xl */
/* lg */
/* md */
/* sm */
/* xs */
*,
*::after,
*::before {
    padding: 0;
    margin: 0;
}

li {
    list-style: none;
    margin: 0;
}

text {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    pointer-events: none;
}

#header {
    width: 100vw;
}

@media (max-width: 1025.8px) {
    .hidden-xs {
        display: none;
    }
}

.wrap {
    overflow: hidden;
    display: grid;
    padding-top: 95px;
    padding-left: 20px;
    padding-right: 20px;
    -moz-column-gap: 20px;
    column-gap: 20px;
    margin: 0 auto;
    width: 98vw;
}

@media (min-width: 1026px) {
    .wrap {
        grid-template-columns: 250px 1fr;
        grid-template-areas: "cat map";
    }
}

@media (max-width: 1025.8px) and (min-width: 768px) {
    .wrap {
        padding-top: 80px;
        grid-template-columns: 200px 1fr;
        grid-template-areas: "cat map";
    }
}

@media (max-width: 767.8px) {
    .wrap {
        padding-top: 100px;
    }
}

@media (max-width: 767.8px) and (min-width: 576px) {
    .wrap {
        padding-top: 100px;
        grid-template-rows: 200px 1fr;
        grid-template-areas: "cat" "map";
        row-gap: 20px;
    }
}

@media (max-width: 575.8px) {
    .wrap {
        grid-template-areas: "hamburger" "map";
    }
}

.inner {
    max-width: 1400px;
}

.hovered {
    fill: #3e9c55;
    pointer-events: auto;
    color: #00D7DF;
}

.hover-container-imgs-wrapper {
  display: flex;
}

.hover-container__info {
  width: max-content;
  font-size: 10px;
  display: none;
}

.hover-container {
  position: absolute;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  justify-items: center;
  align-items: center;
  align-content: space-between;
  background-color: #fff;
  padding: 0.5em;
  box-shadow: 0px 0px 14px 8px rgba(0, 0, 0, 0.9);
  transform: translate(-300%, -150%);
  opacity: 0;
  transition: 0.6s;
}

@media (min-width: 1026px) {
    .hover-container {
        min-width: 200px;
        min-height: 100px;
        font-size: 14px;
    }
}

@media (max-width: 1025.8px) {
    .hover-container {
        min-width: 150px;
        min-height: 100px;
        font-size: 10px;
    }
}

.hover-container.redirect-service::after {
    content: "";
    position: absolute;
    width: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    height: 70px;
    background-color: rgb(54, 61, 66);
    outline: black;
    box-shadow: 0px 13px 12px 6px rgba(0, 0, 0, 0.75);
}

@media (min-width: 1026px) {
    .hover-container.redirect-service::after {
        top: 150px;
    }
}

@media (max-width: 1025.8px) {
    .hover-container.redirect-service::after {
        top: 100px;
        height: 45px;
    }
}

.hover-container__img {
    height: 100%;
    width: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    padding: 1em;
    border-radius: 20px;
}

.hover-container__wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid black;
    grid-area: logo;
    border-radius: 20px;
}

@media (min-width: 1026px) {
    .hover-container__wrap {
        height: 120px;
        width: 120px;
    }
}

@media (max-width: 1025.8px) {
    .hover-container__wrap {
        height: 80px;
        width: 80px;
    }
}

.hover-container__shop-number {
    margin-top: 5px;
    grid-area: num;
}

.hover-container__shop-number div {
    padding-left: 20px;
    position: relative;
}

.hover-container__shop-number div::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 0px;
    width: 15px;
    height: 15px;
    background-image: url(../img/location-dot-solid.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

@media (max-width: 1025.8px) {
    .hover-container__shop-number div::before {
        width: 10px;
        height: 10px;
    }
}

.hover-container__contact {
    padding-left: 20px;
    grid-area: cct;
}

.hover-container__contact div {
    position: relative;
}

@media (max-width: 1025.8px) {
    .hover-container__contact div {
        padding-right: 0.5em;
    }
}

.hover-container__contact div::before {
    content: "";
    position: absolute;
    top: 3px;
    left: -20px;
    width: 15px;
    height: 15px;
    background-image: url(../img/phone-solid.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

@media (max-width: 1025.8px) {
    .hover-container__contact div::before {
        width: 10px;
        height: 10px;
    }
}

.categories.menu-mobile {
    position: absolute;
    overflow-y: scroll;
    overflow-x: hidden;
    top: 130px;
    left: -20px;
    height: 120px;
    transition: all 0.2s;
}

@media (min-width: 1200px) {
    .map.height {
        height: 125vh;
    }
}

.grid-image-2 {
  align-items: center;
  margin-left: 1em;
}

.grid-image-3 {
  align-items: center;
  margin-left: 1em;
}

.img2,
.img3 {
  display: none;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  padding: 1em;
  border-radius: 20px;
}

.categories {
    margin-left: 20px;
    position: relative;
    z-index: 111;
    background-color: #eeeeee;
    height: -moz-max-content;
    height: max-content;
    display: flex;
    flex-direction: column;
    grid-area: cat;
    animation: categories ease-in-out 1.5s;
    box-shadow: 6px 6px 6px 0px rgba(0, 0, 0, 0.25);
}

.categories::-webkit-scrollbar {
    width: 0.5em;
}

.categories::-webkit-scrollbar-thumb {
    background-color: #A8A8A8;
    border-radius: 6px;
}

.categories::-webkit-scrollbar-track {
    background-color: #eee;
}

@media (max-width: 767.8px) {
    .categories {
        max-height: 200px;
        flex-wrap: wrap;
    }
}

@media (max-width: 575.8px) {
    .categories {
        animation: categories ease-in-out 0.4s;
        display: none;
    }
}

.category__title {
    position: relative;
    font-weight: 600;
    padding: 0.3em 1.1em 0.3em 1.1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: start;
    cursor: pointer;
}

@media (min-width: 1026px) {
    .category__title {
        font-size: 12px;
    }
}

@media (max-width: 1025.8px) {
    .category__title {
        font-size: 10px;
    }
}

@media (max-width: 575.8px) {
    .category__title {
        min-width: 176px;
    }
}

.category__title:hover {
    background-color: black;
    color: white;
    transition: all 0.7s;
}

.category__title::after {
    content: "";
    opacity: 0;
    position: absolute;
    top: 4px;
    right: 5px;
    height: 15px;
    width: 15px;
    background: url(../img/x-solid.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: all 0.7s;
}

.category__title::after:hover {
    fill: blue;
}

.category__title.active {
    color: white;
    background-color: black;
    transition: all 0.7s;
}

.category__title.active::after {
    opacity: 1;
    transition: all 0.7s;
}

.category__title:last-child {
    padding-bottom: 0.5em;
}

.category__item {
    position: absolute;
    background-color: #eeeeee;
    min-width: 100%;
    max-height: 215px;
    overflow-y: auto;
    display: none;
    z-index: 1;
    top: 0px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s, visibility 0.3s;
}

.category__item::-webkit-scrollbar {
    width: 0.5em;
}

.category__item::-webkit-scrollbar-thumb {
    background-color: #A8A8A8;
    border-radius: 6px;
}

.category__item::-webkit-scrollbar-track {
    background-color: #eee;
}

.category__item.active {
    opacity: 1;
    visibility: visible;
    display: block;
    transition: all 0.6s, visibility 0.3s;
}

.category__item-name {
    position: relative;
    z-index: 1111;
    padding: 0.3em 0.3em 0.3em 0.7em;
    font-size: 10px !important;
    margin-bottom: 0.2em;
    color: black;
    cursor: pointer;
    transition: all 0.7s;
}

.category__item-name:hover {
    color: white;
    background-color: black;
    transition: all 0.7s;
}

.category__item-name::after {
    content: "";
    position: absolute;
    opacity: 0;
    top: 3px;
    right: 5px;
    height: 15px;
    width: 15px;
    background: url(../img/check-solid.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: all 0.7s;
}

.category__item-name.active {
    color: white;
    background-color: black;
    transition: all 0.7s;
}

.category__item-name.active::after {
    opacity: 1;
    transition: all 0.7s;
}

.hamburger {
    grid-area: hamburger;
    position: relative;
    width: 30px;
    height: 30px;
    margin-right: auto;
    cursor: pointer;
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
}

@media (min-width: 576px) {
    .hamburger {
        display: none;
    }
}

.hamburger-row {
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 3px;
    transition: 0.25s ease-in-out;
    transform: rotate(0deg);
    opacity: 1;
    border-radius: 5px;
    background-color: black;
}

.hamburger-row:nth-of-type(1) {
    top: 0;
}

.hamburger-row:nth-of-type(2) {
    top: 6px;
}

.hamburger-row:nth-of-type(3) {
    top: 12px;
}

.hamburger.active span:nth-of-type(1) {
    top: 6px;
    transform: rotate(135deg);
}

.hamburger.active span:nth-of-type(2) {
    left: -40px;
    opacity: 0;
}

.hamburger.active span:nth-of-type(3) {
    top: 6px;
    transform: rotate(-135deg);
}

.map {
    position: relative;
    grid-area: map;
    animation: map ease-in-out 1s;
    transition: all 0.7s;
}

@media (min-width: 1200px) {
    .map {
        height: calc(100vh - 95px);
    }
}

@media (max-width: 1025.8px) {
    .map {
        padding-top: 50px;
        padding-bottom: 20px;
    }
}

@media (max-width: 575.8px) {
    .map {
        padding-top: 110px;
        padding-left: 55px;
    }
}

.bts {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1;
    transition: all 0.7s;
}

@media (max-width: 575.8px) {
    .bts {
        font-size: 10px;
        top: -30px;
    }
}

.btn__floor {
    cursor: pointer;
    color: white;
    padding: 0.5em 1em;
    background-color: #363d42;
    border-radius: 20px;
}

.btn__floor.active {
    background-color: #3e9c55;
    transition: all 0.7s;
}

.floor {
    position: absolute;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transform: translate(-100%, 0);
}

@media (min-width: 1200px) {
    .floor[data-floor="2"] {
        scale: 1.25;
    }
}

.floor.active {
    visibility: visible;
    transform: translate(0, 0);
    opacity: 1;
    transition: all ease-in-out 0.8s;
}

@media (min-width: 1200px) {
    .floor.active {
        height: 90vh;
        width: 100%;
    }
}

@media (max-width: 1199.8px) {
    .floor.active {
        position: relative;
    }
}

@media (max-width: 575.8px) {
    .floor.active {
        scale: 1.33;
    }
}

.floors {
    position: relative;
    transition: all 0.7s;
}

@media (min-width: 1200px) {
    .floors {
        max-height: 100vh;
    }
}

@media (max-width: 575.8px) {
    .floors {
        padding-top: 20px;
        padding-bottom: 20px;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
}

.shop-element {
    cursor: pointer;
    transition: all 0.7s;
}

.shop-element.active {
    animation: pulse 1s ease-in-out 3;
    fill: #3e9c55;
}

.service {
    position: relative;
    z-index: 99;
}

.ripple {
    position: absolute;
    z-index: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 150px;
    width: 150px;
    border-radius: 100%;
    background: #3e9c55;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25);
    animation: ping 1s ease-in-out 3 both;
}

@keyframes ping {
    0% {
        transform: scale(0.2);
        opacity: 0.8;
    }

    80% {
        transform: scale(1.2);
        opacity: 0;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

@media (min-width: 1200px) {
    .active.floor--1 {
        scale: 0.85;
        transform: translate(-27%, -10%);
    }

    .active.floor--2-2 {
        scale: 0.66;
        transform: translate(50%, 0%);
    }

    .active.floor--3-2 {
        scale: 0.65;
        transform: translate(50%, 0%);
    }

    .active.floor--2 {
        scale: 0.65;
        width: 85%;
        transform: translate(75%, -25%);
    }

    .active.floor--3 {
        width: 85%;
        scale: 0.7;
        transform: translate(50%, 65%);
    }
}