@import url("https://fonts.googleapis.com/css2?family=Cormorant+Infant:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Great+Vibes&display=swap");

* {
  box-sizing: border-box;
  font-family: Cormorant Infant;
  color: #1e1e1e;
}

:root {
  --top-band-height: 40px;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: #fdf8dd;
}

.main-header {
  background-image: url(../images/Nav/yellow-fabric.png);
  text-align: center;
  margin-bottom: 1.5%;
}

.top-band {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--top-band-height);

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px 20px;
  border-bottom: 2px solid #2b2b2b;

  background-image: url(../images/Nav/yellow-fabric.png);
  background-color: rgba(0, 0, 0, 0.1);
  background-blend-mode: multiply;
  z-index: 30;
}

.hamburger {
  display: none;
}

.nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav li {
  display: inline;
  padding: 0 5%;
  border-right: 3px dotted #2b2b2b;
}

.nav li:last-child {
  border-right: none;
}

.nav a.nav-active {
  color: #9a1111;
}

.nav a {
  padding: 0.2em;
  color: #2b2b2b;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
}

.nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.top-band img {
  width: 30px;
  height: 30px;
}

.main-title {
  text-align: center;
  margin: 0;

  font-family: Great Vibes;
  font-size: 2.4em;
  padding-top: 0.5em;
  padding-bottom: 0.3em;
  color: #2b2b2b;

  border-bottom: 2px solid #2b2b2b;
}

.small-main-title {
  display: none;
}

body {
  padding-top: var(--top-band-height);
}

.container {
  max-width: 1200px;
  margin: 0 auto;

  border: 2px solid #2b2b2b;
  border-radius: 10px;
  padding: 30px 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: white;
  margin-bottom: 20px;
}

h2,
.title {
  font-size: 2em;
  padding: 0;
  margin: 0;

  text-align: left;
}

h1 {
  font-size: 3em;
  padding: 0;
  margin: 0;
  padding-bottom: 30px;
  text-align: center;
}

.centre-title {
  font-size: 2.2em;
  padding: 0;
  margin-bottom: 20px;

  text-align: center;
}

details,
p {
  font-size: 1.28em;
  text-align: justify;
}

.footer-bottom * {
  color: #9f9f9f;
  font-size: 1.1em;
}

.footer-bottom {
  background-color: #2b2b2b;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom a {
  text-align: center;
  flex-grow: 1;
  margin: 0;
  padding: 10px 15px 15px;
  text-decoration: none;
}

/*...............................................................*/
@media (max-width: 1024px) {
  html,
  body {
    background-color: #fdfbf2;
  }

  .hamburger {
    display: flex;
  }

  .bottom-band {
    display: none;
  }

  .small-main-title {
    display: block;
    font-size: 1.45em;
    border-bottom: none;
  }

  .top-band img {
    width: 27px;
    height: 27px;
  }

  .top-band {
    padding: 5px 10px;
  }

  /*.................*/

  details,
  p {
    font-size: 1em;
  }

  h1 {
    font-size: 1.5em;
    padding-bottom: 10px;
  }

  h2,
  .title {
    font-size: 1.4em;
    text-align: center;
  }

  .container {
    margin: 0 auto;
    padding: 15px 20px 30px;
    border: none;
    box-shadow: none;
    background-color: transparent;
  }

  .footer-bottom * {
    font-size: 0.8em;
  }

  .footer-bottom p {
    padding: 8px 5px 8px;
  }
}
