@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,700,800");
@font-face {
  font-family: antipasto;
  src: url("../antipasto/AntipastoPro-Bold_trial.ttf") format("truetype");
}
* {
  box-sizing: inherit;
}
:root {
  --brandColor: #5dbaee;
  --secondaryColor: #62e1c9;
  --backgroundColor1: #ffffff;
  --backgroundColor2: #5dbaee;
  --mainFontColor: #1c4258;
  --secondaryFontColor: #fff;
  --thirdFontColor: #f2f2f2;
  --faqbackgroundColor: #5bb9ee;
  --headerBackgroundColor: #fff;
  --footerBackgroundColor: #1c4258;
}

html {
  color: var(--mainFontColor);
  background-color: var(--backgroundColor1);
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

body {
  font-family: "Open Sans", sans-serif;
  padding: 0;
  margin: 0;
  position: relative;
}
.hide {
  visibility: hidden;
}
.wap {
  visibility: hidden;
  display: none;
}

/* welcome page styling */
.welcome__container {
  min-height: 60vh;
  background-image: url("../img/index-bg.png");
  background-position: center;
  background-size: cover;
  background-color: #fefefe;
  text-align: center;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 1px 3px 6px 0px rgba(156, 156, 156, 0.5);
}
.welcome__container .logo {
  max-width: 150px;
  margin-left: 3rem;
  margin-top: 1rem;
}
.welcome__title {
  padding-top: 4rem;
  margin-bottom: 2rem;
  margin-top: 0;
  font-size: 2rem;
  font-weight: bold;
  font-family: antipasto;
}
.countries__panel {
  max-width: 60%;
  background-color: var(--backgroundColor1);
  border-bottom: 3px solid var(--brandColor);
  border-radius: 0px;
  display: flex;
  justify-content: center;
  padding: 15px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.country__box {
  padding: 10px;
  width: 130px;
}

.country__box a {
  text-decoration: none;
}
.country__text {
  font-weight: 500;
  color: var(--mainFontColor);
}
/* welcome page styling END*/

/* country home page styling */
header {
  background-color: var(--headerBackgroundColor);
  padding: 0;
}
#home {
  position: fixed;
  /* height: 55px; */
  top: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.3s ease;
  box-shadow: 1px 3px 6px 0px rgba(156, 156, 156, 0.5);
}
.container {
  padding: 0 15px;
  width: 80%;
  margin: 0 auto;
  position: relative;
}
.container--header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  max-width: 150px;
  padding: 10px 0;
}
.header__navigation {
  position: relative;
}
.header__navigation__items {
  display: flex;
}
.header__navigation__items a {
  color: var(--mainFontColor);
  padding: 5px 10px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  display: block;
  cursor: pointer;
}
.header__navigation__burger {
  background-color: transparent;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

.header__navigation__items .languages__div {
  color: var(--mainFontColor);
  position: relative;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin: 5px 10px;
  width: max-content;

  /* stop user from selecting text */
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.header__navigation__items .languages__div::after {
  content: "⯆";
  font-size: 0.8rem;
  position: relative;
  top: -1px;
}
.header__navigation__items .languages__div:has(.languages__ul.active)::after {
  content: "⯅";
}

.header__navigation__items .languages__ul {
  display: none;
  position: absolute;
  right: 1.5rem;
  flex-direction: column;
  list-style: none;
  width: 100%;
  padding: 0;
  margin: 15px 0 0 0;
}

.header__navigation__items .languages__ul.active {
  display: flex;
}

.header__navigation__items .languages__li,
.header__navigation__items .languages__li a {
  margin: 0;
  width: 120%;
  background-color: var(--backgroundColor1);
}

.header__navigation__items .languages__li {
  color: var(--mainFontColor);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.header__navigation__items .languages__li a {
  padding: 10px 15px 10px 10px;
  display: flex;
  gap: 0 10px;
}

.header__navigation__items .languages__li a:hover {
  background-color: var(--secondaryColor);
}

.header__navigation__items .languages__li a::before {
  width: 25px;
  height: 20px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  margin: 0 10px 0 0;
}

.header__navigation__items .languages__li:nth-of-type(1) a::before {
  content: "";
  background-image: url("../img/flags/United-Kingdom.png");
}

.header__navigation__items .languages__li:nth-of-type(2) a::before {
  content: "";
  background-image: url("../img/flags/Germany.png");
}

.header__navigation__items .languages__li:nth-of-type(3) a::before {
  content: "";
  background-image: url("../img/flags/France.png");
}

.section {
}
/* hero section */
.hero {
  background-image: url("../img/hero-bg.png");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding-top: 9rem;
  padding-bottom: 5rem;
  min-height: 75vh;
  position: relative;
}
#countrySelection .hero {
  z-index: -1;
  padding-top: 4rem;
}
.hero__text {
  max-width: 580px;
}
.hero__text h4 {
  font-size: 3.5rem;
  color: var(--secondaryFontColor);
  margin: 0;
  text-align: center;
  line-height: 3rem;
  font-family: antipasto;
}
.hero__text h4 span {
  font-size: 1.5rem;
  line-height: 1rem;
}
.hero__text__description {
  color: var(--secondaryFontColor);
  position: relative;
  margin: 1.5rem 0;
  border-radius: 30px;
  width: fit-content;
  font-size: 1rem;
  text-align: left;
}
.hero__text__description span {
  color: var(--backgroundColor1);
  font-weight: bold;
  text-decoration: underline;
  text-decoration-color: var(--secondaryColor);
  text-decoration-thickness: 3px;
}
.hero__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero__image {
  max-width: 750px;
  margin: 0 auto;
  position: absolute;
  bottom: -6rem;
  left: 50%;
  transform: translate(-50%, 0);
}
.hero__cta {
  background-color: var(--secondaryColor);
  padding: 15px 30px;
  max-width: fit-content;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: bold;
  font-family: antipasto;
  text-align: center;
  margin: 0 auto;
}
.hero__cta a {
  text-decoration: none;
  color: var(--secondaryFontColor);
}

/* about section  */
.about {
  text-align: left;
}
.about__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 5rem;
}
.about__text {
  max-width: 50%;
}
.about__title {
  font-size: 3rem;
  text-align: center;
  font-weight: bold;
  font-family: antipasto;
}
.about__images {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 3rem 0;
}
.image__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 20%;
}
.image__box img {
  animation: pop 3s infinite ease-in-out;
}
.image__box__title {
  font-weight: bold;
}
.image__box__description {
  text-align: left;
  padding: 0 20px;
}
/* games section */
.games {
  padding-bottom: 5rem;
}
.games__title {
  font-size: 3rem;
  text-align: center;
  font-weight: bold;
  font-family: antipasto;
  padding: 2rem 0;
}
.games__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.game__box img {
  border-radius: 27px;
  box-shadow: 7px 6px 8px 0px #8f8f8f;
}
/* faq section */
.faq {
  background-color: var(--faqbackgroundColor);
  /* background-image: url("../img/faqbg-right.png"); */
  background-repeat: no-repeat;
  background-position: right top;
  padding-bottom: 3rem;
}
.faq__title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--secondaryFontColor);
  font-family: antipasto;
}
.faq__discription {
  color: #fff;
  text-align: center;
  width: 90%;
  margin: 0 auto;
}
.faq__title img {
  max-width: 80px;
  height: auto;
  margin: 0;
  padding-right: 10px;
}

.container--faq__dropdown {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2rem;
  max-width: 50%;
}
.faqbox {
  margin-bottom: 1rem;
  flex: 1;
  margin: 1rem;
}
.faqbox-header {
  background-color: var(--thirdFontColor);
  color: var(--mainFontColor);
  border: 2px solid var(--backgroundColor1);
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  padding: 1rem;
  margin: 0;
  cursor: pointer;
}
.faqbox-body {
  display: none;
  background-color: var(--backgroundColor1);
  padding-bottom: 2rem;
  padding: 1rem;
  opacity: 1;
  animation: opacity 0.5s ease-in-out;
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;
}
.kontakt {
  text-align: center;
  padding: 2rem 0;
}
.kontakt__title {
  font-size: 2rem;
  font-weight: bold;
  border-bottom: 4px solid var(--faqbackgroundColor);
  width: fit-content;
  margin: 0 auto;
  font-family: antipasto;
}
.kontakt__text {
  padding: 1rem;
}
.kontakt__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 220px;
  height: 50px;
  padding: 5px 20px;
  border-radius: 30px;
  gap: 10px;
  font-weight: bold;
}
.btn img {
  width: 30px;
  height: auto;
  margin: 0;
}
.emailbtn {
  background-color: var(--mainFontColor);
}
.emailbtn a {
  color: var(--secondaryFontColor);
  text-decoration: none;
}
.telbtn {
  background-color: var(--secondaryColor);
}
.telbtn a {
  color: var(--secondaryFontColor);
  text-decoration: none;
}
/* footer */
footer {
  background-color: var(--footerBackgroundColor);
  color: var(--secondaryFontColor);
  text-align: center;
  padding: 2rem 0;
}
.footer__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__logo {
  max-width: 100px;
}
.footer-links {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 6rem;
}
.footer-links--left,
.footer-links--right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-links a {
  text-decoration: none;
  color: var(--secondaryFontColor);
  padding: 0.2rem 0.8rem;
}
.copyright {
  font-size: 0.8rem;
  margin: 0;
  padding-top: 10px;
}
/*TOP ARROW*/
.arrowToTop {
  position: fixed;
  z-index: 100;
  border-radius: 10px;
  background-color: #ccc;
  font-size: 1.4rem;
  font-weight: bold;
  width: 40px;
  height: 40px;
  text-align: center;
  bottom: 10px;
  right: 10px;
  color: #000;
  cursor: pointer;
  opacity: 0.8;
}
.menu-btn {
  display: none;
}
#terms,
#privacy {
  padding-bottom: 3rem;
}
.logo__icon {
  text-align: center;
  margin: 0 auto;
  padding-top: 5rem;
}
#terms h1,
#privacy h1 {
  font-size: 2rem;
  padding-top: 60px;
}
#countrySelection .welcome__container {
  min-height: 100vh;
}
.cost {
  text-align: center;
  padding: 14px 0;
  color: var(--secondaryFontColor);
  position: relative;
  margin: 0 auto;
  border-radius: 30px;
  width: fit-content;
  font-size: 1rem;
}
@media screen and (max-width: 1400px) {
  .hero {
    padding-top: 7rem;
  }
  .hero__image {
    max-width: 500px;
  }
  .hero__text h4 {
    font-size: 3rem;
    line-height: 2rem;
  }
}
@media screen and (max-width: 1000px) {
  .menu {
    background-color: var(--headerBackgroundColor);
    position: fixed;
    right: -100vw;
    height: 100vh;
    width: 50vw;
    top: 0;
    transition: all 0.2s ease-out;
    text-align: right;
    z-index: 1;
  }
  .menu-icon {
    user-select: none;
    cursor: pointer;
  }

  .menu-icon .navicon {
    background: var(--mainFontColor);
    display: block;
    height: 3px;
    position: relative;
    transition: background 0.2s ease-out;
    width: 26px;
    border-radius: 6px;
    top: 6px;
    z-index: 999;
  }
  .menu-icon .navicon:before,
  .menu-icon .navicon:after {
    background: var(--mainFontColor);
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    transition: all 0.2s ease-out;
    width: 100%;
    border-radius: 6px;
  }
  .menu-icon .navicon:before {
    top: 6px;
  }

  .menu-icon .navicon:after {
    top: -6px;
  }

  .menu-btn:checked ~ .menu {
    right: 0vw;
    transition: all 0.2s ease-out;
  }

  .menu-btn:checked ~ .menu-icon .navicon {
    background: transparent;
  }

  .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
  }

  .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
  }

  .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
  .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    top: 0;
  }
  .header__navigation__items {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    padding-top: 4rem;
  }
  .header__logo {
    max-width: 120px;
  }
  .hero {
    padding-top: 5rem;
  }
  #countrySelection .hero {
    padding-top: 2rem;
  }
  .hero__image {
    max-width: 500px;
  }
  .hero__wrapper {
    flex-direction: column-reverse;
  }
  .hero__feature {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__text h4 {
    font-size: 3rem;
    line-height: 2rem;
  }
  .faq {
    background-position: right bottom;
  }
}
@media screen and (max-width: 850px) {
  .hero {
    min-height: 55vh;
    padding-top: 5rem;
  }
  #countrySelection .hero {
    padding-top: 1rem;
  }
  .about__images {
    flex-wrap: wrap;
  }
  .image__box {
    width: 80%;
    margin: 0 auto;
  }
  .games__wrapper {
    flex-wrap: wrap;
    gap: 2rem;
  }
  .container--faq__dropdown {
    max-width: 80%;
  }
}
@media screen and (max-width: 480px) {
  .wap {
    display: block;
  }
  .welcome__container {
    color: var(--secondaryFontColor);
    background-color: var(--faqbackgroundColor);
    background-image: none;
    display: block;
  }
  .welcome__container .logo {
    margin-left: 0;
  }
  .countries__panel {
    border: none;
    max-width: 95%;
    margin: 0 auto;
    flex-direction: column;
    padding: 0px;
  }
  .country__box {
    width: 100%;
    max-width: 320px;
    margin: 20px auto;
    padding: 4px 0px;
  }
  .country__box a {
    border: 2px solid var(--secondaryColor);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 15px;
  }
  .country__text {
    font-weight: bold;
    text-align: left;
  }
  .country {
    margin: 0;
    max-width: 60px;
  }
  .header__navigation__items {
    padding-top: 4rem;
    justify-content: flex-start;
    align-items: center;
  }
  .hero__text {
    padding-top: 1rem;
  }
  .hero__text h4 {
    font-size: 2.2rem;
    line-height: 2rem;
  }
  .hero__text h4 span {
    font-size: 1.2rem;
    font-weight: normal;
  }
  .hero__title__description {
    margin-bottom: 3rem;
  }
  .hero__cta {
    font-size: 1.5rem;
    max-width: 100%;
  }

  .hero__title h4 {
    font-size: 2rem;
  }
  .hero__image {
    bottom: -5rem;
    left: 25%;
    transform: translate(-15%, 0);
  }
  .container--faq__dropdown,
  .header__navigation__items,
  .footer-links {
    flex-direction: column;
  }
  .container--faq__dropdown {
    max-width: 100%;
  }

  .about__title {
    font-size: 2rem;
  }
  .about__text {
    max-width: 100%;
  }
  .about__images {
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    padding: 1.5rem 0;
    gap: 25px;
  }
  .image__box {
    width: 90%;
  }
  .games__title {
    font-size: 2.2rem;
  }

  /* faq */
  .faq {
    background-size: contain;
  }
  .faq__title {
    flex-direction: column;
    justify-content: center;
    padding-top: 2rem;
  }
  .faq__title h4 {
    text-align: center;
    margin: 0 auto;
  }
  .faqbox-header {
    font-size: 1rem;
  }
  .btn {
    justify-content: center;
  }

  .kontakt__buttons {
    flex-direction: column;
  }
  .footer__wrapper {
    flex-direction: column;
  }
  .footer-links {
    align-items: center;
    padding: 1.5rem 0;
    gap: 0;
  }
  .footer-links--left,
  .footer-links--right {
    align-items: center;
  }
  .logo__icon {
    max-width: 80px;
  }
  #terms h1,
  #privacy h1 {
    padding-top: 0;
    text-align: center;
    font-size: 1.8rem;
  }
}

@keyframes opacity {
  0% {
    opacity: 0.3;
    transform: translateY(-2%);
  }
  50% {
    opacity: 0.5;
    transform: translateY(-1%);
  }
  100% {
    opacity: 1;
    transform: translateY(1);
  }
}
@keyframes pop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
