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

body {
  font-family: 'Roboto', sans-serif;
  background-color: #461976;
  background-repeat: repeat;
  background-size: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  min-height: 100vh;
}

.half-visible {
  opacity: 0.5;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 50px auto;
  padding: 20px;
  background: #f5f5f5;

  background-image: url('/images/paperbg.jpg');
  background-size: contain;
  background-repeat: repeat;
  background-position: center;

  background-blend-mode: lighten;

  border-radius: 3px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.left,
.right {
  flex: 1 1 45%;
  margin: 10px;
}

.left h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4em;
  margin: 0 0 10px 0;
  color: #252525;
}

.left h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2em;
  margin: 0 0 10px 0;
  color: #1a1a1a;
}

.left p {
  font-size: 1em;
  color: #1f1f1f;
}

.right img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 5px 5px 2px rgba(0, 0, 0, 0.3);
}


@media (max-width: 768px) {
  .container {
    flex-direction: column;
    text-align: center;
  }

  .left,
  .right {
    flex: 1 1 40%;
    margin: 10px 0;
  }

  .left h1 {
    font-size: 3em;
  }

  .left h3 {
    font-size: 2em;
  }

  .left p {
    font-size: 0.9em;
  }
}

.text-container {
  margin: 40px;
}

h1#editable-text {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 20px;
}

h2#editable-text {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 20px;
}

.text-section {
  max-width: 90%;
  margin: 50px auto;
  padding: 20px;
  background: #fff7e5;

  border-radius: 5% 7% 6% 2% / 3% 5% 3% 7%;
  box-shadow: 10px 4px 10px rgba(0, 0, 0, 0.1);
}

.text-block {
  margin-bottom: 30px;
}

.text-block h2 {
  font-size: 24px;
  color: #2c3e50;
  margin-bottom: 10px;
}

.text-block p {
  font-size: 16px;
  color: #555;
  text-align: justify;
}

.text-list h3 {
  font-size: 20px;
  color: #2c3e50;
  margin-bottom: 10px;
}

.text-list ul {
  list-style-type: disc;
  margin-left: 20px;
}

.text-list li {
  text-align: left;
  font-size: 16px;
  margin-bottom: 8px;
}

.video {
  margin-top: 40px;
}

.video h1 {
  text-align: center;
}

.video-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.video-box {
  flex: 1 1 400px;
  max-width: 400px;
  aspect-ratio: 16 / 9;
  background-color: #000;
  margin: 10px;
}

.video-box p {
  color: #fff;
  font-size: large;
}

.video-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 1000px) {
  .video-box {
    width: 300px;
    height: 150px;
  }
}

.nav-buttons {
  margin-top: 20px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  vertical-align: middle;
  gap: 14px;
}

.login-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  justify-content: center;
  background-color: #4A396A;
}

.login-btn:hover {
  background-color: #4A396A;
}


/*NAVBAR*/
nav {
  width: 100%;
  height: 90px;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;

  align-items: center;

  background-image: url('/images/brushstroke.png');

  background-size: 100% 100%;

  background-repeat: no-repeat;
  background-position: center;

  color: white;
  font-family: sans-serif;
}

.logo-link {
  font-family: 'Playfair Display', serif;
  margin-left: 50px;
  font-size: xx-large;
  color: gold;
  text-decoration: none;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-right {
  margin-right: 50px;
  display: flex;
  align-items: center;
}

.cta-button {
  background-color: #f9bb2a;
  color: rgb(26, 5, 26);
  padding: 15px 20px;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

.cta-button:hover {
  background-color: #f3bd3d;
  transform: scale(1.05);
}

@media (max-width: 1000px) {
  .logo-link {
    margin-left: 20px;
  }

  .nav-right {
    margin-right: 20px;
  }
}