@charset "utf-8";
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.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');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #971a1a;
    font: 400 1em/1.3em 'Roboto', Arial, sans-serif;
}
#wrapper {
  max-width: 800px;
  margin: 16px auto;
  border: 1px solid #000;
  background-color: #fff;
  position: relative;
}

header {
  padding: 16px 80px;
  background: #971a1a;
  display: flex;
  justify-content: center;
  gap: 16px;
  align-items: center;
  flex-direction: row-reverse;
  flex-wrap: wrap;
}

.slide {
  position: relative;
}

@keyframes slidy {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  60% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.slide img {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  animation: slidy 10s linear 0s infinite normal forwards;
  vertical-align: bottom;
}

.slide img:nth-of-type(1) {
  position: relative;
}

.slide img:nth-child(2) {
  animation-delay: 5s;
}

article {
  padding: 48px 80px 48px;
}

footer {
  padding: 16px 80px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background: rgba(236, 217, 176, 1) !important;
}

footer div {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer p {
  margin: 0;
  padding: 16px;
  text-align: center;
  border-top: 4px solid rgba(151, 26, 26, 1);
  border-bottom: 4px solid rgba(151, 26, 26, 1);
}

:is(header, footer) img {
  border-radius: 10px;
}

p {
  margin: 0 0 16px;
}

strong {
  font-weight: 700;
}

h1 {
  margin: 0 0 16px;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  text-align: center;
}

h2 {
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
}


h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #fff;
  text-align: center;
}

ul {
  margin: 0 0 16px;
  list-style: none;
}

ul li {
  padding-left: 10px;
}

li:before {
  content: '\2010';
  float: left;
  font-size: 20px;
  text-indent: -10px;
  margin: -2px 0 0;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

:is(a:link, a:visited, a:hover, a:active) {
  color: rgba(151, 26, 26, 1);
  text-decoration: none;
  white-space: nowrap;
}

@media all and (max-width: 799px) {
  #wrapper {
    margin: 0;
    border: none;
  }

  :is(header, article, footer) {
    padding: 16px;
  }

  :is(p, ul) {
    hyphens: auto;
    text-wrap: pretty;
  }

  :is(a, span) {
    white-space: nowrap;
  }

  br:not(footer br) {
    display: none;
  }
}

@media all and (max-width: 495px) {
  footer {
    flex-direction: column;
  }
}