*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.promo-banner {
    padding: 20px;
    position: relative;
    width: 100%;
    height: 100vh;

    background-image: url('./fon1.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
    
}

.promo-banner::after {
    content: '';

    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 100%;

    background-image: url('./fon2.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;

}

.promo-declaration {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
    width: 892px;
    height: 427px;

    background-image: url('./fon3.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;


}
.promo-declaration::before{
    content: '';

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 65px;

    width: 300px;
    height: 85px;

    background-image: url('./crown.png');
    background-repeat: no-repeat;
    background-size: contain;
}
.promo-declaration::after{
    content: '';

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 64px;

    width: 227px;
    height: 24px;

    background-image: url('./feather.png');
    background-repeat: no-repeat;
    background-size: contain;
}

.declaration-title, .declaration-subtitle{
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    color: #FAEECF;
}

.declaration-title {
    margin-top: 60px;
    font-size: 62px;
    text-transform: uppercase;
}

.declaration-subtitle{
    font-size: 40px;
}

@media(max-width: 840px){
    .promo-declaration{
     height: 300px;
    }
   .promo-declaration::before{
        width: 200px;
        height: 56px;
        top: 40px
    }
    .promo-declaration::after{
        width: 150px;
        height: 16px;
        bottom: 40px
    }
    .declaration-title{
        margin-top: 40px;
        font-size: 40px;
    }
    .declaration-subtitle{
        font-size: 24px;
    }
}
@media(max-width: 600px){
    .promo-declaration{
     height: 186px;
    }
   .promo-declaration::before{
        width: 131px;
        height: 37px;
        top: 32px
    }
    .promo-declaration::after{
        width: 99px;
        height: 10px;
        bottom: 27px
    }
    .declaration-title{
        margin-top: 32px;
        font-size: 24px;
    }
    .declaration-subtitle{
        font-size: 16px;
    }
    .promo-banner::after {
    background-size: cover;
    }
}