/* ===== APP ===== */

.social-network {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.social-network__title {
  width: 50%;
  color: #3d4b14;
  font-family: Raleway;
  font-size: 17px;
  text-align: left;
}

.social-network__filter-by {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /* justify-content: center; */
  padding: 0;
  list-style: none;
}

/* ===== FILTER BY ===== */
.filter-by__btn {
  color: #009039;
  text-decoration: none;
  background-color: transparent;
}

.filter-by__btn:hover {
  background-color: transparent !important;
}

.filter-by__btn:focus {
  background-color: transparent !important;
  box-shadow: none !important;
  color: #3d4b14 !important;
}

.filter-by__item {
  text-align: center;
  padding-left: 2.5px;
  padding-right: 2.5px;
  width: 200px;
}

.filter-by__item-title {
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-by__item-title--unselected {
  color: #009039;
}

.filter-by__item-title--selected {
  color: #3d4b14;
}

.filter-by__item-menu-border {
  border-radius: 2px;
  height: 4px;
  width: 100%;
}

.filter-by__item-menu-border--unselected {
  background-color: #009039;
}

.filter-by__item-menu-border--selected {
  background-color: transparent;
  border: 1px solid #8b9f37;
}

.filter-by__select {
  width: 335px;
  height: 50px;
  padding: 10px 10px 10px 20px;
  margin: auto;
  border-radius: 5px;
  color: #009039;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  font-family: "Raleway", sans-serif;
  background-color: transparent;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAxOCAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIgMkw5IDlMMTYgMiIgc3Ryb2tlPSIjMDA5MDM5IiBzdHJva2Utd2lkdGg9IjIuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgoK);
  background-repeat: no-repeat;
  background-position: right 20px center;
  -moz-appearance: none;
  -webkit-appearance: none;
  text-indent: 1px;
  text-overflow: "";
  border: 1px solid #e3dbca;
  display: block;
}

.filter-select__custom {
  display: block;
  height: 46px;
  width: min(100%, 350px);
  margin: 0 auto;

  border: 1px solid #e3dbca;
  border-radius: 42px;
  padding-left: 20px;
  color: #009039;

  background-color: transparent;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAxOCAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIgMkw5IDlMMTYgMiIgc3Ryb2tlPSIjMDA5MDM5IiBzdHJva2Utd2lkdGg9IjIuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgoK);
  background-repeat: no-repeat;
  background-position: right 20px center;

  -moz-appearance: none;
  -webkit-appearance: none;
  text-indent: 1px;

  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  font-family: "Raleway", sans-serif;
}

.filter-bullets-container {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  padding-bottom: 20px;
}

@media screen and (max-width: 980px) {
  .filter-bullets-container {
    overflow: auto;
    flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
  }
}

.filter-by__bullet {
  all: unset;
  box-sizing: border-box;
  width: fit-content;
  height: 40px;
  border-radius: 42px;
  cursor: pointer;
  background-color: #eee;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.filter-by__bullet:hover {
  transition: all 0.5s ease-in-out;
  opacity: 0.7;
}

.filter-by__bullet:focus {
  outline: 0;
}

.filter-by__bullet.selected {
  background-color: #1c9344 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* remover */
.filter-by__select {
  width: 335px;
  height: 50px;
  padding: 10px 10px 10px 20px;
  margin: auto;
  border-radius: 5px;
  color: #009039;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  font-family: "Raleway", sans-serif;
  background-color: transparent;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAxOCAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIgMkw5IDlMMTYgMiIgc3Ryb2tlPSIjMDA5MDM5IiBzdHJva2Utd2lkdGg9IjIuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgoK);
  background-repeat: no-repeat;
  background-position: right 20px center;
  -moz-appearance: none;
  -webkit-appearance: none;
  text-indent: 1px;
  text-overflow: "";
  border: 1px solid #e3dbca;
  display: block;
}

/* ===== CARD ===== */
.social-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(393px, 1fr));
  gap: 16px 20px;
}

@media screen and (max-width: 480px) {
  .social-cards-grid {
    grid-template-columns: 1fr;
  }
}

.social-card-item {
  width: 100%;
  position: relative;
}

.social-network__card {
  width: 100%;
  margin: 25px 0;
  border-radius: 3px;
}

.social-network__card-link,
.social-network__card-link:hover,
.social-network__card-link:focus,
.social-network__card-link:visited {
  text-decoration: none;
}

.social-network__card-container {
  position: relative;
}

.social-network__card-picture {
  object-fit: cover;
  object-position: top;
  width: 100%;
  height: 423px;
}

.social-network__card-picture.has-border {
  border: 1px solid #e3dbca;
}

.social-network__card-overlay {
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.social-network__card-overlay-details {
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  font-family: "Raleway", sans-serif;
  color: #ffffff;
  position: absolute;
  text-align: center;
  padding-left: 1em;
  padding-right: 1em;
  width: 100%;
  top: 50%;
  left: 50%;
  opacity: 0;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.social-network__card-container:hover .social-network__card-overlay {
  opacity: 1;
}

.social-network__card-container:hover .social-network__card-overlay-details {
  top: 50%;
  left: 50%;
  opacity: 1;
}

.social-network__card-message {
  background-color: #e3dbca;
  color: #3e3e3e;
  padding: 10px;
  height: 160px;
}

@media only screen and (min-width: 1366px) {
  .social-network__card-message {
    height: 120px;
  }
}

.social-network__brand {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background-color: #ffffff;
  display: grid;
  place-items: center;
}

.social-network__brand > img {
  display: block;
  width: 100%;
  height: 28px;
}

.social-network__brand--hasId::before {
  position: absolute;
  content: attr(data-social);
  left: 90%;
  top: 50%;
  transform: translateY(-50%);
  width: max-content;
  background-color: #ffffff;
  padding: 2px 10px 2px 4px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  line-height: 24px;
}

@media screen and (max-width: 480px) {
  .social-network__brand {
    top: 16px;
    left: 16px;
    width: 48px;
    height: 48px;
  }

  .social-network__brand > img {
    height: 22px;
  }

  .social-network__brand--hasId::before {
    font-size: 14px;
    padding: 2px 6px 2px 0px;
    line-height: 20px;
  }
}

/* ===== LOAD MORE BTN ===== */
.social-network__load-more-btn {
  width: 275px;
  height: 65px;
  background-color: #f6f3ee;
  color: #3d4b14;
  border: 1px solid #e3dbca;
  box-sizing: border-box;
  border-radius: 10px;
  margin: 35px 0;
  font-family: Raleway;
  font-weight: bold;
  background-image: url(/o/klabin-online-social-network/images/loadMore.svg);
  background-repeat: no-repeat;
  background-position: left 60px center;
  padding: 0 0 0 40px;
}
