@font-face {
  font-family: RooneySans-Bold;
  src: url(./fonts/RooneySans-Bold.otf);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 50px 0 0;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
}

img {
  max-width: 100%;
  width: 100%;
  max-height: 100%;
}

main {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

a {
  color: #009bdb;
}

figure {
  margin: 0;
  width: 100%;
  max-width: 430px;
  display: flex;
  flex-flow: column;
}

.imgWrapper {
  margin: 0 auto 30px;
  width: 277px;
}

figcaption {
  display: flex;
  flex-flow: column;
  align-items: center;
}

h1 {
  width: 234px;
  line-height: 49px;
  color: rgb(43, 168, 166);
  font-family: RooneySans-Bold, sans-serif;
  font-size: 44px;
  font-weight: bold;
  text-align: center;
  margin: 0 0 30px;
}

figcaption p {
  color: rgb(72, 74, 77);
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
  width: 300px;
  margin: 0 0 10px;
}

figcaption p.secondP {
  font-weight: 300;
}

a.supportBtn {
  width: 270px;
  background: rgb(65, 105, 225);
  border-radius: 3px;
  box-shadow: 0px 2px 0px 0px rgb(0, 40, 150);
  color: white;
  text-decoration: none;
  text-align: center;
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  line-height: 43px;
}

.topFooter {
  text-align: center;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  line-height: 40px;
}

.topFooter img {
  width: 17px;
  position: relative;
  left: -5px;
}

.bottomFooter {
  width: 100%;
  background: rgb(235, 235, 236);
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  color: rgb(51, 51, 51);
  line-height: 42px;
  text-align: center;
}

@media (min-width: 768px) {
  body {
    padding: 195px 0 0;
  }

  .imgWrapper {
    width: 345px;
  }

  h1 {
    width: 100%;
    font-size: 44px;
  }

  figcaption {
    justify-content: center;
  }

  figcaption p {
    width: 466px;
    margin: 0 0 15px;
  }
}
