@charset "utf-8";

@font-face {
  font-display: swap;
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/jost-v20-latin-regular.eot');
  src: url('../fonts/jost-v20-latin-regular.eot?#iefix') format('embedded-opentype'),
       url('../fonts/jost-v20-latin-regular.woff2') format('woff2'),
       url('../fonts/jost-v20-latin-regular.woff') format('woff'), 
       url('../fonts/jost-v20-latin-regular.ttf') format('truetype'), 
       url('../fonts/jost-v20-latin-regular.svg#Jost') format('svg'); 
}

@font-face {
  font-display: swap; 
  font-family: 'Jost';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/jost-v20-latin-700.eot'); 
  src: url('../fonts/jost-v20-latin-700.eot?#iefix') format('embedded-opentype'), 
       url('../fonts/jost-v20-latin-700.woff2') format('woff2'),
       url('../fonts/jost-v20-latin-700.woff') format('woff'),
       url('../fonts/jost-v20-latin-700.ttf') format('truetype'), 
       url('../fonts/jost-v20-latin-700.svg#Jost') format('svg'); 
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Jost", "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 1rem;
}

h1 {
    text-align: center;
    font-size: 1.5rem;
    font-style: italic;
    margin: 1.25rem 0 2.5rem;
}

h1 span {
    font-size: 1.125rem;
    font-style: normal;
}

h2 {
    font-size: 1rem;
    background: #DD002C;
    width: fit-content;
    text-align: center;
    padding: .437rem;
    color: #fff;
    line-height: 1;
    box-shadow: .312rem .312rem .625rem 0 rgba(173, 173, 173, 1);
    transform: rotate(-3deg);
    margin: 0 0 .875rem;
}

ul {
    list-style: none;
    margin: 0 0 1.562rem;
    padding: 0;
}

ul li {
    padding-left: 1.25rem
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: 5px;
    height: 5px;
    background: #000;
    margin-left: -15px;
    top: .562rem;
}

header {
    position: relative;
}

.headerbox {
    clip-path: polygon(0 0, 100% 0%, 100% 88%, 0% 97%);
}

.logo {
    position: absolute;
    bottom: .625rem;
    z-index: 100;
    right: 2.5rem
}

.logo:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    border-left: 15px solid transparent;
    border-top: 0 solid transparent;
    border-bottom: 11px solid #520100;
    z-index: 10;
}

.image {
    z-index: 100;
    position: relative;
}

article {
    padding: 1.25rem 2.5rem 0;
}

.box {
    width: 48%;
}

footer {
    padding: 0 2.5rem 2.5rem;
}

:is(.flex, footer) {
    display: flex;
    justify-content: space-between;
}

footer {
    justify-content: flex-end;
    align-items: flex-end;
}

footer p {
    margin: 0;
}

.social span {
    width: 1.875rem;
    height: 1.875rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000000;
}

.social {
    display: flex;
    column-gap: .312rem;
}

.social span i {
    color: #fff;
}

@media only screen and (max-width: 49.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    .logo {
        bottom: .937rem;
    }
}

@media only screen and (max-width: 48rem) {
    article {
        padding: 1rem 0 0;
    }

    footer {
        padding: 0 0 .625rem;
    }

    .logo {
        position: static;
        display: flex;
        justify-content: center;
        margin: 0 0 1.25rem;
    }

    .logo:before {
        display: none;
    }

    .headerbox {
        clip-path: none;
    }
}

@media only screen and (max-width: 43.75rem) {
    .flex {
        flex-direction: column;
    }

    .box {
        width: 100%;
    }

    h1 {
        margin: 1.25rem 0;
    }

    h1 br {
        display: none
    }
}

@media only screen and (max-width: 37.5rem) {
    footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }
}

@media only screen and (max-width: 30rem) {
    h1 {
        font-size: 1.375rem;
    }

    h2 {
        transform: rotate(0deg);
        margin: 0 0 .625rem;
    }

    ul {
        margin: 0 0 1rem;
    }

    footer p {
        text-align: center;
    }
}