* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "MyWebFont";
  src: url("../assets/Cubic_11_1.013_R.woff2") format("woff2"),
    url("../assets/Cubic_11_1.013_R.woff") format("woff");
}

:root {
  --stroke-fill: #2c6ac8;
  --modal-bg: #fff;
  --blue: #2c6ac8;
  --storke: #1b1a19;
  --tw-bg: #bef9f9;
  --isClear: yellow;
  --isSunnywithCloudy: #aff758;
  --isOvercast: gray;
  --isThunderstorm: #d33030;
  --isRain: #4454d4;
  --isSnowing: #ff66ff;
  --selector-bg: rgb(126, 125, 122);
  --black-border: 5px solid black;
}

body {
  width: 100%;
  font-family: "MyWebFont", Fallback, sans-serif;
  cursor: url(../assets/cursor-hand.png) 2 2, pointer;
  overflow-x: hidden;
}

#container {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #d4fdff;
  background-image: url(../assets/backgrond-z.png);
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
}

svg {
  max-width: 90vw;
  height: 90vh;
  transform: translateX(0%) translateY(20px);
}

.svg-outside {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: start;
}

path {
  stroke: var(--storke);
  stroke-width: 4.5;
  fill: transparent;
  transition: 0.4s;
}

path:hover {
  fill: var(--stroke-fill);
  transform: translate(-5px, -5px);
}

.titleOutside {
  position: absolute;
  display: block;
  top: 12%;
  left: 18%;
}

.time {
  top: 10%;
  left: 19%;
  font-size: 1.7rem;
  margin-left: 5px;
  margin-bottom: 2px;
}

.title {
  font-size: 2rem;
}

.click {
  position: absolute;
  top: 36%;
  left: 75%;
  z-index: 1;
}

.click > img {
  width: 40%;
}

.walking {
  position: absolute;
  z-index: 1;
  bottom: 10px;
  width: 150px;
  -webkit-animation: 7s linear walkingMotion infinite;
  animation: 7s linear walkingMotion infinite;
}

.walking img {
  width: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

@-webkit-keyframes walkingMotion {
  0% {
    left: 0;
    scale: 1;
    transform: translateY(0px);
  }

  5% {
    left: 5%;
    scale: 1.2;
    transform: translateY(-50px);
  }

  10% {
    left: 10;
    scale: 1;
    transform: translateY(0px);
  }

  15% {
    left: 15%;
    scale: 1.2;
    transform: translateY(-50px);
  }

  20% {
    left: 20%;
    scale: 1;
    transform: translateY(0px);
  }

  25% {
    left: 25%;
    scale: 1.2;
    transform: translateY(-50px);
  }

  30% {
    left: 30%;
    scale: 1;
    transform: translateY(0px);
  }

  35% {
    left: 35%;
    scale: 1.2;
    transform: translateY(-50px);
  }

  40% {
    left: 40%;
    scale: 1;
    transform: translateY(0px);
  }

  45% {
    left: 45%;
    scale: 1.2;
    transform: translateY(-50px);
  }

  50% {
    left: 50%;
    scale: 1;
    transform: translateY(0px);
  }

  55% {
    left: 55%;
    scale: 1.2;
    transform: translateY(-50px);
  }

  60% {
    left: 60%;
    scale: 1;
    transform: translateY(0px);
  }

  65% {
    left: 65%;
    scale: 1.2;
    transform: translateY(-50px);
  }

  70% {
    left: 70%;
    scale: 1;
    transform: translateY(0px);
  }

  75% {
    left: 75%;
    scale: 1.2;
    transform: translateY(-50px);
  }

  80% {
    left: 80%;
    scale: 1;
    transform: translateY(0px);
  }

  85% {
    left: 85%;
    scale: 1.2;
    transform: translateY(-50px);
  }

  90% {
    left: 90%;
    scale: 1;
    transform: translateY(0px);
  }

  95% {
    left: 95%;
    scale: 1;
    transform: translateY(-50px);
  }

  100% {
    left: 100%;
    transform: translateY(0px);
  }
}

@keyframes walkingMotion {
  0% {
    left: 0;
    scale: 1;
    transform: translateY(0px);
  }

  5% {
    left: 5%;
    scale: 1.2;
    transform: translateY(-50px);
  }

  10% {
    left: 10;
    scale: 1;
    transform: translateY(0px);
  }

  15% {
    left: 15%;
    scale: 1.2;
    transform: translateY(-50px);
  }

  20% {
    left: 20%;
    scale: 1;
    transform: translateY(0px);
  }

  25% {
    left: 25%;
    scale: 1.2;
    transform: translateY(-50px);
  }

  30% {
    left: 30%;
    scale: 1;
    transform: translateY(0px);
  }

  35% {
    left: 35%;
    scale: 1.2;
    transform: translateY(-50px);
  }

  40% {
    left: 40%;
    scale: 1;
    transform: translateY(0px);
  }

  45% {
    left: 45%;
    scale: 1.2;
    transform: translateY(-50px);
  }

  50% {
    left: 50%;
    scale: 1;
    transform: translateY(0px);
  }

  55% {
    left: 55%;
    scale: 1.2;
    transform: translateY(-50px);
  }

  60% {
    left: 60%;
    scale: 1;
    transform: translateY(0px);
  }

  65% {
    left: 65%;
    scale: 1.2;
    transform: translateY(-50px);
  }

  70% {
    left: 70%;
    scale: 1;
    transform: translateY(0px);
  }

  75% {
    left: 75%;
    scale: 1.2;
    transform: translateY(-50px);
  }

  80% {
    left: 80%;
    scale: 1;
    transform: translateY(0px);
  }

  85% {
    left: 85%;
    scale: 1.2;
    transform: translateY(-50px);
  }

  90% {
    left: 90%;
    scale: 1;
    transform: translateY(0px);
  }

  95% {
    left: 95%;
    scale: 1;
    transform: translateY(-50px);
  }

  100% {
    left: 100%;
    transform: translateY(0px);
  }
}

@-webkit-keyframes walkingMotion_mobile {
  0% {
    left: 0;
    transform: translateY(0px);
  }

  20% {
    left: 20%;
    scale: 1.2;
    transform: translateY(-50px);
  }

  40% {
    left: 40%;
    scale: 1;
    transform: translateY(0px);
  }

  60% {
    left: 60%;
    scale: 1.2;
    transform: translateY(-50px);
  }

  80% {
    left: 80%;
    scale: 1;
    transform: translateY(-70px);
  }

  100% {
    left: 100%;
    scale: 1.2;
    transform: translateY(0px);
  }
}

@keyframes walkingMotion_mobile {
  0% {
    left: 0;
    transform: translateY(0px);
  }

  20% {
    left: 20%;
    scale: 1.2;
    transform: translateY(-50px);
  }

  40% {
    left: 40%;
    scale: 1;
    transform: translateY(0px);
  }

  60% {
    left: 60%;
    scale: 1.2;
    transform: translateY(-50px);
  }

  80% {
    left: 80%;
    scale: 1;
    transform: translateY(-70px);
  }

  100% {
    left: 100%;
    scale: 1.2;
    transform: translateY(0px);
  }
}

@media screen and (max-width: 1400px) {
  #container {
    background-image: url(../assets/backgrond-z2.png);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
  }

  .titleOutside {
    position: absolute;
    display: block;
    top: 12%;
    left: 10%;
  }

  .time {
    top: 10%;
    left: 19%;
    font-size: 1.7rem;
    margin-left: 5px;
    margin-bottom: 2px;
  }

  .title {
    font-size: 2rem;
  }

  .click {
    position: absolute;
    top: 42%;
    left: 80%;
    z-index: 1;
  }

  .click > img {
    width: 50%;
  }
}

@media screen and (max-width: 1100px) {
  #container {
    background-size: contain;
    background-image: url(../assets/tw-vertical-background.png);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
  }

  .titleOutside {
    position: absolute;
    display: block;
    top: 6%;
    left: 10%;
  }

  .time {
    top: 10%;
    left: 19%;
    font-size: 1.7rem;
    margin-left: 5px;
    margin-bottom: 2px;
  }

  .title {
    top: 6%;
    left: 10%;
    font-size: 2rem;
  }

  .click {
    position: absolute;
    top: 20%;
    left: 12%;
    z-index: 1;
  }

  .click > img {
    width: 150px;
  }
}

@media screen and (max-width: 920px) {
  #container {
    background-size: contain;
    background-image: url(../assets/tw-vertical-background.png);
  }

  .titleOutside {
    position: absolute;
    display: block;
    top: 6%;
    left: 10%;
  }

  .time {
    top: 10%;
    left: 19%;
    font-size: 1.7rem;
    margin-left: 5px;
    margin-bottom: 2px;
  }

  .title {
    top: 6%;
    left: 10%;
    font-size: 2rem;
  }

  .click {
    position: absolute;
    top: 17%;
    left: 12%;
    z-index: 1;
  }

  .click > img {
    width: 50%;
  }
}

@media screen and (max-width: 415px) {
  .walking {
    bottom: 0px;
    width: 80px;
    -webkit-animation: 2.5s linear walkingMotion_mobile infinite;
    animation: 2.5s linear walkingMotion_mobile infinite;
  }

  .titleOutside {
    position: absolute;
    display: block;
    top: 4%;
    left: 10%;
  }

  .time {
    top: 10%;
    left: 19%;
    font-size: 1.2rem;
    margin-left: 5px;
    margin-bottom: 1.2px;
  }

  .title {
    top: 6%;
    left: 10%;
    font-size: 1.5rem;
  }

  .click {
    position: absolute;
    top: 18%;
    left: 12%;
    z-index: 1;
  }

  .click > img {
    width: 30%;
  }

  .svg {
    max-width: 100vw;
    height: 90vh;
    transform: translateX(0%) translateY(20px);
  }
}

.citySelector-container {
  position: absolute;
  z-index: 2;
  display: none;
  width: min(80%, 400px);
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#close {
  position: fixed;
  top: 10px;
  right: 25px;
  z-index: 4;
  height: 50px;
}

.citySelector {
  z-index: 3;
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 10px;
  border: 5px dashed;
  font-size: 1.5rem;
  background-color: var(--selector-bg);
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-width: thin;
  outline: 15px solid var(--selector-bg);
  outline-offset: 0px;
}

.citySelector::-webkit-scrollbar {
  width: 15px;
}

.citySelector::-webkit-scrollbar-track {
  border-radius: 100vw;
  background-color: var(--selector-bg);
}

.citySelector::-webkit-scrollbar-thumb {
  border-radius: 100vw;
  background-color: rgb(225, 225, 225);
}

.citySelector::-webkit-scrollbar-thumb:hover {
  border-radius: 100vw;
  background: #555;
}

.citySelector li {
  width: 100%;
  list-style-type: none;
  padding-inline: 40px;
  margin-bottom: 5px;
}

.arrow {
  position: absolute;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}

.overlay {
  position: absolute;
  inset: 0;
  background-color: var(--blue);
  background-image: url("../assets/pixel-bg.png");
  z-index: 5;
  display: none;
  -webkit-animation: animatedBackground 75s linear infinite;
  animation: animatedBackground 75s linear infinite;
}

.now_place {
  line-height: 45px;
}

.modal {
  display: none;
  position: absolute;
  z-index: 6;
  top: 150%;
  left: 150%;
  width: min(80%, 600px);
  min-height: 500px;
  background-color: var(--modal-bg);
  color: rgb(23, 18, 18);
  font-size: 1.5em;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border-top: var(--black-border);
  border-left: var(--black-border);
  box-shadow: 5px 5px black;
  border-radius: 20px;
}

.modal.active {
  top: 50%;
  left: 50%;
  display: block;
  padding-top: 10px;
  padding-inline: 35px;
  opacity: 1;
  scale: 1;
  transform: translate(-50%, -50%);
  -webkit-animation: 1.2s linear modalMotion;
  animation: 1.2s linear modalMotion;
}

.modal hr {
  margin-block: 5px;
  margin-bottom: red;
}

.modal h1 {
  font-size: 50px;
}

.box {
  padding-top: 10px;
}

.box h4,
.box p {
  margin: 0;
}

.box h4 {
  font-size: 34px;
}

.box p {
  font-size: 20px;
}

@-webkit-keyframes modalMotion {
  0% {
    opacity: 0;
    transform: translate(-150%, -50%);
  }

  50% {
    opacity: 1;
    transform: translate(-110%, -50%);
  }

  75% {
    transform: translate(-55%, calc(-50% + 5px));
  }

  100% {
    transform: translate(-40%, -50%);
  }
}

@keyframes modalMotion {
  0% {
    opacity: 0;
    transform: translate(-150%, -50%);
  }

  50% {
    opacity: 1;
    transform: translate(-110%, -50%);
  }

  75% {
    transform: translate(-55%, calc(-50% + 5px));
  }

  100% {
    transform: translate(-40%, -50%);
  }
}

@-webkit-keyframes animatedBackground {
  from {
    background-position: 0;
  }

  to {
    background-position: 2250px;
  }
}

@keyframes animatedBackground {
  from {
    background-position: 0;
  }

  to {
    background-position: 2250px;
  }
}

.weather {
  position: absolute;
  right: 50px;
  background-color: transparent;
  width: 200px;
}

.weather img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

@media screen and (max-width: 950px) {
  .modal.active {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media screen and (max-width: 700px) {
  .weather {
    width: 180px;
  }

  .modal h1 {
    font-size: 44px;
  }

  .modal h4 {
    font-size: 30px;
  }
}

@media screen and (max-width: 600px) {
  .modal.active {
    padding-left: 25px;
    padding-right: 25px;
  }

  .weather {
    width: 150px;
    right: 50%;
    transform: translateX(50%);
  }

  .modal h1 {
    font-size: 36px;
  }

  .modal h4 {
    font-size: 28px;
  }
}

@media screen and (max-width: 500px) {
  .modal {
    padding: 10px;
    height: 300px;
  }

  .modal.active {
    padding-left: 20px;
    padding-right: 20px;
  }

  .modal h1 {
    font-size: 27.5px;
  }

  .modal h4 {
    font-size: 22px;
  }
}

@media screen and (max-width: 403px) {
  .weather {
    width: 100px;
  }

  .modal {
    min-height: 400px;
  }

  .modal h1 {
    font-size: 23px;
  }

  .modal h4 {
    font-size: 19px;
    line-height: 32px;
  }
}

/*# sourceMappingURL=style.css.map */
