/* #region General tags section */
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Playpen Sans", cursive;
}
a {
  text-decoration: none;
}
a:active {
  color: #f6ce01;
}
a:focus,
button:focus {
  outline: 0.5px solid #f6ce01;
  outline-offset: 2px;
  border-radius: 2px;
}

h1 {
  color: #fff;
  font-size: 56px;
}
button {
  background-color: transparent;
  padding: 0;
  border: 0;
  cursor: pointer;
}
.text_center {
  text-align: center;
}
.text_justify {
  text-align: justify;
}
.container {
  width: 90%;
  margin: 60px auto;
}
.gray_bg {
  background-color: #eeeeee;
}
.text_blur_shadow {
  text-shadow: 0 0 4px #000;
}
.hidden {
  opacity: 0;
  transition: all 1.3s;
  filter: blur(0.7px);
  transform: translateX(-100%);
}

.show {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
}

/* #endregion General tags section */

/* #region Weather block */
.weather-box {
  position: fixed;
  right: 10px;
  bottom: 10px;
  max-width: 190px;
  z-index: 2;
  padding: 2px 10px 10px;
  color: #000;
  background-color: #cecece;
  border-radius: 15px;
}
#weather_icon{
  position: relative;
  top: 7px;
  width: 14%;
}

/* #endregion Weather block */

/* #region Header section */
#wrapper {
  position: relative;
}
#header {
  background-image: url("./images/kharkiv_bg_photo.jpg");
  background-size: cover;
  height: 100vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
}
#top_bar {
  background: linear-gradient(#000000de, #00000000);
  padding: 20px;
  display: flex;
  justify-content: space-around;
}
#logo {
  width: 220px;
}
#menu {
  display: flex;
  justify-content: end;
  gap: 50px;
}

.menu_item {
  list-style: none;
}
.menu_item a {
  color: #fff;
}
.menu_item a:hover {
  color: #f6ce01;
}
#header_title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 80vh;
}

.box-menu {
  width: 350px;
  text-align: end;
  display: none;
}
.menu__link:hover {
  background-color: #f6ce01;
  color: #000;
}
.button {
  padding: 12.5px 21px;
  position: relative;
  display: inline;
}
.button.active ~ .menu {
  line-height: 1.2;
  color: #fff;
}

.menu {
  line-height: 0;
  overflow: hidden;
  transition: line-height 0.5s, color 0.5s;
  text-transform: uppercase;
  color: transparent;
  background-color: #000000a6;
}
#list {
  padding-left: 0;
}
.menu-icon {
  list-style: none;
  position: absolute;
  right: 2%;
  top: -10px;
}
.menu-icon_item {
  height: 3px;
  width: 40px;
  background-color: #f6ce01;
  margin-bottom: 5px;
  border-radius: 4px;
}

.menu__item {
  overflow: hidden;
  list-style: none;
}
.menu__link {
  display: block;
  padding: 0.5lh;
  color: #f6ce01;
  text-align: center;
}

/* #endregion Header section */

/* #region About section */
#about {
  padding: 10px 30px;
}
.about_title {
  display: inline;
  border-bottom: 3px solid rgb(0, 147, 233);
  margin: 0 auto;
}
.about_text {
  margin: 20px;
  line-height: 2;
}

.kharkiv_vector {
  width: 30%;
}
/* #endregion About section */

/* #region Parallax sections */
.parallax_title {
  color: #fff;
  font-size: 34px;
}
.parallax_block {
  background-image: url("./images/night_kharkiv.jpg");
  height: 300px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.parallax_block_facts {
  background-image: url("./images/night_kharkiv_lights.jpg");
}

.parallax_block_stadium {
  background-image: url("./images/night_kharkiv_bg.jpg");
  background-position: top;
}

/* #endregion Parallax sections */
/* #region Places section */
.grid_block {
  display: flex;
  flex-wrap: wrap;
}
.grid_block__text {
  text-align: justify;
}
.grid_block__item {
  width: 30%;
  margin: 20px;
}
.grid_block__img {
  width: 100%;
}
.grid_block__img,
.image-text_item-img {
  -webkit-box-shadow: 8px 9px 23px -11px rgba(0, 0, 0, 0.83);
  -moz-box-shadow: 8px 9px 23px -11px rgba(0, 0, 0, 0.83);
  box-shadow: 8px 9px 23px -11px rgba(0, 0, 0, 0.83);
  transition: transform 0.5s;
  cursor: pointer;
}

.grid_block__img:hover,
.image-text_item-img:hover {
  -ms-transform: scale(1.09);
  -webkit-transform: scale(1.09);
  transform: scale(1.09);
}

.random-place_block {
  margin: 0 auto;
  text-align: center;
}
#choose_place {
  margin: 20px 0;
  padding: 10px 20px;
  font-size: 1.3rem;
  background-color: #f6e013;
  border-radius: 5px;
}
#choose_place:hover {
  background-color: #e6cf00;
}
.random-place_block h4 {
  font-size: 1.6rem;
}
#place_content {
  font-weight: 600;
  font-size: 1.3rem;
}

/* #endregion Places section */
/* #region Facts section */

.image-text_item-header {
  padding: 0 14px 0;
  margin-top: 0;
}

.image-text_item {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 40px 30px;
}
.image-text_item-img {
  width: 30%;
}

/* #endregion Facts section */
/* #region Resouces section */
.resources-block {
  font-display: a;
  display: flex;
  justify-content: center;
  align-items: center;
}
.resources-list {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2;

  li {
    position: relative;
    top: 2px;
    padding-left: 1rem;
    text-indent: -0.7rem;
    padding-bottom: 10px;
  }

  li::before {
    content: "👉 ";
  }
}

.resources-item a {
  color: #181818;
  text-shadow: 0 0 1px #000;
  padding: 6px;
  box-shadow: inset 0 0 0 0 #00000000;
  transition: color 0.3s ease-in-out, box-shadow 0.5s ease-in-out;
  border-radius: 4px;
}
.resources-item a:hover {
  color: #111111;
  box-shadow: inset 100vw 0 0 0 #f6ce01;
}

#resources {
  background-image: url(./images/bg-pattern.png);
  background-attachment: fixed;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  margin: 0;
  padding: 40px 10px;
}
/* #endregion Resouces section */

/* #region Footer section */
footer {
  background-color: #043d7b;
  color: #f6ce01;
  text-align: center;
  padding: 30px 10px;
}
footer a {
  color: #fff;
}
.contact_author {
  margin-bottom: 7px;
}

.copyright_link:hover {
  text-shadow: 0 0 1px #f6ce01;
}
/* #endregion Footer section */

/* #region Media queries */

@media only screen and (max-width: 1355px) {
  .grid_block__item {
    width: 29%;
  }
}

@media only screen and (max-width: 1050px) {
  .grid_block__item {
    width: 45%;
  }
}

@media only screen and (max-width: 992px) {
  #menu {
    display: none;
  }
  .box-menu {
    display: block;
  }
}

@media only screen and (max-width: 910px) {
  .grid_block__item {
    width: 44%;
  }
}

@media only screen and (max-width: 768px) {
  .grid_block__item {
    width: 100%;
  }
  .image-text_item {
    flex-direction: column;
  }
  .image-text_item-img {
    order: 2;
    width: 100%;
  }
  .parallax_title {
    padding: 0 4%;
    text-align: center;
  }
  #about {
    padding: 0;
  }
  .menu__link{
    font-size: 1.1rem;
  }
}
@media only screen and (max-width: 568px) {
  .menu__link{
    font-size: 1.5rem;
  }
  .box-menu {
      position: absolute;
      right: 5%;
      top: 30px;
    }
  #top_bar{
    display: block;
  }
}
/* #endregion Media queries */

