

/*Растяжки*/
.banner__wrapper {
    position: relative;
    width: 100%;
    display: flex;
    max-height: 77px;
    gap: 20px;
    cursor: pointer;
    font-family: 'Golos Text', 'Jost', "Lato", Helvetica, Arial, sans-serif;
}

picture {
    display: flex;
}

.image-sticky-bottom {
    align-self: end;
}

.image-sticky-center {
    align-self: center;
}

.image-centered {
    margin-left: 50px;
}

.banner__content {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.banner__img {
    position: relative;
    bottom: 0;
    width: auto;
    height: 67px;
}

.biology__img {
    width: auto;
    height: 87px;
}

.offset-0 {
    position: relative;
    bottom: 0;
}

.offset-1 {
    position: relative;
    bottom: 20px;
}

.banner__title {
    font-size: 28px;
    font-weight: bold;
    max-width: 550px;
    line-height: 100%;
}

.banner__date {
    font-size: 20px;
    line-height: 100%;
}

.banner__button {
    text-decoration: none;
    padding: 10px 40px;
    border-radius: 4px;
    font-size: 18px;
    margin-right: 50px;
    transition: all 0.3s ease-in-out;
}

.banner__button:hover,
.banner__button:focus {
    filter: brightness(0.8);
    color: #fff;
    text-decoration: none;
}

.blue-bg {
    background-color: #d5eefd;
}

.green-bg {
    background-color: rgb(236, 252, 213);
}

.purple-bg {
    background-color: #e4d3ff;
}

.intensive-yellow-bg {
    background-color: #ffda00;
}

.black-bg {
    background-color: #000;
    color: #fff;
}

.light-yellow-bg {
    background-color: #f8e181;
}

.blue-btn {
    background-color: #a9d6fd;
    color: #000;
}

.yellow-btn {
    background-color: #ffda00;
    color: #000;
}

.red-btn {
    background-color: #ff3130;
    color: #fff;
}

.animated {
    opacity: 0;
    transform: translateX(-100%);
    transition: all 1s ease-in-out;
}

.fade-left {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1024px) {
    .banner__title {
        font-size: 21px;
    }

    .banner__date {
        font-size: 18px;
    }

    .banner__button {
        font-size: 16px;
        padding: 5px 20px;
    }
}

@media (max-width: 800px) {
    .banner__title {
        font-size: 18px;
    }

    .banner__date {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .banner__img {
        height: 67px;
        width: auto;
        object-fit: contain;
    }

    .biology__img {
        height: 67px;
    }

    .offset-1 {
        bottom: 0;
    }

    .banner__title {
        font-size: 16px;
    }

    .banner__date {
        font-size: 14px;
    }

    .banner__title>br {
        display: none;
    }

    .banner__button {
        font-size: 14px;
        padding: 5px 15px;
    }
}

@media (max-width: 576px) {
    .banner__wrapper {
        padding: 0 10px 0 0;
        gap: 10px;
        max-height: 57px;
        
        padding: 0;
        gap: 10px;
        height: auto;
        max-height: initial;
        align-items: center;
    }

    .banner__content {
        justify-content: flex-end;
        gap: 10px;
        padding: 20px 10px 20px 0;
        
        justify-content: center;
        gap: 7px;
        padding: 10px;
        flex-direction: column;
    }

    .banner__img {
        height: 47px;
        position: relative;
    }

    .banner__img--left {
        margin-left: -50px;
    }

    .banner__title>br {
        display: none;
    }

    .banner__title {
        font-size: 14px;
        max-width: 300px;
        position: relative;
        z-index: 3;
    }

    .banner__date {
        font-size: 12px;
        display: none;
    }

    .banner__date>br {
        display: none;
    }

    .banner__button {
        font-size: 12px;
        padding: 4px 10px;
        margin-right: 0;
    }

    .image-centered {
        margin-left: 0;
    }
}

@media (max-width: 370px) {
    .banner__wrapper {
        gap: 0;
    }

    .banner__img--left {
        margin-left: -55px;
    }

    .banner__button {
        padding: 5px 5px;
        font-size: 10px;
    }
}
