/*@import url('https://fonts.googleapis.com/css2?family=Marck+Script&display=swap');*/

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(0deg, rgb(227, 199, 246) 0%, rgb(233, 250, 218) 100%);
  font-family: sans-serif;
  font-size: 1.25em;
  line-height: 1.6;
}

#container {
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
} 

header { 
  background-image: url('header-img.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 500px;
  text-align: center;
  padding: 20px;
  border-bottom: 1px solid black;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

#logo {
  width: 150px;
  height: auto;
  margin-bottom: 10px;
}

header h1 {
  font-size: 2.5em;
  margin-top: 10px;
}

header #tagline {
  color: #EEE;
  font-size: 1em;
  font-family: "Marck Script", cursive;
  font-weight: 400;
  font-style: normal;
  text-shadow: #444;
}



.book-cover {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}
    
.book-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  margin: 20px auto;
}

.content-section {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  
}

.intro-text {
  font-size: 1.25em;
  color: #333;
  max-width: 800px;
  text-align: center;
  margin-bottom: 30px;
  
}

.topic-box {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  gap: 20px;
  border: 1px solid green;
  border-radius: 5px;
}

.contact-info {
  width: 100%;
  background-color: #000;
  color: #fff;
  font-size: 2em;
  text-align: center;
  padding: 0;
}

.image-container,
.text-container {
  flex: 1 1 300px;
  max-width: 500px;
  padding: 10px;
}

img {
  width: 100%;
  height: auto;
  /*border-radius: 10px;*/
}

ul {
  padding-left: 40px; /* or whatever value looks good */
  list-style-position: outside; /* default: bullet outside the content */
}


.text-container {
  font-size: 1.5em;
  font-weight: bold;
  color: #444;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

h2 {
  font-size: 1.8em;
  color: #222;
  text-align: center;
  margin: 20px 0;
}

.link-box {
  margin: 20px;
}

.link-box a {
  font-size: 1.2em;
  color: #000;
  background: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  border: 2px solid #000;
  transition: all 0.3s ease;
}

.link-box a:hover {
  background-color: #000;
  color: #fff;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2em;
  }

  .text-container {
    font-size: 1.2em;
  }

  .intro-text {
    font-size: 1.1em;
    padding: 0 10px;
  }
  .link-box a {
    font-size: 0.9em;
    color: #000;
    background: #fff;
    padding: 5px 7px;
    text-decoration: none;
    border-radius: 3px;
    border: 1px solid #000;
    transition: all 0.3s ease;
  }

  .contact-info {
    font-size: 1.5em;
  }
}
