@charset "utf-8";

@font-face {
  font-display: swap; 
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v18-latin-regular.eot');
  src: url('../fonts/inter-v18-latin-regular.eot?#iefix') format('embedded-opentype'),
       url('../fonts/inter-v18-latin-regular.woff2') format('woff2'), 
       url('../fonts/inter-v18-latin-regular.woff') format('woff'), 
       url('../fonts/inter-v18-latin-regular.ttf') format('truetype'),
       url('../fonts/inter-v18-latin-regular.svg#Inter') format('svg'); 
}

@font-face {
  font-display: swap; 
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/inter-v18-latin-700.eot');
  src: url('../fonts/inter-v18-latin-700.eot?#iefix') format('embedded-opentype'),
       url('../fonts/inter-v18-latin-700.woff2') format('woff2'), 
       url('../fonts/inter-v18-latin-700.woff') format('woff'), 
       url('../fonts/inter-v18-latin-700.ttf') format('truetype'),
       url('../fonts/inter-v18-latin-700.svg#Inter') format('svg'); 
}

:root {
    font-size: 16px;
}

* {
	padding: 0;
	margin: 0;
    box-sizing: border-box;
}

body {
	color: #000;
	font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
	line-height: 1.3;
	background:#fff url(../images/bg.jpg)no-repeat top center;
}

#wrapper {
    position: relative;
    overflow: hidden;
	margin: 1rem auto;
	max-width: 50rem;
	background: #fff;
    border: 1px solid #e20613;
    box-shadow: 0 0 10px 5px rgba(255,255,255,0.8);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.link {
    color: #e20613;
}
a.link:hover {
    text-decoration: underline;
}

h1 {
    font-size: 1.5rem;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 700;
    color: #e20613;
	text-transform: uppercase;
    margin: 1rem 0;
}

h1 span {
    font-size: 1.2rem;
}

h3 {
    font-family:'Inter', Arial, sans-serif;
    font-weight: 700;
	font-size: 18px;
	margin: 1rem 0 0.5rem;
}

p {
    margin: 0 0 1rem;
}
strong {
    font-weight: 700;
}

ul  {
    margin: 0 0 1rem 1.5rem;
}

ul li::marker {
    color:#e20613;
}

header {
    padding: 2rem;
}

article {
	padding: 1.75rem 3rem;
}

.button {
    margin: 1rem 0;
}

a.apply {
    color: #e20613;
    font-weight: 700;
}
a.apply:hover {
    text-decoration: underline;
}



footer {
	padding: 1.75rem 3rem;
	background: #e20613;
	color: #fff;
}

iframe {
    display: block;
    width: 100%;
    height: 28.125rem;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 52.4%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe,
.iframe-wrapper object,
.iframe-wrapper embed {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider {
    position: relative;
  }

  .slider > img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 18s linear infinite 0s;
  }

  .slider > img:nth-of-type(1) {
    position: static;
    opacity: 1;
  }

  .slider > img:nth-of-type(2) {
    animation-delay: 6s;
  }
 
  .slider > img:nth-of-type(3) {
    animation-delay: 12s;
  }
 
  
  @keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }
} 

@media only screen and (max-width:49rem) {
     #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

}
@media only screen and (max-width:40rem) {
   header,
   article,
   footer {
    padding: 1rem;
   }

}