html,
.challenge-body
{
  width: 100%;
  height: 100%;
}
.challenge-content
{
  width: 100%;
  height: 100%;
}
.challenge-hero
{
  width: 100%;
  height: 800px;
  background: url('../images/challenge/challenge.jpg') no-repeat bottom center;
  background-size: cover;

  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;

  padding: 2rem 0 0 0;
}

.challenge-hero-title
{
  /*font-family: "Kablammo", sans-serif;*/
  font-family: "Amatic SC", sans-serif;
  font-size: 120px;
  font-weight: 700;
  /*
  display: block;
  padding: 0 2rem;
  */
  color: #ffffff;
}
.challenge-description
{
  font-family: 'Ysabeau Infant', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 110%;
  color: #000000;
}
.challenge-description
{
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}
.challenge-wrapper
{
  width: 100%;
  max-width: 1000px;
}
.timer-wrapper
{
  width: 100%;

  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;

  box-sizing: border-box;
  padding: 0 1rem 1rem 1rem;
}
.timer-title
{
  /*font-family: "Kablammo", sans-serif;*/
  font-family: "Amatic SC", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 64px;
  line-height: 22px;
  color: #000000;
}
.time-display
{
  /*font-family: "Kablammo", sans-serif;*/
  font-family: "Amatic SC", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 50px;
  line-height: 22px;
  color: #000000;
}


.challenge-users
{
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;

  box-sizing: border-box;
  padding: 2rem 0;
}
.challenge-users-list
{
  width: 100%;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 24px;
  grid-row-gap: 24px;
}
.challenge-users-list-item
{
  position: relative;

  width: 100%;
  height: 400px;

  border-radius: 8px;

  -webkit-box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.05);
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.05);

  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
}
.challenge-users-list-item-texts
{
  width: 100%;
  box-sizing: border-box;
  padding: 20px;
  background: rgba(255, 255, 255, 0);
  background: linear-gradient(180deg,rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 1) 100%);

  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.challenge-users-list-item-texts-item
{
  font-family: 'Ysabeau Infant', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  line-height: 22px;
  color: #ffffff;
  margin: 8px 0 0 0;
}
.challenge-users-list-item-texts-item:first-child
{
  font-weight: 700;
  font-size: 16px;
}
.actions
{
  width: 100%;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}
.actions-btn
{
  cursor: pointer;
  background: none;
  border: 0;
  box-sizing: border-box;
  padding: 1rem;
  transition: all 0.5s ease-out;
}
.actions-btn-icon-heart
{
  fill: none;
  stroke: #ef233c;
  transition: all 0.5s ease-out;
}
.actions-btn:hover .actions-btn-icon-heart
{
  fill: #ef233c;
  stroke: #ef233c;
}
.actions-btn-icon-share
{
  fill: none;
  stroke: #2b2d42;
  transition: all 0.5s ease-out;
}
.actions-btn:hover .actions-btn-icon-share
{
  fill: #2b2d42;
  stroke: #2b2d42;
}

.action-btn-like-active .actions-btn-icon-heart
{
  fill: #ef233c;
  stroke: #ef233c;
}

.ys
{
  box-sizing: border-box;
  padding: 1rem;
}
.ys .ya-share2__link
{
  background: #ffffff !important;
}


/* Стили для модального окна */
.c-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.c-modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.c-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
.thumbnail
{
  cursor: pointer;
}

/* Стили для модального окна */
.r-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.r-modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background: #ffffff;
    box-sizing: border-box;
    padding: 2rem;

    font-family: 'Ysabeau Infant', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 28px;
    line-height: 22px;
}

.r-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@media (min-width: 0px) and (max-width: 800px)
{
  .challenge-hero-title
  {
    text-align: center;
    font-size: 50px;
  }
  .timer-title,
  .time-display
  {
    text-align: center;
    font-size: 40px;
  }
  .challenge-wrapper
  {
    box-sizing: border-box;
    padding: 1rem;
  }
  .challenge-users-list
  {
        grid-template-columns: repeat(1, 1fr);
  }
}
