.documents,
.documents * {
  box-sizing: border-box;
}

/* Main wrapper */

.documents {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 10px;
  letter-spacing: 0.11px;
}

/* Left part */

.documents__main-wrapper {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 40vw;
  padding: 20vh 4vw 4vh 5.5vw;
  background: #818f9c;
  color: #fff;
}
.documents__main {
  position: relative;
  height: 100%;
  overflow: auto;
}
.documents__title {
  opacity: .8;
  font-family: "Asket Extended", Roboto, Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 2.5vw;
  letter-spacing: 1.4px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 80px;
}
.documents__description {
  opacity: .8;
  font-weight: 300;
  font-size: 1.6vw;
  line-height: 1.54;
  margin-bottom: 50px;
}
.documents__deadline-title {
  opacity: .8;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.4em;
  margin-bottom: 10px;
}
.documents__deadline-value {
  opacity: .8;
  font-weight: 300;
  font-size: 1.4em;
  margin-bottom: 20px;
}

/* Right part */

.documents__list-wrapper {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 60vw;
  padding: 18vh 0 0;
}
.documents__list {
  position: relative;
  height: 100%;
  overflow: auto;
}
.documents__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.8em;
  color: #717171;
  padding: 20px 6%;
  cursor: pointer;
  text-decoration: none;
  transition: all .1s linear;
}
.documents__item:nth-of-type(odd) {
  background-color: #dedee0;
}

.documents__item-name {
  flex-grow: 1;
  font-weight: bold;
  text-transform: uppercase;
}
.documents__item-date {
  margin-left: 60px;
}
.documents__item-file {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50px;
  margin-left: 60px;
  font-size: 10px;
}
.documents__item-file::before {
  content: '';
  position: relative;
  display: block;
  width: 24px;
  height: 30px;
  margin-bottom: 10px;
  background: url('../images/icons/download.svg') center 100% no-repeat;
}

/* HOVER effect */

.documents__item:hover {
  background-color: #818f9c;
  color: #fff;
}
.documents__item:hover .documents__item-file::before {
  background-image: url('../images/icons/download--light.svg');
}

@media screen and (max-width: 1279px) and (orientation: portrait) {
  .documents {
    display: block;
    height: auto;
    overflow: visible;
    font-size: 5px;
  }

  .documents__main-wrapper {
    width: auto;
    height: auto;
    padding-top: 200px;
  }
  .documents__main {
    height: auto;
  }

  .documents__title {
    margin-bottom: 30px;
    font-size: 4.8em;
  }
  .documents__description {
    margin-bottom: 30px;
    font-size: 3em;
  }
  .documents__deadline-title {
    font-size: 2.8em;
  }
  .documents__deadline-value {
    font-size: 2.8em;
  }

  .documents__list-wrapper {
    width: auto;
    height: auto;
    padding: 0;
  }
  .documents__list {
    height: auto;
  }
  .documents__item {
    font-size: 2.8em;
  }
}