@font-face {
  font-family: 'MaaxRounded';
  font-weight: normal;
  font-style: normal;
  src: url('./data/maaxrounded.woff2') format('woff2'),
       url('./data/maaxrounded.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'MaaxRounded';
  font-weight: bold;
  font-style: normal;
  src: url('./data/maaxrounded_bold.woff2') format('woff2'),
       url('./data/maaxrounded_bold.woff') format('woff');
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #211e1f;
  font-family: MaaxRounded;
  line-height: 1.3;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

::-moz-selection {
  background-color: #09f;
  color: #fff;
}

::selection {
  background-color: #09f;
  color: #fff;
}

:focus {
  outline: 0;
}

body {
  overflow: hidden;
  position: relative;
  height: 100vh;
  width: 100vw;
  background-color: #fff;
}

header {
  position: fixed;
  top: 0;
  right: 0;
  padding: 3rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
    font-size:1.1rem;

}

.name {
  font-weight: bold;
  color: #67b4db;
}

.menu {
  font-weight: bold;
  color: #67b4db;
  text-decoration: none;
}

.menu:hover {
  color: #f4d660;
  text-decoration: none;
}

.slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide.active {
  opacity: 1;
}

.slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.nav-button {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.nav-button:focus {
  outline: none;
}

.nav-button:active {
  opacity: 0.7;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

.about-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 200;
  display: none;
  padding: 3rem;
  overflow-y: auto;
}

.about-content {
  max-width: 50%;
  margin: 25px auto 0;
  position: relative;
  text-align: left;
  font-size:1.2rem;
}

.close-about {
  position: absolute;
  top: 0px;
  right: 0px;
  cursor: pointer;
  background: none;
  border: none;
  color: #67b4db;
  display: inline-block;
  margin-bottom: 25px;
  font-size:1.1rem;
  font-weight: bold;
}

.close-about:hover {
  color: #f4d660;
}

/* Add styles for links in about content */
.about-content a {
  color: #67b4db;
  text-decoration: none;
}

.about-content a:hover {
  color: #f4d660;
  text-decoration: none;
}

.about-content-bio{
  text-align: justify;
  margin-bottom: 30px;
  margin-top:15px;
}

.about-content-small{
  font-size:0.75rem;
}

/* Add styles for strong and italic */
.about-content strong {
  font-weight: bold;
}

.about-content i {
  font-style: italic;
}

@media (max-width: 768px) {
  header {
    padding: 1.5rem;
  }
  
  .name, .menu {
  }
  
  .about-overlay {
    padding: 1.5rem;
  }
  
  .about-content {
    max-width: 100%;
  }
}