@font-face {
  font-family: 'HostGrotesk Regular';
  src: url('HostGrotesk-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'HostGrotesk Bold';
  src: url('HostGrotesk-Bold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  padding: 120px;
  text-align: center;
  font-family: 'HostGrotesk Regular', Arial, sans-serif;
  background-color: #FFF8E3;
  color: #1070bf;
}

h1 {
  font-family: 'HostGrotesk Bold', Arial, sans-serif;
  font-size: 4em;
  font-weight: bold;
  margin-bottom: 10px;
}

h2 {
  font-family: 'HostGrotesk Bold', Arial, sans-serif;
  font-size: 1.6em;
  font-weight: bold;
  margin-top: 20px;
}

p {
  margin-top: 10px;
  margin-bottom: 30px;
  font-size: 1.2em;
  color: #1070bf;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hover {
  cursor: pointer;
}

.container {
  display: flex;
  flex-direction: row;
  gap: 30px;
  max-width: 1600px;
  margin: 60px auto;
  justify-content: center;
  align-items: flex-start; /* Change from flex-end to flex-start */
}

.reveal-box {
  position: relative;
  width: 250px;
  flex-shrink: 0;
}

.reveal-box img {
  width: 100%;
  height: auto;
  display: block;
}

.back-image {
  display: block;
}

.front-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transition: opacity 0.6s ease;
}

.front-image:hover {
  opacity: 0;
}
/* Sidebar container */
.sidebar {
  position: fixed;
  top: 20px;
  left: 50%; /* centers it horizontally */
  transform: translateX(-50%); /* centers it perfectly */
  display: flex;
  flex-direction: row; /* CHANGED from column to row */
  gap: 15px; /* space between icons */
  z-index: 100;
  background-color: rgba(255, 248, 227, 0.95); /* optional: adds background */
  padding: 10px 20px; /* optional: adds padding around icons */
  border-radius: 50px; /* optional: rounds the bar */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* optional: adds shadow */
}

/* Navigation items */
.nav-item {
  width: 50px; /* adjust size as needed */
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-item:hover {
  transform: scale(1.1);
  filter: brightness(1.15);
}

.nav-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.nav-item a {
  display: block;
  width: 100%;
  height: 100%;
}