@font-face {
    font-family: 'Karelia Outtakes';
    src: url('../fonts/KareliaWeb-Outtakes.woff2') format('woff2'),
        url('../fonts/KareliaWeb-Outtakes.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Karelia';
    src: url('../fonts/KareliaWeb-Regular.woff2') format('woff2'),
        url('../fonts/KareliaWeb-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    background-color: #F1F2EC;
    color: #F15A24;
    margin: 0;
    height: 100%;
    font-family: "Karelia";
    font-size: 1rem;
    letter-spacing: -.3px;
    line-height: 1.15;
}

h2 {
    font-family: "Karelia Outtakes";
}

h1, h2, p {
    font-size: 1rem;
    font-weight: 400;
    margin: 0 0 1rem 0
}

p {
    /* font-family: "Karelia Outtakes"; */
}

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

a:hover {
    text-decoration: underline;
}

a.button {
    display: inline-block;
    border: 2px solid #F15A24;
    border-radius: 40px;
    padding: .05em .5em .185em .5em;
    margin-top: 1em;
    /* transition: all .3s ease-out; */
}

a.button:hover {
    color: #F1F2EC;
    background-color: #F15A24;
    text-decoration: none;
}

body#intro {
    background-color: #F15A24;
}

body#intro .wrapper {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

body#intro .wrapper .logo {
    width: 70vw;
}

main {
    padding: 5vw;
}

footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 5vw;
}

.lang-selector {
    padding: 0;
    margin: 0;
    list-style: none;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 1rem;
    color: white;
    display: flex;
    justify-content: space-between;
}

@media screen and (min-width: 640px) {
    body {
        font-size: 2.1875vw;
    }

    h1, h2, p, a {
        font-size: 2.1875vw;
    }

    body#intro .wrapper .logo {
        width: 47vw;
        max-width: 600px;
    }

    a.button {
        margin-top: 0;
    }

    main {
        display: flex;
        padding: 2vw;
    }
    
    main .left {
        width: 280px;
        flex-shrink: 0;
    }

    main .right {
        flex: 1;
    }

    footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 2vw;
    }
}