/* Inter font */
:root {
  font-family: Inter, sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
}
@supports (font-variation-settings: normal) {
  :root {
      font-family: InterVariable, sans-serif;
      font-weight: 300;
  }
}

body {
    color: #333;
    margin: 0 auto;
    min-height: 100%;
    font-size: 1rem;
    max-width: 1500px;
}

.container {
    margin: 0 auto;
    padding: 0;
}

.menubar {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1500px;
}

#menubar {
    position: fixed;
    width: 100%;
    padding: 1rem;
}

header {
    color: white;
}

header .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.text-2-columns {
    width: 100%;
    float: left;
    padding: 0 2.5% 0 2.5%;
    gap: 4%;
}

.text-only-column {
    width: calc(50% - 4rem);
    float: left;
    padding: 2rem;
}

.text-only-narrow {
    width: 50%;
    align-content: center;
    margin-left: auto;
    margin-right: auto;
}

.text-and-image {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 0 4% 0 4%;
    gap: 4%;
}

.image-besides-text {
    flex: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-besides-text img {
    max-width: 100%;
    height: auto;
    box-shadow: 5px 5px 10px gray;
    margin-top: 30px;
    margin-bottom: 30px;
}

.image-besides-text-no-shadow img {
    max-width: 100%;
    height: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}

.text-besides-image {
    flex: 65%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

@font-face {
  font-family: nuivis;
  src: url(nuivis.woff);
}

h1 {
    font-family: nuivis, Arial, sans-serif;
    font-size: 5rem;
    margin: 0;
    color: #15006D;
}

h1 a {
    font-family: nuivis, Arial, sans-serif;
    font-size: 5rem;
    margin: 0;
    color: #15006D;
    text-decoration: none;
}

nav ul {
    list-style: none;
    padding: 0 5px;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

nav ul li {
    margin-right: 1rem;
    padding-right: 1rem;
}

nav ul li a {
    color: #768ea8;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

#language-switcher {
    margin-left: auto;
    margin-right: 2rem;
}

#language-switcher button {
    background-color: white;
    border: none;
    cursor: pointer;
}

#language-switcher button:hover {
    background-color: #dcdee8;
}

main .container {
    padding: 0;
}

section {
    float: left;
    width: 100%;
    margin: 0;
    padding: 0;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

#headline {
    font-style: italic;
    font-weight: 400;
    text-align: center;
}

.dark-blue {
    background-color: #fcfeff;
}

.mid-blue {
    background-color: #eaf3fd;
}

.light-blue {
    /*background-color: #D4E9FF;*/
    background-color: #FFFFFF;
}

.very-light-blue {
    /*background-color: #E3EEFA;*/
    background-color: #FFFFFF;
}

.white {
    background-color: #FFFFFF;
}

h2 {
    color: #15006D;
    text-align: center;
    font-size: 200%;
    margin-bottom: 0;
}

h5 {
    margin-bottom: 0;
}

.citation {
    font-style: italic;
    font-weight: 400;
    text-align: center;
    margin-bottom: 0;
    margin-top: 3rem;
}

.citation-label {
    text-align: center;
    margin-top: 0;
    margin-bottom: 3rem;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin: 0.5rem 0 0.2rem 0;
}

input, textarea {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 1rem;
}

button[type="submit"] {
    background-color: #15006D;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    margin-top: 1rem;
    border-radius: 6px;
    width: 100px;
    align-self: flex-start;
}

button[type="submit"]:hover {
    background-color: #243c98;
}

#captcha {
    margin-top: 1rem;
}

.grecaptcha-badge { visibility: hidden; }

#captcha-disclaimer {
    color: #8c8d94;
    font-size: 0.7rem;
}

@media (max-width: 600px) {
    header .container {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        align-items: center;
    }

    nav ul li {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    #language-switcher {
        margin-top: 1rem;
    }

    .text-and-image {
        flex-direction: column;
    }
    .image-besides-text {
        order: -1; /* Places the image above the text */
    }

    .image-besides-text img {
        max-width: 60%;
        margin-top: 20px;
        margin-bottom: 20px;
    }

}

#read-more {
    color: #007BFF;
    cursor: pointer;
    text-decoration: underline;
}

#read-more:hover {
    color: #0056b3;
}

li {
    margin-top: 0rem;
}

.button {
    background-color: #15006D;
    color: white;
    padding: 10px 25px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 25px;
    box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.3);
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;             /* Removes underline */
    transition: all 0.3s ease;         /* Smooth hover animation */
}

.button:hover {
    background-color: #0056b3;         /* Darker blue on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Bigger shadow */
    transform: translateY(-2px);       /* Slight lift on hover */
}
