/*
h1          #594b3b  
pozadina    #ede7dc
linije      #aba49c

*/

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  min-height: 100vh;
}

/* Header styles */
.header {
  padding: 1rem 0;
  border-top: 2px solid black;
  border-bottom: 2px solid black;
  text-align: center;
  background-color: white;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header h1 {
  font-size: 1.875rem;
  font-weight: bold;
  color: #594b3b;
}

/* Quote card styles */
.quote-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  min-height: 300px;
  padding: 4rem 1rem;
}

.quote-card {
  width: 100%;
  max-width: 32rem;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  padding: 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  min-height: 200px;
}

.quote-content {
  -webkit-transition: opacity 1s ease;
  -o-transition: opacity 1s ease;
  transition: opacity 1s ease;
}

.quote-text {
  font-size: 1.125rem;

  margin-bottom: 1.5rem;
}

.quote-author {
  text-align: right;
  font-style: italic;
  color: #6b7280;
}

.quote-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  max-width: 32rem;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  margin-top: 1rem;
}

.nav-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 9999px;
}

.nav-button:hover {
  background-color: #f3f4f6;
}

.nav-button:focus {
  outline: none;
}

/* Section styles */
.section {
  padding: 1.5rem 1rem;
}

.section-container {
  max-width: 42rem;
  margin: 0 auto 2rem auto;
}

.section-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 1rem 1.5rem;
  background-color: #f9fafb;
  cursor: pointer;
}

.section-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #594b3b;
}

.section-content {
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  background-color: white;
  display: none;
}

.section-content.active {
  display: block;
  -webkit-animation: fadeIn 0.3s ease;
  animation: fadeIn 0.3s ease;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Arrow icons */
.arrow {
  width: 20px;
  height: 20px;
  display: inline-block;
}

.double-arrow {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .quote-card {
    padding: 1.5rem;
  }
}

/* Footer spacing */
footer {
  font-size: smaller;
}
footer a {
  text-decoration: none;
  color: inherit;
}

.footer-space {
  /*height: 4rem; */
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;

  /* background-color: #ede7dc; */
}
