@import url("https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@700&display=swap");
@font-face {
  font-family: "Offbit Trial Dot";
  src: url(OffBitTrial-DotBold.ttf) format("truetype");
}
:root {
  --background-color: #0B0B0B;
  --text-color-white: #EBEBEB;
  --sub-text-color-white: #A4A4A4;
  --card-background-color: rgba(24, 24, 24, 0.81);
  --neue-montreal: "Inter", sans-serif;
}

body {
  font-family: var(--neue-montreal);
  /* height: 100vh; */
  background-color: var(--background-color);
  color: var(--text-color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  max-width: 100%;
  overflow-x: hidden;
}

* {
  pointer-events: auto;
}

::-webkit-scrollbar {
  display: none;
}

.main-container {
  margin: 5rem 0 5rem 0;
  max-width: 1140px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

/* cards-cardcontainer */
.card-container {
  color: var(--text-color-white);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  /* excited?? */
}
.card-container .card:nth-child(1), .card-container .card:nth-child(2) {
  width: 550px;
  height: 450px;
  overflow: hidden;
}
.card-container .card {
  background-color: var(--card-background-color);
  border-radius: 28px;
}
.card-container .card:nth-child(2) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* padding: 49px 23px; */
  gap: 21px;
  border-color: #202020;
  border-style: solid;
  border-width: 0.6px;
}
.card-container .card:nth-child(2) h1, .card-container .card:nth-child(2) p {
  width: 445px;
  height: auto;
  margin: 0;
}
.card-container .card:nth-child(2) h1 {
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1.92px;
  line-height: 100%;
}
.card-container .card:nth-child(2) p {
  font-size: 20px;
  font-weight: 400;
  line-height: 131%;
  color: var(--sub-text-color-white);
}
.card-container .card:nth-child(2) p #emoji1, .card-container .card:nth-child(2) p #emoji2 {
  height: 20px;
}
.card-container .card:nth-child(2) p span {
  background: linear-gradient(90deg, #FFF 0%, #6284FF 35.42%, #F00 64.58%, #FFF 100%);
  background-size: 200% auto;
  color: #000;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 1s linear infinite;
}
.card-container .card:nth-child(1) {
  position: relative;
}
.card-container .card:nth-child(1) h1 {
  color: #252525;
  font-size: 80px;
  font-weight: 900;
  margin: 0;
  letter-spacing: -5.668px;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.card-container .card:nth-child(1) img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  /* border-radius: 28px; */
}

/* main header */
.header1 {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header1 .freshers-party h1, .header1 .year h1 {
  line-height: 0.95;
  margin: 0;
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
  width: 1140px;
  text-align: center;
  font-weight: 700;
  letter-spacing: -10px;
}
.header1 .freshers-party {
  overflow: hidden;
}
.header1 .freshers-party h1 {
  font-size: 128px;
  align-self: flex-start;
  /* clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); */
}
.header1 .year {
  overflow: hidden;
}
.header1 .year h1 {
  font-size: 150px;
  align-self: flex-end;
  letter-spacing: -10px;
}

/* secondary header */
.header2 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  width: 1140px;
}
.header2 h1 {
  line-height: 0.95;
  margin: 0;
  font-family: "Space Mono", monospace;
  text-transform: capitalize;
  text-align: center;
  font-weight: 700;
  letter-spacing: -10.24px;
}
.header2 .date:nth-child(2), .header2 .room:nth-child(4) {
  background: linear-gradient(180deg, #BDC0BC 0%, #BC46B9 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.header2 h1 {
  font-size: 150px;
}

.instructions-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  /* styling */
  width: 1140px;
  background-color: var(--card-background-color);
  box-sizing: border-box;
  padding: 50px 0px 50px 0px;
  border-color: #202020;
  border-style: solid;
  border-width: 0.6px;
  border-radius: 28px;
}
.instructions-card .heading h1 {
  font-family: "Offbit Trial Dot";
  text-transform: uppercase;
  margin: 0;
  font-size: 70px;
}
.instructions-card .instructions-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
}
.instructions-card .instructions-text .main p {
  font-size: 20px;
  color: var(--sub-text-color-white);
  margin: 0;
  font-weight: 400;
}
.instructions-card .instructions-text .rules ol {
  margin: 0;
}
.instructions-card .instructions-text .rules li {
  font-size: 28px;
  font-weight: 700;
  list-style-position: inside;
  list-style-type: disc;
}
.instructions-card p, .instructions-card li {
  padding: 0px 80px 0px 80px;
}

.creds {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.creds p {
  margin: 0;
  color: var(--sub-text-color-white);
  font-size: 20px;
}
.creds #insta {
  pointer-events: all;
  text-decoration: none;
  color: #a14444;
}
.creds img {
  width: 20px;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}
@media screen and (max-width: 479px) {
  html, body {
    overflow-x: hidden; /* This will hide horizontal scroll */
  }
  .main-container {
    margin: 1rem 0 10rem 0;
    gap: 20px;
  }
  .card-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 320px;
    gap: 15px;
  }
  #c1 {
    width: 320px;
    height: 320px;
  }
  #c2 {
    width: 320px;
    height: 385px;
  }
  #c2 h1, #c2 p {
    width: 250px;
    height: auto;
    margin: 0;
  }
  #c2 h1 {
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1.92px;
    line-height: 100%;
  }
  #c2 p {
    font-size: 16px;
  }
  .header1 .freshers-party h1, .header1 .year h1 {
    width: 320px;
    letter-spacing: -5px;
    line-height: 1.1;
  }
  .header1 .freshers-party h1 {
    font-size: 72px;
  }
  .header1 .year h1 {
    font-size: 90px;
  }
  .header2 {
    width: 320px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .header2 .date, .header2 .room {
    width: 320px;
  }
  .header2 .date h1, .header2 .room h1 {
    font-size: 120px;
  }
  .instructions-card {
    width: 320px;
  }
  .instructions-card .heading h1 {
    font-size: 44px;
  }
  .instructions-card .instructions-text .main {
    min-width: 320px;
  }
  .instructions-card .instructions-text .main p {
    font-size: 16px;
    width: 281px;
  }
  .instructions-card .instructions-text .rules {
    min-width: 320px;
  }
  .instructions-card .instructions-text .rules li {
    width: 281px;
    padding: 0px 45px 0px 45px;
    font-size: 17px;
    font-weight: 600;
  }
  .creds {
    width: 400px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  .creds p {
    padding: 0;
    text-align: center;
    font-size: 16px;
    margin: 0;
    width: 320px;
  }
  .creds img {
    width: 16px;
  }
  .creds #canvas {
    width: 30px;
    height: 30px;
  }
}
@media screen and (max-width: 479px) and (max-width: 900px) {
  html, body {
    overflow-x: hidden; /* This will hide horizontal scroll */
  }
  .main-container {
    margin: 1rem 0 1rem 0;
    gap: 20px;
  }
  .card-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 320px;
    gap: 15px;
  }
  #c1 {
    width: 320px;
    height: 320px;
  }
  #c2 {
    width: 320px;
    height: 385px;
  }
  #c2 h1, #c2 p {
    width: 250px;
    height: auto;
    margin: 0;
  }
  #c2 h1 {
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1.92px;
    line-height: 100%;
  }
  #c2 p {
    font-size: 16px;
  }
  .header1 .freshers-party h1, .header1 .year h1 {
    width: 320px;
    letter-spacing: -5px;
    line-height: 1.1;
  }
  .header1 .freshers-party h1 {
    font-size: 72px;
  }
  .header1 .year h1 {
    font-size: 90px;
  }
  .header2 {
    width: 320px;
  }
  .header2 .date-room h1 {
    font-size: 90px;
    width: 320px;
  }
  .instructions-card {
    width: 320px;
  }
  .instructions-card .heading h1 {
    font-size: 44px;
  }
  .instructions-card .instructions-text .main p {
    font-size: 16px;
    width: 250px;
  }
  .instructions-card .instructions-text .rules {
    min-width: 320px;
  }
  .instructions-card .instructions-text .rules li {
    width: 250px;
    padding: 0px 45px 0px 45px;
    font-size: 17px;
    font-weight: 600;
  }
  .creds {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .creds p {
    padding: 0;
    text-align: center;
    font-size: 16px;
    margin: 0;
  }
  .creds img {
    width: 16px;
  }
  .creds #canvas {
    width: 40px;
    height: 40px;
  }
}
/* black overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: black;
  opacity: 1;
  transition: opacity 0.5s ease; /* Apply a smooth transition for the disappearance */
  z-index: 100;
}

.creds {
  z-index: 9999;
}

/* infinite scrolling text */
.text-wrapper {
  width: 2000px;
  overflow: hidden;
  background: #f1f1f1;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  display: flex;
  flex-direction: row;
  gap: 1em;
}
.text-wrapper p {
  color: #0b0b0b;
  font-family: "JetBrains Mono";
  font-weight: 900;
  font-size: 1em;
  letter-spacing: -1px;
  margin: 0.5em;
}

.text-slide {
  display: flex;
  flex-direction: row;
  gap: 1em;
  animation: 20s slide infinite linear;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}/*# sourceMappingURL=main.css.map */