@font-face {
  font-family: plumb;
  font-display: swap;
  src: url("../fonts/plumb-light.woff2") format("woff2"), url("../fonts/plumb-light.ttf2") format("ttf2");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: plumb;
  font-display: swap;
  src: url("../fonts/plumb-black.woff2") format("woff2"), url("../fonts/plumb-black.ttf2") format("ttf2");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: Roboto;
  font-display: swap;
  src: url("../fonts/Roboto-Medium.woff2") format("woff2"), url("../fonts/Roboto-Medium.ttf2") format("ttf2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: plumb;
  font-display: swap;
  src: url("../fonts/plumb-medium.woff2") format("woff2"), url("../fonts/plumb-medium.ttf2") format("ttf2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: Roboto;
  font-display: swap;
  src: url("../fonts/Roboto-Regular.woff2") format("woff2"), url("../fonts/Roboto-Regular.ttf2") format("ttf2");
  font-weight: 400;
  font-style: normal;
}

footer .wrapper {
  padding: 0 20px;
}

.partners {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 21px 0 35px 0;
  color: black;
  row-gap: 30px;
}

.partners__box {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  text-decoration: none;
  color: black;
}

.partners__box .partner-position {
  height: 30px;
  font-size: 9px;
  max-width: 140px;
  display: block;
}
.partners .partners__box:nth-child(2) img {
  transform: translate(2%, 10%);
}

.partners .partners__box:nth-child(4) img {
  transform: translate(2%, 10%);
}

.partners .partners__box:nth-child(5) img {
  transform: translate(5%, 5%);
}

.partners .partners__box:nth-child(6) img {
  transform: translate(5%, 30%);
}

.partners .partners__box:nth-child(7) img {
  transform: translate(0%, 35%);
}

.own-content .inner-wrapper {
  display: flex;
  justify-content: space-between;
  -moz-column-gap: 100px;
       column-gap: 100px;
}

.own-content .red-square {
  content: "";
  position: absolute;
  width: 370px;
  height: 350px;
  left: 0;
  top: 0;
  background: #E30613;
  z-index: 1;
}

.own-content .left-block {
  max-width: 240px;
  position: relative;
  z-index: 2;
}

.own-content .logo {
  padding-top: 35px;
}

.own-content .logo .logo-name {
  font-family: plumb;
  font-weight: 500;
  font-size: 15px;
  max-width: 140px;
  position: relative;
  line-height: 98%;
}

.own-content .logo .logo-name:before {
  position: absolute;
  content: url(../img/logo.png);
  left: -50px;
}

.own-content .title {
  margin-top: 40px;
  text-transform: uppercase;
}

.own-content .title .title-top {
  display: block;
  font-size: 16px;
  font-weight: 500;
  font-family: plumb;
}

.own-content .title .title-main {
  line-height: 95%;
  font-weight: 900;
  font-family: plumb;
  font-size: 133px;
  letter-spacing: -5px;
  position: relative;
  left: -7px;
}

.own-content .title .title-bottom {
  font-weight: 900;
  font-family: plumb;
  font-size: 42px;
}

.own-content .date {
  padding-top: 75px;
  font-size: 35px;
  margin: 0;
  font-weight: 500;
  font-family: plumb;
}

.own-content .date span {
  color: #6BCEF5;
  font-weight: 300;
}

.own-content .place {
  font-size: 21px;
  margin: 0;
  margin-top: 5px;
  font-weight: 500;
  font-family: plumb;
}

.own-content .right-block {
  max-width: 463px;
  flex: 1;
  padding-top: 35px;
}

.own-content .right-block .text {
  font-size: 11.6px;
  line-height: 134%;
}

.own-content .right-block .text:nth-child(2) {
  margin-top: 17px;
}

.own-content .right-block .text:nth-child(3) {
  margin-top: 20px;
}

.own-content .right-block-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.own-content .right-block-head .archive {
  font-weight: 500;
  text-decoration: none;
  color: #53C7F4;
  font-size: 9px;
}

.own-content .text-content {
  margin-top: 37px;
  text-align: justify;
}

.themes {
  margin-top: 25px;
  font-family: Roboto;
  font-weight: 400;
  position: relative;
  z-index: 2;
}

.themes__head {
  display: flex;
  -moz-column-gap: 35px;
       column-gap: 35px;
  font-size: 17.5px;
}

.themes__head .theme-title {
  color: #E30613;
}

.themes__head .download {
  text-decoration: none;
  color: #009FE3;
}

.themes__box {
  display: flex;
  flex-wrap: wrap;
  row-gap: 35px;
  -moz-column-gap: 45px;
       column-gap: 45px;
  margin-top: 25px;
}

.themes .theme {
  position: relative;
  padding-left: 15px;
}

.themes .theme:before {
  position: absolute;
  content: "";
  width: 9px;
  height: 9px;
  background-color: #E30613;
  border-radius: 50%;
  left: 0px;
  top: 5px;
}

.themes .col-1 {
  max-width: 152px;
}

.themes .col-2 {
  max-width: 125px;
}

.themes .col-3 {
  max-width: 165px;
}

.themes .col-4 {
  max-width: 135px;
}

.contacts {
  margin-top: 62px;
  padding-bottom: 30px;
  position: relative;
  z-index: 2;
}

.contacts .download {
  display: none;
}

.contacts__box {
  display: flex;
  -moz-column-gap: 47px;
       column-gap: 47px;
  flex-wrap: wrap;
  max-width: 660px;
  line-height: 100%;
}

.contacts .contact:nth-child(2) {
  position: relative;
}

.contacts .contact:nth-child(2)::before,
.contacts .contact:nth-child(2)::after {
  position: absolute;
  width: 1px;
  height: 100%;
  content: "";
  background: white;
}

.contacts .contact:nth-child(2)::before {
  left: -35px;
}

.contacts .contact:nth-child(2)::after {
  right: -15px;
  top: 0;
}

.contacts .contact {
  font-size: 12px;
}

.contacts .contact-question {
  max-width: 185px;
  margin: 0;
  line-height: 130%;
}

.contacts .contact-person {
  display: block;
  margin-bottom: -1px;
}

.contacts a {
  display: block;
  color: white;
  text-decoration: none;
}

.contacts .numbers {
  display: flex;
  margin-top: 2px;
}

.popup {
  position: fixed;
  max-width: 600px;
  width: 100%;
  background: white;
  z-index: 4;
  top: -100%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s;
}

.close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.close-button::after,
.close-button:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 2px;
  top: 50%;
  background: black;
}

.close-button:before {
  transform: rotate(45deg);
}

.close-button::after {
  transform: rotate(-45deg);
}

.popup.active {
  top: 50%;
}

.archive-list {
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.archive-link {
  color: #1b75bb;
  font-size: 18px;
  font-family: Roboto;
  font-weight: 400;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  margin: 0;
  color: white;
  font-family: Roboto;
  font-weight: 4;
}

h1,
h2,
h3 {
  margin: 0;
}

main {
  position: relative;
  background-image: url(../img/bg.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.bottom-decor {
  position: absolute;
  bottom: 0;
}

.bottom-decor img {
  width: 100%;
}

.right-decor {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  transition: all 0.5s;
}

.right-decor img {
  height: 100%;
}

.wrapper {
  max-width: 1024px;
  margin: auto;
  position: relative;
}

.inner-wrapper {
  max-width: 825px;
  padding: 0 75px;
}

@media (min-width: 301px) and (max-width: 799px) {
  footer .wrapper {
    padding: 0;
  }

  .partners {
    flex-direction: column;
  }

  .partners__box {
    max-width: calc(100% - 80px);
    padding-left: 40px;
  }

  .partners__box span {
    margin-bottom: 10px;
  }

  .own-content .inner-wrapper {
    flex-direction: column;
  }

  .own-content .red-square {
    width: 100%;
    height: 290px;
  }

  .own-content .logo {
    padding-left: 80px;
  }

  .own-content .title {
    padding-left: 80px;
  }

  .own-content .title .title-top {
    font-size: 12px;
  }

  .own-content .title .title-main {
    font-size: 97px;
    line-height: 85%;
  }

  .own-content .title .title-bottom {
    font-size: 31px;
  }

  .own-content .left-block {
    max-width: none;
  }

  .own-content .date,
  .own-content .place {
    background-color: #184B71;
    padding-left: 80px;
  }

  .own-content .date {
    padding-top: 30px;
    margin-top: 35px;
    font-size: 26px;
  }

  .own-content .place {
    padding-bottom: 30px;
    font-size: 18px;
    margin: 0;
  }

  .own-content .right-block {
    max-width: calc(100% - 80px);
    padding-left: 40px;
    color: #1F79BC;
  }

  .themes__head {
    background-color: #184B71;
    justify-content: center;
  }

  .themes__head .theme-title {
    padding: 22px 0;
  }

  .themes__head .download {
    display: none;
  }

  .themes__box {
    flex-direction: column;
    max-width: calc(100% - 80px);
    padding-left: 40px;
    row-gap: 20px;
  }

  .themes .theme {
    color: black;
    max-width: none;
    font-size: 14px;
    font-weight: 500;
  }

  .contacts {
    color: black;
    margin-top: 40px;
  }

  .contacts .contact {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 14px;
  }

  .contacts .download {
    display: flex;
    background-color: #184B71;
    font-size: 18px;
    justify-content: center;
  }

  .contacts .download a {
    padding: 22px 0;
    color: #009fe3;
  }

  .contacts a {
    color: black;
  }

  .contacts__box {
    flex-direction: column;
    max-width: calc(100% - 80px);
    padding-left: 40px;
    row-gap: 50px;
    margin-top: 40px;
  }

  .contacts .contact:nth-child(2)::before,
  .contacts .contact:nth-child(2)::after {
    position: absolute;
    width: 100%;
    height: 1px;
    content: "";
    background: black;
  }

  .contacts .contact:nth-child(2)::before {
    top: -15px;
    left: 0;
  }

  .contacts .contact:nth-child(2)::after {
    top: auto;
    bottom: -15px;
    left: 0;
  }

  .bottom-decor {
    display: none;
  }

  .main {
    background: none;
  }

  .wrapper {
    width: 100%;
  }

  .inner-wrapper {
    width: 100%;
    padding: 0;
  }
}

@media (min-width: 301px) and (max-width: 499px) {
  .contacts {
    color: black;
    margin-top: 40px;
  }

  .contacts .contact {
    flex-direction: column;
  }

  .contacts .download {
    display: flex;
    background-color: #184B71;
    font-size: 18px;
    justify-content: center;
  }

  .contacts .download a {
    padding: 22px 0;
    color: #009fe3;
  }

  .contacts a {
    color: black;
  }

  .contacts__box {
    flex-direction: column;
    max-width: calc(100% - 80px);
    padding-left: 40px;
    row-gap: 50px;
    margin-top: 40px;
  }

  .contacts .contact:nth-child(2)::before,
  .contacts .contact:nth-child(2)::after {
    position: absolute;
    width: 100%;
    height: 1px;
    content: "";
    background: black;
  }

  .contacts .contact:nth-child(2)::before {
    top: -15px;
    left: 0;
  }

  .contacts .contact:nth-child(2)::after {
    top: auto;
    bottom: -15px;
    left: 0;
  }
}

@media (min-width: 1261px) and (max-width: 1719px) {
  .right-decor {
    right: -18%;
  }
}

@media (min-width: 301px) and (max-width: 1259px) {
  .right-decor {
    display: none;
  }
}