@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Aleo", serif;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.back-img {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
@media screen and (min-width: 768px) {
  .back-img {
    object-position: 100% 10%;
  }
}

.container {
  padding-top: 50px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title {
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 50px;
}

.list {
  display: flex;
  width: 100%;
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  .list {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.card {
  transition: all ease 0.4s;
  border: 3px solid #333333;
  background-color: orangered;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.card--not-done {
  background-color: brown;
  opacity: 0.8;
}
.card--not-done::after {
  color: white;
  margin: 0 auto;
  content: "Не готово";
}
.card:not(:last-child) {
  margin-bottom: 30px;
}
@media screen and (min-width: 768px) {
  .card {
    width: 48%;
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 0;
    margin-bottom: 30px;
  }
  .card:hover {
    background-color: #5474fd;
  }
}
.card__title {
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #232323;
  text-align: center;
}
.card__title:not(:last-child) {
  margin-bottom: 20px;
}
.card__text {
  padding-left: 20px;
  padding-right: 20px;
  letter-spacing: 1px;
  color: #333333;
  text-align: justify;
}
.card__text:not(:last-child) {
  margin-bottom: 20px;
}
.card__link {
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.btn {
  padding: 10px;
}

.modal {
  position: fixed;
  display: none;
  z-index: 10;
  top: 0;
  left: 0;
  padding-top: 200px;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.4);
}
.modal__content {
  position: relative;
  background-color: #e1bee7;
  margin: auto;
  padding: 0;
  border: 5px solid #7b1fa2;
  width: 50%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  animation-name: animatetop;
  animation-duration: 1s;
}

.modal-content__body {
  padding: 2px 16px;
}
.modal-content__footer {
  padding: 2px 16px;
  background-color: #5474fd;
  color: white;
}
.modal-content__header {
  padding: 2px 16px;
  background-color: red;
  color: white;
}

.modal-header__close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.modal-header__close:hover, .modal-header__close:focus {
  transition: all ease 0.5s;
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

/*# sourceMappingURL=/style.97fcb138.css.map */