body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

.feature-block-error .ant-form-item-control-input { display: none; }

.news-horizontal {
  z-index: 100;
  position: fixed;
  bottom: 1vh;
  width: 100%;
  padding: 0 2%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.news-horizontal__text_with_buttons {
  background: #56379d;
  color: white;
  gap: 2vw;
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
}

.news-horizontal__text {
  display: flex;
  background: #56379d;
  color: white;
  justify-content: center;
  align-items: center;
}

.news-horizontal__content {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  background: #56379d;
  padding: 3%;
  border-radius: 10px;
  position: relative;
}

.news-horizontal__header {
  position: absolute;
  top: 16px;
  right: 16px;
}

.news-horizontal__close {
  background: #56379d;
  color: white;
  border: #56379d;
  font-size: 16px;
  font-family: cursive;
  font-weight: bold;
}

.news-horizontal__close:hover {
  color: #a3a3a3;
  cursor: pointer;
}

.news-horizontal__close:focus {
  outline: none;
  color: white;
  border: #56379d;
}

.news-horizontal__buttons {
  display: flex;
  flex-direction: row;
  margin-top: auto;
  gap: 1vh;
}

.news-horizontal__button {
  display: flex;
  width: 100%;
  min-width: 7vw;
  justify-content: center;
  align-items: center;
  border-radius: 7px;
  background: #8554d7;
  color: white;
  border: #8554d7;
  height: 7vh;
  font-weight: bold;
}

.news-horizontal__button:hover {
  color: #000;
}

.news-horizontal__button:focus {
  outline: none;
  color: white;
  border: #8554d7;
}

@media (max-width: 1000px) {
  .news-horizontal {
    padding: 0 7.5%;
  }
}

.news-modal {
  z-index: 100;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #000;
  display: flex;
  flex-direction: row;
  padding: 2.5%;
  gap: 16px;
  border-radius: 10px;
  max-width: 60%;
  width: 100%;
}

.news-modal__content {
  display: flex;
  flex-direction: row;
  height: 100%;
  gap: 16px;
}

.news-modal__header {
  position: absolute;
  height: 4vh;
  top: 16px;
  right: 16px;
}

.news-modal__next,
.news-modal__back {
  border: #000;
  color: white;
  background: #000;
  font-size: 22px;
  font-family: cursive;
  font-weight: bold;
}

.news-modal__next:hover,
.news-modal__back:hover {
  color: #a3a3a3;
  cursor: pointer;
}

.news-modal__next:focus,
.news-modal__back:focus {
  outline: none;
  border: #000;
  color: white;
  background: #000;
}

.news-modal__text_with_buttons {
  color: white;
  background: #000;
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: space-between;
  height: 100%;
}

.news-modal__image {
  border-radius: 7px;
  max-height: 50vh;
  max-width: 28vw;
  object-fit: cover;
}

.news-modal__close {
  border: #000;
  color: white;
  background: #000;
  font-size: 16px;
  font-family: cursive;
  font-weight: bold;
}

.news-modal__close:hover {
  color: #a3a3a3;
  cursor: pointer;
}

.news-modal__close:focus {
  outline: none;
  border: #000;
  color: white;
  background: #000;
}

.news-modal__buttons {
  display: flex;
  flex-direction: row;
  gap: 1vh;
}

.news-modal__button {
  background: #6f42c1;
  border: #6f42c1;
  color: white;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  border-radius: 7px;
  height: 7vh;
  font-weight: bold;
}

.news-modal__button:hover {
  color: #000;
}

.news-modal__button:focus {
  outline: none;
  background: #6f42c1;
  border: #6f42c1;
  color: white;
}

@media (max-width: 1000px) {
  .news-modal {
    max-width: 85%;
  }
  .news-modal__content {
    max-width: 100%;
    flex-direction: column;
  }
  .news-modal__image {
    max-height: 50vh;
    max-width: inherit;
  }
}

.news-popup {
  z-index: 99;
  position: fixed;
  right: 2%;
  bottom: 1vh;
  max-width: 40%;
}

.news-popup__content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  height: 100%;
  background: #56379d;
  border-radius: 10px;
  padding: 2.5%;
  width: 100%;
  position: relative;
  gap: 16px;
}

.news-popup__text_with_buttons {
  color: white;
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: space-between;
  height: 100%;
}

.news-popup__image {
  border-radius: 8px;
  max-height: 40vh;
  max-width: 50%;
  object-fit: cover;
}

.news-popup__header {
  position: absolute;
  top: 16px;
  right: 16px;
}

.news-popup__close {
  background: transparent;
  color: white;
  border: hsl(258, 48%, 42%);
  font-size: 16px;
  font-family: cursive;
  font-weight: bold;
}

.news-popup__close:hover {
  color: #a3a3a3;
  cursor: pointer;
}

.news-popup__close:focus {
  outline: none;
  color: white;
  border: #56379d;
}

.news-popup__buttons {
  display: flex;
  flex-direction: row;
  gap: 1vh;
}

.news-popup__button {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  border-radius: 7px;
  background: #8554d7;
  border: #8554d7;
  color: white;
  height: 7vh;
  font-weight: bold;
}

.news-popup__button:hover {
  color: #000;
}

.news-popup__button:focus {
  outline: none;
  color: white;
  border: #8554d7;
}

@media (max-width: 1000px) {
  .news-popup {
    padding: 0 7.5%;
    right: auto;
    max-width: 100%;
  }
  .news-popup__content {
    max-width: 100%;
    flex-direction: column;
  }
  .news-popup__image {
    max-height: 55vh;
    max-width: none;
  }
}

