@font-face {
  font-family: "Raleway";
  src: url(/fonts/raleway-bold-webfont.woff2?c486e3e9b8bd5409704d4d6b869ef454) format("woff2"), url(/fonts/raleway-bold-webfont.woff?560a260f7950bff1960156e65318ba8d) format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Raleway";
  src: url(/fonts/raleway-regular-webfont.woff2?4a265d268cd8c7afdc82bdc00f170b56) format("woff2"), url(/fonts/raleway-regular-webfont.woff?fc8bdfa7cf45ca35166541fc2dacfc02) format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Raleway";
  src: url(/fonts/raleway-semibold-webfont.woff2?7e9e215bc691da3fda4189d902c147de) format("woff2"), url(/fonts/raleway-semibold-webfont.woff?06c3bb0deb9295ef86985147ab577e09) format("woff");
  font-weight: 600;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Raleway", sans-serif;
  overflow: hidden;
  margin: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.app {
  overflow: hidden;
  position: relative;
  width: 100vw;
  height: 100vh;
  background-color: #F3F3F3;
  display: grid;
  grid-template-areas: "header header" "sidebar content";
  grid-template-columns: 360px 1fr;
  grid-template-rows: 104px 1fr;
}

.app__background {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: fill;
     object-fit: fill;
  -o-object-position: bottom;
     object-position: bottom;
  -webkit-filter: saturate(0);
          filter: saturate(0);
  opacity: 0.1;
}

.header {
  grid-area: header;
  z-index: 10;
  height: 104px;
  padding: 16px 32px;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.header__left {
  max-width: 360px;
  width: 100%;
  height: 100%;
}

.header__left .logo {
  height: 100%;
  text-align: left;
}

.header__right {
  -webkit-box-flex: 1;
          flex: 1;
  text-align: center;
}

.header__right .title {
  color: #6CC4E8;
  font-size: 32px;
  line-height: 32px;
  text-transform: uppercase;
  margin: 0;
}

.sidebar {
  z-index: 1;
  grid-area: sidebar;
  max-width: 360px;
  width: 100%;
  padding: 32px;
  background-color: #123241;
  opacity: 0.9;
}

.sidebar__title {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: 24px;
  margin: 0 0 32px 0;
}

.filter__item {
  padding: 16px 32px;
  border-radius: 4px;
}

.filter__item:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.1);
}

.filter__item--selected {
  background-color: #6CC4E8 !important;
}

.filter__item--selected .filter__item__btn {
  color: #123241;
}

.filter__item:not(:last-child) {
  margin-bottom: 8px;
}

.filter__item__btn {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  line-height: 16px;
}

.content {
  z-index: 1;
  grid-area: content;
  overflow: auto;
  padding: 16px;
  opacity: 0.9;
  scroll-behavior: smooth;
}

.content--hidden {
  opacity: 0;
}

.donors .donor {
  background-color: #fff;
  padding: 16px 32px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.donors .donor__name {
  margin: 0;
  color: #000;
  font-weight: bold;
  font-size: 19px;
  line-height: 21px;
}

.donors .donor--filtered-out,
.donors .donor--searched-out {
  display: none;
}

.search {
  position: -webkit-sticky;
  position: sticky;
  top: -16px;
  margin: -16px -16px 0 -16px;
  z-index: 1;
  border: 4px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 2px 0px rgba(0, 0, 0, 0.1);
}

.search__input {
  padding: 16px 32px 16px 64px;
  width: 100%;
  font-family: inherit;
  font-size: 24px;
  color: #123241;
  border-radius: 4px;
  border: 2px solid #123241;
}

.search__input:hover,
.search__input:focus {
  outline: none;
}

.search__icon {
  position: absolute;
  top: 50%;
  left: 32px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.letters {
  position: -webkit-sticky;
  position: sticky;
  top: 80px;
  margin: 0 -16px 16px -16px;
  padding: 8px 16px;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: space-evenly;
          justify-content: space-evenly;
  background: #fff;
  box-shadow: 0 2px 0px rgba(0, 0, 0, 0.1);
}

.letters .letter {
  font-weight: 700;
  color: #123241;
  text-decoration: none;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
}

.letters .letter--active {
  background: #123241;
  color: #fff;
}

.loader {
  display: -webkit-box;
  display: flex;
  z-index: 20;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
  opacity: 0;
  -webkit-transition: 0.1s opacity ease-in-out;
  transition: 0.1s opacity ease-in-out;
}

.loader__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.loader--visible {
  opacity: 1;
  pointer-events: all;
}

.loader--visible .loader__spinner {
  margin: auto;
  width: 128px;
  height: 128px;
  border: 8px solid #53575A;
  border-left: 8px solid #6CC4E8;
  border-right: 8px solid #BADF93;
  border-radius: 50%;
  -webkit-animation: spin 1s linear infinite forwards;
          animation: spin 1s linear infinite forwards;
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }

  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }

  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

::-webkit-scrollbar {
  width: 24px;
}

::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.1);
}

