@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


*, *::before, *::after {
  box-sizing: border-box;
}

body, html{
    background-color: #050505;
    font-family: "DM Sans", monospace, sans-serif;
    color: white;
    scroll-behavior: smooth;
}

::-webkit-scrollbar{
  width: 0;
}

section {
  padding: 60px 20px;
  margin: 0 auto;
  text-align: center;
}

.hero-section{
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}
.hero-content {
  padding: 20px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 10;
}
.hero-section.top-hero {
  height: 25vh;
  padding: 0;
}
.hero-content.top-hero-content {
  font-size: 0.8em;
}

.hero-content h1 {
  font-size: 70px;
  transition: font-size 0.5s ease;
  margin-bottom: 10px;
}

.hero-content.top-hero-content h1 {
  font-size: 40px;
  position: relative;
}

.hero-content.top-hero-content h1:after{
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: rgb(247, 247, 247);
  transition: width 0.3s ease;
}
.hero-content.top-hero-content h1:hover::after {
  width: 100%;
}

.hero-content p {
  font-size: 45px;
  margin-bottom: 10px;
}

.hero-content.top-hero-content p {
  font-size: 25px;
}

.hero-section a{
  text-decoration: none;
  color: white;
}

.background-marquee {
  position: absolute;
  top: 20%;
  left: 0;
  width: 200%;
  white-space: nowrap;
  overflow: hidden;
  transform: translateY(-50%);
  z-index: 1;
  transition: top 0.5s ease-in-out;
}

.background-marquee span {
  display: inline-block;
  font-size: 120px;
  font-weight: bold;
  opacity: 0.10;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 10px;
  animation: scroll 40s linear infinite;
  padding-right: 50px;
  pointer-events: none;
  user-select: none;
}

@keyframes scroll {
  0% {
      transform: translateX(0%);
  }
  100% {
      transform: translateX(-100%);
  }
}


.socials{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  width: 100%;
  margin-bottom: 20px;
}

.social{
  padding: 12px;
  font-size: 35px;
  border-radius:50%;
  transition:0.4s ease-in-out;
}
.social:hover { 
  cursor: pointer;
  color:rgb(122, 122, 122);
  transform: translateY(-5px);
}
#things, .socials {
  transition: height 0.5s ease, opacity 0.5s ease, margin 0.5s ease;
  overflow: hidden;
}

#things.hidden, .socials.hidden {
  height: 0;
  opacity: 0;
  margin-top: 0;
  pointer-events: none;
}

.button-container{
  display: flex;
  gap: 20px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-button{
  text-decoration: none;
  color: white;
  display: inline-block;
  font-size: 25px;
  padding: 12px 24px;
  border-radius: 5px;
  transition: 0.3s ease;
  box-shadow: 0 0 5px rgba(153, 153, 153, 0.993);
  user-select: none;
}

.hero-button:hover{
  background-color: #fff;
  color:#050505;
}

.section-content {
  display: none;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
  transition: 0.3s ease;
}

.section-content h2 {
  font-size: 50px;
  margin-bottom: 20px;
}

.section-content p {
  font-size: 20px;
  line-height: 1.6;
}

footer{
  position: absolute;
  text-align: left;
  padding-left: 5px;
}

.button{
  background-color: #050505;
  color: #fff;
  border: 1px solid rgba(44,44,44,255);
  border-radius: 5px;
  padding: 10px;
  width: 200px;
  box-shadow: 0 2px 5px rgba(219, 219, 219, 0.1);
  transition: 0.2s;
  font-size: 18px;
  text-align: center;
  overflow: hidden;
  z-index: 10;
  transition: 0.3s ease;
}

.button:hover{
  transform: scale(1.05);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(209, 209, 209, 0.1);
  background-color: #fff;
  color: #050505;
}
.button:disabled{
  background-color: #1d1d1d;
  color: rgba(128, 128, 128, 0.781);
  cursor: not-allowed;
  box-shadow: 0 0 0;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}

.work-card {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  font-size: 16px;
  border: 1px solid #1f1f1f;
  background: #070707;
  color: white;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'DM Sans', monospace, sans-serif;
  transition: 0.2s;
  width: 100%;
  min-height: 260px;
}

.work-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.2);
  border-color: #4a4a4a;
}

.work-card .content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.work-card h1 {
  font-size: 20px;
  margin: 0;
  letter-spacing: 0.5px;
}

.work-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #bfbfbf;
}

.work-card img {
  max-width: 80%;
  max-height: 160px;
  align-self: center;
  border-radius: 5px;
  object-fit: contain;
}

.works-grid a{
  text-decoration: none;
}

.works-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  margin-top: 24px;
  align-items: start;
}

.works-panel {
  border: 1px solid #4a4a4a;
  padding: 24px;
  border-radius: 14px;
  background: #080808;
  text-align: left;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
}

.works-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #2a2a2a;
}

.works-panel h3 {
  font-size: 28px;
  margin: 0;
}

@media (max-width: 1100px) {
  .works-split {
      grid-template-columns: 1fr;
  }
}

.domain {
  color: #3b3b3b;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.domain:hover {
  color: #ffffff;
}

@media (max-width: 768px) {

  .divider {
      display: none;
  }

  .hero-content h1 {
      font-size: 40px;
  }

  .hero-content p {
      font-size: 25px;
  }

  .background-marquee span {
      font-size: 80px;
  }


  .hero-button {
      font-size: 18px;
      padding: 10px 20px;
  }

  .works-grid {
      gap: 15px;
  }

  .work-card {
      min-height: 240px;
  }
}

@media (max-width: 480px) {



  .socials {
      gap: 5px;
  }

  .work-card {
      font-size: 14px;
      min-height: 220px;
  }

  .hero-button {
      font-size: 16px;
      padding: 8px 16px;
  }

  .button {
      width: 150px;
      font-size: 16px;
      padding: 8px;
  }
}
