body {
  margin: 0; }

.certeficate-header {
  background-color: #212121;
  color: #ffffff;
  height: 191px;
  padding-top: 163px;
  padding-bottom: 0;
  position: relative;
  z-index: 0; }
  .certeficate-header__back-image {
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: url("/static/top_img.jpg");
    background-repeat: no-repeat;
    background-size: 1927px;
    background-position: center 96%; }
    .certeficate-header__back-image:after {
      content: '';
      position: absolute;
      background-color: rgba(0, 0, 0, 0.6);
      top: 0;
      left: 0;
      width: 100%;
      height: 100%; }
  .certeficate-header__logo {
    position: absolute;
    top: 32px;
    left: 64px;
    width: 219px; }
    @media screen and (max-width: 1024px) {
      .certeficate-header__logo {
        left: 24px; } }
    @media screen and (max-width: 440px) {
      .certeficate-header__logo {
        top: 42px;
        left: 16px;
        width: 146px; } }
  .certeficate-header__courses-link a {
    text-decoration: none;
    color: #ffffff;
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    position: absolute;
    top: 33px;
    left: 350px;
    width: 219px; }
    @media screen and (max-width: 1024px) {
      .certeficate-header__courses-link a {
        left: 324px; } }
    @media screen and (max-width: 440px) {
      .certeficate-header__courses-link a {
        top: 92px;
        left: 19px;
        font-size: 16px; } }
  .certeficate-header__certificate-link a {
    text-decoration: none;
    color: #ffffff;
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    position: absolute;
    top: 33px;
    left: 550px;
    width: 219px; }
    @media screen and (max-width: 1024px) {
      .certeficate-header__certificate-link a {
        left: 524px; } }
    @media screen and (max-width: 440px) {
      .certeficate-header__certificate-link a {
        top: 192px;
        left: 19px;
        font-size: 16px; } }

.certeficate-header__name {
  font-family: "Open Sans", sans-serif;
  font-size: 96px;
  width: 720px;
  font-weight: 800;
  margin: auto;
  line-height: 96px;
  word-wrap: break-word;
  text-align: center; }
  @media screen and (max-width: 1024px) {
    .certeficate-header__name {
      margin: 0 auto; } }
  @media screen and (max-width: 767px) {
    .certeficate-header__name {
      margin: 0 auto;
      font-size: 38px;
      width: 288px;
      line-height: 40px; } }

@keyframes copyMessage {
  0% {
    opacity: 0; }
  10%,
  90% {
    opacity: 1; }
  100% {
    opacity: 0; } }

.social-media-share {
  display: flex;
  justify-content: space-between;
  width: 220px;
  max-width: 100%;
  margin: 30px 0; }
  .social-media-share button {
    position: relative;
    margin: 0;
    padding: 0;
    cursor: pointer;
    background-color: transparent;
    outline: none;
    border: none; }
  .social-media-share img,
  .social-media-share a {
    display: block; }
  .social-media-share .copy-link-share.show::before {
    content: 'Copied!';
    display: block;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: 1s ease copyMessage;
    animation-iteration-count: 1; }

.certificates {
  margin: 80px auto; }
  .certificates__container {
    max-width: 1170px;
    box-sizing: content-box;
    padding: 0 15px;
    margin: auto; }
  .certificates__content {
    display: flex;
    flex-wrap: wrap;
    flex-grow: 1;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 1px 0px 21px 0px rgba(34, 60, 80, 0.2); }
  .certificates__image {
    flex-basis: 100%; }
    @media (min-width: 768px) {
      .certificates__image {
        flex-basis: 60%; } }
    .certificates__image img {
      width: 100%;
      display: block; }
  .certificates__search {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 300px; }
    @media (min-width: 768px) {
      .certificates__search {
        width: 40%; } }
  .certificates__field {
    position: relative;
    display: flex; }
  .certificates__input {
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    height: 22px;
    border: none;
    border-bottom: 1px solid #757575;
    background-color: #fff;
    transition: border-bottom-color 0.2s ease;
    outline: none;
    margin: 25px 0;
    padding: 5px 20px 5px 0;
    width: 200px;
    max-width: 100%; }
    .certificates__input:focus {
      border-bottom-color: #212121; }
    .certificates__input:focus + label,
    .certificates__input:not(:placeholder-shown) + label {
      transform: translateY(-200%);
      font-size: 12px; }
  .certificates__submit {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    border: none;
    outline: none;
    background-color: transparent;
    background-image: url("/static/search.png");
    background-size: cover;
    padding: 0;
    cursor: pointer; }
  .certificates__placeholder {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    transition: 0.2s transform ease, 0.2s font-size ease;
    color: #757575;
    pointer-events: none;
    cursor: text;
    margin: 0; }
  .certificates__error {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    margin: 0;
    position: absolute;
    bottom: 0;
    color: #dc3545; }
  .certificates__share-buttons {
    width: 220px;
    max-width: 100%; }

