/* CZCIONKI {{{1
   ********************************************************************************************************************/

@font-face {
    font-family: Newsreader;
    src: url("fonts/Newsreader_24pt-Regular.ttf");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: Newsreader;
    src: url("fonts/Newsreader_24pt-Italic.ttf");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: Newsreader;
    src: url("fonts/Newsreader_24pt-Bold.ttf");
    font-weight: 700;
    font-style: normal;
}

/* RESET {{{1
   ********************************************************************************************************************/

* {
    box-sizing: border-box;
    margin: 0;
    text-decoration: none;
}

body {
    font-family: Newsreader, serif;
    color: #424242;
}

/* HEADER {{{1
   ********************************************************************************************************************/

article {
    height: 100vh;
    cursor: default;
    background-color: #fff;
    clear: both;
}

.column {
    position: relative;
    width: 43%;
    height: 100%;
    margin: 0 1%;
    float: left;
}

.picture {
    position: absolute;
    width: 440px;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    border-radius: 50%;
}

.message {
    position: absolute;
    width: 640px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-size: 6em;
    font-weight: 700;
}

p {
    padding-bottom: 0.75em;
    text-align: center;
    font-size: 1.25em;
    font-style: italic;
    line-height: 1.375em;
}

.strong {
    font-weight: 700;
    font-style: normal;
}

u {
    padding-bottom: 0.45em;
    border-bottom: 1px solid #424242;
}

.specification {
    font-size: 1.25em;
    font-style: normal;
}

.links {
    text-align: center;
}

a {
    display: inline-block;
    margin: 0 0.25em 0.5em 0.25em;
    padding: 0.5em 0.75em 0.375em;
    border: 1px solid #424242;
    border-radius: 20px;
    font-size: 1.25em;
    font-weight: 700;
    color: #424242;
    background-color: #fff;
    -webkit-tap-highlight-color: transparent;
}

a:hover {
    background-color: #eee;
}

/* NA RAZIE NIE KASOWAĆ */
.www {
    border: 1px solid transparent;
    background-color: #424242;
    color: #fff;
}

/* NA RAZIE NIE KASOWAĆ */
.www:hover {
    border: 1px solid #424242;
    color: #424242;
}

/* APPLICATION {{{1
   ********************************************************************************************************************/

.application {
    background-color: #eee;
}

.application img {
    width: 256px;
    margin-right: 72px;
    border-radius: 2em;
    font-weight: 700;
}

.application h1 {
    margin-bottom: 16px;
    font-size: 4em;
    font-weight: 700;
}

/* SCREENSHOTS {{{1
   ********************************************************************************************************************/

.screenshots {
    width: 80%;
    margin: 0 auto;
    padding-top: 16px;
}

.screenshot-container {
    width: 24.99999%;
    height: auto;
    padding-right: 8px;
    padding-bottom: 12px;
    padding-left: 8px;
    float: left;
}

.screenshot {
    width: 100%;
    height: auto;
    border: 1px solid lightgrey;
    border-radius: 16px;
}

/* RESPONSIVE 1240 {{{1
   ********************************************************************************************************************/

@media screen and (max-width: 1240px) {
    article {
        height: 100%;
        padding-top: 16px;
        padding-bottom: 26px;
    }

    .column {
        width: 100%;
        margin: 0;
        padding: 1em 2em;
        float: none;
        text-align: center;
    }

    .picture {
        position: relative;
        width: 256px;
        margin: 1em 0 0;
        transform: none;
    }

    .message {
        position: relative;
        margin: 0 auto;
        transform: none;
    }

    h1 {
        margin-bottom: 6px;
        font-size: 5em;
    }

    .application img {
        width: 196px;
        margin-right: 0;
    }

    .application h1 {
        font-size: 3em;
    }

    .screenshots {
        width: 96%;
    }

    .screenshot-container {
        width: 49.99999%;
    }
}

/* RESPONSIVE 720 {{{1
   ********************************************************************************************************************/

@media screen and (max-width: 720px) {
    .picture {
        width: 196px;
    }

    .message {
        width: 100%;
        font-size: 0.75em;
    }

    h1 {
        margin-bottom: 6px;
        font-size: 4em;
    }

    .application img {
        width: 128px;
        margin-right: 0;
    }

    .application h1 {
        font-size: 2em;
    }
}
