@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
    color: inherit;
}

body,
html{
    height: 100%;
    font-family: "Montserrat";
    font-weight: 400;
    font-size: 18px;
    color: #FFF;
    background: #FFF;
    scroll-behavior: smooth;
}

.wrapper{
    min-height: 100%;
    flex-direction: column;
    display: flex;
}

.wrapper > .main{
    flex: 1 1 auto;
}

.container{
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.hero{
    position: relative;
    height: 100%;
    max-height: 953px;
}

.hero::before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    background: url('../images/Group1.png') no-repeat;
    background-size: cover;
    background-position: center;
}

.hero__container{
    padding-top: 87px;
    position: relative;
    z-index: 10;
}

.hero__top{
    display: inline-flex;
    flex-direction: column;
    gap: 20px;
}

.hero__name{
    font-size: 20px;
}

.hero__title{
    max-width: 820px;
    font-size: 40px;
    font-weight: 700;
}

.hero__bottom{
    display: flex;
    gap: 25px;
    justify-content: space-between;
}

.hero__left{
    padding-top: 186px;
    border-bottom: 1px solid #D9D9D9;
}

.hero__text{
    max-width: 750px;
    color: #717171;
}

.hero__text {
    padding: revert;
    margin: revert;
}

.hero__right{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__right img{
    animation: animateBook 4.3s ease infinite;
}

@keyframes animateBook{
    50%{
        transform: translate(0, 10px);
    }
    100%{
        transform: translate(0, 0px);
    }
}

.hero__link{
    max-width: 250px;
    padding: 20px 50px;
    border-radius: 20px;
    font-size: 20px;
    font-weight: 700;
    transition: .65s ease;
    background: linear-gradient(180deg, #FAA82D 0%, #FFB660 51.04%, #BE6D23 100%);
}

.hero__link:hover{
    color: purple;
}

.hero__link:active{
    box-shadow: 0 0 10px blue;
}

.avtor{
    margin-top: 150px;
    margin-bottom: 50px;
}

.avtor__container{
    color: #717171;
}

.avtor__container img{
    margin-right: 35px;
    margin-bottom: 15px;
}

.avtor__avtor{
    font-size: 22px;
    margin-bottom: 32px;
}

.avtor__title{
    font-size: 35px;
    color: #2E4966;
    font-weight: 700;
}

.avtor__subtitle{
    font-size: 22px;
    margin-bottom: 42px;
}

.footer{
    padding: 22px 0;
    background: #0B1D33;
}

.footer__container{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between
}

.footer__link{
    transition: 0.65s ease;
}

.footer__link:hover{
    color: red;
}

.footer__link:active{
    color: #2E4966;
}

.background{
    margin-top: 135px;
    padding: 40px 0;
    margin-bottom: 40px;
}

.background__container{
    display: flex;
    gap: 55px;
    align-items: center;
    justify-content: space-between;
}

.background__left{
    max-width: 1050px;
}

.background__info{
    color: #717171;
    font-size: 18px;
    text-wrap: balance;
}

.background__title{
    color: #2E4966;
    font-size: 30px;
    margin-bottom: 25px;
}

.reader{
    margin-bottom: 70px;
}

.history{
    margin-bottom: 45px;
}

.reader__container,
.history__container{
    gap: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reader__left,
.history__left{
    gap: 20px;
    display: flex;
    flex-direction: column;
}

.reader__title,
.history__title{
    color: #2E4966;
    font-size: 30px;
}

.reader__descr,
.history__descr{
    color: #717171;
    font-size: 18px;
    text-wrap: balance;
}

.reader__download,
.history__download,
.background__download{
    height: fit-content;
    max-width: 320px;
    display: inline-flex;
    padding: 15px 20px;
    width: 100%;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    border-radius: 35px;
    color: white;
    background: linear-gradient(180deg, #FAA82D 0%, #FFB660 51.04%, #BE6D23 100%);
    transition: .4s ease;
    &:hover{
        color: purple;
    }
}






@media(max-width: 768px) {
    .background{
        padding: 20px 0;
    }
    .background__container,
    .reader__container,
    .history__container{
        text-align: center;
        align-items: flex-start;
        text-align: left;
        flex-direction: column;
    }
    .background{
        margin-top: 75px;
    }
}
@media(max-width: 540px) {
    .background__title{
        font-size: 26px;
    }
    .background__container{
        gap: 25px;
    }
    .background__info,
    .background__download{
        font-size: 18px;
    }
}

@media(max-width: 1024px) {
    .hero__title{
        font-size: 36px;
    }
    .hero__container{
        padding-top: 57px;
    }
    .avtor__avtor{
        font-size: 20px;
        margin-bottom: 16px;
    }
    .avtor__subtitle{
        font-size: 20px;
        margin-bottom: 26px;
    }
    .avtor__title{
        font-size: 29px;
    }
}


@media(max-width: 900px) {
    .hero__bottom{
        flex-direction: column-reverse;
    }
    .hero__left{
        padding-top: 0;
    }
    .hero__text{
        max-width: 100%;
        text-align: left;
        text-wrap:balance;
    }
    .avtor{
        margin-top: 450px;
    }
}

@media(max-width: 741px) {
}

@media(max-width: 650px) {
    .hero__title{
        font-size: 32px;
    }
    .hero__right img{
        max-width: 100%;
    }
    .avtor__container img{
        margin-right: 15px;
    }
    .avtor__title{
        font-size: 26px;
    }
    .avtor{
        margin-top: 570px;
    }
}

@media(max-width: 597px) {
    .avtor__container img{
        width: 100%;
    }
}

@media(max-width: 425px) {
    .hero__title{
        font-size: 26px;
    }
    .hero__container{
        padding-top: 40px;
    }
    .avtor{
        margin-top: 500px;
    }
}

@media(max-width: 350px) {
    .avtor{
        margin-top: 550px;
    }
}

