* {
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100vw;
    min-width: 100vw;
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    overflow-x: hidden;
}

@font-face {
    font-family: "ComicRelief";
    src: url('../fonts/comicrelief.ttf');
}

@font-face {
    font-family: "ComicRelief Bold";
    src: url('../fonts/comicrelief-bold.ttf');
}

* {
    font-family: "ComicRelief", sans-serif;
    color: #000000;
    text-decoration: none;
}

h1, h2 {
    font-family: "ComicRelief Bold", sans-serif;
    font-size: 3.5em;
    margin-top: 0;
    margin-bottom: 0;
    text-transform: uppercase;
}

p, main a {
    font-size: 1.5em;
    margin: 0;
}

header nav {
    display: flex;
    font-family: "ComicRelief Bold", sans-serif;
    font-size: 1.5em;
}

header nav a {
    margin-right: 0.5em;
}

header#intro h1 {
    background-image: url(../images/logo.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    color: transparent !important;
}

header#intro, main section {
    width: 100vw;
    min-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

header .copyrights {
    font-size: 1em;
    margin-top: 3vh;
}

main section#mirriluola {
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url(../images/background.png);
}

main section#mirricraft {
    background-image: url(../images/mirricraft-background.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

main section#mirricraft h2 {
    text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff,
               1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
}

main section#mirricraft .box {
    position: relative;
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 0.5em;
    padding-left: 10vmin;
    padding-right: 10vmin;
    background-color: #ffffffaa;
}

main section#mirricraft .box .title {
    color: #ffffff;
    text-shadow: 2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000,
               1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000;
    position: absolute;
    font-size: 1em;
    top: -1em;
    left: -1em;
}

.bold {
    font-weight: bold;
}

.button {
    background-color: #333333cc;
    border-radius: 5vh;
    padding: 10px;
    margin-top: 50px;
    margin-bottom: 50px;
    width: 5vh;
    height: 5vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button i {
    color: #ffffff;
}

@media (orientation: portrait) {
    header nav {
        flex-direction: column;
    }

    header nav a {
        margin-right: 0;
        border-bottom: 3px dotted #000000;
    }

    header nav a:last-child {
        border-bottom-width: 0px;
    }
}
