body {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: lighter;
  background-color: rgb(25,25,25);
  margin: 0%;
  padding: 40px 80px 0px 60px;
}

.project {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 0px;

}

h1 {
  color: rgb(185, 255, 216);
  font-size: 18pt;
  margin-block-start: 0%;
  margin: 0%;
  text-transform: uppercase;
}

h2 {
  color: white;
  font-size: 12pt;
  font-weight: lighter;
  margin-inline-end: 0%;
  margin: 0%;
}

/* project-title */
h3 {
  color: rgb(255, 255, 255);
  font-size: 18pt;
  font-weight: bold;
  margin: 0%;
  text-transform: uppercase;
}

h4 {
  color: white;
  font-size: 12pt;
  margin: 0%;
  font-weight: lighter;
  line-height: 1.5;
}

h5 {
  color: rgb(185, 255, 216);
  font-size: 12pt;
  margin: 0%;
  font-weight: lighter;
  line-height: 1.5;
}

h6 {
  font-size: 18pt;
  margin-top: 5px;
  margin-bottom: 10px;
}

h7 {
  font-size: 12pt;
  line-height: 1.5;
}

.alt {
  font-size: 12pt;
  line-height: 1.5;
  text-align: right;
  color: rgb(185, 255, 216);
  font-style: italic;
}

a:link {
  font-weight: lighter;
  text-decoration: none;
}

a:visited {
  font-weight: lighter;
  text-decoration: none;
}

#first-row {
  position: fixed;
  padding-top: 30px;
  padding-bottom: 20px;
  top: 0px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  z-index: 1000;

}



#description {
  width: 450px;
  padding-right: 140px;
  text-align: end;
  line-height: 1.5;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}


#new-media {
  color: rgb(185, 255, 216);
}

#white {
  color: rgb(255, 255, 255);
}

.short-description {
  padding-top: 20px;
  text-align: left;
}

.short-description {
  width: 95%;
}

a:visited {
  color: white;
  font-weight: lighter;
  text-decoration: none;
}

.link:visited {
  color: white;
}

#second-row {
  padding-top: 100px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 580px;
}

p {
  /* padding-bottom: 40px; */
  animation: animate 4s linear infinite;
  color: white;
  text-align: center;
}

a:link {
  color: white;
  font-weight: lighter;
  text-decoration: none;
}

.spacer {
  padding: 30px;
  height: 20px;
}
.title-spacer{
  padding: 0px;
  height: 10px;
}
.preview-detail {
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.project-info-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30%;
  padding-right: 2%;
}

.project-info-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30%;
  padding-left: 2%;
}

.project-image-link {
  display: inline-block;
  /* Ensure the link respects dimensions */
  overflow: hidden;
  /* Hide overflowing content */
  position: relative;
  /* Establish positioning context */
  width: 55%;
  height: 100%;
  /* Adjust as needed */
}

.image-2 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
}

.image-2 img {
  width: 49.5%;

}


.left-right {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.left {
  width: 50%;
}

.right {
  width: calc(50% - 20px);
}

.left .video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio */
}

.left iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.left {
  display: flex;
  align-items: flex-start;
  justify-content: center;

  flex-direction: column;
}

.left img,
.left video {
  max-width: 100%;
  height: 100%;
}


.right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.right img {
  width: 100%;
  object-fit: cover;
}

.right-1image {
  width: 50%;
  object-fit: cover;
}

.right-1image img {
  width: 100%;
  object-fit: cover;
}


.vertical-spacer {
  width: 1px;
  background-color: white;
}


.image-3 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
}

.image-3 img {
  width: 32.33%;
  margin-bottom: 10px;
}

.image-4 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
}

.image-4 img {
  width: 24%;
  margin-bottom: 10px;
}

.image-4 video {
  width: 24%;
  margin-bottom: 10px;
}


.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 30px;
  background-color: rgb(0, 0, 0);
  /* Choose your desired background color */
  color: white;
  /* Choose your desired text color */
  display: flex;
  flex-direction: row;
  justify-content: right;
}

.project-image-link {
  opacity: 1;
  transition: opacity 1.5s ease-in-out;
}

.project-image-link.fadeInScroll {
  opacity: 1;
}

.divider, .first-divider {
  background-color: white;
  height: 1px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.alt-text {
  font-size: 12pt;
  line-height: 1.5;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  color: rgb(185, 255, 216);
  font-style: italic;
  margin-top: 20px;
  margin-bottom: 0px;

}
.reverse-project{
  display: flex;
  flex-direction: row;
  align-items: flex-end;
margin-top: 20px;
}
.reverse-video{
  display: flex;
  flex-direction: row;
  width: 50%;
  gap:10px;
  
}
.reverse-text {
  width: 50%;
  text-align: end;
  color: rgb(185, 255, 216);
  font-size: 12pt;
  line-height: 1.5;
  font-style: italic;
  margin-top: 10px;
}

.reverse-text span {
  color: white;
}

.alt-text-2 {
  font-size: 12pt;
  line-height: 1.5;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  color: rgb(185, 255, 216);
  font-style: italic;
  margin-top: 20px;


}

.title-text,
.spec-text {
  height: 100%;
}

.spec-text {
  text-align: end;
  color:white;

}



a.link-blink {
  animation: animate 4s ease-in infinite;
  text-decoration: none;
  /* Optional: Disable underline */
  color: rgb(185, 255, 216);
}

.graphic-body {
  margin: 0px;
  padding: 0px;
}

@keyframes animate {
  0% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.5;
  }
}

a.link-blink:hover {
  animation-play-state: paused;
  /* Pause animation on hover */
  opacity: 1;
  /* Ensure full opacity on hover */
  color: white;
  text-decoration: none;
  /* Optional: Ensure no underline on hover */
}

/* Default styling (for larger screens) */
.tag span {
  display: block;
  /* Keeps tags in a column by default */
}

/* When the screen width is smaller than 700px */
@media (max-width: 900px) {
  .tag span {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* Adds a 10px gap between tags */
  }

  .tag span br {
    display: none;
    /* Hides the <br /> elements to ensure the tags are in a row */
  }

  #description {
    width: 400px;
  }
}



@media only screen and (max-width: 900px) {

  #projectsSection {
    padding-right: 20px;
    padding-left: 20px;

  }


  .preview-detail,
  .animation-graphic {
    flex-direction: column;
    /* Change flex direction to column for smaller screens */
    text-align: center;
  }

  .project-image-link,
  .title-image-link {
    width: 100%;

  }

  .animation-graphic-title {
    width: 100%;
  }

  .project-image,
  .title-image {
    padding-bottom: 20px;
  }

  .title-image {
    margin-top: 20px;
  }

  .project-info-left,
  .project-info-right {
    padding: 0px;
    text-align: left;
    width: 100%;
    order: 1;

  }

  .tag {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 90%;
    margin-top: 20px;
  }

  .tag-detail {
    padding-right: 10px;
  }
  .divider{
    margin-top: 15px;
  }
  .first-divider{
    margin-top: 30px;
  }

}

@media only screen and (max-width:900px) {
  body {
    padding: 0px;
    padding-top: 60px;
  }

  #first-row {
    padding-left: 20px;
    padding-top: 20px;
    width: 100vw;
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7441570378151261) 52%, rgba(0, 0, 0, 0) 100%);

  }

  #name {
    width: 100px;

  }

  #description {
    width: 120px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    line-height: 1.4;
    padding-right: 40px;

  }

  .project {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 0px;
    margin-top: -30px;

  }

  .left-right {
    display: flex;
    flex-direction: column;
  }

  .left {
    width: 100%;
  }

  .right {
    width: 100%;
  }

  .vertical-spacer {
    width: 100%;
    height: 1px;
  }
  .title-spacer{
    padding: 0px;
    height: 20px;
  }
  
  .left-right,.reverse-project {

    margin-top: 10px;
  }

}

@media only screen and (max-width:700px) {

  .alt-text {
  
    flex-direction: column;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 0px;
  }
  .title-text{
    text-align: end; 
  }
  .spec-text{
text-align: end;  }

.reverse-project{
  flex-direction: column;
}
.reverse-text, .reverse-video{
  width: 100%;
}
}
