/*
------------------------------------
    Developed by Martin Hübner
------------------------------------
*/

@font-face {
    font-family: Roboto;
    src: url(Roboto-Light.ttf);
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: Roboto;
    src: url(Roboto-Regular.ttf);
    font-weight: 400;
    font-display: swap;
}

/*
------------------------------------
    Variables
------------------------------------
*/

:root {
    /* Global Colors */
    --primary: rgba(44,62,78,1);

    /* Text Colors */
    --text: #FFF;
    --text_light: #bdbdbd;
    --text_lighter: #A3A3A3;
    --text_disabled: rgba(255, 255, 255, 0.38);
    --text_inverted: #171717;
    --text_on_primary: var(--text);

    /* Background Colors*/
    --bg: #fff;
    --bg_hover: #1b1b1b;
    --bg1: #efefef;
    --bg1_hover: #ddd;
    --bg2: #d7d7d7;
    --bg2_hover: #ddd;
    --bg_box: var(--bg);
    --bg_box_hover: var(--bg_hover);
    --bg_input: #3891a1;

    /* Font Style*/
    --font_weight: 300;
    --font_weight_heavy: 400;
    --font_weight_heading: 300;

    /* Font Sizes */
    --minFontSize: 14px;
    --maxFontSize: 30px;
    --scaler: 0.6rem + 2vw;

    --h0: clamp(30px, var(--scaler), 70px);
    --h1: clamp(23px, var(--scaler), 50px);


    /* Drop Shadows */
    --z1: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    --z2: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --z3: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.3);
    --z4:
        0 0px 2.7px rgba(0, 0, 0, -0.004),
        0 0.3px 4.7px rgba(0, 0, 0, 0.002),
        0 0.9px 6.5px rgba(0, 0, 0, 0.013),
        0 2.1px 8.4px rgba(0, 0, 0, 0.026),
        0 4.3px 11.4px rgba(0, 0, 0, 0.042),
        0 10px 20px rgba(0, 0, 0, 0.06);
    --z5:
        0 0.1px 2.7px rgba(0, 0, 0, -0.004),
        0 0.6px 4.7px rgba(0, 0, 0, 0.002),
        0 1.8px 6.5px rgba(0, 0, 0, 0.013),
        0 4.2px 8.4px rgba(0, 0, 0, 0.026),
        0 8.6px 11.4px rgba(0, 0, 0, 0.042),
        0 20px 20px rgba(0, 0, 0, 0.06);
}

/*
------------------------------------
    Settings
------------------------------------
*/

* {
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

html {
    font-size: clamp(var(--minFontSize), var(--scaler), var(--maxFontSize));
    color: var(--text);
    line-height: 1.5;
    font-weight: var(--font_weight);
}

body {
    margin: 0;
    height: 100vh;
    overflow: hidden;
    background-image: linear-gradient( 76.3deg,  rgba(44,62,78,1) 12.6%, rgba(69,103,131,1) 82.8% );
}

a {
    text-decoration: none;
    color: var(--text);
}

a:hover {
    text-decoration: underline;
    color: var(--text);
}

.link {
    color: var(--text);
    text-decoration: underline;
}

/*
------------------------------------
    Icons
------------------------------------
*/

.icon {
    width: 25px;
    height: 25px;
    fill: var(--text);
}

.icon.small {
    width: 16px;
    height: 16px;
}

@media screen and (max-width:   659px)   {.button.small > .icon {
    width: 16px;
    height: 16px;
}}

/*
------------------------------------
    Headings
------------------------------------
*/

.heading {
    font-weight: var(--font_weight_heading);
}

.heading.h0 {
    font-size: var(--h0);
    line-height: calc(var(--h0) + 0.2rem);
    font-weight: var(--font_weight_heavy);
}

.heading.h1 {
    font-size: var(--h1);
    line-height: calc(var(--h1) + 0.2rem);
}

.heading.h2 {
    font-size: var(--h2);
    line-height: calc(var(--h2) + 0.2rem);
}

.heading.h3 {
    font-size: var(--h3);
    line-height: calc(var(--h3) + 0.2rem);
}

.heading.center {
    text-align: center;
}

/* Hero Content */

.hero_preheading {
    margin: 0px;
    margin-bottom: 15px;
}

.hero_heading {
    margin: 0px;
    margin-bottom: clamp(15px, var(--scaler), 45px);
}

/* Text */

.text {
    max-width: 1000px;
    margin: 0px;
    margin-bottom: 25px;
}

.text:last-child {
    margin-bottom: 0px;
}

.text.center {
    text-align: center;
}

.text.block {
    text-align: justify;
}


/*
------------------------------------
    Menu
------------------------------------
*/

header {
    position: fixed;
    left: 60px;
    top: 20px;
}

@media screen and (max-width:   659px)   { header { left: 10px; }}

.header_link {
    font-size: clamp(var(--minFontSize), var(--scaler), 22px);
    color: var(--text);
}

footer {
    position: fixed;
    right: 60px;
    bottom: 20px;
}

.footer_link {
    font-size: 14px;
    color: var(--text_light);
}

.lang_selector {
    position: fixed;
    right: 60px;
    top: 20px;
}

.lang_selector_link {
    font-size: 16px;
    color: var(--text);
    margin-left: 15px;
    z-index: 10;
}


/*
------------------------------------
    Buttons
------------------------------------
*/

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border: 2px solid var(--text);
    color: var(--text_on_primary);
    cursor: pointer;
    height: 40px;
    text-align: center;
    text-decoration: none;
    margin-bottom: 25px;
}

.button.small {
    padding: 30px;
    height: 30px;
    margin-bottom: 25px;
}

@media screen and (max-width:   659px)   { .button.small {
    padding: 15px;
    border: 2px solid var(--text);
    height: 20px;
    margin-bottom: 25px;
}}

.button:hover {
    background-color: var(--primary);
    text-decoration: none;
    box-shadow: var(--z1);
}

.button_container .button:last-child {
    margin-bottom: 0px;
}


/*
------------------------------------
    Scrollsnap
------------------------------------
*/

.scrollsnap_container {
    scroll-snap-type: y mandatory;
    height: 100vh;
    overflow: scroll;
    overflow-x: hidden;
}

.scrollsnap {
    width: 100vw;
    height: 100vh;
    display: grid;
    place-items: center;
    scroll-snap-align: start;
}

.scrollsnap:last-child {
    border-bottom: 15px solid var(--text);
}

.scrollsnap_inner {
    display: flex;
    flex-flow: column;
    align-items: center;
    padding: 20px;
}


/*
------------------------------------
    Laureate
------------------------------------
*/

.laureate_year {
    margin-bottom: 10px;
}

.laureate_name {
    font-size: calc((clamp(var(--minFontSize), var(--scaler), var(--maxFontSize))) + 10px);
    font-weight: var(--font_weight_heavy);
    margin-bottom: 10px;
}

.laureate_description {
    font-weight: var(--font_weight_heavy);
    margin-bottom: 10px;
}

.laureate_university_container {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}

@media screen and (max-width:   659px)   { .laureate_university_container { flex-flow: column; }}

.laureate_university {
    margin: 0px 10px;
    font-size: calc((clamp(var(--minFontSize), var(--scaler), var(--maxFontSize))) - 4px);
}

@media screen and (max-width:   659px)   { .laureate_university { font-size: 14px; margin-bottom: 5px; }}

@media screen and (max-width:   659px)   { .laureate_university.filler { display: none; visibility: hidden; }}

.image {
    max-width: 40%;
    box-shadow: var(--z1);
}

@media screen and (max-width:   659px)   { .image { max-width: 80%; }}

.image.large {
    max-width: 100%;
}

.caption {
    margin-top: 5px;
}

/*
------------------------------------
    Scroll Animation
------------------------------------
*/

.icon-scroll-anchor {
    position: relative;
    z-index: -100;
    max-width: 100%;
    max-height: 100vh;
}

.icon-scroll,
.icon-scroll:before {
    position: absolute;
    left: 50%;
}
.icon-scroll {
    width: 30px;
    height: 50px;
    margin-left: -20px;
    bottom: 30px;
    margin-top: -35px;
    border: 2px solid #fff;
    border-radius: 25px;
}
@media (max-width: 767px) {
    .icon-scroll {
        display: none;
        visibility: hidden;
    }
}
.icon-scroll:before {
    content: '';
    width: 8px;
    height: 8px;
    background: #fff;
    margin-left: -4px;
    top: 8px;
    border-radius: 4px;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-name: scroll;
}
@keyframes scroll {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(26px);
    }
}







































/*
------------------------------------
    Helper
------------------------------------
*/

.hidden {
    display: none;
    visibility: hidden;
}
