/* GENERAL */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

p {
  color: rgb(58, 58, 58);
  font-weight: 600;
}

/* HEADER SECTION */

.header { 
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.title {
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5vw;
  text-align: center;
  margin: 0;
}

.navbar {
  height: 15vh;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: white;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 10000;
}

#th-image {
  width: 40%;
  height: 85%;
}

.navbar h3 {
  margin: 10px;
}

.navbar h3:hover {
  cursor: pointer;
}

/* experience */
#experience {
  position: relative;
}

.experience-details-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

/* PHOTO GRID */

.gallery-padding {
  padding-bottom: 100px;
}

.gallery {
  --s: 350px; /* control the size */
  --g: 10px; /* control the gap */
  display: grid;
  gap: var(--g);
  width: calc(3 * var(--s));
  grid-auto-rows: calc(var(--s)); /* Jede Zeile hat die gleiche Höhe */
  aspect-ratio: 1;
  grid-template-columns: repeat(3, auto);
  margin-bottom: 50px;
}

.photos-details-container {
  position: relative;
  width: 100%;
}

.experience-photos {
  display: block;
  width: 100%;
  height: auto;
}

.photos-details-container > img {
  width: 0;
  height: 0;
  min-height: 100%;
  min-width: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: 0.35s;
}

.photos-detail-overlay {
  position: absolute;
  bottom: 0;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5);
  color: #f1f1f1;
  width: 88%;
  transition: 0.5s ease;
  opacity: 0;
  color: white;
  font-size: 15px;
  padding: 20px;
  text-align: center;
}

.photos-details-container:hover .photos-detail-overlay {
  opacity: 1;
}

.photos-details-container:hover img {
  filter: grayscale(0);
}

/* FOOTER SECTION */

footer {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 26vh;
  margin: 0 0 1rem;
}

footer p {
  text-align: center;
  bottom: 0;
}

#nav-links__mobile {
  display: none;
}

/* Full screen image */

.fullscreen-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

#fullscreen-image {
  max-width: 90%;
  max-height: 90%;
  margin: auto;
  display: block;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
