body {
  min-height: 100vh
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background-color: black;
  margin-left: 2px;
  animation: blink 1s infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.name {
  font-size: 40pt;
  font-family: "Inria Sans", sans-serif;
  padding-top: 2%;
}


.container {
  display: flex;
  column-gap: 5%;
}

.container-2 {
  display: flex;
  padding-top: 30%;
}

.circle-container {
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 7%;
  margin-top: 5%;
}

.circle-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* This prevents squishing */
  object-position: center;
  /* Centers the image */
}


.typing-text {
  font-size: 30pt;
  font-family: "Inria Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.intro {
  font-size: 30pt;
  font-family: "Inria Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  padding-top: 2%;
  width: 100%;
}

.quote-wrapper {
  padding-top: 10%;

}

.quote {
  font-size: 18pt;
  font-family: "Inria Sans", sans-serif;
  font-weight: 400;
  font-style: italic;
  width: 100%;
  text-align: center;
  margin-bottom: 2%;
  margin-left: 0%;
}

.author {
  font-size: 20pt;
  font-family: "Inria Sans", sans-serif;
  font-weight: 500;
  width: 100%;
  text-align: center;
  margin-bottom: 2%;
  margin-left: 0%;
}

.author a {
  color: #515963;
  text-decoration: none;
}

.author a:hover {
  text-decoration: underline;
}

.social-media-wrapper {
  padding-top: 10%;
  width: 80%;
  align-content: center;
  display: flex;
  justify-content: center;
  /* centers icons horizontally */
  align-items: center;
  /* centers icons vertically */
  gap: 10%;
  /* space between icons */
  /*padding-left: 10%;*/
  justify-self: center;
}

.socialMediaIcons {
  display: flex;
  flex-direction: row;
}

.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%
}

.left-content {
  flex: 1;
  padding-left: 5%;
  justify-content: center;
  /* Centers horizontally */
  align-items: center;
  /* Centers vertically */
}

.film {
  font-size: 30pt;
  font-family: "Inria Sans", sans-serif;
  padding-top: 2%;
}

.film-caption {
  font-size: 14pt;
  font-family: "Inria Sans", sans-serif;
  font-weight: 300;
  font-style: italic;
  width: 100%;
  margin-bottom: 2%;
  margin-left: 0%;
}

.portfolio-title {
  padding-top: 5%;
  padding-left: 5%;
  padding-right: 5%;
}

/* Portfolio masonry layout */
.portfolio {
  max-width: 1400px;
  margin: 0 auto;
  columns: 4;
  column-gap: 1.5rem;
  padding: 1rem;
}

/* Responsive breakpoints for columns */
@media (max-width: 1200px) {
  .portfolio {
    columns: 3;
  }
}

@media (max-width: 900px) {
  .portfolio {
    columns: 2;
  }
}

@media (max-width: 600px) {
  .portfolio {
    columns: 1;
  }
}

/* Portfolio item styles */
.portfolio-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  backface-visibility: hidden;
  display: inline-block;
  width: 100%;
  background: #000;
}

/* Media container */
.portfolio-item .media-container {
  position: relative;
  width: 100%;
}

/* Base styles for both image and video */
.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}

/* Video-specific styles */

/* Video-specific styles - modified for autoplay */
.portfolio-item.has-video img {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.portfolio-item.has-video video {
  opacity: 0;
  z-index: 1;
  transition: opacity 0.5s ease;
}

/* When video is ready to play, show it and hide the image */
.portfolio-item.has-video.video-ready img {
  opacity: 0;
}

.portfolio-item.has-video.video-ready video {
  opacity: 1;
}


.portfolio-item.has-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  object-fit: cover;
}

.portfolio-item.has-video:hover video {
  opacity: 1;
}

.portfolio-item.has-video:hover img {
  opacity: 0;
}

/* Overlay styles */
.portfolio-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 2;
}

.portfolio-item:hover .overlay {
  transform: translateY(0);
}

/* Loading animation */
.portfolio-item {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}