@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: bold;
  font-style: normal;
}

body {
  text-align: center;
  font-family: 'HostGrotesk Regular', Arial, sans-serif;
  padding: 20px;
  padding-top: 120px; /* Pushes content below nav bar */
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Light mode styles */
body.light-mode {
  background-color: #FFF8E3;
  color: #1070bf;
}

/* Dark mode styles */
body.dark-mode {
  background-color: #1070bf;
  color: #FFF8E3;
}

h1 {
  font-family: 'HostGrotesk Bold', Arial, sans-serif;
  font-size: 3em;
  font-weight: bold;
  transition: color 0.3s ease;
}

body.light-mode h1 {
  color: #1070bf;
}

body.dark-mode h1 {
  color: #FFF8E3;
}

h2 {
  font-family: 'HostGrotesk Regular', Arial, sans-serif;
  font-size: 1.5em;
  font-weight: normal;
  transition: color 0.3s ease;
}

h3 {
  font-family: 'HostGrotesk Bold', Arial, sans-serif;
  font-size: 1.5em;
  font-weight: normal;
  transition: color 0.3s ease;
}

body.light-mode h2 {
  color: #1070bf;
}

body.dark-mode h2 {
  color: #FFF8E3;
}

body.light-mode h3 {
  color: #1070bf;
}

body.dark-mode h3 {
  color: #FFF8E3;
}

.hover {
  cursor: pointer;
}

/* Navigation bar at top */
.sidebar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  gap: 15px;
  z-index: 100;
  background-color: rgba(255, 248, 227, 0.95);
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

/* Dark mode nav bar */
body.dark-mode .sidebar {
  background-color: rgba(16, 112, 191, 0.95);
}

/* Navigation items */
.nav-item {
  width: 50px;
  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%;
}

/* Light switch container */
.switch-container {
  display: block;
  margin: 0px auto;
  cursor: pointer;
  text-align: center;
  width: fit-content;
}

.switch-container img {
  width: 200px;
  height: auto;
  transition: transform 0.2s ease;
}

.switch-container img:hover {
  transform: scale(1.05);
}

p {
  margin-bottom: 20px;
  font-size: 1.2em;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  transition: color 0.3s ease;
}

body.light-mode p {
  color: #1070bf;
}

body.dark-mode p {
  color: #FFF8E3;
}

.image-container-6 {
  max-width: 800px;
  margin: 0 auto;
}

/* Lamp containers */
.lamp-container {
  display: inline-block;
  margin: 20px;
  cursor: pointer;
}

/* Flowerpot lamp */
.flowerpot {
  width: 200px;
  height: auto;
  transition: transform 0.2s ease, opacity 0.3s ease;
}

.lamp-container:hover .flowerpot {
  content: url('flowerpot-on.png');
}

/* Tuscan lamp */
.Tuscanlamp {
  width: 200px;
  height: auto;
  transition: transform 0.2s ease, opacity 0.3s ease;
}

.lamp-container:hover .Tuscanlamp {
  content: url('Tuscan Lamp Up.png');
} 

/* Como Lamp */
.Comolamp {
  width: 200px;
  height: auto;
  transition: transform 0.2s ease, opacity 0.3s ease;
}

.lamp-container:hover .Comolamp {
  content: url('Como Lamp - On.png');
}

/* Hanging Lamp */
.Hanginglamp {
  width: 200px;
  height: auto;
  transition: transform 0.2s ease, opacity 0.3s ease;
}

.lamp-container:hover .Hanginglamp {
  content: url('hanging-lamp-on.png');
}