@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  background-color: #fff;
  color: rgba(51, 51, 51, 0.43);
  height: 100vh;
  overflow: hidden;
}
@media (max-width: 768px) {
  body {
    height: auto;
    overflow: auto;
  }
}

a {
  color: rgba(51, 51, 51, 0.43);
  font-weight: 400;
}
a:hover, a.active {
  color: rgba(51, 51, 51, 0.64);
  text-decoration: none;
}

.layout {
  display: flex;
  height: 100vh;
}
@media (max-width: 768px) {
  .layout {
    flex-direction: column;
    height: auto;
  }
}

.sidebar {
  width: 300px;
  background-color: #fff;
  padding: 40px 30px;
}
.sidebar h1 {
  font-size: 1.2rem;
  font-weight: 100;
  margin-bottom: 20px;
  line-height: 1;
}
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  .sidebar h1 {
    margin-bottom: 0;
  }
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 0.8rem;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
}

.menu {
  list-style: none;
}
.menu li {
  margin-bottom: 5px;
}
.menu a {
  display: block;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
  font-size: 0.7rem;
}
@media (max-width: 768px) {
  .menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    width: 200px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 100;
  }
  .menu.open {
    display: block;
  }
  .menu li {
    margin-bottom: 10px;
  }
  .menu a {
    font-size: 0.8rem;
    padding: 5px 0;
  }
}

.main-content {
  flex: 1;
  overflow: hidden;
  position: relative;
}
@media (max-width: 768px) {
  .main-content {
    overflow: auto;
  }
}

.project-content {
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 768px) {
  .project-content {
    height: auto;
    padding: 15px;
  }
}

.image-viewer {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 0;
  padding: 20px 0;
}
@media (max-width: 768px) {
  .image-viewer {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    display: none;
  }
}

.mobile-gallery {
  display: none;
}
@media (max-width: 768px) {
  .mobile-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
  }
  .mobile-gallery .gallery-item {
    width: 100%;
  }
  .mobile-gallery .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
  }
}

.viewer-container {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 0;
  overflow: hidden; /* Prevent any potential overflow */
}
@media (max-width: 768px) {
  .viewer-container {
    display: none; /* Hide on mobile as we'll show the gallery instead */
  }
}
.viewer-container picture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.viewer-container picture img {
  /* Base styles for all images */
  display: block;
  max-width: 100%;
  max-height: 100%;
  /* Use object-fit: contain to maintain aspect ratio */
  object-fit: contain;
  /* For portrait-oriented container (screen/viewport) */
  /* For landscape-oriented container (screen/viewport) */
}
@media (max-aspect-ratio: 1/1) {
  .viewer-container picture img {
    /* Portrait mode - prioritize height */
    height: 100%;
    width: auto;
  }
}
@media (min-aspect-ratio: 1/1) {
  .viewer-container picture img {
    /* Landscape mode - prioritize width */
    width: 100%;
    height: auto;
  }
}

.click-area {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  cursor: pointer;
  z-index: 10;
}
.click-area.click-left {
  left: 0;
}
.click-area.click-right {
  right: 0;
}

.contact-content {
  padding: 40px;
}
.contact-content h2 {
  margin-bottom: 30px;
  font-size: 1.5rem;
  font-weight: 500;
}
.contact-content .contact-info p {
  margin-bottom: 15px;
  line-height: 1.5;
}

/*# sourceMappingURL=style.css.map */
