/*
  We are using Tailwind via CDN for utility classes.
  This file is for global styles and the animated background that can't be easily done with Tailwind utilities.
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@600&family=Syne:wght@800&display=swap');

body {
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden;
}

.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* Behind the content */
  overflow: hidden;
}

.background-container::before,
.background-container::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.background-container::before {
  width: 15vw;
  height: 15vw;
  min-width: 100px;
  min-height: 100px;
  background: rgba(167, 139, 250, 0.5); /* accent-color-1 with alpha */
  top: 5%;
  left: 10%;
  filter: blur(200px);
  animation: move-blob-1 25s infinite alternate;
  will-change: transform;
}

.background-container::after {
  width: 20vw;
  height: 20vw;
  min-width: 200px;
  min-height: 200px;
  background: rgba(96, 165, 250, 0.5); /* accent-color-2 with alpha */
  bottom: 5%;
  right: 10%;
  filter: blur(200px);
  animation: move-blob-2 30s infinite alternate;
  will-change: transform;
}

@keyframes move-blob-1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(100%, 50%) scale(1.2);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes move-blob-2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-80%, -30%) scale(0.8);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

#hero {
    padding-top: 100px; /* Adjust this value as needed */
}

/* Mobile Menu Enhancement */
#mobile-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}

#mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-link {
    display: block;
    padding: 1rem;
    text-align: center;
    font-size: 1.25rem;
}

.mmw-logo {
    display: inline-flex;
    align-items: center;
    gap:2px;
    text-decoration: none;
}

.mmw-badge {
    width: 54px;
    height: 30px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.mmw-bracket {
    font-weight: 600;
    font-size: 30px;
    color: #f0f4ff;
    line-height: 1;
}

.mmw-dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mmw-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.mmw-dot:nth-child(1) {
    background: #93c5fd;
}

.mmw-dot:nth-child(2) {
    background: #60a5fa;
}

.mmw-dot:nth-child(3) {
    background: #3b82f6;
}

.mmw-wordmark {
    font-weight: 800;
    font-size: 26px;
    line-height: 1;
}

.mmw-wordmark .make,
.mmw-wordmark .web {
    color: #f0f4ff;
}

.mmw-wordmark .my {
    color: #5b9bf8;
}

.mmw-tagline {    
    font-size: 9.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

/* Timeline styles */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #4f46e5;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: white;
    border: 4px solid #4f46e5;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -16px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: #1f2937;
    position: relative;
    border-radius: 6px;
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(odd) {
        left: 0;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 15px;
    }
}
