@import url("https://fonts.googleapis.com/css?family=Raleway&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --bgcolor: #b07cf7;
  --text-color: #ffffff;
  --border-color: #262626;
  --button__color: #f72b3b;
}
.body {
  width: 1500px;
  height: 864px;
  background-color: var(--bgcolor);
  color: var(--text-color);
}
.header {
  position: relative;
  height: 329px;
  width: 100%;
}
.header__title {
  width: 190px;
  height: 86px;
  font-family: "Raleway";
  font-size: 6rem;
  font-weight: 700;
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  color: rgb(245, 245, 245);
  text-shadow: 0 -1px rgba(0, 0, 0, 0.1);
  animation: pulsate 1.2s linear infinite;
  animation: pulsate 1.2s linear infinite;
}

.header__text {
  width: 563px;
  height: 66px;
  text-align: center;
  font-family: "Raleway";
  font-size: 17px;
  font-weight: 300;
  position: absolute;
  top: 120px;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
.main {
  height: 400px;
}
.list {
  width: 100%;
  display: flex;
  justify-content: center;
  list-style-type: none;
}
.list__item {
  width: 370px;
  height: 310px;
  margin-right: 30px;
  position: relative;
  transition: 0.5s;
}
.list__item:nth-child(1) {
  background-image: linear-gradient(to top, black 0%, transparent 50%),
    url(images/img1.jpg);
}
.list__item:nth-child(2) {
  background-image: linear-gradient(to top, black 0%, transparent 50%),
    url(images/img2.jpg);
}
.list__item:nth-child(3) {
  background-image: linear-gradient(to top, black 0%, transparent 50%),
    url(images/img3.jpg);
}
.list__date {
  display: block;
  border: 1px solid var(--border-color);
  height: 60px;
  width: 60px;
  background-color: var(--border-color);
  opacity: 0.5;
  border-radius: 5px;
  margin: 30px 0 0 30px;
  color: var(--text-color);
  font-family: "Raleway";
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}
.list__title {
  position: absolute;
  bottom: 60px;
  left: 20px;
}
.list__text {
  position: absolute;
  bottom: 24px;
  left: 20px;
}
.footer {
  position: relative;
}
.button {
  position: absolute;
  border: 1px solid var(--text-color);
  display: inline-block;
  padding: 5px 15px;
  text-decoration: none;
  color: var(--text-color);
  width: 200px;
  height: 55px;
  font-family: "Raleway";
  font-size: 20px;
  font-weight: 300;
  text-transform: uppercase;
  text-align: center;
  padding-top: 15px;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 1s;
}
.button:hover {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); /* Тень */
  background-color: var(--button__color);
  transform: scale(1.5);
}
.list__item:hover {
  transform: rotate(1turn);

  transition-timing-function: linear;
}

@keyframes pulsate {
  50% {
    color: #fff;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.3), 0 0 5px #ffd, 0 0 8px #fff;
  }
}
