@font-face {
    font-family: "MarttiDisplay";
    src: url("https://taide.nuoret.eu/static/marttidisplay-regular-webfont.woff") format("woff");
    font-display: swap;
}

* {
    font-family: "MarttiDisplay", "Helvetica Neue", Helvetica, Arial, sans-serif;
    /* font-size: 110%; */
}

h1,h2,h3,h4,h5,h6 {
    font-style: bold;
}

audio {
    width: 100%;
    margin-top: 10px;
}

img {
    width: 100%;
    height: auto;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.content {
    flex: 1;
    padding: 0.4em 1em 1em 1em;
    /* font-size: 1.4em; */
}

.img-content {
    flex: 0 1 33%;
    padding: 1em;
}

.img-wrapper {
    position: relative;
    height: auto;
    width: 100%;
}

.img-wrapper .triangle {
    position: absolute;
    height: 0;
    width: 0;
    left: 0;
    top: 0;
    border-left: 2.5em solid rgba(0,0,0,0.5);
    border-bottom: 2.5em solid transparent;
}

.img-wrapper .corner-number {
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    padding: 0.4em;
    padding-top: 0.2em;
    font-size: 0.8em;
}

@media screen and (max-width: 1000px) {
    .flex-container {
        flex-direction: column;
    }
}

@media screen and (min-width: 1000px) {
    .content {
        font-size: 1.4em;
    }

    form {
        width: 30%;
    }
}
