/* © 2025 Alexander Labrie */

@font-face {
    font-family: 'Acumin Regular';
    src: url('font/Acumin-RPro.otf') format('opentype');
}

@font-face {
    font-family: 'Acumin Italic';
    src: url('font/Acumin-ItPro.otf') format('opentype');
}

@font-face {
    font-family: 'Acumin Bold';
    src: url('font/Acumin-BdPro.otf') format('opentype');
}

@font-face {
    font-family: 'Acumin Bold Italic';
    src: url('font/Acumin-BdItPro.otf') format('opentype');
}

@media (max-width: 699px) {
    h1 {
        font-size: 1.3em;
    }
    main {
        flex-direction: column;
    }
    .text {
        font-size: 1.4em;
        width: 100%;
    }
    .image {
        margin: 2em 0 1.5em 0;
        flex-grow: 1;
        width: 100%;
    }
}

@media (min-width: 700px) {
    h1 {
        font-size: 2em;
    }
    main {
        flex-direction: row;
        margin-top: 5em;
    }
    .text {
        order: 1;
        padding-right: 3em;
        font-size: 2.3em;
        width: 50%;
    }
    .image {
        order: 2;
        width: 50%;
    }
}

html, body {
    font: 100% 'Acumin Regular', Helvetica, Arial, serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 1em 1em 0.5em 1em;
    height: 100%;
}

h1 {
    margin: 0;
    font-weight: normal;
}

main {
    display: flex;
    flex: 1;
    width: 100%;
}

.image {
    background: url('images/out-of-the-web.jpg') no-repeat center center;
    background-size: cover;
}

.text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

p {
    margin: 0;
    line-height: 1.3em;
}

a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid #000;
}

.contact {
    margin-top: 1.3em;
}