@font-face {
  font-family: 'Borsok';
  /* Matches your filename boorsok.ttf exactly */
  src: url('boorsok.ttf') format('truetype'); 
  font-weight: normal;
  font-style: normal;
}

:root {
  --color-primary: #efa78f;
  --color-secondary: #f2ccc0;
  --color-text: #616160;
}

a {
  text-decoration: none;
  color: var(--color-primary);
}

body {
  font-family: ui-sans-serif, system-ui;
  margin: 0;
  padding: 0;
  padding-bottom: 60px;
}

header {
  text-align: left;
  padding: 0px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  /* Ensure the header height stays consistent */
  min-height: 80px;
}

header img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  /* Negative margins allow the large logo to 'overflow' 
     the header without pushing the header height to 120px */
  margin-top: -20px;
  margin-bottom: -20px;
  margin-right: 10px; /* This controls the gap between logo and text */
}

header h1 {
  display: inline;
  color: var(--color-primary);
  margin: 0; 
  margin-top: 15px;
  vertical-align: middle;
  font-size: 2.2em; /* Smaller size as requested */
  font-weight: normal;
  font-family: 'Borsok', sans-serif;
}

.headerH1 {
  display: inline;
  color: var(--color-primary);
  margin: 0;
  margin-top: 15px;
  vertical-align: middle;
  font-size: 2.2em;
  font-weight: normal;
  font-family: 'Borsok', sans-serif;
}
nav {
  display: inline-block;
  margin-left: 20px;
  order: 1;
  flex-grow: 1;
}

nav a {
  color: var(--color-primary);
  margin: 0 15px;
  text-decoration: none;
  font-size: 1.2em;
}

nav a:hover {
  text-decoration: none;
  color: var(--color-primary);
}

.login-signup {
  display: flex;
  gap: 10px;
  margin-left: auto;
  order: 2;
  font-weight: 500;
  font-size: 0.75em;
}

.login-signup a {
  color: var(--color-text);
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
  white-space: nowrap;
}

.login-signup a:first-child {
  background-color: var(--color-primary);
  border: none;
}

.login-signup a:nth-child(2) {
  background-color: #fff;
  border: 1px solid var(--color-primary);
}

.hero {
  /*background-image: linear-gradient(to bottom right, #f0c2d1, white);*/
  background-color: var(--color-secondary);
  text-align: center;
  padding: 50px 20px;
  color: var(--color-text);
}

.hero h2 {
  font-size: 3em;
  font-weight: 700;
  margin: 0;
}

.hero p {
  font-size: 1.2em;
}

.hero .btn {
  background-color: var(--color-primary);
  font-weight: 600;
  color: var(--color-text);
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px;
  text-decoration: none;
  display: inline-block;
}

.btn {
  background-color: var(--color-primary);
  font-weight: 600;
  color: var(--color-text);
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px;
  text-decoration: none;
  display: inline-block;
}

.hero .btn.secondary {
  background-color: var(--color-secondary);
  border: 1px solid var(--color-primary);
}

.content {
  max-width: 1400px;
  margin: 40px auto;
  padding: 20px;
  box-sizing: border-box;
}

.intro-text {
  margin-bottom: 20px;
  text-align: center;
}

.intro-text h2 {
  color: var(--color-text);
  font-size: 2.2em;
  margin: 0 0 10px 0;
}

.intro-text p {
  color: var(--color-text);
  font-size: 1.1em;
}

footer img {
  width: 50px;
  border-radius: 50%;
}

footer .footer-links a {
  color: var(--color-text);
  margin: 0 10px;
  text-decoration: none;
}

@media (max-width: 768px) {
  header {
    padding: 10px;
    flex-direction: column;
    align-items: flex-start;
    /* Added to let header expand when elements stack */
    height: auto; 
  }

  header img {
    /* Resets the "floating" and vertical centering from desktop */
    position: static;
    transform: none;
    width: 60px; /* Adjusted slightly larger than 40px to keep it visible */
    height: 60px;
  }

  header h1 {
    margin-left: 0;
    margin-top: 5px;
    font-size: 1.5em;
    font-family: 'Borsok', sans-serif; /* Ensures font carries over */
  }

  /* Added to keep the class consistent with the h1 tag */
  .headerH1 {
    margin-left: 0;
    margin-top: 5px;
    font-size: 1.5em;
    font-family: 'Borsok', sans-serif;
  }

  nav {
    margin: 10px 0 0 0;
    width: 100%;
  }

  nav a {
    margin: 0 10px;
    font-size: 0.9em;
  }

  .login-signup {
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    margin-top: 10px;
  }

  .login-signup a {
    padding: 5px 10px;
    font-size: 0.9em;
    width: 100%;
    text-align: center;
  }

  .hero {
    padding: 30px 10px;
  }

  .hero h2 {
    font-size: 1.8em;
  }

  .hero p {
    font-size: 1em;
  }

  .hero .btn {
    padding: 8px 15px;
    margin: 5px;
  }
}

/* Simple fix for form styling */
.lang-switcher form {
  display: inline;
}
.lang-switcher button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 5px;
  color: inherit;
  font: inherit;
}
.lang-switcher button[disabled] {
  font-weight: bold;
  cursor: default;
}

.radial-opacity-box1 {
  /* Apply the radial gradient */
  background: radial-gradient(
    circle,
    /* Color Stop 1: Center - Fully opaque red */ var(--color-secondary) 10%,

    /* Color Stop 2: Midpoint - 50% opaque red */ var(--color-secondary) 50%,

    /* Color Stop 3: Edge - Fully transparent red */ transparent 90%
  );
  box-shadow: inset 0 0 20px 20px rgba(255, 255, 255, 0);
}
.radial-opacity-box2 {
  /* Apply the radial gradient */
  background: radial-gradient(
    circle,
    /* Color Stop 1: Center - Fully opaque red */ var(--color-secondary) 10%,

    /* Color Stop 2: Midpoint - 50% opaque red */ var(--color-secondary) 80%,

    /* Color Stop 3: Edge - Fully transparent red */ transparent 90%
  );
  box-shadow: inset 0 0 20px 20px rgba(255, 255, 255, 0);
}
