/*=====================================
================ M A I N ==============
=====================================*/

.rules__main .container{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;

    height: 350px;

    background-image: linear-gradient(163.6deg, rgba(158, 66, 66, 0.1) 11.37%, rgba(0, 0, 0, 0.3) 88.63%), url("../img/background__rules.jpg"); /* <-- путь к твоей картинке */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50px;

}

.rules__main {
    background-color: rgba(158, 66, 66, 0.2);

}

.rules__desc {
    display: flex;
    flex-direction: column;
    text-align: center;

}

.rules__title {
    font-weight: 800;
    font-size: 70px;
    
    color: #FFFFFF;
    margin: 0;

}

.rules__text {
    font-weight: 300;
    font-size: 23px;
    line-height: 26px;

    color: #e4e4e4e2;
    margin: 0;
    margin-top: 5px;
    max-width: 750px;

}


/*=====================================
================ D O C K ==============
=====================================*/

.links__rules .container {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 13px;

}




.rules__dock {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(158, 66, 66, 0.2) 92.79%);
    
}

.rules__dock .container{
    display: flex;
    align-items: center;
    flex-direction: column;

    margin-bottom: 20px;
    position: relative;

}

.rules__link {
    color: rgb(91, 0, 0);
    font-size: 23px;

    margin-bottom: 3px;

}

.rules__file {
    align-items: center;
    width: 830px;
    height: 850px;

    padding: 5px;

}

.rules__molot {
    position: absolute;

    width: 210px;
    height: 210px;

    top: 83%;
    left: 6%;

}

.rules__wesi {
    position: absolute;

    width: 20px;
    height: 20px;

    top: 2%;
    left: 82.5%;

}



/*===========================================
================== АДАПТАЦИЯ ================
===========================================*/

@media (max-width: 850px) {
    .container {
        max-width: 750px;
    }
    .rules__file {
        width: 650px;
        height: 650px;

    }
    .rules__molot {
        width: 170px;
        height: 170px;
        left: 3%;
    }

    .rules__wesi {
        width: 15px;
        height: 15px;
    }
}


@media (max-width: 660px) {
    .container {
        max-width: 570px;
    }
    .rules__file {
        width: 500px;
        height: 500px;

    }
    .rules__molot {
        width: 150px;
        height: 150px;
        left: 3%;
    }

    .rules__wesi {
        width: 15px;
        height: 15px;
    }
    .rules__title {
        font-size: 50px;
    }
    .rules__text {
        font-size: 15px;
        line-height: 15px;
    }
    .rules__link {
        font-size: 17px;
    }
    .rules__main .container {
        border-radius: 25px;
    }
}

@media (max-width: 510px) {
    .container {
        max-width: 450px;
    }
    .rules__file {
        width: 430px;
        height: 450px;

    }
    .rules__molot {
        display: none;
    }
    .rules__wesi {
        left: 87%;
    }

    .rules__main .container {
        height: 270px;
    }
}

@media (max-width: 440px) {
    .container {
        max-width: 350px;
    }
    .rules__file {
        width: 330px;
    }
    .rules__main .container {
        height: 250px;
    }
}