:root {
  --app-height: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
  outline: none;
  list-style: none;
  text-decoration: none;
  font-family: "Inter", sans-serif;
}

body {
  height: 100vh;
  background-color: #030c27;
}

.app {
  display: flex;
  width: 100%;
  height: 100vh;
}

.header__logo {
  max-width: 220px;
  width: 100%;
  transform: translateY(57px);
  display: block;
  height: max-content;
  margin-inline: auto;
}
.header__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app__col2 {
  width: 0%;
  background-color: #030c27;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
}

.content__title {
  font-size: 25px;
  line-height: 1;
}

.content__subtitle {
  font-size: 46px;
  line-height: 1;
}

.content__link {
  position: relative;
  display: block;
  max-width: 290px;
  width: 100%;
  margin-inline: auto;
  border-radius: 50px;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  padding: 15px;
  background: rgba(250, 154, 36, 1);
  background: linear-gradient(
    90deg,
    rgba(250, 154, 36, 1) 0%,
    rgba(255, 199, 21, 1) 100%
  );
  overflow: hidden;
  transition: all 0.2s ease;
  margin-top: 10px;
}
.content__link:hover {
  opacity: 0.9;
}
.content__link:active {
  transform: scale(0.99);
}
.content__link:before {
  content: "";
  position: absolute;
  background: #fff;
  filter: blur(15px);
  width: 22px;
  height: 94px;
  transform: translateY(-50%) rotate(30deg);
  transform-origin: center;
  opacity: 1;
  top: 50%;
  left: 0;
  animation: shine 6s ease-in-out infinite;
}

@keyframes shine {
  0% {
    opacity: 0.5;
    transform: translate(-210%, -50%) rotate(30deg);
  }

  15% {
    opacity: 1;
  }

  20% {
    transform: translate(1200%, -50%) rotate(30deg);
    opacity: 0.5;
  }

  21% {
    transform: translate(1200%, -50%) rotate(30deg);
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: translate(-210%, -50%) rotate(30deg);
  }
}

/* plinko  */
.app__col1 {
  position: relative;
  padding: 25px 10px;
  width: 100%;
  background-image: url(../img/bg.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
.canvas-wrapper {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1330px) {
  .app__col1 {
    width: 60%;
  }
  .app__col2 {
    width: 40%;
  }
}

@media (max-width: 964px) {
  .app {
    flex-direction: column;
  }
  .header__logo {
    display: none;
  }
  .app__col1 {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-grow: initial;
  }
  .canvas {
    padding-top: 40px;
    background-image: url(../img/logo.png);
    background-position: top;
    background-size: 220px;
    background-repeat: no-repeat;
    position: relative;
  }
  .canvas-wrapper {
    padding-block: 15px;
  }
  .app__col1,
  .app__col2 {
    width: 100%;
    flex-grow: 1;
    padding: 0;
  }

  .app__col2 {
    padding-block: 20px;
  }
  body,
  .app {
    height: var(--app-height);
  }
}
@media (max-width: 586px) {
  .canvas-wrapper {
    transform: translate(-50%, -51%) scale(0.95);
    padding: 0;
  }
}
@media (max-width: 557px) {
  .canvas-wrapper {
    transform: translate(-50%, -51%) scale(0.9);
  }
  .app__col1 {
    height: 620px;
    flex-grow: initial;
  }
}
@media (max-width: 513px) {
  .canvas-wrapper {
    transform: translate(-50%, -51%) scale(0.85);
  }
}
@media (max-width: 480px) {
  .canvas-wrapper {
    transform: translate(-50%, -51%) scale(0.8);
  }

  .app__col1 {
    height: 574px;
  }
}
@media (max-width: 460px) {
  .canvas-wrapper {
    transform: translate(-50%, -51%) scale(0.75);
  }

  .app__col1 {
    height: 536px;
  }
}
@media (max-width: 428px) {
  .canvas-wrapper {
    transform: translate(-50%, -51%) scale(0.7);
  }

  .app__col1 {
    height: 512px;
  }
}
@media (max-width: 400px) {
  .canvas {
    padding-top: 12px;
    background-size: 170px;
  }
  .app__col1 {
    height: 410px;
  }
  .canvas-wrapper {
    transform: translate(-50%, -50%) scale(0.61);
  }

  .content {
    padding: 0px;
  }
  .content__link {
    max-width: 268px;
    padding: 11px;
    margin-top: 5px;
  }
}

@media (max-width: 380px) {
  .canvas-wrapper {
    transform: translate(-50%, -50%) scale(0.48);
  }

  .app__col1 {
    height: 315px;
  }
  .content__link {
    max-width: 220px;
    padding: 10px;
    font-size: 27px;
  }

  .app__col2 {
    padding-block: 0px;
  }
}

/* adaptation by height */
@media (max-height: 800px) and (min-width: 964px) {
  .app {
    min-height: 700px;
  }
  .canvas-wrapper {
    transform: translate(-50%, -55%);
  }
}

@media (max-width: 964px) {
  .app {
    min-height: 950px;
  }
}
@media (max-width: 557px) {
  .app {
    min-height: 864px;
  }
}
@media (max-width: 513px) {
  .app {
    min-height: 814px;
  }

  .app__col2 {
    padding-block: 12px;
  }
}

@media (max-width: 460px) {
  .app {
    min-height: 740px;
  }
}

@media (max-width: 428px) {
  .app {
    min-height: 708px;
  }
}

@media (max-width: 400px) {
  .app {
    min-height: 600px;
  }
}
@media (max-width: 380px) {
  .app {
    min-height: 473px;
  }
}

/* adaptation for content */

@media (max-width: 390px) {
  .content__title {
    font-size: 21px;
  }
  .content__subtitle {
    font-size: 39px;
  }
}
@media (max-width: 340px) {
  .content__subtitle {
    font-size: 36px;
  }
}
