body {
    font-family: "Poppins", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

header {
    padding: 1rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.navigation {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem;
}

.navigation a {
  color: black;
}

.navigation a:hover {
  background-color: #f0f0f0;
}

p, li {
  font-weight: 300;
}

b {
  font-weight: 600;
}

h1 {
    margin: 0;
    font-size: 24px;
}

h1.name {
    font-size: 24px;
}

h2 {
    font-size: 1.2em;
}

main.frontpage {
    flex-direction: column;
    display: flex;
}

section {
    padding: 4rem 1rem;
}

@media (max-width: 560px) {
  section {
    padding: 2rem 1rem;
  }

}

section.centered {
    flex-direction: column;
    display: flex;
    align-items: center;
}

section.two-column {
  flex-direction: column;
  display: flex;
  align-items: center;
}

.bookimg {
    box-shadow:
        0.3px 0.5px 0.7px hsl(0deg 0% 63% / 0.36),
    0.8px 1.6px 2px -0.8px hsl(0deg 0% 63% / 0.36),
    2.1px 4.1px 5.2px -1.7px hsl(0deg 0% 63% / 0.36),
    5px 10px 12.6px -2.5px hsl(0deg 0% 63% / 0.36);
}

.bookinfo {
    padding: 0 1rem;    
    max-width: 560px;
}

section:nth-child(odd) {
  background-color: #f0f0f0; /* Light grey for odd-numbered divs */
}

section:nth-child(even) {
  background-color: #e0e0e0; /* Slightly darker grey for even-numbered divs */
}

footer {
    text-align: center;
    padding: 1rem;
}


.gallery {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.scene {
  position: relative;
  overflow: hidden;
  display: flex;
}

.scene ul {
  display: grid;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  place-items: center;
}

.scene li {
  grid-row: 1;
  grid-column: 1;
  margin: 0;
  padding: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.scene li.active {
  opacity: 1;
  pointer-events: auto;
}

.scene-karima img {
  width: 1100px;
  height: 550px;
  display: block;
}

@media (max-width: 1100px) {

  .scene-karima img {
    width: 100%;
    height: auto;
    display: block;
  }
  
}

.scene-mikito img,
.scene-ice img {
  display: block;
}

@media (max-width: 1100px) {

  .scene-mikito img,
  .scene-ice img {
    width: 100%;
    height: auto;
    display: block;
  }

}


/* Navigation buttons as flex layers */
.next, .prev {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  background: transparent;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

/* Chevrons - hidden by default */
.prev::before, .next::before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show chevrons on hover */
.prev:hover::before, .next:hover::before {
  opacity: 1;
}

.prev::before {
  border-width: 20px 30px 20px 0;
  border-color: transparent rgba(255, 255, 255, 0.8) transparent transparent;
}

.next::before {
  border-width: 20px 0 20px 30px;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.8);
}

/* Controls */
.controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.controls a {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}

.controls a i {
  display: block;
  width: 20px;
  height: 4px;
  background-color: #ccc;
  transition: background-color 0.2s ease;
}

.controls a:hover i {
  background-color: #888;
}

.controls a.active i {
  background-color: #666;
}

.contact-btn {
  display: inline-block;
  padding: 8px 24px;  
  margin-top: 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #000;
  background: transparent;
  border: 2px solid #000;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.5s ease, color 0.5s ease;
}

.contact-btn:hover,
.contact-btn:active {
  background-color: #000;
  color: #fff;
}