@font-face {
    font-family: Source Sans 3;
    src: url(.fonts/SourceSans3-Italic-Variable.ttf) format("truetype");
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: Source Sans 3;
    src: url(.fonts/SourceSans3-Variable.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
}

:root {
    --mauve: #685bfe;
    --crimson: #f75353;
    --content-width: 960px;
    --gridgap: 1em;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    background-color: black;
    font-family: "Source Sans 3", Helvetica, Arial, sans-serif;
    margin: 0;
}

a {
    color: white;
    text-decoration: none;
}

p {
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;
}

.quote blockquote {
    margin: 0;
}

.quote {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    display: flex;
    flex-direction: column;
}

.quote figcaption {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: initial;
    font-weight: 600;
    color: black;
    align-self: flex-end;
    width: 80%
}

p a {
    color: var(--mauve) !important;
    text-decoration: underline;
}

.large-text {
    font-size: 1.5rem;
}

h1,
h2,
p {
    color: white;
    line-height: 1.6;
}

h1 {
    font-size: 3.2rem;
    line-height: normal;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

iframe {
    margin: 2rem auto;
    display: block;
}

section {
    padding: 4rem 0;
}

.full-width {
    width: 100%;
}

.content-width {
    max-width: var(--content-width);
}

/* COLORS */
.c_black {
    color: black !important;
}

.c_crimson {
    color: var(--crimson) !important;
}

.c_mauve {
    color: var(--mauve) !important;
}

.c_white {
    color: white !important;
}

/* BACKGROUNDS */
.bg_black {
    background-color: black;
}

.bg_mauve {
    background: var(--mauve);
}

.bg_white {
    background-color: white;
}

.bg_image_camp {
    background-image: url("../images/camp_samos_2.jpg");
    background-position: center;
    background-size: cover;
}

.bg_image_quote {
    background-image: url("../images/camp_samos.jpg");
    background-position: center;
    background-size: cover;
}

.bg_image_calls {
    background-image: url("../images/Backdrop_copy.jpg");
}

/* BUTTONS */
.c2a_btn {
    background-color: var(--crimson);
    border-style: none;
    color: black;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 1rem auto 2rem;
    padding: 1.2rem 2.8rem;
    cursor: pointer;
}

.c2a_btn:hover {
    background: var(--mauve);
    color: white;
    transition: 0.3s ease;
}

.external_link::after {
    content: "";
    background-image: url("/icons/fa--arrow-up-right-from-square.svg");
    display: inline-flex;
    margin-left: 0.45em;
    height: 0.75em;
    width: 0.75em;
}

/* TEXT ALIGNMENTS */
.text_left {
    text-align: left;
}

.text_center {
    text-align: center;
}

/* LAYOUTS */
.columns {
    display: flex;
    flex-direction: row;
    gap: 3em;
    margin-left: auto;
    margin-right: auto;
    flex: 1 1 0px;
}

.horizontally-centered {
    justify-content: center;
}

.vertically-centered {
    align-items: center;
}

.column_small,
.column_medium,
.column_large {
    margin-left: auto;
    margin-right: auto;
}

.column_small {
    max-width: 25%;
}

.column_medium {
    max-width: 50%;
}

.column_large {
    max-width: min(var(--content-width), 75ch);
}

.navbar {
    width: 100%;
    background-color: #685bfe;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    color: white;
    position: fixed;
    z-index: 999;
}

.logo-link {
    min-width: 100px;
    max-width: 100px;
    margin: 0.5rem 1rem;
}

.nav-links {
    list-style: none;
    padding: 0.5rem;
    margin-left: 2rem;
    margin-right: 1em;
    display: flex;
    gap: 2rem;
    font-size: 1.2em;
    font-weight: 800;
}

.nav-links a:hover {
    text-decoration: underline;
}

.menu-toggle {
    display: none;
    font-size: 2.5em;
    cursor: pointer;
    margin-right: 1rem;
}

#menu-toggle {
    display: none;
}

nav .dropdown-language .dropdown {
    position: absolute;
    z-index: 98;
    display: none;
    background: var(--mauve);
    padding: 0.5rem 1rem;
    left: -1rem;
}

nav .mobile-language {
    display: none;
}

nav .dropdown-language {
    position: relative;
}

nav .dropdown li {
    display: block;
    padding: 1rem 0;
}

nav .dropdown {
    position: absolute;
    z-index: 99;
    display: none;
    background: var(--mauve);
    padding: 0.5rem 1rem;
    left: -1rem;
}

nav li:hover .dropdown {
    display: block;
}

@media (max-width: 960px) {
    .logo-link {
        min-width: 60px;
        max-width: 60px;
        margin: 0.25rem 0.5rem;
    }

    nav .dropdown-language {
        display: none;
    }

    nav .mobile-language {
        display: block;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        margin: 0;
        width: 100vw;
        background: var(--mauve);
        flex-direction: column;
        display: none;
    }

    #menu-toggle:checked~.nav-links {
        display: flex;
        padding: 2rem;
    }

    .menu-close-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0);
    }

    #menu-toggle:checked~.menu-close-overlay {
        display: block;
    }
}

#intro>*,
#quote>* {
    margin: 7em auto;
}

img {
    max-width: 100%;
    max-height: 100%;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(calc((var(--content-width) - var(--gridgap)*3)/4), 1fr));
    gap: 1em;
    margin: auto;
}

.grid .img-wrapper {
    height: 10rem;
    width: 100%;
    overflow: hidden;
}

.grid img {
    object-fit: cover;
    min-height: 100%;
    min-width: 100%;
    transition: all 0.3s ease;
}

.grid>*:hover img {
    transform: scale(1.1);
}

#partners .grid img {
    object-fit: contain;
}

.news_text {
    color: black;
    font-weight: 700;
    line-height: 1.4em;
}

.grid a:hover,
.news_text:hover {
    text-decoration: underline;
    text-decoration-color: var(--mauve);
}

#resources .news_text {
    margin: 1.5em auto;
}

/* PRIVACY POLICY */
#privacy,
#privacy * {
    background-color: white;
    color: black;
}

#privacy h3 {
    margin-top: 2.5rem;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 2rem;
}

.footer_navlink {
    margin: 3rem 0;
}


@media screen and (max-width: 959px) {

    h1,
    h2,
    p {
        line-height: 1.3;
    }

    h1 {
        font-size: 2.2rem;
        /* line-height: normal; */
    }

    h2 {
        font-size: 1.5rem;
        line-height: 4rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    section>* {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media screen and (max-width: 600px) {
    .columns {
        flex-direction: column;
    }

    .column_medium {
        max-width: 100%;
    }

    .quote blockquote {
        text-align: center;
    }

    div:has(>.main_logo) {
        width: 60%;
    }

    iframe {
        width: 100%;
    }

    .calls_img:nth-of-type(even) {
        display: none;
    }

    #partners .grid {
        grid-template-columns: repeat(auto-fit, minmax(calc((100% - var(--gridgap))/2), 1fr));
    }
}