@charset "utf-8";
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/roboto-v30-latin-500.eot');
    src: local(''),
        url('../fonts/roboto-v30-latin-500.eot?#iefix') format('embedded-opentype'),
        url('../fonts/roboto-v30-latin-500.woff2') format('woff2'),
        url('../fonts/roboto-v30-latin-500.woff') format('woff'),
        url('../fonts/roboto-v30-latin-500.ttf') format('truetype'),
        url('../fonts/roboto-v30-latin-500.svg#Roboto') format('svg');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''),
        url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'),
        url('../fonts/roboto-v30-latin-700.woff2') format('woff2'),
        url('../fonts/roboto-v30-latin-700.woff') format('woff'),
        url('../fonts/roboto-v30-latin-700.ttf') format('truetype'),
        url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/roboto-v30-latin-900.eot');
    src: local(''),
        url('../fonts/roboto-v30-latin-900.eot?#iefix') format('embedded-opentype'),
        url('../fonts/roboto-v30-latin-900.woff2') format('woff2'),
        url('../fonts/roboto-v30-latin-900.woff') format('woff'),
        url('../fonts/roboto-v30-latin-900.ttf') format('truetype'),
        url('../fonts/roboto-v30-latin-900.svg#Roboto') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 500 1em/1.3em 'Roboto', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 495px;
    margin: 1rem auto;
    border: 2px solid #36B0DE;
    background: #fff url('../images/bg.jpg') no-repeat;
    overflow: hidden;
}
:is(h1, h3, h4, h5, strong) {
    font-weight: 700;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
a.color, .color {
    color: #36B0DE;
}
.color1 {
    color: #677C91;
}
p {
    padding-bottom: 0.5rem;
}
h1, h2, h3, h4, h5 {
    text-transform: uppercase;
}
h1 {
    margin: 0 0 1.25rem 1.25rem;
    font-size: 1.7em;
    line-height: 1.1;
    color: #000;
}
h1 span {
    font-size: 0.75em;
    line-height: 1.3;
    margin-bottom: 0.25rem;
    display: block;
}
h1 small {
    text-transform: none;
}
h2 {
    font-size: 2.5em;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 0.75rem;
}
h2 span {
    color: #FFF101;
}
h3 {
    font-size: 1em;
    line-height: 1.3;
    color: #36B0DE;
    margin-bottom: 0.5rem;
}
h4 {
    font-size: 1em;
    line-height: 1.3;
    color: #FFF101;
    margin-bottom: 0.5rem;
}
h5 {
    font-size: 1.25em;
    line-height: 1.3;
    margin-bottom: 0.125rem;
}
ul {
    padding: 0 0 0.5rem;
    list-style: none;
}
li {
    padding: 0 0 0.125rem 1.25rem;
    position: relative;
    font-weight: 700;
}
li:before {
    border-radius: 3px;
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    width: 12px;
    height: 12px;
    background: #36B0DE;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
.flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 0;
    margin-bottom: 0.625rem;
}
.flex p {
    width: fit-content;
    border: 1px solid #36B0DE;
    border-radius: 24px;
    padding: 0.5rem 0.9rem;
    background: #37476B;
    font-size: 0.938em;
    line-height: 1.3;
}
.text {
    background: #F8DB30;
    color: #000;
    text-align: center;
    text-transform: uppercase;
    padding: 0.5rem 1.5rem;
    border-radius: 12px;
    position: absolute;
    right: 2rem;
    top: 1rem;
    transform: rotate(3deg);
    font-weight: 700;
}
.text span {
    font-size: 1.5em;
}
main {
    padding: 1rem 1.5rem 0.8rem;
    color: #fff;
}
header {
    margin: 0 0 0.5rem -0.5rem;
}
article {
    padding: 0;
}
footer {
    padding: 0 1.5rem 0.5rem;
    display: flex;
    justify-content: space-between;
    flex-flow: row-reverse;
}
footer p {
    padding-bottom: 0.25rem;
}
figure {
    margin: 0.2rem 0 0;
}
@media only screen and (max-width:494px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: #fff;
    }
    :is(p, li) {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p a, span {
        display: inline-block;
    }
    main{
        background: #23304E;
        padding: 1rem;
    }
    header{
        display: flex;
        justify-content: center;
        margin-left: 0;
    }
    h1{
        background: #36B0DE;
        padding: 1rem;
        border-radius: 12px;
        margin-left: 0;
    }
    h2{
        font-size: 1.7em;
    }
    .text{
        position: static;
        transform: none;
        margin-bottom: 1rem;
    }
    article br{
        display: none;
    }
    footer {
        flex-direction: column;
        align-items: center;
        margin-top: 1rem;
    }
    footer :is(p, h5){
        text-align: center;
    }
}