@charset "UTF-8";

/* Reset and base styles  */

* {
  padding: 0px;
  margin: 0px;
  border: none;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* Links */

a,
a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Common */

aside,
nav,
footer,
header,
section,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

/* Form */

input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button,
input[type=submit] {
  display: inline-block;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}

@font-face {
  font-family: roboto;
  font-display: swap;
  src: url("../lottoberline__fonts/lottoberline__roboto-bold.woff2") format("woff2"), url("../lottoberline__fonts/lottoberline__roboto-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: roboto;
  font-display: swap;
  src: url("../lottoberline__fonts/lottoberline__roboto-regular.woff2") format("woff2"), url("../lottoberline__fonts/lottoberline__roboto-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

:root {
  --container-width: 1440px;
  --container-padding: 122px;
  --container-padding-tablet: 12px;
  --background: #EBEBEB;
  --font-color: #303030;
  --font-size: clamp(0.875rem, 0.8317307692rem + 0.1923076923vw, 1rem);
  --font-family: roboto, OpenSans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --laptop-size: 1199px;
  --tablet-size: 959px;
  --mobile-size: 599px;
  --btn-font-size: clamp(0.875rem, 0.7884615385rem + 0.3846153846vw, 1.125rem);
  --btn-font-weight: 700;
  --btn-padding: 1em 1em;
  --btn-bg: var(--red);
  --btn-color: #ffffff;
  --btn-radius: 0.5rem;
  --btn-transition: all 0.2s ease-in-out;
  --bg-gradient: linear-gradient(90deg, #FFC740 0%, #CB930A 100%);
  --bg-yellow: #FFE42E;
  --red: #C52021;
}

.lottoberline__blue {
  --bg-gradient: linear-gradient(90deg, #75a0e5 0%, #6e90a6 100%);
  --bg-yellow: #B0C6D9;
  --red: #142d61;
  --background: #dce4e8;
  --btn-bg: var(--red);
}

.lottoberline__blue .lottoberline__bg-dark {
  background-color: #384b5d;
}

h1,
.lottoberline__h1,
h2,
.lottoberline__h2,
h3,
.lottoberline__h3 {
  font-weight: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  font-weight: 700;
  line-height: 100%;
  color: inherit;
}

h1,
.lottoberline__h1 {
  font-size: clamp(3.125rem, 1.8269230769rem + 5.7692307692vw, 6.875rem);
  text-transform: uppercase;
  line-height: 74%;
}

h2,
.lottoberline__h2 {
  font-size: clamp(1.25rem, 0.9903846154rem + 1.1538461538vw, 2rem);
  color: var(--red);
  text-transform: uppercase;
  text-align: center;
}

h3,
.lottoberline__h3 {
  font-size: clamp(1rem, 0.8269230769rem + 0.7692307692vw, 1.5rem);
}

html {
  scroll-behavior: smooth;
  background: var(--background);
  scrollbar-gutter: stable;
}

body {
  background: var(--background);
  color: var(--font-color);
  font-family: var(--font-family);
  font-size: var(--font-size);
  font-weight: 400;
}

html,
body {
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

a,
button {
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  color: inherit;
}

img {
  display: block;
  -o-object-fit: cover;
  object-fit: cover;
}

.lottoberline__no-scroll {
  overflow: hidden;
}

.lottoberline__visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.lottoberline__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

.lottoberline__items .lottoberline__item {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.lottoberline__terms .lottoberline__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 20px;
}

.lottoberline__main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.lottoberline__main section {
  padding-block: 80px;
}

.btn {
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: grid;
  place-items: center;
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  padding: var(--btn-padding);
  color: var(--btn-color);
  background-color: var(--btn-bg);
  border-radius: var(--btn-radius);
  cursor: pointer;
  text-decoration: none;
  -webkit-transition: var(--btn-transition);
  transition: var(--btn-transition);
  line-height: 1.2;
  white-space: nowrap;
  text-transform: uppercase;
  line-height: 100%;
  max-width: 375px;
  width: 100%;
}

.btn:active {
  -webkit-transform: translateY(2px);
  -ms-transform: translateY(2px);
  transform: translateY(2px);
}

.lottoberline__wrapper {
  border-radius: 20px;
  background: #FFF;
  -webkit-box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.25);
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.25);
  padding: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 10px;
  cursor: default;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.lottoberline__bg-dark {
  background-color: var(--font-color);
}

.lottoberline__bg-dark h2,
.lottoberline__bg-dark .lottoberline__h2 {
  color: #FFF;
}

.btn-theme {
  position: fixed;
  top: 50%;
  right: 18px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.btn-theme li button {
  width: 34px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.9);
  cursor: pointer;
  -webkit-transition: background 0.2s, -webkit-transform 0.2s;
  transition: background 0.2s, -webkit-transform 0.2s;
  transition: transform 0.2s, background 0.2s;
  transition: transform 0.2s, background 0.2s, -webkit-transform 0.2s;
}

.btn-theme li button:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.btn-theme #yellow-btn {
  background: #FFE42E;
}

.btn-theme #blue-btn {
  background: #B0C6D9;
}

form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  position: relative;
}

input,
textarea {
  border-radius: 10px;
  background: #FFFFFF;
  padding: 14px 24px;
  color: #414247;
}

input:focus,
textarea:focus {
  outline: none;
}

::-webkit-input-placeholder {
  color: #656D7C;
}

::-moz-placeholder {
  color: #656D7C;
}

:-ms-input-placeholder {
  color: #656D7C;
}

::-ms-input-placeholder {
  color: #656D7C;
}

::placeholder {
  color: #656D7C;
}

textarea {
  resize: none;
}

.lottoberline__warning {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 6px;
  position: absolute;
  z-index: 1;
  bottom: 0;
  width: 100%;
  font-size: clamp(0.75rem, 0.7067307692rem + 0.1923076923vw, 0.875rem);
  background: #ECFBFB;
  border-left: 4px solid #335D48;
  color: #335D48;
  text-align: center;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.lottoberline__warning::before {
  content: "";
  width: 20px;
  aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23335D48' d='M12,2C6.5,2,2,6.5,2,12s4.5,10,10,10s10-4.5,10-10C22,6.5,17.5,2,12,2z M16.2,10.3l-4.8,4.8c-0.4,0.4-1,0.4-1.4,0l0,0l-2.2-2.2c-0.4-0.4-0.4-1,0-1.4c0.4-0.4,1-0.4,1.4,0c0,0,0,0,0,0l1.5,1.5l4.1-4.1c0.4-0.4,1-0.4,1.4,0C16.6,9.3,16.6,9.9,16.2,10.3z'/%3E%3C/svg%3E") no-repeat center/contain;
  margin-top: -2px;
}

.lottoberline__warning::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.2rem;
  background: -webkit-gradient(linear, left top, right top, from(#ECFBFB), to(#335D48));
  background: linear-gradient(to right, #ECFBFB, #335D48);
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: left;
  -ms-transform-origin: left;
  transform-origin: left;
}

.lottoberline__warning.lottoberline__active {
  max-height: 100px;
  opacity: 1;
  padding: 16px 10px;
}

.lottoberline__warning.lottoberline__active::after {
  -webkit-animation: progress 4.9s linear forwards;
  animation: progress 4.9s linear forwards;
}

@-webkit-keyframes progress {
  to {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
}

@keyframes progress {
  to {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
}

.lottoberline__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 40px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  max-width: var(--container-width);
  width: 100%;
}

.lottoberline__popup__title {
  font-size: clamp(1.125rem, 0.9951923077rem + 0.5769230769vw, 1.5rem);
  font-weight: 700;
  text-transform: uppercase;
}

.lottoberline__modal {
  display: none;
  /* по умолчанию скрыто */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(3px);
  background: rgba(0, 0, 0, 0.5);
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  z-index: 999;
}

.lottoberline__modal-content {
  border-radius: 20px;
  background: var(--bg-gradient);
  padding: 2rem 1rem;
  position: relative;
  max-width: 420px;
  width: 90%;
  -webkit-animation: fadeIn 0.45s cubic-bezier(0.01, 0.8, 0.03, 1);
  animation: fadeIn 0.45s cubic-bezier(0.01, 0.8, 0.03, 1);
  color: var(--font-color);
}

.lottoberline__modal-content .btn {
  margin-inline: auto;
}

.lottoberline__modal-content h2 {
  text-align: center;
}

.lottoberline__close {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

body.lottoberline__modal-open {
  overflow: hidden;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(-80px);
    transform: translateY(-80px);
  }

  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(-80px);
    transform: translateY(-80px);
  }

  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

/* Blocks */

.lottoberline__banner {
  background: var(--bg-gradient);
  overflow: hidden;
}

.lottoberline__banner .lottoberline__container {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.lottoberline__banner .lottoberline__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 20px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.lottoberline__banner .lottoberline__h1-grid {
  display: grid;
  grid-template-columns: repeat(2, -webkit-max-content);
  grid-template-columns: repeat(2, max-content);
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 16px 26px;
}

.lottoberline__banner .lottoberline__h1-grid span {
  -webkit-animation: bounce-pause 6s infinite;
  animation: bounce-pause 6s infinite;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.lottoberline__banner .lottoberline__h1-grid span:nth-child(1) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}

.lottoberline__banner .lottoberline__h1-grid span:nth-child(2) {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

.lottoberline__banner .lottoberline__h1-grid span:nth-child(3) {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.lottoberline__banner .lottoberline__h1-grid .lottoberline__number {
  grid-row: span 2/span 2;
  font-size: clamp(7.75rem, 5.0240384615rem + 12.1153846154vw, 15.625rem);
}

.lottoberline__banner .lottoberline__mio,
.lottoberline__banner .lottoberline__eur,
.lottoberline__banner .lottoberline__descr {
  color: #FFF;
}

.lottoberline__banner .lottoberline__descr {
  font-size: clamp(1rem, 0.6538461538rem + 1.5384615385vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  -webkit-animation: bounce-pause 6s infinite;
  animation: bounce-pause 6s infinite;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.lottoberline__banner .btn {
  position: relative;
  overflow: hidden;
}

.lottoberline__banner .btn::after {
  content: "";
  opacity: 0.6;
  position: absolute;
  top: -100px;
  left: -100px;
  display: block;
  background: #fff;
  width: 40px;
  height: 320px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-animation: slide 6s infinite;
  animation: slide 6s infinite;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-delay: 0.05s;
  animation-delay: 0.05s;
}

.lottoberline__banner .lottoberline__img {
  background-image: url("/lottoberline__img/lottoberline__girl.avif");
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 495px;
  height: 549px;
  -webkit-transform-origin: bottom center;
  -ms-transform-origin: bottom center;
  transform-origin: bottom center;
  -webkit-animation: swing 4s infinite;
  animation: swing 4s infinite;
  margin-bottom: -8px;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  image-rendering: crisp-edges;
}				.lottoberline__avif .lottoberline__banner .lottoberline__img {					background-image: url("/lottoberline__img/lottoberline__girl.avif")				}			

@-webkit-keyframes bounce-pause {
  0%, 10%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  5% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

@keyframes bounce-pause {
  0%, 10%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  5% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

@-webkit-keyframes swing {
  0%, 100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  40% {
    -webkit-transform: rotate(-1.4deg);
    transform: rotate(-1.4deg);
  }
}

@keyframes swing {
  0%, 100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  40% {
    -webkit-transform: rotate(-1.4deg);
    transform: rotate(-1.4deg);
  }
}

@-webkit-keyframes slide {
  0% {
    -webkit-transform: translateX(0) rotate(45deg);
    transform: translateX(0) rotate(45deg);
  }

  10%, 100% {
    -webkit-transform: translateX(500px) rotate(45deg);
    transform: translateX(500px) rotate(45deg);
  }
}

@keyframes slide {
  0% {
    -webkit-transform: translateX(0) rotate(45deg);
    transform: translateX(0) rotate(45deg);
  }

  10%, 100% {
    -webkit-transform: translateX(500px) rotate(45deg);
    transform: translateX(500px) rotate(45deg);
  }
}

.lottoberline__footer {
  margin-top: auto;
  background: var(--bg-yellow);
  -webkit-box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.3);
  padding-block: 40px;
  font-size: 14px;
  font-weight: 700;
}

.lottoberline__footer p {
  opacity: 0.9;
}

.lottoberline__footer .lottoberline__container {
  gap: 20px;
}

.lottoberline__footer a {
  text-transform: uppercase;
}

.lottoberline__footer a:hover {
  opacity: 0.6;
}

.lottoberline__footer h2 {
  text-align: left;
  margin-bottom: -10px;
}

.lottoberline__footer__bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 20px 40px;
}

.lottoberline__footer .lottoberline__logos {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px 40px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  width: 100%;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.lottoberline__footer .lottoberline__logos img,
.lottoberline__footer .lottoberline__logos svg {
  width: auto;
  max-height: 50px;
}

.lottoberline__footer nav {
  width: 100%;
}

.lottoberline__footer .lottoberline__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 16px 40px;
  width: 100%;
}

.lottoberline__footer .lottoberline__age {
  display: grid;
  place-items: center;
  border: 3px dotted var(--font-color);
  font-size: 20px;
  width: 40px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  cursor: default;
}

.lottoberline__header {
  padding-block: 16px;
  background: var(--bg-yellow);
  font-size: 14px;
}

.lottoberline__header__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.lottoberline__header .lottoberline__nav__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 30px;
  -moz-column-gap: 30px;
  column-gap: 30px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.lottoberline__header a:hover {
  opacity: 0.7;
}

.lottoberline__header .lottoberline__logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 700;
  color: var(--red);
}

.lottoberline__header .lottoberline__logo svg {
  width: 30px;
  aspect-ratio: 1/1;
}

.lottoberline__header .lottoberline__button:hover {
  opacity: 1;
  color: #FFF;
}

.lottoberline__authorization {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
}

.lottoberline__authorization button {
  min-width: 103px;
}

.lottoberline__button {
  border-radius: 20px;
  background: #FFF;
  padding: 6px 14px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 4px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}

.lottoberline__button:hover,
.lottoberline__button.lottoberline__active {
  background: var(--font-color);
  color: #FFF;
}

.lottoberline__dropdown {
  position: relative;
  font-size: 14px;
  z-index: 1;
}

.lottoberline__dropdown .lottoberline__button {
  text-transform: uppercase;
  font-weight: 700;
}

.lottoberline__dropdown .lottoberline__button svg,
.lottoberline__dropdown .lottoberline__button img {
  width: 14px;
  height: 14px;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.lottoberline__dropdown-menu {
  position: absolute;
  left: 0;
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 12px;
  background-color: var(--bg-yellow);
  padding: 10px;
  margin-left: -10px;
  width: 108px;
  border-radius: 20px;
}

.lottoberline__dropdown-menu .lottoberline__button {
  color: var(--font-color);
}

.lottoberline__dropdown.lottoberline__active .lottoberline__dropdown-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.lottoberline__dropdown.lottoberline__active svg {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.lottoberline__icons-wrapper {
  padding: 30px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 30px;
  -moz-column-gap: 30px;
  column-gap: 30px;
}

.lottoberline__icon {
  fill: transparent;
  stroke: transparent;
  width: 62px;
  height: 62px;
}

.lottoberline__instructions,
.lottoberline__faq {
  text-align: center;
}

.lottoberline__jackpot .lottoberline__wrapper {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.lottoberline__jackpot ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.lottoberline__jackpot ul li:first-child {
  grid-row: span 2/span 2;
  background: var(--bg-yellow);
}

.lottoberline__mobile-nav {
  position: fixed;
  top: -100%;
  width: 100%;
  height: 100%;
  z-index: 99;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background: #000;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

.lottoberline__mobile-nav--open {
  top: 0;
}

.lottoberline__mobile-nav a {
  color: #fff;
}

.lottoberline__mobile-nav__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  row-gap: 20px;
  font-size: 22px;
}

.lottoberline__mobile-nav__list .lottoberline__dropdown-menu {
  background: none;
}

/* Nav Icon */

.lottoberline__mobile-nav-btn {
  --time: 0.1s;
  --width: 26px;
  --height: 30px;
  --line-height: 3px;
  --spacing: 5px;
  --color: var(--font-color);
  --radius: 4px;
  /* Fixed height and width */
  /* height: var(--height); */
  /* width: var(--width); */
  /* Dynamic height and width */
  height: calc(var(--line-height) * 2 + var(--spacing) * 4);
  width: var(--width);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.lottoberline__nav-icon {
  position: relative;
  width: var(--width);
  height: var(--line-height);
  background-color: var(--color);
  border-radius: var(--radius);
}

.lottoberline__nav-icon::before,
.lottoberline__nav-icon::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  width: var(--width);
  height: var(--line-height);
  border-radius: var(--radius);
  background-color: var(--color);
  -webkit-transition: top var(--time) linear var(--time), -webkit-transform var(--time) ease-in;
  transition: top var(--time) linear var(--time), -webkit-transform var(--time) ease-in;
  transition: transform var(--time) ease-in, top var(--time) linear var(--time);
  transition: transform var(--time) ease-in, top var(--time) linear var(--time), -webkit-transform var(--time) ease-in;
}

.lottoberline__nav-icon::before {
  /* top: calc(var(--line-height) * -2); */
  top: calc(-1 * (var(--line-height) + var(--spacing)));
}

.lottoberline__nav-icon::after {
  /* top: calc(var(--line-height) * 2); */
  top: calc(var(--line-height) + var(--spacing));
}

.lottoberline__nav-icon.lottoberline__nav-icon--active {
  background-color: transparent;
}

.lottoberline__nav-icon.lottoberline__nav-icon--active::before,
.lottoberline__nav-icon.lottoberline__nav-icon--active::after {
  top: 0;
  -webkit-transition: top var(--time) linear, -webkit-transform var(--time) ease-in var(--time);
  transition: top var(--time) linear, -webkit-transform var(--time) ease-in var(--time);
  transition: top var(--time) linear, transform var(--time) ease-in var(--time);
  transition: top var(--time) linear, transform var(--time) ease-in var(--time), -webkit-transform var(--time) ease-in var(--time);
  background-color: #fff;
}

.lottoberline__nav-icon.lottoberline__nav-icon--active::before {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.lottoberline__nav-icon.lottoberline__nav-icon--active::after {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/* Layout */

.lottoberline__mobile-nav-btn {
  z-index: 999;
  display: none;
}

.lottoberline__results .lottoberline__columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.lottoberline__results .lottoberline__wrapper {
  background: var(--bg-gradient);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.lottoberline__results .lottoberline__bubls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.lottoberline__results .lottoberline__bubls li {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 74px;
  flex: 1 1 74px;
  max-width: 74px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: #FFF;
  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.lottoberline__results .btn {
  margin-inline: auto;
}

@media (max-width: 1220px) {
  .lottoberline__container {
    padding: 0 var(--container-padding-tablet);
    gap: 20px;
  }

  .lottoberline__header__nav {
    display: none;
  }

  .lottoberline__mobile-nav-btn {
    display: block;
  }
}

@media (max-width: 820px) {
  .lottoberline__items {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .lottoberline__main section {
    padding-block: 40px;
  }

  .btn-theme {
    right: 12px;
  }

  form {
    padding: 0;
    border: none;
  }

  .lottoberline__modal-content {
    padding: 12px;
  }

  .lottoberline__banner .lottoberline__container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-top: 30px;
  }

  .lottoberline__banner .lottoberline__inner {
    width: 100%;
    gap: 10px;
  }

  .lottoberline__banner .lottoberline__h1-grid {
    gap: 16px;
    margin-inline: auto;
  }

  .lottoberline__banner .lottoberline__img {
    height: 238px;
  }

  .lottoberline__footer__bottom {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .lottoberline__footer .lottoberline__logos {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .lottoberline__footer .lottoberline__logos img,
  .lottoberline__footer .lottoberline__logos svg {
    max-height: 30px;
    max-width: 106px;
  }

  .lottoberline__footer .lottoberline__link {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .lottoberline__footer .lottoberline__age {
    width: 34px;
    font-size: 18px;
  }

  .lottoberline__header {
    padding-block: 10px;
  }

  .lottoberline__jackpot ul {
    grid-template-columns: 100%;
    gap: 10px;
  }

  .lottoberline__jackpot ul li:first-child {
    grid-row: 3;
  }

  .lottoberline__results .lottoberline__columns {
    grid-template-columns: 100%;
  }
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover,
  .btn:focus-visible {
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
  }
}

@media (hover: hover) {
  .lottoberline__wrapper:hover {
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
  }
}