/* Reset css */
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* html {
  font-size: 62.5%;
} */

html,
body {
  height: 100%;
  font-family: "Lato", sans-serif;
  line-height: 1.5;
  font-size: 1rem;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
:root {
  --primary-color: #446084;
  --fs-color-alert: #b20000;
}

/* Main css */

.app {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: var(--primary-color);
}

.bg-main {
  background-image: url("images/main-bg-mb.webp");
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-main::after {
  content: "";
  position: absolute;
  inset: 0;
}

.container {
  padding-inline: 1rem;
  position: absolute;
  inset: 0;
  z-index: 10;
  color: #fff;
  font-weight: bold;
}
.main-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  position: absolute;
  inset: 0;
  padding-top: 2rem;
  padding-inline: 1rem;
}

.logo-8kbet {
  width: 53%;
}
.main-title {
  font-size: 1.5rem;
  text-align: center;
  line-height: 1;
  margin-block: 3rem;
}
/* group btn */

.wrapper-group-btn {
  display: none;
}

.group-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.wrapper-group-btn-mb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.wrapper-group-btn-mb a {
  width: 30%;
  text-align: center;
  display: inline-block;
}

.btn-item a {
  border: 2px solid #fff;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  display: block;
  width: max-content;
  margin-inline: auto;
  font-size: 14px;
  padding: 5px 8px;
  margin-top: 3rem;
}

.btn-item a i {
  margin-right: 5px;
}

.group-btn-system-img {
  width: 80%;
  margin-block: 1rem;
  display: inline-block;
}

.btn-item a:hover {
  color: #666;
  background-color: #fff;
}
.btn-customer {
  display: inline-block;
  text-align: center;
  margin-top: 5rem;
  font-size: 12px;
  padding: 5px 8px;
  color: #fff;
  border-radius: 20px;
  transition: all 0.3s ease;
  background-color: var(--fs-color-alert);
}

/* Tablet, Pc */

@media (min-width: 768px) {
  .group-btn-mb {
    display: none;
  }
  .btn-customer {
    display: none;
  }
  .logo-8kbet {
    width: 25%;
  }
  .main-wrapper {
    left: 50%;
    transform: translateX(-50%);
    padding-top: 0;
    position: absolute;
    top: 20%;
  }
  .main-title {
    font-size: 2rem;
    text-align: center;
    line-height: 1;
    margin-block: 2rem;
  }
  .wrapper-group-btn-mb {
    display: none;
  }
  .wrapper-group-btn {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
    width: 100%;
    max-width: 1040px;
  }

  .bg-main {
    background-image: url("images/main-bg.webp");
  }
  .bg-main::after {
    background-color: rgba(20, 20, 20, 0.285);
  }
  .btn-item a {
    padding: 10px 20px;
    margin-top: 1.5rem;
    font-size: 1.3rem;
  }
}

@media (min-width: 1024px) {
  .main-title {
    font-size: 3.5rem;
  }
}
