/* --------------------Line-------------------- */
.line {
  position: absolute;
  top: 165px;
  left: 25%;
  width: 50%;
  height: 7px;
  background-color: black;
  z-index: 10; /* Make sure it’s above other elements */
}
/* --------------------|||-------------------- */
.text {
  position: absolute;
  top: 185px;
  left: 50.7%;
  transform: translateX(-50%);
  font-family: "Andale Mono", monospace;
  font-size: 18px;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* --------------------"FPV VIDEO PHOTO 3D"-------------------- */
.text a {
  color: black;
  text-decoration: none;
  border-bottom: 2px solid black;
  display: inline-block;
  text-align: center;
  margin: 0 15px;
  border-bottom: none !important
}

.text a:hover {
  border-bottom: none;
}

/* centering the underline with the text */
.text a:nth-of-type(1),
.text a:nth-of-type(2),
.text a:nth-of-type(3) {
  border-bottom: 1px solid black;
  display: inline-block;
  text-align: center;
}

.text a:nth-of-type(1):hover,
.text a:nth-of-type(2):hover,
.text a:nth-of-type(3):hover {
  border-bottom: none;
}

.text a:nth-of-type(4) {
  color: black;
  text-decoration: none;
  border-bottom: 1px solid black;
  padding: 0 5px;
  display: inline-block;
  text-align: center;
  width: 30px;
}

.text a:nth-of-type(4):hover {
  border-bottom: none;
}

/* additional rule for underlines */
.text>a:not(.small-image) {
  border-bottom-width: 1px;
}
/* --------------------SignatureTsmall.png-------------------- */
.signate__logo {
    position: absolute;
    top: 0px; /* Adjust this value to move the signature and everything else up */
    left: 50%;
    transform: translateX(-50%);
    width: 9%;
}
  
/* --------------------me.png-------------------- */
  .small-image {
    position: absolute;
    top: 150px;
    left: -430%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .small-image img {
    width: 33%;
    height: 32%;
    margin-left: 46%;
    border-radius: 8px; /* Rounded corners for a softer look */
  }
/* --------------------INFO BOX-------------------- */
.info {
  position: absolute;
  top: 150px;
  right: -400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 520px;
  height: 715px;
  background-color: #e4e4e4;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  padding: 20px;
  font-family: "Calibri", sans-serif;
  font-size: 16px;
  color: #333;
  text-align: left;
  margin-bottom: 20px;
  border-radius: 8px; /* Rounded corners for a softer look */
}

.info p {
  margin-top: 0;
  margin-bottom: 5px;
}

.info a {
  color: #0077cc;
  text-decoration: none;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 10px;
}
/* --------------------"Kontakt Mig"-------------------- */
.contact-info h3 {
  margin-top: 300;
  margin-bottom: 5px;
}
/* --------------------Contact Info-------------------- */
.contact-info p {
  margin-top: 200;
  margin-bottom: 0;
}

.social-icons {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
/* --------------------Socials-------------------- */
.social-icons a {
  display: inline-block;
  margin: 0 10px;
  width: 30px;
  height: 30px;
  text-decoration: none !important;
  border-bottom: none !important;
}

.social-icons a:hover {
  text-decoration: none !important;
  border-bottom: none !important;
  opacity: 0.7;
}

.social-icons a img {
  width: 110%;
  height: 125%;
  display: block;
  margin: auto;
  transform: scaleX(1.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icons a:hover img {
  opacity: 0.7;
  transform: scale(1.1); /* Slightly scale up the icon */
}
/* --------------------Side Photos-------------------- */
.left-image,
.right-image {
    position: fixed;
    top: -150px;
    width: 100%; /* Adjust the width as needed */
}

.left-image {
    left: -247%;
}

.right-image {
    right: -252%;
}

.left-image img,
.right-image img {
    width: 100%; /* Adjust width as needed */
    height: auto;
    margin-bottom: 20px; /* Space between images */
    border-radius: 8px; /* Rounded corners for side images */
}

/* Define keyframes for the animation */
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Apply animation to left and right images */
.left-image img {
    animation: slideInFromLeft 4s ease-out forwards; /* Adjust duration (e.g., 2s) */
}

.right-image img {
    animation: slideInFromRight 4s ease-out forwards; /* Adjust duration (e.g., 2s) */
}
/* --------------------Remove Scroll UI-------------------- */
body {
    overflow-x: hidden;
  }
/* --------------------General Styles-------------------- */
body {
  font-family: "Montserrat", sans-serif;
  color: black;
  margin: 0;
  padding: 0;
}

/* --------------------Photo Page Styles-------------------- */
.photo-page .signature__logo {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 100px;
  cursor: pointer;
}

.photo-page .page-header {
  position: relative;
  text-align: center;
  margin: 0;
}

.photo-page .page-header h1 {
  font-size: 46px;
  position: relative;
  top: 100px;
  margin: 0;
}

.photo-page .line {
  position: absolute;
  top: 165px;
  left: 24.8%;
  width: 49.5%;
  height: 7px;
  background-color: black;
  margin: 0 auto;
}

.photo-page .content {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* --------------------Gallery Styles-------------------- */
.gallery {
  max-width: calc(250px * 5 + 20px * 4); /* Maximum width for 5 photos with spacing */
  margin: 150px auto; /* Move the gallery further down */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px; /* Reduce spacing between photos */
}

.gallery a {
  flex: 1;
  min-width: 250px;
  max-width: 250px;
  overflow: hidden;
  border-radius: 8px; /* Rounded corners for a softer look */
  transition: transform 0.6s, box-shadow 0.6s; /* Smooth hover effects */
}

.gallery a:hover {
  transform: scale(1.05); /* Slight zoom on hover */
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2); /* Shadow on hover */
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: inherit; /* Ensures rounded corners on images */
}
/* --------------------Gallery 01-------------------- */
/* Masonry Grid Container */
.grid {
  column-count: 5; /* Number of columns */
  column-gap: 5px; /* Horizontal gap between columns */
  max-width: 1300px; /* Adjust as needed */
  margin: 70px auto; /* Center the grid and add space on top */
  padding-top: 100px; /* Add some padding at the top */
}

/* Masonry Grid Items */
.grid-item {
  margin-bottom: 10px; /* Vertical spacing between items */
  break-inside: avoid; /* Prevent items from breaking within columns */
}

.grid img {
  width: 100%; /* Full width of each grid item */
  height: auto; /* Maintain aspect ratio */
  border-radius: 8px; /* Optional: rounded corners */
  transition: transform 0.3s, box-shadow 0.3s; /* Smooth hover effects */
}

.grid img:hover {
  transform: scale(1.05); /* Slight zoom on hover */
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2); /* Shadow on hover */
}

/* Lightbox overlay */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
    margin-top: 5%;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.prev, .next {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: white;
    cursor: pointer;
    padding: 16px;
    transition: 0.3s;
}

.prev {
    left: 10%;
}

.next {
    right: 10%;
}

/* Hover effect for navigation */
.prev:hover, .next:hover, .close:hover {
    color: #ddd;
}
/* --------------------Video-------------------- */

.video-container {
  margin-top: 150px; /* Keep this value as needed to create more space above */
  position: relative;
  width: 100%;
  height: auto; /* Height will adjust based on content */
  padding-bottom: 56.25%; /* This creates a 16:9 aspect ratio (9/16 = 0.5625, or 56.25%) */
  overflow: hidden;
  margin-bottom: -125px; /* Reduced gap between videos */
  z-index: 1; /* Lower than the line */
}

.video-container video {
  position: absolute; /* Position absolutely within the container */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Prevent cropping */
}

/* Overlay styling */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25); /* 25% black overlay */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 20px;
  transition: opacity 0.3s; /* Smooth transition for hover effect */
}

.video-overlay:hover {
  opacity: 0.5; /* Reduce opacity of entire overlay on hover */
}

.video-overlay h1 {
  margin: 0;
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.2;
}

.video-overlay h1 a {
  color: inherit; /* Inherit color from parent */
  text-decoration: none; /* Remove underline */
}

.video-overlay p {
  margin-top: 10px;
  font-size: 1.5rem; /* Half the size of the title text */
  font-weight: normal;
  opacity: 1; /* Full opacity initially */
}

/* --------------------3D-------------------- */

.threed-page {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 100px;
  cursor: pointer;
}

.threed-page .page-header {
  position: relative;
  text-align: center;
  margin: 0;
}

.threed-page .page-header h1 {
  font-size: 46px;
  position: relative;
  top: 100px;
  margin: 0;
}

.threed-page .line {
  position: absolute;
  top: 165px;
  left: 24.8%;
  width: 49.5%;
  height: 7px;
  background-color: black;
  margin: 0 auto;
}

.threed-page .content {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}