@font-face {
  font-family: 'Tomorrow';
  src: url('/funreelsplanet-fonts/funreelsplanet-tomorrow-regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Tomorrow';
  src: url('/funreelsplanet-fonts/funreelsplanet-tomorrow-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Tomorrow';
  src: url('/funreelsplanet-fonts/funreelsplanet-tomorrow-bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

h1 {
  font-family: "Tomorrow", sans-serif;
}

:root {
  --btn-color: #FEED30;
}

html {
  font-family: "Tomorrow", sans-serif;
  color: #fff;
  background-color: #B2916B;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

h1 {
  font-size: 60px;
}

@media (max-width: 768px) {
  h1 {
    font-size: 26px;
  }
}

h2 {
  font-size: 30px;
}

@media (max-width: 768px) {
  h2 {
    font-size: 20px;
  }
}

h3 {
  font-size: 14px;
}

@media (max-width: 768px) {
  h3 {
    font-size: 14px;
  }
}

p {
  font-size: 20px;
}

@media (max-width: 768px) {
  p {
    font-size: 16px;
  }
}

.mb80 {
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .mb80 {
    margin-bottom: 40px;
  }
}

.hmb {
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .hmb {
    margin-bottom: 20px;
  }
}

.pmb {
  margin-bottom: 20px;
}

.padb80 {
  padding-bottom: 80px;
}

.play-now {
  background: var(--btn-color);
  color: #060606;
  width: 100%;
  height: 46px;
  border-radius: 30px;
  text-align: center;
  font-size: 18px;
  line-height: 46px;
  font-weight: 900;
}

.play-now:hover {
  background-color: #FEED30;
}

.form input {
  width: 100%;
  height: 46px;
  border-radius: 4px;
  background-color: #fff;
  text-indent: 20px;
}

.form textarea {
  width: 100%;
  height: 72px;
  border-radius: 4px;
  padding: 20px;
}

.terms {
  padding: 80px 0;
}

.terms .container {
  padding: unset;
}

.terms h1 {
  margin-bottom: 40px;
}

.terms h2 {
  margin: 20px 0;
}

.terms li {
  font-size: 20px;
}

/*header*/
header {
  padding: 20px 0;
}

header nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .header-nav {
  display: flex;
  gap: 40px;
}

header .hobbitvibe-btns-for-auth {
  display: flex;
  gap: 20px;
}

header .hobbitvibe-btns-for-auth button,
.playjoybhobbitvibeudapest-btns-for-auth button {
  border: 1px solid #fff;
  border-radius: 4px;
  padding: 8px 10px;
  width: 67px;
  height: 33px;
  color: #fff;
  line-height: 15px;
}

header .hobbitvibe-btns-for-auth button:hover,
.hobbitvibe-btns-for-auth button:hover {
  background: var(--btn-color);
}

/*menu-mobile*/
.mobile-menu {
  display: none;
}

.menu-wrap .toggler {
  position: absolute;
  top: 0;
  right: 20px;
  cursor: pointer;
  z-index: 2;
  width: 50px;
  height: 50px;
  opacity: 0;
}

.menu-wrap .hamburger {
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 1;
  padding: 10px;
  width: 47px;
  height: 39px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}

/*hamburger middle line */
.menu-wrap .hamburger>span {
  position: relative;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: transform 0.4s ease;
  padding: unset !important;
}

/*Hamburger top and bottom line*/
.menu-wrap .hamburger>span::before,
.menu-wrap .hamburger>span::after {
  content: "";
  position: absolute;
  top: -10px;
  right: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
}

/*moves line down*/
.menu-wrap .hamburger>span::after {
  top: 10px;
}

/*toggler animation*/
.menu-wrap.open .hamburger>span {
  transform: rotate(135deg);
}

/*turns line into X */
.menu-wrap.open .hamburger>span::before,
.menu-wrap.open .hamburger>span::after {
  top: 0;
  transform: rotate(90deg);
}

/* Rotate on hover when checked*/
.menu-wrap.open:hover+.hamburger>span {
  transform: rotate(225deg);
}

/* Show Menu */
body header .menu-wrap.open .menu {
  visibility: visible;
}

body header .menu-wrap.open .menu>div {
  transform: scale(1.1);
  transition-duration: 0.5s;
}

body header .menu-wrap.open .menu>div>div {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.menu-wrap .menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  visibility: hidden;
  justify-content: center;
}

.menu-wrap .menu>div {
  background-color: rgba(39, 39, 38, 0.9);
  width: 200vw;
  height: 200vw;
  overflow: hidden;
  display: flex;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex: none;
  transform: scale(0);
  transition: all 0.4s ease;
}

.menu-wrap .menu>div>div {
  max-width: 90vw;
  max-height: 100vh;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.menu-wrap .menu>div>div>ul>li {
  list-style: none;
  font-size: 1.5rem;
  padding: 1rem;
}

.menu-wrap .menu>div>div>ul>li>a {
  text-decoration: none;
  color: #ffffff;
  transition: color 0.4s ease;
}

.menu div div ul {
  flex-direction: column;
}

.status {
  display: none;
  line-height: 46px;
  font-weight: bold;
}

.form.active .status {
  display: block;
}

/*popup*/
.popupauth {
  position: fixed;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 8;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.popupauth2 {
  width: 200vw;
}

.popupauth.active {
  opacity: 1;
  visibility: visible;
}

.popupauth__close {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.popupauth__content {
  padding: 30px;
  width: 500px;
  overflow: auto;
  position: relative;
  z-index: 2;
  margin: auto;
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px 20px;
  background-color: #020202;
}

.popupauth__title {
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 30px;
}

.popupauth__input {
  height: 36px;
  text-indent: 20px;
  border-radius: 7px;
}

header .hobbitvibe-btns-for-auth .popupauth__button {
  width: 100%;
  background: var(--btn-color);
}

header .hobbitvibe-btns-for-auth .popupauth__button:hover {
  background: linear-gradient(0deg, #992900 0%, #ff8000 100%);
}

header .hobbitvibe-btns-for-auth .popupauth .init-reg,
header .hobbitvibe-btns-for-auth .popupauth .init-log {
  width: 100%;
  border: unset;
  text-align: center;
}

header .hobbitvibe-btns-for-auth .popupauth .init-reg:hover,
.hobbitvibe-btns-for-auth .popupauth .init-log:hover {
  text-decoration: underline;
  background: unset;
}

.popupauth__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

.popupauth__button {
  height: 36px;
}

.popupauth__button:hover {
  color: #fff !important;
  text-decoration: unset;
}

@media (max-width: 600px) {
  .popupauth__content {
    padding: 24px 10px;
    width: 40%;
  }
}

.popupauth__item {
  display: none;
}

.popupauth__item.active {
  display: block;
  text-align: center;
}

a.init-reg {
  width: 100%;
}

a.init-log,
p.init-reg {
  cursor: pointer;
  font-size: 14px;
}

a.init-log:hover,
p.init-reg:hover {
  text-decoration: underline;
}

.status {
  border-radius: 7px;
  background-color: var(--main-bg-color);
  display: none;
}

header .status {
  color: #fff;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

header .status h2 {
  font-size: 30px;
}

header .status p {
  font-size: 16px;
}

header .hobbitvibe-btns-for-auth button.play-now {
  background: var(--btn-color);
  color: #fff;
  border: unset;
  width: 180px;
  height: 46px;
  transition: 0.3s;
}

.play-now:hover{
  background-color: #fff267;
}

.popupauth.swap .popupauth__item {
  display: none;
}

.popupauth.swap .status {
  display: flex;
}

.form.active .status {
  display: flex;
}

.close-form {
  font-size: 39px;
  transform: rotate(45deg);
  display: block;
  width: max-content;
  position: absolute;
  right: 16px;
  top: 6px;
  cursor: pointer;
  font-weight: normal;
  border: unset !important;
}

/*footer*/

footer {
  padding: 40px 0;
}

footer img {
  width: max-content;
}

footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

footer h2 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

footer p {
  font-size: 14px;
  font-weight: 400;
  margin-top: 10px;
}

footer span {
  font-size: 17px;
  font-weight: bold;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 5px;
  text-align: center;
  line-height: 27px;
}

footer .links-nav ul,
footer .links-polytics ul {
  display: flex;
  gap: 30px;
}

footer .links-polytics a {
  text-decoration: underline;
}

footer .links-nav a:hover {
  text-decoration: underline;
}

footer .external-links {
  display: flex;
  gap: 60px;
}

footer .links-polytics a:hover {
  text-decoration: unset;
}

footer .links-nav a {
  font-weight: bold;
}

@media (max-width: 1200px) {
  body .container {
    padding: 0 20px;
  }
}

@media (max-width: 960px) {
  body .desktop-menu {
    display: none;
  }

  body .mobile-menu {
    display: block;
  }
}

@media (max-width: 768px) {

  body .terms {
    padding: 40px 0;
  }

  body .terms h1 {
    margin-bottom: 20px;
  }

  img {
    width: 100%;
  }

  body footer .external-links,
  body footer .links-nav ul,
  body footer .links-polytics ul {
    flex-wrap: wrap;
    gap: 20px;
  }

  body .padb80 {
    padding-bottom: 40px;
  }

  body .wrapper-header.other{
    background-position: center;
    padding-bottom: 20px;
  }

}