:root {
  --offwhite: hsla(208, 0.00%, 100.00%, 1.00);
  --offblack: #262626;
}

body {
  background-color: var(--offwhite);
  overflow-x:hidden;
  margin:0;
  padding:0;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-style: normal;
}


p {
  color: #111111;
}


#navbar {
  display: flex; /* Enable flexbox layout */
  justify-content: flex-end; /* Align items to the right */
  align-items: center; /* Vertically center items */
  width: 100vw;
  height: 7vh;
  min-height: 50px;
  position: fixed;
  top:0;
  left:0;
  z-index: 9999;
  /*backdrop-filter: blur(10px);*/
  /*background-image: linear-gradient(to right, hsla(0, 0.00%, 0.00%, 0.75), hsla(240, 0.00%, 8.67%, 0.75));*/

}

#navbar__list {
  display: flex;
  padding-left: 4vw;
  padding-right: 6vw;
}


#navbar__list a {
  font-family: 'Open Sans', sans-serif;
  font-weight: 375;
  font-style: normal;
  color: #ffffff;
  text-decoration: none;
  margin-left: 1vw;
  margin-right: 1vw;
}

#navbar__list a:hover {
    color: #2e9dff;
    text-shadow: 0 0 3px #ffffff;
    transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
  }

.caret-down {
  height: 15px;
  width: 15px;
  object-fit: fill;
  vertical-align: middle; /* Align the caret-down image vertically in the middle */
  padding-bottom: 2px;
  padding-left: 5px;
}

.dropdown-nav:hover .dropdown-nav__content {
  display: block;
}

.dropdown-nav__content {
  display:none;
  position: absolute;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-nav__content a{
  display: flex;
  margin-top: 2vh;
  margin-bottom: 2vh;
}

#home {
    top:0;
    left:0;
    padding:0;
    margin:0;
}
.vimeo-video-container {
    position: absolute;
    top:0;
    left: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    background:#000000;
}
.slides::before {
    content: ".";
    display: block;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4) 30%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.5)), radial-gradient(circle farthest-corner at 50% 50%, transparent, hsla(0, 0.00%, 0.00%, 0.50));
    z-index: 2;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.vimeo-video {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 150vw;
    width: 100vw;
    transform: translate(-50%, -50%);
    object-fit:cover;
    z-index: 0;
}

.db-bg-video {
    position: absolute;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    object-position:center;
    object-fit:cover;  
    z-index: 0;
}

.object-fill {
  object-fit: fill;
}

.title-div {
  position: absolute;
  left: 0%;
  top: 0%;
  right: auto;
  bottom: auto;
  z-index: 5;
  display: flex;
  width: 33vw;
  height: 100vh;
  padding:0;
  padding-left: 3vw;
  padding-right: 3vw;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: none
    /* radial-gradient(circle farthest-side at 0% 75%, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4) 46%, transparent) */
  ;
}

.hero-heading-container{
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom:40vh;
  padding-left: 5vw;
  z-index: 3;
}
.hero-heading{
  padding:0;
  margin:0;
  color: var(--offwhite);
  font-size: 3.5vw;
  line-height: 3.5vw;
  font-weight: 300;
  text-align: justify;
  letter-spacing: .1vw;
  text-transform: uppercase;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
  white-space: break-spaces;
  z-index:3;
}

.hero-subheading{
  padding: 0;
  margin:0;
  color: var(--offwhite);
  font-size: 1.9vw;
  line-height: 1.9vw;
  font-weight: 300;
  text-align: justify;
  letter-spacing: .1vw;
  text-transform: uppercase;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
  white-space: break-spaces; 
  z-index: 3;
}

.hero-desc{
  position: absolute;
  top: 65vh;
  left: 5vw;
  height:2vh;
  width: 24.2vw;
  padding-right: 0vw;
  padding-left: 0vw;
  margin:0;
  color:var(--offwhite);
  font-size: 1vw;
  line-height: 1vw;
  font-weight: 300;
  letter-spacing: 2px;
  text-align: justify;
  z-index: 3;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Slideshow container */
.slideshow-container {
  width:100vw;
  height: 100vh;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.slides {
  width: 100%;
  height: 100%;
  display: none;
  overflow: hidden;
}

.slide-desc {
  position: absolute;
  width: 33vw;
  top: 40vh;
  left: 0;
  padding-left: 3vw;
  padding-right: 3vw;
  z-index: 3;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background: rgba(0,0,0,0.5);
}


/* Number text (1/3 etc) */
.numbertext {
  color: var(--offwhite);
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.slide_dot_container {
  text-align:center; 
  z-index: 5; 
  position:absolute; 
  bottom:1vh; 
  left:50%; 
  transform: translateX(-50%);}

/* The dots/bullets/indicators */
.slide_dot {
  cursor: pointer;
  height: 15px;
  width: 30px;
  margin: 0 8px;
  border-radius: 5%;
  display: inline-block;
  transition: background-color 0.6s ease;

  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.active, .slide_dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.fade-in-left {
  animation: fade-in-left 2s ease-in;
  mask-repeat: no-repeat;
}

@keyframes fade-in-left {
  0% {
    -webkit-mask-size: 0%;
    -webkit-mask-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0)
    );
  }

  50% {
    -webkit-mask-size: 0%;
    -webkit-mask-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0)
    );
  }
  100% {
    -webkit-mask-size: 100%;
    -webkit-mask-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0)
    );
  }
}

.fade-in-down {
  animation-name: fade-in-down;
  animation-duration: 3s;
}

@keyframes fade-in-down {
  0% {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  50% {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fade-in-up {
  animation-name: fade-in-up;
  animation-duration: 3s;
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translate3d(0, 200%, 0);
  }

  50% {
    opacity: 0;
    transform: translate3d(0, 200%, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

#about-me{
  padding-top:20vh;
  padding-bottom:10vh;
  height:100vh;
  width: 100vw;
}

.center-heading{
  font-size: 30px;
  line-height: 36px;
  font-weight: 300;
  text-align: center;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.column-text{
  width:50%;
  max-width: 600px;
  height:auto;
  text-align: center;
}

#Cornell_University_Logo{
  width: 50%;
  height: 300px;
  margin: 0;
  padding: 0;
  object-fit: fill;
}

.two-columns{
  position: relative;
  top:10vh;
  display:flex;
  flex-direction: row;
  gap:20px;
  padding-left:10vw;
  padding-right:10vw;
  width:80vw;
  height:auto;
  justify-content: center;
  align-items: center;
}

#The-Aerospace-Corporation{
  padding-top:10vh;
  padding-bottom:10vh;
  height:100vh;
  width: 100vw;
}

.column-video{
  width: 40vw;
  height: 40vh;
}

.mars-gradient{
  background: -webkit-linear-gradient(#860a0a, #333);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ion-gradient{
  background: radial-gradient(circle, rgba(2,114,208,1) 0%, rgba(0,0,0,1) 25%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-intro{
  width:100vw;
  height:100vh;
}

.section-intro::before {
  content: ".";
  display: block;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.6));
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

.section-intro-desc{
  position: relative;
  top: 59vh;
  left: 3vw;
  height:2vh;
  width: 24.4vw;
  padding-right: 0vw;
  padding-left: 0vw;
  margin:0;
  color: var(--offwhite);
  font-size: 2vh;
  font-weight: 300;
  line-height: 2.5vh;
  letter-spacing: -1px;
  text-align: justify;
  z-index: 3;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.section-intro-title{
  position: relative;
  top: 55vh;
  left: 3vw;
  color: var(--offwhite);
  font-size: 1.9vw;
  line-height: 1.9vw;
  font-weight: 300;
  text-align: justify;
  letter-spacing: .1vw;
  text-transform: uppercase;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
  white-space: break-spaces; 
  z-index: 3;
}

.section-grid{
  display: grid;
  width: 70vw;
  height:auto;
  margin: 20vh 15vw 0 15vw;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 40vh 40vh;
  grid-gap: 1vh;
  place-items: center;
 }

.grid-title{
  color: black;
  font-size: 2vw;
  line-height: 2vw;
  font-weight: 300;
}
.grid-text{
  color: black;
  font-size: 1vw;
  font-weight: 300;
  line-height: 1.2vw;
  letter-spacing: -1px;
 }

.grid-video{
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.model-viewer{
  width:100%;
  height:100%;
}

#CMR-Grid{
  grid-template-columns: 1fr 1.5fr;
  grid-template-rows: 80vh;
  margin-bottom:5vh;
}

.gallery-grid{
  display: grid;
  width: 70vw;
  height:70vh;
  margin: 2vh 15vw 20vh 15vw;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 40vh 40vh 40vh;
  grid-gap: 1vh;
}
.grid-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-in-out, filter 0.4s ease-in-out;
}

.grid-image:hover{
  transform: scale(1.2);
  filter: none; 
  z-index: 1;
}

.gallery-grid:hover .grid-image {
  
  filter: blur(2px) grayscale(75%); /* Blur and grayscale on all images */
}

.gallery-grid:hover .grid-image:hover {
  filter: none; /* Remove blur and grayscale from hovered image */
  opacity: 1;
}