h1{
    font-size: 48px;
    font-weight: 700;
    line-height: 48px;
    text-align: left;
    color: #FFFFFF;
}
h2{
    font-size: 32px;
    font-weight: 700;
    line-height: 38.69px;
    text-align: left;
    color: #FFF;
}

p{
    font-size: 16px;
    font-weight: 400;
    line-height: 18.56px;
    text-align: left;
    color: #FFF;
}


.best-sites-sec{
    padding-top: 28px;
}
.best-sites-sec:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    /*background-image: url("../img/fon.png");*/
    background-repeat: no-repeat;
    background-size: cover;
    max-width: 1557px;
    width: 100%;
    height: 531px;
}
.best-sites-cnt{
    display: flex;
    position: relative;
    z-index: 1;
}
.best-sites-info{
    max-width: 782px;
    width: 100%;
}
.best-sites-info h1{
    margin-top: 54px;
}
.best-sites-info p{
    margin-top: 20px;
    color: #000;

}
.best-sites-content{
    margin-top: 20px;
    padding-left: 50px;
    border-left: 2px solid #FFFFFF;
}
.best-sites-content strong{
    font-size: 22px;
    font-weight: 700;
    line-height: 26.6px;
    text-align: left;
    color: #000;
}
.best-sites-content ul{
    margin-top: 15px;
    margin-left: 20px;
    list-style-type: disc;
}
.best-sites-content ul li, .best-sites-content ul li a{
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    text-align: left;
    color: #FFFFFF;
    margin-top: 5px;
}
.best-sites-content ul li a{
    color: #000;
}

.best-sites-photo{
    display: flex;
    max-width: 598px;
    width: 100%;
    margin-left: -105px;
}



.different-systems{
    margin-top: -65px;
    z-index: 1;
}
.different-systems__flex{
    display: flex;
    justify-content: space-between;
    gap: 27px;
}
.different-systems__box{
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-radius: 20px;
    gap: 24px;
    background: #000000;
}
.different-systems__box:nth-child(2){
    background: #000000;
}
.different-systems__box:nth-child(3){
    background: #000000;
}
.different-systems__name strong{
    font-size: 22px;
    font-weight: 700;
    line-height: 26.4px;
    text-align: left;
    color: #FFFFFF;
    max-width: 250px;
    width: 100%;
    display: block;
}
.different-systems__name p{
    margin-top: 10px;
    font-size: 12px;
    line-height: 13.92px;
    color: #FFFFFF;
}
.different-systems__image{
    display: flex;
    max-width: 160px;
    width: 100%;
}
.list-sites-sec{
    margin-top: 68px;
}
.list-sites-fon{
    background: #FFFFFF;
    padding: 50px;
    border-radius: 10px;
}
.list-sites-fon p{
    color: #6B6B6B;
    margin-top: 20px;
}
.list-sites-box{
    margin-top: 30px;
    background: #000;
    padding: 15px;
    border-radius: 10px;
    gap: 23px;
    display: flex;
    align-items: center;
}
.count-box{
    min-width: 105px;
    font-size: 60px;
    font-style: italic;
    font-weight: 400;
    line-height: 69.6px;
    text-align: left;
    color: #BBD7FF;
}
.list-sites-logo{
    background: #575757;
    max-width: 172px;
    width: 100%;
    height: 148px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.list-sites-info strong{
    font-size: 18px;
    font-weight: 700;
    line-height: 21.76px;
    text-align: left;
    color: #FFF;
}
.list-sites-info  p{
    color: #FFF;
    font-size: 14px;
    line-height: 16.24px;
    margin: 0;
}
.list-sites-cnt{
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 16px;
}
.list-sites-cnt div{
    display: flex;
    align-items: center;
    padding: 5px 10px;
    gap: 11px;
    border-radius: 30px;
}
.list-sites-dat{
    background: #ffffff;
}
.list-sites-rating{
    background: #05e271;
}
.list-sites-dat span{
    color: #27760F;
}
.list-sites-cases{
    background: #ffffff;
}
.list-sites-cases span{
    color: #5D6EC6;
}
.list-sites-deposit{
    background: #ffffff;
}
.list-sites-deposit span{
    color: #C65D83;
}
.list-sites-cnt div span{
    font-size: 12px;
    font-weight: 600;
    line-height: 14.32px;
    text-align: left;
}


.when-choosing-sec{
    margin-top: 50px;
}
.when-choosing__info h2{
    text-align: center;
}
.when-choosing__info p{
    margin-top: 30px;
    margin-bottom: 30px;
    color: #FFF;
}

.when-choosing-wrap{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}
.when-choosing-box{
    width: calc(25% - 24px);
    background: #000;
    padding: 50px 41px;
    gap: 15px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.when-choosing-box p{
    font-family: 'Roboto';
    color: #FFF;
    text-align: center;
}
.comments-sec{
    margin-top: 82px;
}
.comments-box{
    display: flex;
    align-items: start;
    margin-top: 46px;
    gap: 52px;
    padding: 50px 30px;
    border-radius: 10px;
    background: #FFFFFF;
}
.icon-kerik{
    content: url("../img/kerik.svg");
}
.comments-name {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.comments-name strong{
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
    text-align: left;
    color: #000000;
}
.comments-name span{
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    text-align: left;
}
.write-comment{
    margin-top: 80px;
    background: #6A6BF8;
    padding: 50px 100px;
    border-radius: 10px;
    position: relative;
}
.write-comment:after{
    content: "";
    position: absolute;
    top: -74px;
    right: 0;
    background-image: url(../img/fon-contact.png);
    background-size: cover;
    background-repeat: no-repeat;
    max-width: 861px;
    width: 100%;
    height: 588px;
    border-radius: 0 10px 10px 0;
}
.write-comment h2{
    color: #FFFFFF;
}
.write-comment-form{
    max-width: 558px;
    width: 100%;
    margin-top: 25px;
    position: relative;
    z-index: 1;
}
.write-comment-flex{
    display: flex;
    gap: 18px;
}
.comment-input{
    width: 100%;
}
.comment-input label, .comment-textarea label{
    width: 100%;
    display: flex;
}
.comment-input input{
    border: 1px solid #3346AA;
    background: #FFFFFF;
    padding: 20px 23px;
    height: 66px;
    width: 100%;
    font-family: "Roboto";
    font-size: 14px;
    font-weight: 400;
    line-height: 16.41px;
    text-align: left;
    color: #747EDE;
}
.comment-input input::placeholder{
    color: #747EDE;
}
.comment-textarea{
    margin-top: 25px;
}
.comment-textarea textarea{
    font-family: "Roboto";
    padding: 25px 23px;
    background: #FFFFFF;
    border: 1px solid #3346AA;
    width: 100%;
    height: 141px;
    font-family: "Roboto";
    font-size: 14px;
    font-weight: 400;
    line-height: 16.41px;
    text-align: left;
    color: #747EDE;
}
.comment-textarea textarea::placeholder{
    color: #747EDE;
}
.checkbox-form{
    margin: 25px 0;
}
.checkbox-form label{
    display: block;
    position: relative;
    padding-left: 23px;
    cursor: pointer;
}
.checkbox-form label small{
    font-family: "Roboto";
    font-size: 14px;
    font-weight: 400;
    line-height: 16.41px;
    text-align: left;
    color: #FFFFFF;
}
.checkbox-form input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    top: 0;
    left: 0;
}
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background: #FFFFFF;
    border: 1px solid #3346AA;
}
.checkbox-form input:checked ~ .checkmark {
    background: #3346AA;
}

.checkbox-form .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.checkbox-form input:checked ~ .checkmark:after {
    display: block;
}

.btn{
    background: #FD1BAF;
    max-width: 159px;
    width: 100%;
    padding: 15px 35px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    line-height: 19px;
    text-align: center;
}
.btn:hover{
    background: #cf0088;
}


footer{
    margin-top: 34px;
}
.footer__main{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
}
.footer__logo{
    display: flex;
}
.footer__main p{
    font-family: "Roboto";
    font-size: 14px;
    font-weight: 400;
    line-height: 26px;
    text-align: right;
    color: #616161;
}



@media (max-width: 1599px){
    .container {
        max-width: 1400px;
    }
}
@media (max-width: 1399px){
    .different-systems__box {
        padding: 0 15px;
        gap: 9px;
    }
    .different-systems__image {
        max-width: 140px;
    }
    .different-systems__name strong {
        font-size: 20px;
    }
    .list-sites-fon {
        padding: 40px;
    }
}
@media (max-width: 1299px){
    .best-sites-photo {
        max-width: 480px;
        margin-left: -20px;
    }
    .best-sites-info h1 {
        margin-top: 30px;
    }
    h1 {
        font-size: 42px;
        line-height: 44px;
    }
    .best-sites-content {
        margin-top: 15px;
        padding-left: 24px;
    }
    .best-sites-content ul {
        margin-top: 10px;
    }
    .different-systems {
        margin-top: -20px;
    }
    .best-sites-sec:before {
        max-width: 1254px;
        height: 460px;
    }

    .write-comment {
        padding: 50px 50px;
    }
    h2 {
        font-size: 30px;
        line-height: 35.69px;
    }
    .different-systems__image {
        max-width: 128px;
    }
    .different-systems__box {
        padding: 10px 15px;
    }
    .different-systems__flex {
        gap: 10px;
    }
    .list-sites-fon {
        padding: 30px;
    }
    .list-sites-sec {
        margin-top: 50px;
    }
    .count-box {
        min-width: 95px;
        font-size: 48px;
        line-height: 60px;
    }
    .list-sites-box {
        margin-top: 25px;
        gap: 15px;
    }
    .list-sites-cnt {
        margin: 10px 0;
        gap: 14px;
    }

    .when-choosing-wrap {
        gap: 20px;
    }
    .when-choosing-box {
        width: calc(25% - 15px);
        padding: 40px 25px;
    }
    .comments-box {
        margin-top: 36px;
        gap: 30px;
        padding: 30px 30px;
    }
    .write-comment:after {
        top: -72px;
        max-width: 806px;
        height: 607px;
    }

}

@media (max-width: 1199px){
    .best-sites-photo {
        max-width: 400px;
        margin-left: 0;
    }
    h1 {
        font-size: 38px;
        line-height: 42px;
    }
    .best-sites-info h1 {
        margin-top: 25px;
    }
    .best-sites-sec:before {
        max-width: 1226px;
        height: 440px;
    }
    .different-systems {
        margin-top: 26px;
    }
    .different-systems__flex {
        gap: 15px;
        flex-wrap: wrap;
    }
    .different-systems__box {
        padding: 10px 15px;
        max-width: 49%;
    }
    .list-sites-fon {
        padding: 30px 20px;
    }
    .count-box {
        min-width: 80px;
        font-size: 42px;
        line-height: 50px;
    }
    h2 {
        font-size: 28px;
        line-height: 33px;
    }
    .when-choosing__info p {
        margin-top: 20px;
        margin-bottom: 20px;
        color: #6B6B6B;
    }
    .when-choosing-box {
        width: calc(33.333333% - 15px);
        padding: 40px 30px;
    }
    .comments-box {
        margin-top: 30px;
        gap: 25px;
        padding: 25px;
    }
    .comments-name {
        margin-top: 15px;
    }
    .write-comment {
        padding: 40px 40px;
        margin-top: 30px;
    }
    .comment-input input {
        padding: 13px 20px;
        height: 54px;
    }
    .write-comment-form {
        max-width: 520px;
        margin-top: 20px;
    }
    .comment-textarea {
        margin-top: 20px;
    }
    .write-comment:after {
        top: -67px;
        max-width: 710px;
        height: 555px;
    }


}
@media (max-width: 1020px){
    .best-sites-sec {
        /*background: #6A6BF8;*/
    }
    .best-sites-sec:before{
        display: none;
    }
    .best-sites-cnt {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    .best-sites-content strong {
        font-size: 18px;
        line-height: 23px;
    }
    .best-sites-info h1 {
        max-width: 500px;
        width: 100%;
    }
    .different-systems__flex {
        gap: 10px;
    }
    .different-systems__box {
        max-width: 49%;
    }
    .list-sites-fon p {
        margin-top: 15px;
    }
    .list-sites-box {
        flex-wrap: wrap;
    }
    .list-sites-logo {
        max-width: 150px;
        height: 120px;
        padding: 8px;
    }
    .when-choosing-wrap {
        gap: 28px;
    }
    .when-choosing-box {
        width: calc(50% - 25px);
        padding: 40px 30px;
    }
    .comments-sec {
        margin-top: 60px;
    }
    .comments-box {
        margin-top: 25px;
        gap: 20px;
        padding: 20px;
    }
    h2 {
        font-size: 26px;
        line-height: 30px;
    }
    .write-comment {
        padding: 30px;
    }
    footer {
        margin-top: 26px;
    }
    .footer__main {
        padding: 15px 0;
    }

}
@media (max-width: 760px){
    .best-sites-content ul li {
        margin-top: 2px;
    }
    .best-sites-content {
        padding-left: 20px;
    }
    .best-sites-photo {
        max-width: 345px;
    }
    .different-systems__box {
        max-width: 510px;
    }
    .count-box {
        min-width: 75px;
        font-size: 36px;
        line-height: 35px;
    }
    .when-choosing-wrap {
        gap: 15px;
    }
    .when-choosing-box {
        width: calc(50% - 8px);
        padding: 30px 20px;
    }
    .comments-box {
        margin-top: 20px;
        gap: 15px;
        padding: 15px;
    }
    .write-comment:after{
        display: none;
    }
    .checkbox-form {
        margin: 15px 0;
    }
    .comment-textarea textarea {
        padding: 20px 20px;
        height: 125px;
    }
    .write-comment-flex {
        gap: 14px;
    }
    .write-comment {
        padding: 25px;
    }

}
@media (max-width: 570px){
    h1 {
        font-size: 34px;
        line-height: 38px;
    }
    .best-sites-content {
        padding-left: 10px;
    }
    .best-sites-content ul li {
        font-size: 14px;
        line-height: 22px;
    }
    .different-systems__name strong {
        font-size: 18px;
        line-height: 24px;
    }
    .list-sites-fon {
        padding: 25px 15px;
    }
    .list-sites-cnt {
        gap: 10px;
        flex-wrap: wrap;
    }
    h2 {
        font-size: 24px;
        line-height: 28px;
    }
    .when-choosing-box {
        width: 100%;
        padding: 30px 20px;
    }

    .write-comment-flex {
        flex-direction: column;
    }
    .write-comment {
        padding: 25px 20px;
    }
    .checkbox-form label small {
        font-size: 12px;
        line-height: 14px;
    }
    .btn {
        max-width: 150px;
        padding: 15px 20px;
    }
    .footer__main {
        padding: 15px 0;
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
}