@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-VariableFont_wght.ttf");
}

:root {
    --text-color-light: #66b2b2;
    --text-color-dark: #224e8c;
    --border-color: #dde2e3;
    --highlight-color-light: #f3f8f9;
    --default-margin: 4rem;
    --default-padding: 3rem;
    --button-border-radius: .8em;
    --default-transition-time: .25s;
}


html, body {
    font-family: "Manrope", sans-serif;
    letter-spacing: 0.08rem;
    color: var(--text-color-dark);
}

body {
    max-width: 1264px;
    width: 100%;
    margin: 0 auto;
}

h2 {
    font-size: 1.8rem;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

p, li {
    font-family: Roboto,Helvetica,Arial,sans-serif;
    font-size: 1.2rem;
    line-height: 1.6rem;
}

a {
    color: var(--text-color-light);
    transition: var(--default-transition-time);
}

.btn {
    background: var(--text-color-light);
    color: #fff;
    padding: .5em 1em;
    border-radius: var(--button-border-radius);
    cursor: pointer;
    transition: var(--default-transition-time);
}
.btn:hover {
    background: var(--text-color-dark);
    color: var(--text-color-light);
}



.anchor {
    position: relative;
    top: -5rem;
}



.navigation {
    position: sticky;
    top: 0;
    background: #fff;
    max-width: 2000px;
    text-align: center;
    z-index: 100;
}

.navigation ul {
    min-height: 5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.navigation li {
    text-align: left;
}
.navigation a {
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--text-color-dark);
}
.navigation a:hover {
    color: var(--text-color-light);
}
.navigation a.btn {
    color: #fff;
}
.separator {
    flex-grow: 1000;
}
.lang {
    padding-left: 35px;
    background-repeat: no-repeat;
    background-size: 25px;
}
.lang-cz {
    background-image: url(../img/lang-cz.png);
}
.lang-en {
    background-image: url(../img/lang-en.png);
}
@media screen and (max-width:60em) {
    .navigation ul {
        flex-wrap: wrap;
        padding: 0 var(--default-padding)
    }
}



.header {
    position: relative;
    display: flex;
    background-image: url(../img/header-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    width: 100%;
    min-height: 340px;
    margin-bottom: calc(80px + var(--default-margin)/2);
}
.header h1 {
    position: relative;
    top: 80px;
    text-indent: -1000rem;
    background: #fff url(../img/CEE_logo.svg);
    background-size: cover;
    background-position: center center;
    width: 600px;
    margin: 0 auto 0 12%;
    aspect-ratio: 16 / 9.5;
    border: 1px solid var(--border-color);
    box-shadow: 1px 1px 5px var(--border-color);
}
.header .date {
    align-self: flex-start;
    font-size: 2.6rem;
    color: #fff;
    margin: calc(var(--default-margin)/2);
}
@media screen and (max-width:60em) {
    .header {
        flex-direction: column;
        min-height: unset;
    }
    .header h1 {
        top: 0;
        margin: 0 auto;
        max-width: 600px;
        width: 85%;
    }
    .header .date {
        margin: calc(var(--default-margin)/2) auto;
        font-size: 2rem;
    }
}



.introduction {
    margin: var(--default-margin) 0 var(--default-margin) 0;
    padding: 0 var(--default-padding);
}
.introduction h2 {
    color: var(--text-color-light)
}

.why-attend {
    margin: var(--default-margin) 0;
    padding: var(--default-padding);
    background-color: var(--highlight-color-light);
}
.why-attend h2 {
    color: var(--text-color-light);
}
.why-attend ul {
    display: flex;
    gap: 2rem;
    margin: 2rem 0 0 0;
    padding: 0;
    list-style-type: none;
}
.why-attend li {
    background: url(../img/bullet.png);
    background-repeat: no-repeat;
    background-size: 2rem;
    background-position: top left;
    padding-top: 2.5rem;
    width: 25%;
}
@media screen and (max-width:60em) {
    .why-attend ul {
        flex-direction: column;
    }
    .why-attend li {
        padding-top: 0;
        padding-left: 2.5rem;
        width: 100%;
    }
}



.date-and-location {
    margin: var(--default-margin) 0;
    padding: 0 var(--default-padding);
}
.date-and-location > p {
    font-size: 1.5rem;
    color: var(--text-color-light);
}
.date-and-location .advantages li {
    line-height: 1.8em;
}
.date-and-location .images {
    display: flex;
    gap: 2rem;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.date-and-location .images img {
    max-width: 100%;
}
.date-and-location .mapview {
    margin: 1rem auto;
    width: 100%;
    aspect-ratio: 3 / 1
}
@media screen and (max-width:60em) {
    .date-and-location .images {
        flex-direction: column;
    }
}



.partners {
    margin: var(--default-margin) 0;
    padding: 0 var(--default-padding) 0;
}
.partners ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.partners li {
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
    line-height: 1.25rem;
    text-align: center;
}
.partners li img {
    width: 120px;
}
@media screen and (max-width:60em) {
    .partners ul {
        flex-direction: column;
    }
    .partners li {
        width: 100%;
        text-align: left;
        align-items: unset;
    }
}



.contact {
    margin: var(--default-margin) 0 0;
    padding: var(--default-padding);
    background-color: var(--highlight-color-light);
}
.contact h2 {
    color: var(--text-color-light);
    margin-bottom: 2rem;
}
.contact ul {
    display: flex;
    gap: 2rem;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.contact li {
    width: 100%;
    font-size:.9rem;
    display: flex;
    flex-direction: column;
}
.contact p {
    margin: .5rem 0; 
}
.contact .name {
    font-size: 1.1rem;
}
.contact .description {
    flex-grow: 10;
}
.contact .phone, .contact .email {
    margin: 0;
}
.contact a {
    text-decoration: none;
}
.contact a:hover {
    color: var(--text-color-dark);
}
@media screen and (max-width:60em) {
    .contact ul {
        flex-direction: column;
    }
}