.participa {
  font-size: 1rem;
  /*
  display: grid;
  grid-template-areas: "search content";
  grid-template-columns: 50% 50%;
  grid-template-rows: 100%;
*/
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.signup {
  font-size: 1rem;
  display: flex;
  flex-direction: row;
  max-height: 100vh;
  height: 100vh;
  width: 100%;
}

.participa .search {
  width: 50%;
  background: #E03326;
  color: #FFF;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.participa .search .logo {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.participa .search .logo img {
  height: 180px;
}

.participa .search .title {
  font-size: 2.5rem;
  text-transform: uppercase;
  margin: 1rem 0;
}

.participa .content {
  width: 50%;
  background: #FFF;
}

.form-container {
  color: #E03326;
  text-align: center;
}

.form-container form {
  width: 90%;
  max-width: 600px;
  margin: 0 auto;
}

.form-container input,
.form-container select {
  width: 100%;
  padding: 10px 0.5rem;
  color: #000;
  border: 1px solid #E03326;
  margin: 0 0 20px;
}

.form-container hr {
  margin: 4rem 12rem;
  border: 1px solid #E03326;
}

.form-container .form-button {
  text-transform: uppercase;
  background-color: #E03326;
  padding: 10px 0.5rem;
  border: 1px solid #E03326;
  text-decoration: none;
  font-size: 14px;
  color: #fff;
  font-family: 'Variable_Bold';
  cursor: pointer;
  display: inline-block;
}

.form-container .form-button span {
  vertical-align: middle;
  margin-right: 10px;
  font-size: 0.8rem;
}

.form-container .form-button img {
  vertical-align: middle;
  height: 0.5rem;
}

.participa .content .bracket__container {
  margin-bottom: 3rem;
}

.participa .search,
.participa .content {
  padding: 9rem 10% 4rem 10%;
  box-sizing: border-box;
}

.participa .search .content {
  font-size: 1rem;
  background: none;
  padding: 0;
  width: 100%;
}

.participa .filter {
  margin: 0.2rem 0.5rem;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.participa .filter.all {
  align-self: baseline;
  display: inline-block;
}

.participa .filter.active {
  border-bottom: solid 1px #FFF;
  font-family: 'Variable_Black';
}

.list span {
  font-size: 1.1rem;
  line-height: 1.2rem;
  text-transform: uppercase;
  z-index: 1;
}

.list {
  list-style: none;
  padding: 0;
  flex-grow: 2;
  overflow: auto;
}


/* Handle */
::-webkit-scrollbar-thumb {
  border: solid 1px #FFF;
  border-radius: 5px;
  background: #E03326;
}

.list .list-item {
  cursor: pointer;
  border-bottom: 1px solid #FFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0.5rem;
  position: relative;
  margin-right: 25px;
}

.list .list-item::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  bottom: 0;
  background: #FFF;
  transition: all 1s ease;
}

.list .list-item img {
  height: 0.8rem;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.list .list-item.active {
  color: #E03326;
  font-family: 'Variable_Black';
}

.list .list-item.active::before {
  top: 0;
  bottom: 0;
}

.related__item_content .button {
  box-sizing: border-box;
  padding: 5% 10%;
}

.list .list-item.active img,
.related__item_content .button img {
  filter: brightness(50%) sepia(100) saturate(100) hue-rotate(25deg);
  opacity: 1;
}


.related__item_content .button img {
  width: 80%;
}

.list .list-item:hover img {
  opacity: 1;
}

.participa .content .title {
  color: #E03326;
  border-radius: 3px;
  font-size: 1.4rem;
  margin: 0 1rem;
  position: relative;
  padding: 1rem 0;
}

.participa .content .title .author {
  display: block;
  color: #C1C3C6;
  text-align: left;
  font-size: 1rem;
  margin-top: 1rem;
}

.participa .related {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.participa .related .column {
  width: 49%;
}

related__item_content .column img {
  width: 100%;
}

.participa .related .column.right {
  height: 10vh;
}

.participa .related__item {
  background: #E03326;
  position: relative;
  margin-bottom: 0.5rem;
}

.participa .related__item .cover {
  object-fit: cover;
  filter: grayscale(1);
  height: 100%;
  width: 100%;
}

.participa .content .back__btn {
  display: none;
}

.participa .related__item:hover .related__item_content {
  opacity: 1;
}

.related__item_content p {
  color: #FFF;
  grid-area: title;
  font-size: 2rem;
  text-transform: uppercase;
  padding: 0 5%;
  box-sizing: border-box;
  text-align: center;
}

.related__item_content .button {
  align-items: flex-end;
  box-sizing: border-box;
  grid-area: button;
  display: flex;
  justify-content: flex-end;
  padding: 0 5%;
}

.related__item_content .button a {
  background: #FFF;
}

@media screen and (min-width: 769px) {

  .participa {
    overflow: hidden;
  }

  .related__item_content {
    background: rgba(224, 51, 38, 0.9);
    bottom: 0;
    display: grid;
    grid-template-areas:
      "."
      "title"
      "button";
    grid-column: 100%;
    grid-template-rows: 20% 40% 20%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: opacity ease-out 0.5s;
    opacity: 0;
  }

  .participa .content {
    overflow-y: auto;
  }
}

@media screen and (max-width: 768px) {
  .participa {
    font-size: 1rem;
    display: grid;
    grid-template-areas: "search" "content";
    grid-template-columns: 100%;
    grid-template-rows: auto auto;
    max-height: 1000vh;
    height: auto;
    width: 100%;
  }

  .participa .search {
    width: 100%;
    height: 100%;
    padding-top: 5rem;
  }

  .participa .content {
    width: 100%;
    padding: 4rem 10% 4rem 10%;
  }

  /*
  .participa .content {
    display: none;
  }
*/

  .participa .content .back__btn {
    color: #E03326;
    display: inline-block;
    margin-bottom: 1rem;
  }

  .participa .content.visible {
    bottom: 0;
    display: block;
    left: 0;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    height: 100%;
  }

  .participa .content .title {
    font-size: 1.1rem;
    margin: 0 -1.3rem;
  }

  .participa .related {
    flex-direction: column;
  }

  .participa .related .column {
    width: 100%;
  }

  .related__item_content p {
    font-size: 1rem;
  }

  .related__item_content {
    align-items: center;
    display: flex;
    flex-direction: row;
    position: relative;
    justify-content: space-between;
  }

  .related__item_content p {
    color: #E03326;
    text-align: left;
    font-size: 0.8rem;
    padding: 0;
  }

  .participa .related__item {
    background: #FFF;
  }

  .related__item_content .button a {
    width: 2rem;
  }


}