body {
    background-image: url("images/aboutscreen.png");
    background-size: 1920px;
    background-position: top center;
    background-repeat: no-repeat;
}

body::after {
    background-image: url("images/mainpage.jpg");
}

body::before {
    background-image: url("images/errorscreen.jpg");
}

.aboutcontent {
    width: 1290px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
}

.title {
    font-family: "Montserrat";
    font-size: 55px;
    color:#6EF100;
    font-weight: 800;
    user-select: none;
}

.text {
    font-family: "Montserrat";
    font-size: 32px;
    font-weight: 400;
    color: white;
    width: 800px;
    margin-top: 100px;
    user-select: none;
}

.subdescription {
    font-family: "Montserrat";
    margin-top: 250px;
    width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.subdescription h1 {
    font-size: 55px;
    font-weight: 700;
}

.block-holder {
    display: flex;
}

.block img {
    user-select: none;
    pointer-events: none;
}

.block {
    width: 50%;
}

.first_line {
    color: #6EF100;
    font-weight: 700;
}

.textofblock {
    font-size: 24px;
    font-weight: 400;
    color: black;
    margin-top: 50px;
    margin-bottom: 50px;
}

.textofblock span {
    color: #6EF100;
    font-weight: 800;
}

.subdescription2 {
    width: 1300px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 150px;
    font-family: "Montserrat";
}

.subdescription2 h1 {
    width: 590px;
    font-size: 55px;
    font-weight: 700;
    color: black;
}

.tableoficons {
    margin-top: 50px;
    font-family: "Montserrat";
    font-size: 28px;
}

.row {
    display: flex;
    column-gap: 180px;
    margin-bottom: 50px;
}

.point {
    display: flex;
}

.point div {
    margin-left: 25px;
    margin-top: 15px;
}

.row:first-of-type .point:first-of-type {
    width: 320px;
}

.row:last-of-type .point:last-of-type {
    margin-left: -140px;
}

.advantagesblock {
    font-family: "Montserrat";
    width: 1300px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 150px;
}

.advantagesblock h1 {
    font-size: 55px;
    font-weight: 700;
}

.advantagesblock h2 {
    width: 630px;
    height: 52px;
    background-color: #6EF100;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    box-sizing: border-box;
    padding-top: 10px;
    border-radius: 5px;
    font-size:26px;
    font-weight:400;
    color: white;
}

.diblock:first-of-type h2 {
    background-color: #969696;
}

.blocks {
    display: flex;
    margin-top: 50px;
}

.diblock {
    width: 50%;
    border-bottom: 1px dashed black;
}

.diblock:first-of-type {
    border-right: 1px dashed green;
}

.diblock:last-of-type .pointq {
    border-bottom: 1px dashed #6EF100;
}

.pointq {
    border-bottom: 1px dashed black;
    margin-bottom: 30px;
    text-align: center;
}

.qicon1 path {
    fill: #FFAD4D;
}

.qicon2 path{
    fill: #31B1DA;
}

.qicon3 path{
    fill: #DDCC31;
}

.qicon4 path{
    fill: #DA3131;
}

.qicon5 path{
    stroke: #7EDA31;
}

.qicon1:hover path, .qicon2:hover path, .qicon3:hover path, .qicon4:hover path {
    fill: black;
    transition-duration: 0.5s;
}

.qicon5:hover path {
    stroke: black;
    transition-duration: 0.5s;
}



.qicon1, .qicon2, .qicon3, .qicon4, .qicon5 {
    padding: 5px;
    border-radius: 5px;
    transition-duration: 0.5s;
    width: 70px;
    height: 70px;
}

.qicon1:hover {
    background-color: #FFAD4D;
}

.qicon2:hover {
    background-color: #31B1DA;
}

.qicon3:hover {
    background-color: #DDCC31;
}

.qicon4:hover {
    background-color: #DA3131;
}

.qicon5:hover {
    background-color: #7EDA31;
}


@media only screen and (max-width: 819px) {
    .qicon1, .qicon2, .qicon3 {
        width: 20px;
        height: 20px;
    }

    .qicon4 {
        width: 30px;
        height: 20px;
    }

    .qicon5 {
        width: 40px;
        height: 30px;
        padding: 1px;
    }

    body {
        background-image: url("images/mobile-about.png");
        background-size: 100% 32%;
        background-repeat: no-repeat;
        height: 100vh;
        margin: 0;
    }

    .aboutcontent {
        width: 95%;
        min-height: 200px;
        margin-top: 25vw;
        margin-right: 0;
    }

    .title {
        font-size: 20px;
    }

    .text {
        width: 80%;
        margin-top: 20px;
        font-size: 14px;
        font-weight: 200;
    }

    .subdescription {
        margin-left: auto;
        margin-right: auto;
        margin-top: 50px;
        min-width: 300px;
        width: 90%;
        max-width: 800px;
    }

    .subdescription h1 {
        font-size: 18px;
        min-width: 300px;
        margin-bottom: 20px;
    }

    .block-holder {
        flex-direction: column;
        min-width: 300px;
    }

    .block {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        min-width: 300px;
        max-width: 375px;
    }
    .block-holder img {
        border-radius: 3px;
        width: 100%;
        max-width: 375px;
    }
    br {
        display: none;
    }
    .first_line {
        font-size: 25px;
    }

    .textofblock {
        font-size: 14px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .subdescription2 {
        padding-left: 15px;
        width: 95%;
        margin-top: 40px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .subdescription2 h1 {
        font-size: 18px;
        width: 100%;
    }

    .tableoficons {
        font-family: "Montserrat";
        font-size: 10px;
        margin-top: 15px;
    }

    .row {
        display: inline-flex;
        column-gap: 20px;
        margin-bottom: 5px;
    }

    
    .point {
        display: inline-flex;
    }

    .point div {
        margin-left: 7px;
        margin-top: 5px;
    }

    .row:first-of-type .point:first-of-type {
        width: 100%;
        margin-bottom: 20px;
    }

    .row:last-of-type .point:last-of-type {
        margin-left: 0;
    }

    .advantagesblock {
        width: 100%;
        margin-top: 40px;
        margin-right: 0;
    }

    .advantagesblock h1 {
        font-size: 18px;
        padding-left: 20px;
    }

    .advantagesblock h2 {
        padding-top: 0;
        font-size: 13px;
        width: 85%;
        max-width: 200px;
        height: 100%;
        max-height: 18px;
        text-align: center;
        border-radius: 3px;
        margin-bottom: 20px;
    }

    .blocks {
        margin-top: 20px;
    }

    .diblock {
        width: 100%;
        border-right: none;
    }

    .pointq {
        margin-top: 8px;
        font-size: 11px;
        margin-bottom: 15px;
    }
}

@media only screen and (max-width: 379px) {
    body {
        background-image: url("images/mobile-about.png");
        background-size: 100% 35%;
        background-repeat: no-repeat;
        height: 100vh;
        margin: 0;
    }
    .aboutcontent {
        min-height: 160px;
    }

    .advantagesblock {
        margin-bottom: 50px;
    }

    .diblock {
        border-bottom: none;
    }
}
@media only screen and (max-width: 320px) {
    .block {
        min-width: 280px;
        max-width: 280px;
    }
    .block-holder img {
        max-width: 280px;
    }
    .subdescription {
        min-width: 280px;
        max-width: 280px;
    }

    .subdescription h1 {
        min-width: 270px;
        max-width: 270px;
        width: 90%;
    }

    .block-holder {
        min-width: 280px;
    }
    .subdescription2 {
        padding-left: 0px;
        margin-left: 0px;
        min-width: 280px;
        width: 280px;
        max-width: 280px;
    }
    .subdescription2 h1 {
        padding-left: 15px;
        width: 80%;
    }
    
    .tableoficons {
        font-size: 8px;
        min-width: 270px;
        max-width: 270px;
    }
    .row {
        column-gap: 10px;
    }
    .point img {
        width: 15px;
        height: 15px;
        margin-left: 2px;
    }
    .text {
        font-size: 12px;
    }
}

@media only screen and (max-width: 717px) and (max-height: 512px){
.aboutcontent {
margin-top: 10vw;
}
.subdescription {
margin-top: 0;
}
}