
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    background: #0E1C3F;

}

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
  -webkit-tap-highlight-color: transparent;
}
* {
  scroll-behavior: smooth;
}

body {
    font-family: "Roboto", sans-serif;
    color: #fff;
    background: #0E1C3F;
    background-image: url("./img/bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    font-family: "Inter", sans-serif;
}


.no-scroll {
  overflow-y: hidden;
}

  
body.no-scroll {
  overflow-y: hidden;
}
  
a {
  text-decoration: none;
  color: #fff;
  transition: all 0.3s linear;
}
  
button {
  cursor: pointer;
  font-family: inherit;
}
  
ul, ol {
  padding: 0;
  margin: 0;
  list-style: none;
}
ul li {
  position: relative;
}
  
h1,
h2,
h3,
h4,
h5,
h6,
p {
  padding: 0;
  margin: 0;
}
  
img {
  display: block;
}



.header {
    padding: 65px 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__logo {
    width: 197px;
    height: auto;
    transition: all 0.3s linear;
}
.header__logo:hover {
    scale: 1.05;
}
.header-logo__img {
    width: 100%;
    height: 100%;
}

.container {
    padding: 0 69px;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}
.container-small {
    width: 100%;
    padding: 0 20px;
    max-width: 1170px;
    margin: 0 auto;
}
.hero__content {
    border-radius:40px;
    background: radial-gradient(87.86% 203.09% at 50% -36.88%, rgba(26, 55, 105, 0.4) 0%, rgba(13, 28, 52, 0.4) 100%);
    backdrop-filter: blur(40px);
    padding: 142px 92px;
    position: relative;
}

h1 {
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-size: 49.78px;
    line-height: 100%;
    text-transform: capitalize;
    margin-bottom: 35px;
    max-width: 701px;
    position: relative;
}
h1 span {
    font-weight: 700;
    font-size: 71.11px;
    line-height: 100%;
    margin-bottom: 16px;
    display: block;
}
.hero {
    padding-bottom: 64px;
}
.hero__img {
    position: absolute;
    width: auto;
    height: 672px;
    bottom: 0;
    right: 0;
}
.hero__buttons {
    display: flex;
    align-items: center;
    gap: 9px;
}
.button {
    padding: 22.5px 31px;
    background: linear-gradient(180deg, #1CA14A 0%, #2DFF28 100%);
    border-radius: 119px;
    font-weight: 500;
    font-size: 15.91px;
    line-height: 100%;
    text-transform: capitalize;
    color: #000;
    transition: all 0.3s linear;
}
.button:hover {
    scale: 1.05;
}


.button-outline {
    border: 1px solid #1CA14A;
    background: transparent;
    padding: 20.5px 44px;
    font-weight: 500;
    font-size: 15.91px;
    line-height: 100%;
    text-transform: capitalize;
    color: #1CA14A;
    border-radius: 119px;
    transition: all 0.3s linear;
}
.button-outline:hover {
    scale: 1.05;
}

h2 {
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 100%;
    text-align: center;
    text-transform: capitalize;
    padding-bottom: 24px;
    position: relative;
}
h2::after {
    content: "";
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #24C861 25%, #24C861 50%, #24C861 75%, rgba(0, 0, 0, 0) 100%);
    display: block;
    height: 3px;
    width: calc(100% - 85px);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.tournament {
  padding-bottom: 64px;
}


.tournament__table {
    box-shadow: 0px 4px 4px 0px #00000040;
    background: radial-gradient(87.86% 203.09% at 50% -36.88%, rgba(26, 55, 105, 0.4) 0%, rgba(13, 28, 52, 0.4) 100%);
    backdrop-filter: blur(40px);
    border-radius: 40px;
    width: 100%;
    padding: 37px 40px;
    margin-top: 24px;
}

.tournament__table table {
    width: 100%;
    table-layout: fixed;
}
.tournament__table thead {
  width: 100%;
  display: flex;
  flex-direction: column;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  color: #F26E33;
}

.tournament__table tbody {
    width: 100%;
    display: flex;
    flex-direction: column;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
}

.tournament__table thead {
  overflow: hidden;
}
.tournament__table thead tr th {
  padding: 0 40px 19px 40px;
  text-align: left;
  width: 25%;
}
.tournament__table thead tr th:last-child {
    text-align: right;
}
.tournament__table tbody tr {
    border-top: 1px solid #FFFFFF26;
    border-radius: 16px;
    background: radial-gradient(87.86% 203.09% at 50% -36.88%, rgba(26, 55, 105, 0.15) 0%, rgba(13, 28, 52, 0.15) 100%);
   backdrop-filter: blur(40px);
   margin-bottom: 8px;

}
.tournament__table tbody tr td {
  width: 25%;
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 19px 30px;
  white-space: wrap;
}
.tournament__table tbody tr td:last-child {
    text-align: right;
    justify-content: flex-end;
    padding-left: 0;
}


.tournament__table tr {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
}

.tournament__table td {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.tournament__table-button {
  margin: 59px auto 0;
  border: none;
  outline: none;
  display: block;
  text-transform: uppercase;
}
.place-icon {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  margin-left: 7px;
}
.modal {
  background: #0D1C34CC;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.modal-content {
  border: 1px solid #2DFF28;
  background: #000223;
  border-radius: 18px;
  padding: 42px 53px 61px;
  position: relative;
  max-width: 1009px;
  margin: 0 20px;
}
.modal-content h3 {
  font-weight: 700;
  font-size: 16px;
  line-height: 120%;
  color: #fff;
  margin-bottom: 16px;
}
.modal-content p {
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  color: #fff;
}
.modal-content a {
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  color: #fff;
  text-decoration: underline;
}
.modal-content ol {
  display: flex;
  gap: 4px;
  flex-direction: column;
  counter-reset: item;
  margin-bottom: 8px;
}
.modal-content li {
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  color: #fff;
  padding-left: 20px;
  counter-increment: item;
   position: relative;
}
.modal-content li::before {
  content: counter(item) ". ";
  position: absolute;
  top: 0px;
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  left: 0px;
  min-width: 20px;
  color: #fff;
}

.modal-content__close {
  position: absolute;
  top: 20px;
  right: 25px;
  border: none;
  outline: none;
  cursor: pointer;
  background: transparent;
}


@media  screen and (max-width: 1650px) {
  .hero__img {
      height: 500px;
  }
}
@media  screen and (max-width: 1480px) {
  .container {
      padding: 0 20px;
  }
  .hero__img {
      height: 400px;
  }
}
@media  screen and (max-width: 1280px) {
  .container {
      padding: 0 20px;
  }
  .hero__img {
      right: 50%;
      transform: translateX(50%);
      top: -75px;
  }
  .hero__content {
    padding: 318px 20px 90px;
  } 
  h1 {
    text-align: center;
    margin: 0 auto 35px;
  }
  .hero__buttons {
    justify-content: center;
  }
}
@media  screen and (max-width: 768px) {
  h1 {
    font-size: 24px;
    line-height: 100%;
    margin-bottom: 15px;
  }
  h1 span {
    font-size: 32px;
    line-height: 100%;
    margin-bottom: 8px;
  }
  .hero__content {
    padding: 118px 13px 27px;
    margin-top: 204px;
    border-radius: 16px;
  } 
  .header {
    padding: 15px 0 10px;
  }
  .hero__img {
    top: -204px;
    height: 348px;
  }
  .button {
    padding: 9px 17.5px;
    border-radius: 85px;
    font-size: 11.74px;
    line-height: 100%;
  }
  .button-outline {
    padding: 7px 22px;
    border-radius: 85px;
    font-size: 11.74px;
    line-height: 100%;
  }
  .hero {
    padding-bottom:24px;
  }
  h2 {
    font-size: 25px;
    line-height: 24px;
    padding-bottom: 0px;
  } 
  h2::after {
    display: none;
  }
  .tournament__table {
    margin-top: 12px;
    backdrop-filter: blur(12.921195983886719px);
    border-radius: 13px;
    padding: 11px 13px;
  }
  .tournament__table thead {
    font-size: 10px;
  }
  .tournament__table tbody {
    font-size: 10px;
  }
  .tournament__table thead tr th {
    padding: 0 13px 4px 13px;
    width: 20%;
  }
  .tournament__table thead tr th:last-child {
    width: 40%;
  }
  .tournament__table tbody tr {
    border-radius:5px;
   backdrop-filter: blur(13px);
   margin-bottom: 3px;

  }
  .tournament__table tbody tr td {
    width: 20%;
    min-height: 21px;
    padding: 4px 13px;
    
  }
  .tournament__table tbody tr td:last-child {
    width: 40%;
    min-width: 40%;
  }
  .tournament__table-button {
    padding: 8px 10px;
    font-weight: 500;
    font-size: 8px;
    line-height: 100%;
    border-radius: 85px;
    margin: 17px auto 0;
  }
  .tournament {
    padding-bottom: 40px;
  }
  .place-icon {
    width: 10px;
    height: 10px;
    margin-left: 1px;
  }
  .container {
    padding: 0 13px;
  }
  .container-small {
    padding: 0 13px;

  }
  .header__logo {
    width: 106px;
  }
  .modal-content {
    padding: 42px 25px 25px;
    margin: 0 10px;
  }
  .modal-content__close {
    right: 20px;
  }
}

@media  screen and (max-width: 425px) {
  .hero__img {
    top: -168px;
    height: auto;
    width: 338px;
  }
  .hero__content {
    margin-top: 158px;
  } 
  body {
    background-size: auto;
  }
}