/* Projects */
.divider {
  height: 40px;
  margin-top: -20px;   /* overlap top */
  margin-bottom: -20px;/* overlap bottom */
  
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  background: rgba(255, 255, 255, 0.15); /* needed for effect */
   mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}
.card {
  display: block;
  max-width: 320px;
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(
    180deg,
    rgba(50, 50, 50, 0.4),
    rgba(0, 0, 0, 0.2)
  );
  border: 1px solid rgba(255, 255, 255, 0.02);
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.card-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
}
.card-description {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: var(--muted);
}
.card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag {
  font-size: 0.75rem;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  color: var(--muted);
}


.title {
    font-size: 6em;
    font-weight: 1000;
}


#container3Drocket {
    z-index: 3;
    /* center the element horizontally */
    position: absolute;
    left: 50%;
    transform: translate(-50%);
}

#fireCanvas {
    z-index: 2;
    /* center the element horizontally */
    position: absolute;
    left: 50%;
    top: 89vh;
    transform: translate(-50%);
}

#mouseCanvas {
    z-index: 3;
    /* move to right half of canvas */
    position: absolute;
    left: 50%;
    top: 14vh;;
}


#container3Drover {
    position: absolute;
}


#rover_info {
    position: absolute;
    left: 50%;
    top: 85%;
    transform: translate(-50%);
    color: lightgrey;
    font-size: 1.5em;
}



#projects {
    z-index: -3;
   
}

.section-left {
    padding-left: 10%;
    width: 45%;
}
.section-right {
    margin-left: 50%;
    width: 40%;
}

/* mobile changes */
@media (max-width: 768px) {
    .title {
        font-size: 4em;
    }

    #container3Drocket {
        z-index: 1;
        /* center the element horizontally */
        position: absolute;
        left: 35%;
        top: 15vh;
        transform: translate(50%);
    }

    .section-left {
        padding-left: 5%;
        width: 55%;
    }

    #rover_info {
        font-size: 1em;
    }
}
