section.melanil {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: initial;
    background-image: url("../assets/melanil/main_background.jpg");
    background-size: cover;
    margin-top: 0px;
}

section.melanil .melanil-container {
    width: 100%;
    max-width: 1190px;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.melanil img {
    max-width: 369px;
    width: 31%;
}

.melanil-main {
    display: flex;
    flex-direction: column;
    max-width: 765px;
    width: 60%;
}

.menalin-title h1 {
    font-size: 57px;
    margin-bottom: 5px;
}

.menalin-title p {
    font-size: 20px;
}

.melanil-main-application {
    max-width: 539px;
    width: 90%;
    font-size: 18px;
    color: #6a6a6a;
}

.melanil-main-content {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 30px 0;
}

.melanil-main-content img {
    max-width: 226px;
    width: 35%;
}


.menanil-main-texts {
    width: 481px;
    display: flex;
    flex-direction: column;
    margin: 0 25px;
}

.menanil-main-text-block {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.menanil-main-text-block p {
    font-size: 18px;
}

.check {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    background-image: url("../assets/melanil/check.png");
}


/* MELANIL COMPONENTS  */

.melanil-component-row {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--melanil-color);
}

.melanil-component-row .melanil-component-block:nth-of-type(1) {
    text-align: start;
}

.melanil-component-row .melanil-component-block:nth-of-type(3) {
    text-align: end;
}

.melanil-components .melanil-component-row:last-of-type {
    justify-content: center;
}

.melanil-components .melain-component-row:last-of-type .melanil-component-block {
    max-width: 585px;
    width: 100%;
    justify-content: center;
}

.melanil-component-block {
    max-width: 500px;
    width: 48%;
    height: 100%;
    display: flex;
    align-items: center;

}

.melanil-component-block img {
    width: 100px;
    height: 100px;
    margin: 0 10px;
    background-color: black;
}

.melanil-component-block-texts {
    width: 80%;
}



.melanil-component-block-texts h1 {
    margin-bottom: 5px;
}

.melanil-component-mid-line {
    width: 1px;
    height: 80%;
    background-color: var(--melanil-color);
}


/* MELANIL EFFECT  */

section.melanil-effect {
    max-width: 100%;
    width: 100%;
    background-color: #ebebeb;
    margin-bottom: 0;
}


.melanil-effect-content {
    max-width: 1190px;
    width: 100%;
    padding: 50px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.melanil-effect-content-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 85px;
}

.melanil-effect-content img {
    width: 45%;
    max-width: 525px;
    border-radius: 50px;
}

.melanil-effect-content-texts {
    margin-right: 30px;
}

.melanil-effect-content-text-block {
    display: flex;
    align-items: center;
    margin: 55px 0;
}

.melanil-effect-content-text-block p {
    width: calc(100% - 24px);
    font-size: 25px;
}

.dot {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    background-image: url("../assets/melanil/dot.png");
}

.melanil-effect-additional-texts {
    max-width: 550px;
    width: 45%;
    margin-left: 30px;
}

.melanil-effect-additional-texts p {
    font-size: 25px;
    margin: 60px 0;
}

.melanil-recommendation {
    width: 80%;
    font-size: 25px;
    text-align: center;
    margin: auto;
}



@media (max-width: 981px) {

    .melanil-components > h1 , .melanil-effect > h1{
        font-size: 35px;
    }

    /* Main */

    .menalin-title h1 {
        font-size: 55px;
    }

    .menalin-title p {
        font-size: 19px;
    }

    section.melanil .melanil-container {
        flex-direction: column-reverse;
    }

    .melanil-main {
        width: 95%;
    }

    section.melanil img {
        width: 45%;
    }

    .melanil-main-application {
        margin-bottom: 35px;
    }

    /* melanil-components */

  

    .melanil-component-row {
        flex-direction: column;
        height: initial;
    }

    .melanil-component-block {
        max-width: 921px;
        width: 100%;
        justify-content: center;
        flex-direction: column;
        text-align: center !important;
        margin: 25px 0;
    }

    .melanil-component-block img {
        margin-bottom: 25px;
    }

    .melanil-component-mid-line {
        display: none;
    }

    .melanil-component-row .melanil-component-block:nth-of-type(3) {
        flex-direction: column-reverse;
    }


    /* melanil-effect */

    .melanil-effect-content {
        padding: 0;
    }

    .melanil-effect-content .melanil-effect-content-row:nth-of-type(1) {
        flex-direction: column;
    }

    .melanil-effect-content .melanil-effect-content-row:nth-of-type(2) {
        flex-direction: column-reverse;
    }

    .melanil-effect-content img {
        width: 90%;
    }

    .melanil-effect-content-texts {
        margin: 0;
    }

    .melanil-effect-additional-texts {
        margin: 0;
    }

    .melanil-effect-additional-texts {
        width: 90%;
    }

    .melanil-effect-content-row {
        margin-bottom: 0;
    }

    .melanil-recommendation {
        margin: 30px auto;
    }

    .melanil-effect-additional-texts p {
        font-size: 25px;
        margin: 30px 0;
    }
}


@media (max-width: 681px) {

    .melanil-components > h1 , .melanil-effect > h1{
        font-size: 32px;
    }

    /* MAIN */

    .menanil-main-texts,
    .melanil-main-application {
        width: 100%;
    }

    .menalin-title h1 {
        font-size: 40px;
    }

    .melanil-main-content {
        flex-direction: column-reverse;
    }

    section.melanil img {
        width: 90%;
        max-height: 326px;
    }

    /* melanil-components */

    .melanil-components>h1,
    .melanil-effect>h1 {
        font-size: 35px;
    }

    .melanil-component-block-texts h1 {
        font-size: 20px;
    }


    /* melanil-effect */

    .melanil-effect-content-text-block p,
    .melanil-effect-additional-texts p,
    .melanil-recommendation {
        font-size: 20px;
    }

}


@media (max-width: 431px) {
    /* MAIN */

    .menalin-title h1 {
        font-size: 33px;
    }

    .menalin-title p, .menanil-main-text-block p, .melanil-main-application {
        font-size: 17px;
    }

    .melanil-components>h1, .melanil-effect>h1 {
        font-size: 30px;
        margin: 20px 0;
    }

    .melanil-recommendation {
        width: 100%;
    }
   
}