@import url(cssreset.css);
@import url('animate.css');

/* source-sans-pro-regular - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/source-sans-pro-v21-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('/fonts/source-sans-pro-v21-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/fonts/source-sans-pro-v21-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('/fonts/source-sans-pro-v21-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('/fonts/source-sans-pro-v21-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('/fonts/source-sans-pro-v21-latin-regular.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}
/* source-sans-pro-700 - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/source-sans-pro-v21-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('/fonts/source-sans-pro-v21-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/fonts/source-sans-pro-v21-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
    url('/fonts/source-sans-pro-v21-latin-700.woff') format('woff'), /* Modern Browsers */
    url('/fonts/source-sans-pro-v21-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
    url('/fonts/source-sans-pro-v21-latin-700.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/*
blue: #0E52A0
blueLight: #009aea;
blueBright: #78caf3
 */

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

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    scroll-behavior: smooth;
    background: #0E52A0;
}

body {
    position: relative;
    color: #fff;
    min-height: 100%;
    overflow-x: hidden;
    font-size: 22px;
    line-height: 30px;
    text-align: center;
}

a {
    color: #fff;
    text-decoration: none;
}

.container {
    max-width: 1024px;
    margin: 0 auto;
    text-align: left;
    padding: 0 20px;
}

header {
    position: relative;
}

header img {
    width: 100%;
    height: auto;
    vertical-align: top;
}

header .title-wrapper {
    position: absolute;
    font-size: 16px;
    line-height: 18px;
    left: 0;
    top: 80%;
    font-weight: 700;
    z-index: 2;
    text-align: left;
    transform: rotate(-5deg);
}

header .firstname,
header .lastname {
    display: inline-block;
}

header .firstname {
    font-size: 30px;
    line-height: 35px;
    position: absolute;
    bottom: 100%;
    left: 10%;
    background: #0E52A0;
    padding: 2px 10px;
    margin-bottom: -8px;
}

header .lastname {
    font-size: 60px;
    line-height: 70px;
    background: #009aea;
    padding: 5px 40px;
    margin-left: -10px;
}

header .function {
    color: #000;
    background: #fff;
    padding: 5px 20px;
}

header .location {
    display: inline-block;
    float: right;
    color: #fff;
    background: #cdce2a;
    padding: 5px 10px;
}

header .slogan {
    position: absolute;
    left: 1%;
    top: 10%;
    background: #cdce2a;
    padding: 20px;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
}

header .logo {
    position: absolute;
    left: 40px;
    top: 40px;
    width: 200px;
    height: auto;
}

header .video {
    position: relative;
    height: 0;
    padding-bottom: 52%;
    background: #0E52A0;
}

header .video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.button-join {
    position: fixed;
    bottom: -10px;
    left: -10px;
    z-index: 2;
    background: #E2105B;
    padding: 20px;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    width: 125px;
    height: 125px;
    text-decoration: none;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.5);
}

.button-join span {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-weight: 500;
}

section {
    padding: 50px 0;
}

section:last-child {
    padding-bottom: 150px;
}

section:nth-child(2),
section:nth-child(5),
section:nth-child(8),
section:nth-child(11) {
    background: #0E52A0;
}

section:nth-child(3),
section:nth-child(6),
section:nth-child(9),
section:nth-child(12) {
    background: #009aea;
}

section:nth-child(4),
section:nth-child(7),
section:nth-child(10) {
    background: #78caf3;
}

h2 {
    font-size: 40px;
    line-height: 50px;
    margin-bottom: 40px;
}

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

table th,
table td {
    vertical-align: top;
    text-align: left;
    padding: 5px 25px 5px 0;
}

h1, h2, h3,
strong, th {
    font-weight: 700;
}

.nav-main-wrapper.is-scrolled {
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;
    width: 100%;
    background: #fff;
}

.nav-main {
    display: none;
    width: 100%;
    margin: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    background: #fff;
}

.nav-main.nav-main--opened {
    display: flex;
}

.menu-trigger {
    position: relative;
    display: block;
    justify-content: center;
    padding: 10px 5px;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.2;
}

.menu-trigger-icon {
    position: absolute;
    right: 10px;
    transition: transform .2s;
}

.menu-trigger.nav-main--opened .menu-trigger-icon {
    transform: rotate(45deg);
}

.menu-trigger:hover,
.menu-trigger.nav-main--opened {
    background: #0E52A0;
}

.nav-main li {
    line-height: 1.2;
    width: 100%;
}

.nav-main li::marker {
    color: transparent;
}

.nav-main a {
    display: block;
    padding: 10px 5px;
    color: #0E52A0;
    text-decoration: none;
}

.nav-main a:hover,
a.nav-main-link--active {
    color: #000;
}

.events-list {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    margin-left: -20px;
    margin-right: -20px;
}

.event-item {
    display: flex;
    /*width: calc(100% - 20px);*/
    width: 100%;
    padding: 20px;
    margin-bottom: 3px;
    background: rgba(255, 255, 255, 0.2);
}

.event-calendar {
    display: flex;
    padding-right: 15px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    border-right: 1px solid rgba(255, 255, 255, 0.6);
}

.event-date {
    font-weight: 700;
    font-size: 28px;
}

.event-day,
.event-time,
.event-content {
    font-size: 16px;
}

.event-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding-left: 15px;
    line-height: 1.2;
    word-break: break-word;
}

.event-content p {
    margin-top: 10px;
}

img.twint {
    width: 100%;
    height: auto;
    vertical-align: top;
}

@media screen and (max-width: 600px) {
    table th,
    table td {
        display: block;
        width: 100%;
    }

    table td {
        padding-bottom: 20px;
    }
}

@media screen and (min-width: 760px) {
    header .title-wrapper {
        font-size: 20px;
        line-height: 30px;
        top: 27%;
    }

    header .firstname {
        font-size: 50px;
        line-height: 60px;
        margin-bottom: -10px;
    }

    header .lastname {
        font-size: 100px;
        line-height: 110px;
        padding: 10px 40px;
        margin-left: -10px;
    }

    header .function {
        padding: 5px 20px;
    }

    header .location {
        padding: 5px 40px;
    }

    header .slogan {
        left: 2%;
        padding: 25px;
        font-size: 30px;
        line-height: 35px;
    }

    .button-join {
        top: auto;
        bottom: -20px;
        width: 175px;
        height: 175px;
        font-size: 24px;
        line-height: 28px;
        z-index: 6;
    }

    section {
        padding: 100px 0;
    }

    section:last-child {
        padding-bottom: 200px;
    }

    .event-date {
        font-size: 35px;
    }

    .event-day,
    .event-time,
    .event-content {
        font-size: 22px;
    }

}

@media screen and (min-width: 1024px) {
    header .title-wrapper {
        font-size: 30px;
        line-height: 45px;
    }

    header .firstname {
        font-size: 60px;
        line-height: 70px;
        padding: 5px 40px;
        margin-bottom: -10px;
        left: 10%;
    }

    header .lastname {
        font-size: 160px;
        line-height: 160px;
        padding: 20px 60px;
        margin-left: -20px;
    }

    header .function {
        padding: 5px 20px;
    }

    header .slogan {
        font-size: 35px;
        line-height: 40px;
        padding: 30px;
    }

    .button-join {
        width: 225px;
        height: 225px;
        font-size: 30px;
        line-height: 35px;
    }

    .menu-trigger {
        display: none;
    }

    .nav-main-wrapper.is-scrolled .nav-main {
        margin: 0;
    }

    .nav-main {
        display: flex;
        flex-direction: row;
    }
}

@media screen and (min-width: 2000px) {
    header .title-wrapper {
        font-size: 60px;
        line-height: 70px;
    }

    header .firstname {
        font-size: 80px;
        line-height: 90px;
        padding: 5px 50px;
        margin-bottom: -15px;
        left: 20%;
    }

    header .lastname {
        font-size: 320px;
        line-height: 330px;
        padding: 20px 90px;
        margin-left: -50px;
    }

    header .function {
        padding: 5px 40px;
    }

    header .location {
        padding: 5px 40px;
    }

    header .slogan {
        font-size: 70px;
        line-height: 80px;
        padding: 60px;
        left: 4%;
    }

    .button-join {
        width: 300px;
        height: 300px;
    }
}
