body, div, dl, dt, dd, ul, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, input, textarea, p, blockquote, th, td {
  margin: 0;
  padding: 0;
}

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

fieldset, img, abbr {
  border: 0;
}

address, caption, cite, code, dfn, em, strong, th, var {
  font-style: normal;
  font-weight: normal;
}

ul li {
  list-style: none;
}

caption, th {
  text-align: left;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: normal;
}

sup {
  vertical-align: text-top;
}

sub {
  vertical-align: text-bottom;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

legend {
  color: #000;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  background-color: #00090e;
  font-family: "Open Sans", "Arial", "Helvetica", sans-serif;
  font-size: 17px;
  line-height: 22px;
}

.footer {
  padding: 12px 0 20px;
}

.copyright {
  font-size: 12px;
  line-height: 16px;
  color: #3c3c3c;
  text-align: center;
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/open_sans-300.woff2") format("woff2"), url("../fonts/open_sans-300.woff") format("woff");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/open_sans-regular.woff2") format("woff2"), url("../fonts/open_sans-regular.woff") format("woff");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/open_sans-600.woff2") format("woff2"), url("../fonts/open_sans-600.woff") format("woff");
}

.container {
  position: relative;
}

.main-photo {
  display: block;
}

.links {
  width: 200px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  position: absolute;
  bottom: 22px;
  margin: auto;
  left: 0;
  right: 0;
}

.links__contacts {
  width: 72px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.link__contact-email,
.link__contact-fb,
.link__rosemary {
  display: block;
  text-decoration: none;
  padding: 4px;
  margin: 0 2px;
}

.link__contact-email:link .envelope,
.link__contact-email:link .facebook-f,
.link__contact-email:link .rosemary,
.link__contact-fb:link .envelope,
.link__contact-fb:link .facebook-f,
.link__contact-fb:link .rosemary,
.link__rosemary:link .envelope,
.link__rosemary:link .facebook-f,
.link__rosemary:link .rosemary {
  -webkit-transition: .25s ease-out;
  transition: .25s ease-out;
}

.link__contact-email:hover .envelope,
.link__contact-email:hover .facebook-f,
.link__contact-email:hover .rosemary,
.link__contact-fb:hover .envelope,
.link__contact-fb:hover .facebook-f,
.link__contact-fb:hover .rosemary,
.link__rosemary:hover .envelope,
.link__rosemary:hover .facebook-f,
.link__rosemary:hover .rosemary {
  fill: #7d7373;
  -webkit-transition: .15s ease-in;
  transition: .15s ease-in;
}

.link__contact-email {
  width: 28px;
  height: 16px;
}

.link__contact-fb {
  width: 24px;
  height: 24px;
}

.link__rosemary {
  width: 81px;
  height: 26px;
}

.envelope {
  width: 28px;
  height: 16px;
  fill: #5f5757;
  display: block;
}

.facebook-f {
  width: 24px;
  height: 24px;
  fill: #5f5757;
}

.rosemary {
  width: 81px;
  height: 26px;
  fill: #5f5757;
}

.rm-name {
  width: 146px;
  height: 24px;
  top: 23px;
  fill: #535a5a;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  display: block;
}

.wrapper {
  max-width: 640px;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px;
}

.clearfix::after {
  display: block;
  content: "";
  clear: both;
}

.debug {
  height: 100vh;
  position: fixed;
  width: 100%;
}

.debug > div {
  height: inherit;
  max-width: 640px;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px;
}

.debug > div > div {
  height: inherit;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}

.debug > div > div > div {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 10px;
  margin-right: 10px;
  width: calc(16.6666666667% - 20px);
  height: inherit;
  outline: 1px solid #999;
  background: rgba(0, 0, 0, 0.1);
}

.visuallyhidden:not(:focus):not(:active) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

@media (min-width: 420px) {
  .rm-name {
    width: 180px;
    height: 29px;
    top: 34px;
  }
}

@media (min-width: 540px) {
  .rm-name {
    width: 242px;
    height: 39px;
    top: 43px;
  }
}

@media (min-width: 640px) {
  .rm-name {
    width: 306px;
    height: 49px;
    top: 45px;
  }
}

@media screen and (min-width: 576px) {
  .wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }
  .debug > div {
    padding-left: 15px;
    padding-right: 15px;
  }
}
