/*....................banner images */

.slide:first-child {
  background: url('images/banners/honestfox.png') no-repeat center top/cover;
}
 
.slide:nth-child(2) {
  background: url('images/banners/doctor.png') no-repeat center top/cover;
}

.slide:nth-child(3) {
  background: url('images/banners/kiko_farm.png') no-repeat center top/cover;
}

.slide:nth-child(4) {
  background: url('images/banners/doctor.png') no-repeat center top/cover;
}

.slide:nth-child(5) {
  background: url('images/banners/doctor.png') no-repeat center top/cover;
}

/*.................... */

* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

iframe {
  border: 0;
}

.ancor{
    position: relative;
    top: -70px;
}

@font-face {
  font-family: "Arial";
  src: url("arial.ttf") format("truetype");
}

@font-face {
  font-family: "nunito";
  src: url("nunito.ttf") format("truetype");
}

h1.title {
  font-size: 46px;
}

h1, h2, h3 {
  font-family: "nunito";
  color: #728cfd; 
  text-align: center;
  font-size: 38px;
  margin: 0;
  padding: 20px;
}

p {
  font-family: "Arial"; 
  color: #4d4d4d; 
  text-align: center;
  font-size: 18px;
  margin: 0 0 25px 0;
}

a.btn {
  font-family: "nunito";
  color: #728cfd;
  text-decoration: none;
  font-size: 20px;
  border: 2px solid #728cfd;
  border-radius: 30px;
  padding: 10px 20px;
  margin: 20px;
  display: block;
  width: fit-content;
  transition: 0.3s;
}

a.btn:hover {
  color: white;
  background: #728cfd;
}

a.btn_white {
  font-family: "nunito";
  color: white;
  text-decoration: none;
  font-size: 20px;
  border: 2px solid white;
  border-radius: 30px;
  padding: 10px 20px;
  transition: 0.3s;
}

a.btn_white:hover {
  color: #728cfd;
  background: white;
}

a.read_more_banner {
  font-family: "nunito";
  color: #728cfd;
  background: white;
  text-decoration: none;
  border: 2px solid white;
  font-size: 20px;
  border-radius: 30px;
  padding: 10px 20px;
  transition: 0.3s;
}

a.read_more_banner:hover {
  color: white;
  background: #728cfd;
  border: 2px solid #728cfd;
}

a.btn:active, a.btn_white:active {
  transform: scale(0.95);
  transition: transform 0.1s;
}

.block {
  width: 80%;
  margin: 0 auto;
}

.stores_img {
  width: 140px;
}

.stores_img:hover {
  transform: scale(1.03);
  transition: transform 0.1s;
}

a.link {
  color: #728cfd;
  text-decoration: none;
}

a.link:hover {
  text-decoration: underline;
}

/*....................text privacy etc*/

.block .lot_of_text h2{
  text-align: left;
  font-size: 22px;
  padding: 15px;
}

.block .lot_of_text p{
  text-align: left;
  padding: 0 15px;
}

/*....................navigation*/

.navigation{
  background: white;
  position: fixed;
  top: 0;
  width: 100%;
  height: 90px;
  z-index: 2;
}

.logo {
  max-width: 120px;
  float: left;
  margin: 10px 0;
  padding-left: 20px;
  position: relative;
  z-index: 3;

}

.nav-logo img:nth-of-type(2) {
  display: none;
}

.navigation ul.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style-type: none;
  float: right;
}

.navigation li {
  float: left;
  margin: 0 20px;
  padding: 30px 0;
}

.navigation ul li a {
  font-family: "nunito";
  color: #ff593e;
  text-decoration: none;
  font-size: 22px;
}

.navigation ul li a:hover {
  text-decoration-line: underline;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  margin: 0px auto;
}
}

li.nav-item {
  list-style: none;
}

a.nav-link {
  text-decoration: none;
}

.hamburger {
  display: none;
  padding-right: 20px;
}

.bar {
  display: block;
  border-radius: 2px;
  width: 25px;
  height: 5px;
  margin: 3px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #ff593e;
}

@media only screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: -200%;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    text-align: center;
    transition: 0.3s;
  }

  .navigation li {
    padding: 20px 0;
  }

  .navigation ul li a {
    font-size: 24px;
  }

  .nav-menu.active {
    top: 70px;
  }

  .hamburger {
    display: block;
    cursor: pointer;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    -webkit-transform: translateY(8px) rotate(45deg);
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    -webkit-transform: translateY(-8px) rotate(-45deg);
    transform: translateY(-8px) rotate(-45deg);
  }
}

/*........................................banner banner*/

.banner {
  position: relative;
  overflow: hidden;
  height: 480px;
  width: 100%;
  margin-top: 90px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.slide.current {
  opacity: 1;
}

.slide .content {
  position: absolute;
  bottom: 20px;
  left: -550px;
  opacity: 0;
  z-index: 1;
  width: 100%;
  padding: 35px 0;
}

.slide .content h1 {
  color: white;
  background-color: #728cfd;
  display: table;
  border-radius: 50px;
  padding: 5px 25px !important;
  text-align: left;
  padding: 0;
  margin-bottom: 20px;
  font-size: 32px !important;
}

.slide.current .content {
  opacity: 1;
  transform: translateX(600px);
  transition: all 0.7s ease-in-out 0.3s;
}

.buttons {
  display: flex;
  justify-content: space-between;
  position: relative;
  top: -280px;
  height: 0;
}

.buttons button {
  opacity: 50%;
  border: none;
  background-color: transparent;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  outline: none;
}

.buttons button img:active{
  transform: scale(0.9);
  transition: transform 0.1s;
}

.buttons button:hover {
  opacity: 75%;
}

@media (max-width: 500px) {
  .slide .content {
    left: 20px;
  }

  .slide.current .content {
    transform: translateY(0px);
  }
}

img.fg_banner {
  position: absolute;
  z-index: 1;
  bottom: -2px;
  width: 100%;
}

/*....................header*/

.preload-images::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    background: url('images/header_appStore_hover.png') no-repeat,
                url('images/header_googlePlay_hover.png') no-repeat;
}

.header {
  background: #f7f7f7;
}

.btns_store_block {
    display: flex;
    justify-content: center;
    gap: 20px; /* Простір між кнопками */
    padding: 20px 0;
}

.store {
    display: block;
    width: 300px; /* Ширина кнопки */
    height: 106px; /* Висота кнопки */
    background-size: contain; /* Зображення адаптується до розмірів кнопки */
    background-repeat: no-repeat; /* Відключає повторення зображення */
    transition: transform 0.1s ease; /* Плавний перехід */
}

/* Кнопка для App Store */
.app-store {
    background-image: url('images/header_appStore.png'); /* Звичайне зображення */
}

/* Зміна зображення при наведенні */
.app-store:hover {
    background-image: url('images/header_appStore_hover.png'); /* Зображення при наведенні */
}

/* Кнопка для Google Play */
.google-play {
    background-image: url('images/header_googlePlay.png'); /* Звичайне зображення */
}

/* Зміна зображення при наведенні */
.google-play:hover {
    background-image: url('images/header_googlePlay_hover.png'); /* Зображення при наведенні */
}

/* Додатковий ефект для масштабування при наведенні */
.store:hover {
    transform: scale(1.02); /* Збільшення кнопки */
}

/*....................about*/

.about {
  background: #728cfd;
  padding: 20px 20px 50px 20px;
}

.about h2 {
  color: white;
}

.about p {
  color: white;
  padding: 0 5%
}

/*....................support*/

.support h2 {
  margin: 10px 0;
}

/*.transition, p, ul li i:before, ul li i:after {
  transition: all 0.3s ease-in-out;
}*/

.support h3 {
  font-size: 22px;
  text-align: left;
  padding: 10px 0;
}

.support p {
  font-family: "Arial"; 
  color: #4d4d4d; 
  text-align: left;
  font-size: 18px;
  margin: 0 0 25px 0;

  position: relative;
  overflow: hidden;
}

ul.support {
  list-style: none;
  background: #f7f7f7;
  border-radius: 20px;
  padding: 10px 30px;
  margin-bottom: 50px;
}

ul.support li {
  position: relative;
  padding-bottom: 4px;
  padding-top: 18px;
  border-bottom: 1px dotted #dce7eb;
}

ul.support li i {
  position: absolute;
  transform: translate(-6px, 0);
  margin-top: 16px;
  right: 0; 
}

ul.support li i:before, ul.support li i:after {
  content: "";
  position: absolute;
  background-color: #728cfd;
  width: 3px;
  height: 9px; 
}

ul.support li i:before {
  transform: translate(-2px, 0) rotate(45deg); 
}

ul.support li i:after {
  transform: translate(2px, 0) rotate(-45deg); 
}

ul.support li input[type=checkbox] {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  opacity: 0;
}

ul.support li input[type=checkbox]:checked ~ p {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  transform: translate(0, 50%); 
}

ul.support li input[type=checkbox]:checked ~ i:before {
  transform: translate(2px, 0) rotate(45deg); 
}

ul.support li input[type=checkbox]:checked ~ i:after {
  transform: translate(-2px, 0) rotate(-45deg); 
}

ul.support a {
  color: #728cfd;
  text-decoration: none;
}

ul.support a:hover {
  text-decoration: underline;
}

/*....................contact*/

.contact {
  background: #f7f7f7;
  background-image: url(images/bibo.png);
  background-repeat: no-repeat;
  background-position: 80% 64px;
  background-size: 200px;
  padding: 20px 0 50px 0;
}

.contact a {
  margin: 0 auto;
}

.contact img {
  position: absolute;
  width: 200px;
}

/*....................footer*/

.footer {
  background: #728cfd;
  width: 100%;
  padding: 40px 0 40px 0;
}

.footer .block {
  display: flex;
  justify-content: space-between;
}

.footer p {
  color: white;
  font-family: "nunito";
  font-size: 14px;
  margin: auto 0;
}

.footer a.btn_white{
  font-size: 14px;
}

/*/*....................breadcrumbs*/

.breadcrumbs {
  width: 100%;
  height: auto;
  margin-top: 90px;
  background: #f7f7f7;
}

.breadcrumbs ul li {
  display: inline-block;
  padding: 15px 0;
  color: #afafaf;
  font-weight: bold;
}

.breadcrumbs ul li a {
  font-family: "nunito";
  color: #afafaf;
  font-size: 18px;
  text-decoration: none;
  margin: 0 6px;
}

.breadcrumbs ul li a.active {
  color: #728cfd;
}

.breadcrumbs ul li a:hover {
  text-decoration: underline;
}

/*/*........................................All games page*/

.header_allGames {
  background: #728cfd;
  padding: 20px 0;
}

.header_allGames h1 {
  color: white;
  padding: 5px;
}

.header_allGames p {
  color: white;
}

/*/*....................main_games*/

.container {
  display: flex;
  align-items: center;
  width: 80%;
  margin: 0 auto;
  padding: 25px 0 20px 0;
  border-bottom: 1px solid #d0d0d0;
}

.container h1 {
  text-align: left;
  padding: 0 0 10px 20px;
  font-size: 26px;
}

.container p {
  text-align: left;
  padding-left: 20px;
}

.container .video_block {
  width: 40%;
  height: fit-content;
}

/* це потім видалити */

.game_banner {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}
/* .... */

.container .video {
  position: relative;
  width: 100%;
  height: 100%;
  padding-bottom: 57%;
}

.container .video iframe {
  position: absolute;
  width: 100%;
  height: 100%;  
  border-radius: 20px;
}

.container .text {
  display: grid;
  align-content: center;
  width: 60%;
}

.container a.btn {
  float: left;
  margin: 0 20px;
}

/*/*....................other_games*/

.other_games {
  background: #f7f7f7;
  padding: 30px 0;
}

.other_games .block {
  align-items: center;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
}

.other_games a.game_block {
  display: flex;
  background: white;
  width: 240px;
  height: 280px;
  border-radius: 20px;
  margin: 8px;
  padding: 40px 10px 50px 10px;
  text-decoration: none;
  flex-direction: column;
}

.other_games a.game_block:hover {
  box-shadow: 0px 0px 6px #dbdbdb;
  cursor: pointer;

}

.other_games a.game_block .icon {
  width: 150px;
  height: auto;
  border-radius: 20px;
  margin: 0 auto;
}

.other_games a.game_block h2 {
  text-decoration: none;
  color: #728cfd;
  font-size: 24px;
  padding: 0;
  margin: 20px 0;
}

.other_games a.game_block img.stores_img {
  margin: 0 auto;
}

.other_games a.game_block a {
  margin: 0 auto;
}

.other_games a.game_block p {
  margin: 0 auto;
}

/*/*........................................games page*/

.head_gamepage {
  background: #728cfd;
}

.container_gamepage {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 25px 0 20px 0;
}

.container_gamepage .text {
    display: grid;
    align-content: center;
    width: 40%;
    margin-right: 10px;
}

.container_gamepage .video_block {
    width: 60%;
    height: fit-content;
}

.container_gamepage .video {
    position: relative;
    width: 100%;
    height: 100%;
    padding-bottom: 56.4%;
}

.container_gamepage .video iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.head_gamepage h1 {
  color: white;
  font-size: 38px;
  padding: 10px 0;
  text-align: left;
}

.head_gamepage p {
  color: white;
  padding: 0;
  text-align: left;
}

.head_gamepage img.icon {
  width: 140px;
  height: 140px;
  border-radius: 20px;
}

/*/*....................screens*/

.screens .block {
  padding-bottom: 20px;
}

.screens img.stores_img {
  width: 200px;
}

.screens a {
  display: flex;
  justify-content: center;
}

/*/*........................................responsive*/

@media only screen and (max-width: 600px) {

  .logo {
    max-width: 60px;
  }

  .navigation {
    height: 72px;
  }

  .banner {
    margin-top: 72px;
  }

  .breadcrumbs {
    margin-top: 72px;
  }

  .nav-logo img:nth-of-type(1) {
    display: none;
  }

  .nav-logo img:nth-of-type(2) {
    display: block;
  }
  
  h1.title {
    font-size: 24px;
  }

  .slide .content h1 {
    font-size: 22px !important;
  }

  a.read_more_banner {
    font-size: 16px;
  }

  .slide .content {
    padding: 24px 0;
  }

  .header {
    padding-bottom: 20px;
  }

  .btns_store_block {
    display: block; /* Розташування кнопок у стовпець */
    padding: 20px auto; /* Центрування блоку */
    gap: 20px; /* Простір між кнопками */
  }

  .store {
    width: 300px; /* Зменшення ширини кнопок */
    height: 106px; /* Пропорційне зменшення висоти кнопок */
    margin: 15px auto; /* Центрування кожної кнопки */
  }

  .btns_store a.store img {
    width: 340px !important;
  }

  .banner {
    height: 350px;
  }

  .buttons {
    top: -220px;
  }

  .other_games a.game_block {
    width: 300px !important;
  }

  .breadcrumbs ul li a {
    font-size: 16px;
    margin: 0px 2px;
  }
}

@media only screen and (max-width: 768px) {
  .block {
    width: 95%;
    margin: 0 auto;
  }

  .btns_store a.store img {
    width: 260px;
  }

  .support h3 {
    font-size: 22px;
  }

  .container {
    width: 90%;
  }
}

@media only screen and (max-width: 960px) {

  .navbar {
    width: 100%;
  }

  .container_gamepage {
    display: grid;
    padding: 25px 0 30px 0;
  }

  .container_gamepage .text {
    width: 100%;
  }

  .container_gamepage .video_block {
    width: 100%;
  }

  .container {
    flex-direction: column;
  }

  .container .video_block {
    width: 100% !important;
    order: 1;
  }

  .container .text {
    width: 100% !important;
    order: 2;
  }

  .container h1 {
    padding: 20px 0 10px 0;
  }

  .container p {
    padding: 10px 0;
    margin-bottom: 10px;
  }

  .container a.btn {
    margin: 0;
  }

  .other_games a.game_block {
    width: 260px;
  }
}

@media only screen and (max-width: 1200px) {

  .navigation ul li a {
    font-size: 20px;
  }

  .about {
    padding: 20px 0 30px 0;
  }

  .about p {
    padding: 0;
  }

  .contact {
    background-image: none;
  }

  .container .video_block {
    width: 50%;
  }

  .container .text {
    width: 50%;
  }
}

@media only screen and (max-width: 1400px) {
  .contact {
    background-position: 90% 64px;
  }
}

@media only screen and (max-height: 600px) {
   .banner {
    height: 300px;
   }

   .buttons {
    top: -200px;
   }

   .slide .content {
    bottom: 5px;
   }
}


