@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
a {
    background-color: transparent;
}

h2 {
      font-family: "Roboto", sans-serif;
}

.poster-cards__posters, .poster-cards__video{
    display: flex;
    flex-wrap: wrap;
}

.poster-cards__images-poster {
    max-width: 320px;
    width: 100%;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 8px 6px 7px rgba(0, 0, 0, .11);
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.poster-cards__posters {
    margin-bottom: 10px;
}

.poster-cards__images-video {
    max-width: 320px;
    width: 100%;    
    margin: 10px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 8px 6px 7px rgba(0, 0, 0, .11);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.poster-cards__images-item {
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.poster-cards__images-item.video {
    height: 250px;
}

.poster-cards__images-item>a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: opacity .2s ease;
    background: rgba(0, 0, 0, .163);
    opacity: 0;
}

.poster-cards__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0px 0px;
    transition: transform .3s;
    position: relative;
}

.poster-cards__images-item>a:hover::after {
    opacity: 1;
}

.poster-cards__images-item>a:hover>.poster-cards__image {
    transform: scale(1.1);
}

.poster-cards__button {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    z-index: 2;
}
.poster-cards__images-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 235px;
}

.poster-cards__images-content.video{
 height: 235px;
}

.poster-cards__images-title {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 10px;
    line-height: 1.4;
}

.poster-cards__button-open {
    background-color: #feb50e;
}
.poster-cards__button-download {
    background-color: #ff5a3e;
}


.button-open {
    display: block;
    padding: 20px 10px;
    text-align: center;
    margin: 10px;
  border-radius: 10px;
      text-decoration: none;
    font-family: Roboto, sans-serif;
    font-weight: 400;
    color: black;
    margin: 10px 0;
}