.wrapper_advantages{
    display: flex;
    height: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

.index_advantages{
    font-size: 4em;
    text-align: center;
    margin: 2% auto;
}

.advantages{
    border: 1px solid;
    border-radius: 5px;
    background: #EEEEEE;
    margin: 2% 2%;
    text-align: center; /*Центрируем текст по горизонтали*/ 
    align-self: top;
    max-width: 25%;
    min-width: 660px;
}

.advantages > *{
    margin: 5% 1%;
}

.advantages img{
    width: 80px;
    height: 80px;
}

.advantages h4{
    font-size: 140%;
    margin: 2% 6%;
}

@media screen and (max-width: 900px) {
    .advantages{
        max-width: 40%;
    }
    .index_advantages{
        font-size: 3em;
    }
}

@media screen and (max-width: 680px) {
    .advantages{
        width: 290px; 
    }
    .index_advantages{
        font-size: 2em;
    }
}

/* class="why_earn" Почему он зарабатывает */

.why_earn{
    background: #0D47A1;
}

.why_earn h2{
    font-size: 4em;
    text-align: center;
    color: white;
    padding: 1% 15%;
}

.why_earn p{
    font-size: 2em;
    text-align: justify;
    color: white;
    padding: 2% 10%;
}

@media screen and (max-width: 680px) {
    .why_earn h2{
        font-size: 2.8em;
    }

    .why_earn p{
        font-size: 1.2em;
    }
}

/* class = video */
.video{
    padding-top: 1%;
    width: 100%;
    height: 100%;
    text-align: center;
}

.video iframe{
    width: 870px;
    height: 515px;
    /* frameborder: 0; */
}


@media screen and (max-width: 750px) {
    .video iframe{
        width: 400px;
        height: 275px;
    }
}

@media screen and (max-width: 417px) {
    .video iframe{
        width: 300px;
        height: 185px;
    }
}



.questions_index div{
    font-size: 1.17em;
    margin: 7% 15%;
}

summary{
    margin-top: 4%;
}

.questions_index_details details h3 {
    display: inline;
    font-size: 1.7em;
    font-weight: bold;
}

.questions_index_details details p {
    margin-left: 4%;
    margin-top: 2%;
}

.questions_index_details details ul{
    margin: 2%;
    list-style: none;
}

.questions_index_details details ul li{
    margin-left: 4%;
    
}

.questions_index_details details ul li:before {
    content:  "-";
    position: relative;
    left:     -5px;
}


/* Версии советника AGA Trader */

.versions_trade{
    background: #01579B;
    text-align: center;
}

.versions_trade h4{
    font-size: 250%;
    color: rgb(226, 235, 243);
    padding-top: 3%;
}

.versions_trade p{
    font-size: 130%;
    color: rgb(194, 215, 233);
    padding-top: 1%;
}

.aga_trade_wraper{
    display: flex;
    flex-direction: row;
    /* flex-wrap: wrap; */
    width: 100%;
    justify-content: center;
    /* justify-content: left; */
}

.aga_trade{
    /* display: flex; */
	/* flex-direction: column; */
	/* flex-basis: 100%; */
	/* flex: 1; */
	/* width: 25%; */
    background: #FFFFFF;
    margin: 1% 2%;
    border-radius: 2%;
}

.wne{
    /* height: 70%; */
    width: 20%;
    font-size: 100%;
}

.two{
    width: 35%;
    /* min-height: 600px; */
    height: 860px;

}

.short{
    height: 450px;
}
/* 
.aga_trade + .aga_trade {
	margin-left: 4%;
} */

.aga_trade h5{
    font-size: 200%;
    color: red;
    margin: 3%;
}

.aga_trade ul{
    list-style: none;
}
.aga_trade ul > li{
    padding-left: 25px;
    position: relative;
    margin: 10px;
    margin-left: 35px;
    text-align: left;
    font-size: 110%;
    padding-top: 2%;
}
.aga_trade ul > li:before{
    content: '✔';
    position: absolute; top: 0; left: 0;
    color: red;
    padding-top: 1%;
}

.aga_trade > p{
    color: black;
    font-size: 160%;
    padding: 4%;
    font-weight: 900;
}

.price{
    display: flex;
    justify-content: space-evenly;
    color: black;
}

.price #price_2{
    width: 40%;
}

.price_1 p{
    color: black;
    padding: 3% 0%;
    font-weight: 900;
}

.price_1 .trader_price{
    color: red;
}

.price_1 img{
    width: 70%;
}

@media screen and (max-width: 2400px) {
    .advantages{
        min-width: 620px;
    }
}

@media screen and (max-width: 2200px) {
    .advantages{
        min-width: 570px;
    }
}

@media screen and (max-width: 2000px) {
    .advantages{
        min-width: 520px;
    }
}

@media screen and (max-width: 1800px) {
    .advantages{
        min-width: 460px;
    }
}

@media screen and (max-width: 1600px) {
    .advantages{
        min-width: 405px;
    }
}

@media screen and (max-width: 1400px) {
    .advantages{
        min-width: 345px;
    }
    
    .aga_trade ul > li{
        margin-left: 5px;
    }

    .short{
        height: 375px;
    }
}

@media screen and (max-width: 1200px) {
    .advantages{
        min-width: 805px;
    }

    .short{
        height: 350px;
    }
}


@media screen and (max-width: 1100px) {
    .aga_trade{
        width: 45%;
    }

    .two{
        height: 860px;
    }

    .short{
        height: 360px;
    }

    .advantages{
        min-width: 270px;
    }
}

@media screen and (max-width: 800px) {
    .aga_trade_wraper{
        display: flex;
        flex-direction: column;
        /* flex-wrap: wrap; */
        width: 100%;
        align-items: center;
    }

    .aga_trade{
        width: 60%;
    }

    .short{
        height: 360px;
    }

}

@media screen and (max-width: 600px) {
    .aga_trade{
        width: 80%;
    }

    .questions_index_details details h3 {
        font-size: 1.1em;
    }
}

