@import url("/assets/fonts/panchang/css/panchang.css");

body {
  margin: 0;
  height: 100vh;
  padding: 50px 0;
  box-sizing: border-box;
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  background-color: #0d0d0d;
  color: white;
}

a {
  color: white;
}

p {
  margin: 0;
}

body > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

body > div > .header {
  display: flex;
  justify-content: center;
  align-items: center;
}

body > div > .center {
  flex-basis: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

body > div > .center > div {
  position: absolute;
}

body > div > .center > div.logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

body > div > .center > div.logo-center > img {
  width: 100%;
  height: auto;
}

body > div > .center > div.center-text {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.625rem;
}

body > div > .center > div.center-text > p {
  font-size: 1.5rem;
  text-align: center;
}

body > div > .center > div.center-text > p:first-child {
  font-family: "Panchang-Semibold";
}

body > div > .center > div.center-text > p:last-child {
  font-family: "Panchang-Light";
}

body > div > .center > div.links {
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
  align-items: center;
}

body > div > .center > div.links > a {
  text-decoration: none;
  text-align: center;
}

body > div > .bottom {
  margin-top: 4rem;
  overflow: hidden;
}

body > div > .bottom > div {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 16px;
}

body > div > .bottom .group {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 16px;
  animation: infinite-carousel 30s linear infinite;
}

body > div > .bottom .group > div {
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes infinite-carousel {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 1024px) {
  body > div > .center > div.center-text {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  body > div > .center > div.center-text > p {
    font-size: 1.25rem;
  }
}
