#why{
    background-color: black;
    color: white;
    overflow: hidden;
    margin-bottom: 80px;
}

#why .header-1{
    width: calc(100% - 60px);
    margin: 0 auto;
}

#why .header-1 > h1{
    margin: 0;
    padding-top: 30px;
    padding-bottom: 30px;
    transform-origin: left;
    transform: scale(0.8);
    transition: transform 0.8s ease-in-out;
}

#why-reasons{
    display: flex;
    /*flex-direction: row-reverse;*/
    /*width: calc(306px * 8);*/
    width: calc(25% * 4);
    position: relative;
    animation: scroll 30s linear infinite;
    animation-play-state: running;
    -webkit-animation: scroll 30s linear infinite;
    -webkit-animation-play-state: running;
    cursor: pointer;
}

#why-reasons:hover{
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
}

.reason{
	/*width: 306px;*/
    width: 25%;
    height: 274px;
    flex-shrink: 0;
    border-radius: 10px;
}

.reason > div{
	width: 85%;
	margin: 0 auto;
	margin-top: 10%;
	text-align: left;
}

.reason-title{
	color: white !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    margin-bottom: -10px;
}

.reason img{
	width: 100px;
}

.reason p{
    font-size: 15px;
    font-style: normal;
    font-weight: 300;
}

/*@keyframes scroll {
    0% {
        transform: translateX(0);
        -webkit-transform: translateX(0);
    }
    100% { 
        transform: translateX(calc(-306px *4 ));
        -webkit-transform: translateX(calc(-306px * 4));
    }
}*/

/*@keyframes scroll {
    100% { 
        transform: translateX(calc(306px *4 ));
        -webkit-transform: translateX(calc(306px * 4));
    }
    0% {
        transform: translateX(calc(-306px *4 ));
        -webkit-transform: translateX(calc(-306px *4 ));
    }
}*/

:root {
    --scroll-distance: calc(-25% * 8);
}

@keyframes scroll {
    100% { 
        transform: translateX(0);
        -webkit-transform: translateX(0);
    }
    0% {
        transform: translateX(var(--scroll-distance));
        -webkit-transform: translateX(var(--scroll-distance));
    }
}

#why-half-moon{
    background-color: white;
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
    transition: height 0.3s ease-in-out;
    padding-bottom: 75px;
}

#why-half-moon .main-button{
    color: black;
}

#why-half-moon .main-button:hover{
    color: white;
}

#purple-half-moon{
    background-color: #9747ff;
    width: 52%;
    height: 500px;
    border-bottom-left-radius: 60%;
    border-bottom-right-radius: 60%;
    transform: scale(2);
    position: absolute;
    top: -40%;
    left: 24%;
    transition: height 0.3s ease-in-out;
}

#black-half-moon{
    background: black;
    height: 370px;
    width: 43%;
    border-bottom-left-radius: 100%;
    border-bottom-right-radius: 100%;
    position: absolute;
    transform: scale(2.35);
    top: -40%;
    left: 28.5%;
    transition: height 0.3s ease-in-out;
}

#main-reasons{
    width: 90%;
    margin: 0 auto;
    padding: 40px 0;
}

#main-reasons .reason{
    display: inline-block;
    width: 24%;
    height: auto;
}

#main-reasons .reason > div{
    text-align: center;
}

#why-comparative{
    width: 100%;
    padding: 60px 0;
}

#why-comparative > div{
    width: 90%;
    margin: 0 auto;
}

#why-comparative-table{
    overflow: auto;
}

#why-comparative table{
    margin: 0 auto;
    min-width: 700px;
}

#why-comparative table th{
    padding: 10px 5px;
    text-align: left;
    font-size: 18px;
}

#why-comparative table td{
    padding: 5px;
    font-size: 15px;
}

#why-comparative-title{
    font-size: 35px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media only screen and (max-width: 599px) {
    .reason{
        width: 60%;
    }

    :root {
        --scroll-distance: calc(-60% * 8)
    }

    .reason img {
        width: 80px;
    }

    #black-half-moon{
        height: 190px;
        top: -22%
    }

    #purple-half-moon{
        height: 240px;
        top: -22%;
    }

    #why-half-moon{
        height: 310px;
    }

    #main-reasons .reason {
        display: block;
        width: 100%;
        height: auto;
        padding: 10px 0px;
    }

    #why-comparative-title{
        font-size: 30px;
    }
}

@media only screen and (min-width: 600px) and (max-width: 767px){
    .reason{
        width: 40%;
    }

    :root {
        --scroll-distance: calc(-40% * 8)
    }
}