:root {
    --primary: #223D6C;
    /*60% of the color scheme*/
    --secondary: #455C7E;
    /*30% of the color scheme*/
    --accent: #8BC53F;
    /*10% of the color scheme*/

    --dark: #333333;
    --grey: #f6f6f6;
    --light: #ffffff;

    /*Font family */
    --font-family: arial;

    /*Container max widths*/
    --container-sm: 600px;
    --container-md: 800px;
    --container-lg: 1200px;
    --container-xl: 1800px;

    /*Sections*/
    --section-gutter: 25px;
}

/*
Custom styles
*/

#events {
    text-align: center;
}

#events img {
    height: 250px;
    margin: 0 auto;
}

.italic {
    font-style: italic;
}

.center {
    text-align: center;
}


.logo-mn {
    max-width: 400px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}

.button {
    padding: 10px 15px;
    margin: 10px;
    display: inherit;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
}

.padded {
    padding: 20px;
}

#mainmenu {
    margin: 10px 0px;
}

.large-text,
.large-text * {
    font-size: 25px;
    margin: 0px;
    font-weight: bold;
}

.text-center {
    text-align: center;
}

.info-card {
    box-sizing: border-box;
    padding: 15px;
    margin: 15px;
    background: #fff;
    color: var(--primary, #333);
}

video {
    display: block;
    width: 100%;
    height: auto;
}

.centered-img {
    margin: 0 auto;
}

.round-img {
    border-radius: 50%;
}

.grey-column {
    background: #F2F2F2;
    padding: 30px;
    color: rgb(122, 122, 122);
}

iframe {
    line-height: 1;
    border: none;
    display: block;
    margin: 10px auto;
}

/* ROOT */
* {
    font-family: var(--font-family, arial);
    box-sizing: border-box;
}

body {
    margin: 0px;
    overflow-x: hidden;
}

.grow {
    flex-grow: 1;
}

.icon {
    vertical-align: middle;
}

/* BACKGROUND COLORS */

.background-transparent {
    background-color: transparent;
}

.background-primary {
    background-color: var(--primary);
}

.background-secondary {
    background-color: var(--secondary);
}

.background-accent {
    background-color: var(--accent);
}

.background-dark {
    background-color: var(--dark);
}

.background-grey {
    background-color: var(--grey);
}

.background-light {
    background-color: var(--light);
}

/* TEXT COLORS */
.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.text-accent {
    color: var(--accent);
}

.text-dark {
    color: var(--dark);
}

.text-grey {
    color: var(--grey);
}

.text-light {
    color: var(--light);
}

/* CONTAINERS */
.container-sm,
.container-md,
.container-lg,
.container-xl {
    margin: 0px auto;
}

.container-sm {
    max-width: var(--container-sm, 600px);
}

.container-md {
    max-width: var(--container-md, 800px);
}

.container-lg {
    max-width: var(--container-lg, 1200px);
}

.container-xl {
    max-width: var(--container-xl, 1800px);
}

/* SECTIONS */
.section {
    padding: var(--section-gutter, 25px);
}

.section img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* NAVIGATION */
nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

nav.sticky {
    position: sticky;
    top: 0px;
    z-index: 999;
}

.nav-item {
    display: flex;
    padding: 0px var(--section-gutter, 25px);
}

.menu {
    display: flex;
    flex-grow: 1;
    padding: 0px var(--section-gutter, 25px);
    align-self: center;
    margin: 0px var(--section-gutter, 25px);
}

.nav-item * {
    display: flex;
}

.nav-logo {
    max-width: 200px;
    height: auto;
    max-height: 70px;
}

.menu-rounded {
    border-radius: 25px;
}

.menu-full {
    width: 100%;
    flex-grow: 1;
    margin: 0px !important;
}

.menu-item {
    padding: 5px var(--section-gutter, 25px);
    transition: background 1s ease-in-out;
    height: 100%;
    color: inherit;
    text-decoration: none;
    background: inherit;
    cursor: pointer;
}

.menu-item .menu {
    position: absolute;
    flex-direction: column;
    display: flex;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    visibility: hidden;
    background: inherit;
    padding: 0px;
    margin: 5px;
}

.menu-item:hover .menu {
    opacity: 1;
    visibility: visible;
}

.menu-item .menu .menu-item {
    width: 100%;
    display: block;
    padding: 5px var(--section-gutter, 25px);
}

.menu-logo {
    max-width: 100%;
    max-height: 100px;
    display: block;
    box-sizing: border-box;
    margin: 5px 0px;
}

/* ANIMATION */
.scroll-animation {
    opacity: 0;
    transition: opacity 500ms;
}

.scroll-animation.scrolled {
    opacity: 1;
}

.scrolled.fade-in {
    animation: fade-in 1s ease-in-out both;
}

.scrolled.fade-in-bottom {
    animation: fade-in-bottom 1s ease-in-out both;
}

.scrolled.slide-left {
    animation: slide-in-left 1s ease-in-out both;
}

.scrolled.slide-right {
    animation: slide-in-right 1s ease-in-out both;
}

@keyframes slide-in-left {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-right {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fade-in-bottom {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* FOOTER */

footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: var(--section-gutter);
}

footer .menu-item .menu {
    position: static;
    opacity: 1;
    visibility: visible;
}

/* DESKTOP */
.menu-toggle {
    display: none;
}

.menu-item {
    margin: 0px;
    padding: 5px;
}

.not-desktop {
    display: none;
}

.only-desktop {
    display: initial;
}

.only-mobile,
.only-tablet {
    display: none;
}

/* TABLET*/
@media screen and (min-width: 681px) and (max-width: 961px) {

    .not-tablet {
        display: none;
    }


    .only-tablet {
        display: initial;
    }

    .only-mobile,
    .only-desktop {
        display: none;
    }

}

/* MOBILE */
@media screen and (max-width: 680px) {

    .logo-mn {
        max-width: 80% !important;
    }

    .menu-item {
        padding: 5px 10px;
    }

    .menu-item .menu {
        left: 0px !important;
        margin: 5px 0px !important;
        width: 100% !important;
    }

    .menu.mobile-full {
        min-height: 100vh;
        width: 100%;
        position: absolute;
        left: 0px;
        top: 0px;
        border-radius: 0px;
        margin: 0px;
        display: flex;
        flex-direction: column;
        padding: 0px;
        z-index: 99;

        opacity: 0;
        transition: opacity 0.5s ease-in-out;
        visibility: hidden;
    }

    .menu.mobile-full.open {
        opacity: 1;
        visibility: visible;
    }

    .menu.mobile-full .menu {
        opacity: inherit;
        visibility: inherit;
        margin-left: 0px !important;
        text-indent: 10px;
    }

    .menu.mobile-full .menu-item {
        height: auto !important;
    }

    .not-mobile {
        display: none;
    }

    .only-mobile {
        display: initial;
    }

    .only-tablet,
    .only-desktop {
        display: none;
    }

    .menu-toggle {
        display: flex;
        padding: 5px var(--section-gutter, 25px);
        cursor: pointer;
        align-self: center;
    }

    #mainmenu {
        margin: 0px 0px !important;
    }

}