* 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  width: 100%;
  overflow: hidden;
  font-family: sans-serif;
  color: #222;
  background-color: white;
}

.slideshow {
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  background: white;
}

.slideshow::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  z-index: 10;
}

.bg-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out, transform 16s ease-in-out;
  filter: brightness(110%) contrast(90%);
  transform: scale(1);
  z-index: 0;
}

.bg-image.active {
  opacity: 1;
  z-index: 2;
}

.zoom-in {
  transform: scale(1.10);
}

.zoom-out {
  transform: scale(1);
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #222;
  z-index: 9999;

  border-radius: 1rem;
  background: white;
  display: flex;
  gap: 1rem;
  overflow: clip;

  padding-right: 1rem;
}

.data {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 0;
}

.portrait {
  width: 300px;
}

h1 {
  white-space: nowrap;
  font-size: 2rem;
  margin-bottom: 15px;
}

.links {
  text-align: center;
  display: flex;
  justify-content: space-around;
}

.links a {
  color: #222;
  text-decoration: none;
  margin: 0 15px;
  font-size: 1.2rem;
  transition: opacity 0.3s;
}

.links a:hover {
  opacity: 0.7;
}

.info {
  margin-top: 20px;
}

.contact {
  margin-top: 2rem;
  font-size: 1rem;
}

.contact a {
  color: #222;
  text-decoration: none;
  transition: opacity 0.3s;
  font-family: monospace;
  font-size: 1rem;
}

.contact a:hover {
  opacity: 0.6;
}

.emailicon {
  width: 1rem;
  height: 1rem;
  margin-right: 8px;
  vertical-align: middle;
}

.icon {
  width: 2.5rem;
  height: 2.5rem;
}

@media (max-width: 760px) {
  .content {
    flex-direction: column;
    align-items: center;
    width: 90%;
    padding: 0;
  }

  .portrait {
    width: 100%;
    max-height: 50vh;
    object-fit: cover;
  }

  .data {
    padding: 1rem 0;
    align-items: center;
    text-align: center;
  }

  .links {
    width: 100%;
    margin-top: 2rem;
  }

  .links a i {
    font-size: 1.5rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .contact a {
    font-size: 0.9rem;
  }
}

