@charset "utf-8";

@font-face {
   font-family: 'Texta';
   src: url('Texta-Bold.eot');
   src: url('Texta-Bold.eot?#iefix') format('embedded-opentype'), url('Texta-Bold.woff') format('woff'), url('Texta-Bold.ttf') format('truetype'), url('Texta-Bold.svg#Texta-Bold') format('svg');
   font-weight: 700;
   font-style: normal;
   font-display: swap;
}

@font-face {
   font-family: 'Texta';
   src: url('Texta-Regular.eot');
   src: url('Texta-Regular.eot?#iefix') format('embedded-opentype'), url('Texta-Regular.woff') format('woff'), url('Texta-Regular.ttf') format('truetype'), url('Texta-Regular.svg#Texta-Regular') format('svg');
   font-weight: 400;
   font-style: normal;
   font-display: swap;
}

@font-face {
   font-family: 'Texta';
   src: url('Texta-Black.eot');
   src: url('Texta-Black.eot?#iefix') format('embedded-opentype'), url('Texta-Black.woff') format('woff'), url('Texta-Black.ttf') format('truetype'), url('Texta-Black.svg#Texta-Black') format('svg');
   font-weight: 900;
   font-style: normal;
   font-display: swap;
}

:root {
   font-size: 18px;
}

* {
   box-sizing: border-box;
   margin: 0;
}

html {
   min-height: 100%;
}

body {
   color: #000;
   font: 700 1em/1.3 'Texta', Arial, sans-serif;
}

strong {
   font-weight: 700;
}

#wrapper {
   position: relative;
   max-width: 532px;
   margin: 1rem auto;
   border: solid 1px #000;
   background: #fff url('../images/bg.jpg') no-repeat bottom center;
   overflow: hidden;
   padding: 3rem 2.5rem 0;
   height: 800px;
}

p {
   padding-bottom: 0.8rem;
}

h4 {
   margin: 0;
   font-size: 2.4em;
   text-transform: uppercase;
   line-height: 1.2;
   font-weight: 900;
}

h4 small {
   display: block;
   color: #ED1C24;
   font-size: 1.25rem;
   line-height: 1.3;
}

h4 span {
   text-transform: none;
   font-size: 1rem;
   font-weight: 700;
   display: block;
   line-height: 1.4;
   margin: 0.5rem 0 8.125rem;
}

h1 {
   margin: 0;
   line-height: 1.3;
   font-size: 1.375em;
}

h2 {
   font-size: 0.75em;
   line-height: 1.3;
   font-weight: 400;
   margin-top: 1rem;
}

h3 {
   font-size: 1em;
   line-height: 1.1em;
   text-transform: uppercase;
   font-weight: 900;
   color: #fff;
   transform: rotate(-2deg);
   width: fit-content;
   text-align: center;
   margin: 1rem 0 6.5rem;
}

:is(a:link, a:visited, a:hover, a:active) {
   color: #ED1C24;
   text-decoration: none;
   white-space: nowrap;
}

img {
   max-width: 100%;
   height: auto;
}

footer {
   position: absolute;
   bottom: 2rem;
   right: 2.5rem;
}

@media only screen and (max-width: 531px) {
   #wrapper {
      border: none;
      margin: 0 auto;
      background: #fff;
      height: auto;
      padding: 1rem;
   }

   p a {
      display: inline-block;
   }

   :is(h1, h3) br {
      display: none;
   }

   h1 {
      margin: 0.7rem 0;
   }

   h2 {
      text-align: center;
   }

   h3 {
      padding: 1rem;
      transform: none;
      background: #231F20;
      margin: 0 -1rem 1rem;
      width: auto;
   }

   h4 {
      font-size: 1.85em;
   }
   h4 span {
      margin: 0 0 1rem;
   }
   h4 span br{
    display: none;
   }

   figure {
      display: flex;
      justify-content: center;
   }

   footer {
      position: static;
      display: flex;
      justify-content: center;
      margin-top: 1rem;
   }
}
