* {
  padding: 0;
  margin: 0;
  border: 0;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

nav,
footer,
header,
aside {
  display: block;
}

html,
body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

textarea {
  resize: vertical;
}

.page-past-events__body {
  padding: 60rem 0 60rem;
  overflow: hidden;
}
@media (max-width: 767.98px) {
  .page-past-events__body {
    padding: 30rem 0 30rem;
  }
}
.page-past-events__items {
  display: flex;
  flex-wrap: wrap;
  margin: -15rem;
}
.page-past-events__items .past-event {
  padding: 15rem;
  flex: 0 1 33.33%;
}
@media (max-width: 767.98px) {
  .page-past-events__items .past-event {
    flex: 0 1 100%;
  }
}

.past-events__buttons {
  padding-bottom: 30rem;
  display: flex;
  align-items: center;
  gap: 15rem;
}
@media (max-width: 767.98px) {
  .past-events__buttons {
    gap: 5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10rem;
    margin-bottom: 15rem;
  }
}
.past-events__buttons a {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 100px;
  border: 1px solid #f5e400;
  padding: 12rem 25rem;
  white-space: nowrap;
  font-size: 18rem;
  transition: 0.3s;
}
@media (max-width: 767.98px) {
  .past-events__buttons a {
    font-size: 14rem;
    padding: 8rem 15rem;
  }
}
.past-events__buttons a._active {
  background-color: #f5e400;
}

.past-event__body {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  height: 400rem;
  border-radius: 20rem;
  position: relative;
  padding: 20rem;
  color: white;
  overflow: hidden;
}
@media (max-width: 767.98px) {
  .past-event__body {
    height: 335rem;
  }
}
.past-event__body:before, .past-event__body:after {
  content: "";
  display: block;
  width: 100%;
  position: absolute;
  left: 0;
}
.past-event__body:before {
  background: linear-gradient(180deg, rgba(41, 41, 41, 0.8) 20%, rgba(41, 41, 41, 0) 100%);
  height: 90rem;
  top: 0;
}
.past-event__body:after {
  background: linear-gradient(180deg, rgba(41, 41, 41, 0) 0%, #292929 80%);
  height: 130rem;
  bottom: 0;
}
.past-event__date {
  font-weight: 500;
  font-size: 18rem;
  line-height: 120%;
  position: relative;
  z-index: 2;
}
@media (max-width: 767.98px) {
  .past-event__date {
    font-size: 18rem;
  }
}
.past-event__name {
  font-weight: 600;
  font-size: 24rem;
  line-height: 130%;
  z-index: 2;
  width: calc(100% - 40rem);
  position: absolute;
  left: 20rem;
  bottom: 20rem;
}
@media (max-width: 767.98px) {
  .past-event__name {
    font-size: 20rem;
  }
}/*# sourceMappingURL=style.css.map */