/* START RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* END RESET */


html, body {
  min-height: 100vh;
  width: 100vw;
}

body {
  font-family: "Manrope", sans-serif;
  color: white;
  font-optical-sizing: auto;
  background: url(../img/img.webp) no-repeat;
  background-size: cover;
}

.wrapper {
  background: url(../img/background.webp) no-repeat;
  background-size: cover;
  min-height: calc(100vh - 60px);
  background-clip: padding-box;
  border: solid 30px transparent;
  padding-left: 10px;
  padding-right: 10px;
}

header {
  display: flex;
  justify-content: center;
  padding-top: 75px;
}


main {
  display: flex;
  justify-content: center;
}

.content {
  max-width: 638px;
  padding-top: 160px;
}

h1 {
  text-align: center;
  font-size: 40px;
  max-width: 667px;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1.4;
}

.divider {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 65px;
  align-items: center;
}

.divider hr {
  width: 170px;
  height: 5px;
  background: white;
  border: unset;
  outline: unset;
}

.lead {
  text-align: center;
}

.lead p {
  font-size: 20px;
  line-height: 1.4;
}

.actions {
  height: 110px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.action-link {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 50px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.2) 100%), #000000;
  border-radius: 30px;
  margin: 8px;
  color: white;
  text-decoration: unset;
  cursor: pointer;
  font-size: 17px;
  letter-spacing: 1px;
  font-weight: 500;
}

.contacts {
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  letter-spacing: 0.3px;
}

.contacts-row {
  height: 66px;
}

.contacts-bold {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.contacts-link {
  text-decoration: unset;
  color: white;
  letter-spacing: initial;
}

footer {
  display: flex;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.social-link {
  margin-left: 3px;
  margin-right: 3px;
  text-decoration: unset;
}

.mobile-visible {
  display: none;
}

@media only screen and (max-width: 600px) {
  header {
    padding-top: 20px;
  }

  header img {
    width: 188px;
  }

  .wrapper {
    min-height: calc(100vh - 40px);
    max-width: calc(100vw - 40px);
    /*padding-top: 22px;*/
    /*padding-left: 10px;*/
    /*padding-right: 10px;*/

    border: solid 20px transparent;
    background-position-x: -130px;
  }

  .content {
    max-width: 264px;
    width: auto;
    padding-top: 30px;
  }


  h1 {
    max-width: 100%;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.6px;
    line-height: 1.4;
  }

  .divider {
    height: 40px;
  }

  .divider hr {
    height: 2px;
    width: 80px;
  }

  .lead {
    text-align: center;
    padding-top: 15px;
    width: 100%;
  }

  .lead p {
    font-size: 16px;
    width: 100%;
    text-align: center;
    display: block;
  }

  .actions {
    display: block;
    padding-top: 9px;
  }

  .actions div {
    width: fit-content;
    margin: 0 auto 16px;
  }

  .contacts {
    padding-top: 37px;
    font-size: 14px;
    letter-spacing: 0.3px;
    line-height: 1.4;
    width: 300px;
    margin-left: -18px;
  }

  .contacts-row {
    height: 59px;
  }

  .contacts-row:last-child {
    height: 46px;
  }

  footer {
    padding-top: 0;
  }

  .mobile-visible {
    display: block !important;
  }

  .mobile-hidden {
    display: none !important;
  }
}
