/* Font */
@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:400,700|Roboto:400,700&display=swap');
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*:after,
*:before {
  box-sizing: border-box;
}
p {
  word-wrap: break-word;
}
img {
  border: none;
}
iframe {
  border: none !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute;
  display: none;
}
a {
  text-decoration: none;
  cursor: pointer !important;
}
/* Common  */
html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-width: 300px;
  min-height: 480px;
  font: 2rem/1.3 'Roboto', 'Arial', sans-serif;
  color: #fff;
}
.center {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 2rem;
}
.wrapper {
  height: 100%;
}
.header {
  padding: 2rem 0;
  background: #141519;
}
.logo {
  display: inline-block;
  max-width: 100%;
  max-height: 42px;
}
/* Slogan section */
.slogan-section {
  background: #141519;
  text-align: center;
  padding-bottom: 1.5rem;
}
.highlight {
  color: #1c40f4;
}
.slogan-header {
  margin-bottom: 3rem;
}
.slogan-content {
  margin-bottom: 1.5rem;
}
.slogan-footer {
  display: none;
}
.slogan-title {
  font: 700 7rem 'Roboto Condensed', 'Roboto', sans-serif;
  color: #f4831c;
}
.slogan-description {
  color: #fff;
  font-size: 4rem;
}
/* Buttton */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 1.5rem;
  border: 2px solid #1c40f4;
  border-radius: 4px;
  background: #1c40f4;
  color: #fff;
  font-size: 2.6rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.btn:hover {
  background: #0d228a;
  border-color: #0d2dcc;
}
/* Full bg */
.registration-section {
  background: #141519;
  padding: 10rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Main */
.main-wrapper {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  padding: 5rem 2rem;
}
/* Girl images */
.girl-list {
  display: flex;
  margin-bottom: 1rem;
}
.girl-item {
  width: 20%;
  border: 2px solid #1c40f4;
  border-right: none;
}
.girl-item:last-child {
  border-right: 2px solid #1c40f4;
}
/* Main */
.main {
  background: #fff;
  color: #000;
}
.main-section {
  flex: 1;
  margin-right: 4rem;
}
/* Gallery */
.gallery-block {
  display: flex;
  padding: 2rem;
  background: #fff;
  box-shadow: 0px 4px 5.3rem 0px rgba(0, 0, 0, 0.2);
  margin-bottom: 10rem;
}

.gallery-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-right: 2rem;
}
.gallery-item:last-child {
  margin-right: 0;
}
.gallery-image {
  display: block;
  width: 100%;
}
.gallery-header {
  position: relative;
}
.gallery-link {
  color: #000;
  font-weight: 500;
  transition: all 0.35s ease-in;
}

.gallery-link:hover{
  text-decoration: underline;
}

.gallery-main {
  padding: 1rem;
  text-align: center;
}

.gallery-btn {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.35s ease-in;
}
.gallery-btn span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 1.5rem;
  border: 2px solid #1c40f4;
  border-radius: 4px;
  background: #1c40f4;
  color: #000;
  font-size: 2.6rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.075, 0.82, 0.165, 1);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 120px;
}
.gallery-btn span:hover {
  background: #e68a00;
  border-color: #e68a00;
}
.gallery-btn:hover {
  opacity: 1;
}
/* Post */
.post-item {
  display: flex;
  margin-bottom: 8rem;
}
.post-item:last-child {
  margin-bottom: 0;
}
.post-text {
  margin-right: 2rem;
}
.post-main {
  margin-right: 2rem;
}
.post-header,
.post-main {
  margin-bottom: 2rem;
}
.post-title {
  font-size: 3.6rem;
  line-height: 1.2;
  color: #676767;
  margin-top: -1rem;
}
.post-description {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.post-description:last-child {
  margin-bottom: 0;
}
/* sidebar-section */
.sidebar-section {
  flex: 0 1 300px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
/* Banner */
.banner-link {
  display: flex;
  width: 100%;
}
/* Offers */
.offers-block {
  font: 400 1.8rem/1.6 'Myriad Pro', 'Roboto', 'Arial', sans-serif;
}
.offers-header {
  margin-bottom: 2rem;
}
.offers-title {
  color: #1c40f4;
  font-size: 2.4rem;
}
.offers-link {
  display: block;
  color: #000;
  margin-bottom: 3rem;
}
.offers-link:last-child {
  margin-bottom: 0;
}
/* Footer */
.footer {
  padding: 4rem 0;
  background: #141519;
}
/* Links block */
.footer-links-block {
  display: flex;
  color: #e0e0e0;
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  margin: 0 auto 4rem;
}
.link-col {
  width: 15%;
  margin-right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-logo {
  width: 25%;
  margin-right: 3rem;
}
.footer-description {
  width: 25%;
  font: 400 1.6rem/1.6 'Myriad Pro', 'Roboto', 'Arial', sans-serif;
}
.link-item {
  display: inline-block;
  font-size: 1.8rem;
  line-height: 2;
  color: #e0e0e0;
  margin-bottom: 5px;
}
.link-item:last-child {
  margin-bottom: 0;
}
.link-item:hover {
  color: #c7c7c7;
}
/* Copyright */
.copyright-block {
  padding: 1rem;
  text-align: center;
  font: 1.6rem/1.5 'Roboto Condensed', 'Roboto', sans-serif;
}
/* @Media */
@media (max-width: 1560px) {
  html {
    font-size: 57.5%;
  }
}
@media (max-width: 1360px) {
  html {
    font-size: 55%;
  }
}
@media (max-width: 1170px) {
  html {
    font-size: 52.5%;
  }
}
@media (max-width: 960px) {
  html {
    font-size: 50%;
  }
  .main-section {
    margin: 0;
  }
  .main-wrapper {
    flex-direction: column;
  }
  .sidebar-section {
    flex-direction: column;
    align-items: center;
    flex: 1 1 auto;
  }
  .banner-block {
    margin: 4rem auto;
  }
  .header {
    padding: 1rem 0;
    text-align: center;
  }
  .header .logo {
    display: block;
    margin: 0 auto;
  }
  .gallery-block {
    margin-bottom: 4rem;
  }
  .slogan-section {
    background: #141519 url(girl-gallery.jpg) no-repeat center top / cover;
  }
  .slogan-footer {
    display: block;
  }
  .slogan-header {
    margin-bottom: 1rem;
  }
  .slogan-title {
    font-size: 5.6rem;
  }
  .slogan-description {
    font-size: 2.7rem;
  }
  .post-item {
    margin-bottom: 4rem;
  }
  .post-item:last-child {
    margin-bottom: 0;
  }
  .post-text {
    padding-left: 2rem;
    flex: 1 1 100%;
  }
  .post-images {
    padding-right: 2rem;
  }
  .post-title {
    font-size: 2.8rem;
  }
  .registration-section {
    display: none;
  }
  .gallery-btn span {
    min-width: auto;
    font-size: 2rem;
  }
  .footer-links-block {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .footer-logo {
    margin: 0 0 2rem;
    width: 100%;
  }
  .link-col {
    flex: 1 1 30%;
    width: 30%;
    margin: 0;
  }
  .footer-description {
    order: -1;
    width: 100%;
    margin-bottom: 4rem;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 50%;
  }
  .gallery-block {
    flex-direction: column;
  }
  .post-images img {
    max-width: 100%;
  }
  .gallery-item:nth-child(even) .gallery-btn {
    opacity: 1;
  }
}
@media (max-width: 568px) {
  html {
    font-size: 45%;
  }
}
@media (max-width: 360px) {
  html {
    font-size: 42.5%;
  }
  .gallery-block {
    padding: 1rem;
  }
  .gallery-item {
    margin-right: 1rem;
  }
  .center,
  .main-wrapper {
    padding: 3rem 1rem;
  }
  .post-text {
    margin-right: 1rem;
    padding-left: 1rem;
  }
  .post-images {
    padding-right: 1rem;
  }
}