@font-face {
  font-family: 'Caslonia';
  src: url('fonts/Caslonia.otf') format('opentype');
}

@font-face {
  font-family: 'Almendra';
  src: url('fonts/Almendra.ttf') format('opentype');
}


body {
  background: rgb(26, 23, 22);
  color: white;
}

#circleContainer {
  position: fixed;
  top: 40%;
  left: 46%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  margin: 0;
}

#circleContainer .icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center;
  align-items: center;
  cursor: pointer;
}

#circleContainer .icon img {
  width: 150px;
}

#sidebar {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 80%;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4.1px);
  -webkit-backdrop-filter: blur(4.1px);
  padding: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  z-index: 250;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#sidebarTitle {
  font-family: "Caslonia";
  font-size: 8vw;
  font-weight: normal;
  size: 30px;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 0px;
}

#sidebar.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#colLeft {
  font-family: "Almendra";
  font-size: 1.4vw;
  padding-top: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

#colRight {
  font-family: "Caslonia";
  font-size: 1.8vw;
  line-height: 2vw;
  font-weight: -20;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

#sidebarColumns {
  display: flex;
  gap: 44px;
  align-items: flex-start;
  padding: 30px;
}

#sidebarColumns .col {
  flex: 1 1 50%;
  min-width: 0;
  position: relative;
}

#sidebarData {
  display: none;
}

#overlay {
  position: fixed;
  inset: 0;
  opacity: 0;
  z-index: 240;
  pointer-events: none;
}

#overlay.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.text-block {
  position: relative;
}

.source-label {
  position: absolute;
  padding-top: 18px;
  left: 0;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-family: "Caslonia";
  text-transform: uppercase;
  pointer-events: none;
}

#colLeft:hover .source-label,
#colRight:hover .source-label {
  opacity: 1;
}

.original-content {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.hover-title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-size: 2vw;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  padding-top: 20px;
  text-align: center;
}

#colLeft .hover-title {
  font-family: "Almendra";
}

#colRight .hover-title {
  font-family: "Caslonia";
}

.col.show-title .original-content {
  opacity: 0;
}

.col.show-title .hover-title {
  opacity: 1;
}

#back {
  color: white;
  opacity: 1;
}

#p2 {
  position: fixed;
  top: 50%;
  left: 90%;
  transform: translate(-50%, -50%);
  z-index: 999;
  color: rgb(196, 194, 194);
  text-decoration: none;
  font-family: "Caslonia";
  font-size: 2.4rem;
  opacity: 0;
  animation: fadeIn ease 3s forwards;
  animation-delay: 12s;
}

@keyframes fadeIn {
  to {
    opacity: 0.5;
    /* Fade in to visible */
  }
}

#home:hover {
  text-shadow: 0 0 1px white;
}

#p1 {
  position: fixed;
  top: 50%;
  left: 9.2%;
  transform: translate(-50%, -50%);
  z-index: 999;
  color: white;
  text-decoration: none;
  font-family: "Caslonia";
  font-size: 2.4rem;
  opacity: 0.4;
}