:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-condensed-v31-latin-regular.eot');
    src: url('../fonts/roboto-condensed-v31-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v31-latin-regular.woff2') format('woff2'), url('../fonts/roboto-condensed-v31-latin-regular.woff') format('woff'), url('../fonts/roboto-condensed-v31-latin-regular.ttf') format('truetype'), url('../fonts/roboto-condensed-v31-latin-regular.svg#RobotoCondensed') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-condensed-v31-latin-700.eot');
    src: url('../fonts/roboto-condensed-v31-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v31-latin-700.woff2') format('woff2'), url('../fonts/roboto-condensed-v31-latin-700.woff') format('woff'), url('../fonts/roboto-condensed-v31-latin-700.ttf') format('truetype'), url('../fonts/roboto-condensed-v31-latin-700.svg#RobotoCondensed') format('svg');
}

body {
    color: #fff;
    font: 400 1em/1.5em 'Roboto Condensed', Arial, sans-serif;
}

#wrapper {
    position: relative;
    max-width: 690px;
    margin: 1rem auto;
    border: solid 2px #000;
    background: #2D3036 url('../images/background.jpg') top left no-repeat;
    overflow: hidden;
}

p {
    padding-bottom: 0.7rem;
}

:is(h2, h3, strong) {
    font-weight: 700;
}

h1 {
    margin: 1.25rem 0 1.5rem;
    font-size: 1.15em;
    line-height: 1.3;
    font-weight: 400;
}

h1 span {
    display: inline-block;
    font-weight: 700;
    background: url('../images/icon_bg.png') no-repeat center top 23px;
    padding-bottom: 0.5rem;
}

h2 {
    margin-bottom: 1rem;
    font-size: 1.25em;
    line-height: 1.3;
}

h3 {
    font-size: 1.3em;
    line-height: 1.3;
    margin-bottom: 0;
}

h3+p {
    font-size: 1.04em;
    line-height: 1.3;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

header {
    position: relative;
}

.link {
    position: absolute;
    bottom: 20%;
    left: 30%;
    width: 40%;
    height: 19%;
    z-index: 1;
}

.java {
    position: absolute;
    bottom: 5%;
    left: 0;
    width: 100%;
    height: 12.5%;
    z-index: 1;
}

article {
    padding: 1.5rem 2.5rem;
}

footer {
    padding: 0 2rem;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media only screen and (max-width:689px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background-image: none;
    }

    span {
        display: inline-block;
    }

    br {
        display: none;
    }

    header img {
        width: 100%;
    }

    article {
        padding: 1rem;
    }

    footer {
        padding: 0 1rem;
    }

    footer p {
        text-align: center;
    }
}

@media only screen and (max-width:566px) {
    h1 span {
        display: inline;
        background: none;
        padding-bottom: 1px;
        border-bottom: 3px solid #ec1f28;
    }
}