main{
    width: 100%;
    height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 1) 80%), url(../img/banners/main.jpg);
    /*background-size: contain;*/
    /*background-position: 0px -70px;*/
    background-size: cover;
    background-position: center, center -120px;
    background-color: black;
    background-repeat: no-repeat;
    /*padding-bottom: 50px;*/
    padding-bottom: 80px;
    transition: height 0.2s ease; 
}

main .main-button{
    color: white;
    border: 1px solid white;
    bottom: 80px;
}

#main-title{
    color: white;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 20px;
    margin: 0 auto;
    text-shadow: 1px 1px 10px white;
    text-align: center;
}

#main-high{
    position: absolute;
    /*color: white;*/
    text-transform: uppercase;
    left: 30px;
    bottom: 200px;
    line-height: 22px;
    z-index: 1;
}

#main-slogan{
    position: absolute;
    color: white;
    right: calc(50% - 210px);
    bottom: 170px;
    line-height: 27px;
    text-align: right;
    z-index: 1;
    width: 420px;
    text-align: center;
    font-size: 23px;
}

.main-button{
    position: absolute;
    /* color: white; */
    text-transform: uppercase;
    left: calc(50% - 100px);
    bottom: 30px;
    border: 1px solid black;
    padding: 10px 0px;
    z-index: 1;
    width: 200px;
    text-align: center;
    transition: all .3s;
}

.main-button:hover{
    background-color: #9747ff;
    color: white;
    border: 1px solid #9747ff;
}

#main-phrase{
    position: absolute;
    bottom: 70px;
    width: 600px;
    left: calc(50% - 300px);
    text-align: center;
    color: #9747ff;
    text-transform: uppercase;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 2px;
}


@media only screen and (max-width: 599px) {
    html, body{
        overflow-x: hidden;
    }

    main{
        height: 500px;
        padding-bottom: 140px;
        background-position: center -160px;
    }

    #main-title{
        font-size: 14px;
        line-height: 40px;
        margin-top: 50px;
        letter-spacing: 10px;
    }

    #main-slogan{
        bottom: 60px;
        text-align: center;
        right: 10%;
        width: 80%;
        margin: 0 auto;
    }

    #main-high{
        bottom: 200px;
        text-align: center;
        left: calc(50% - 137px);
    }

    #main-phrase{
        bottom: 80px;
        width: 90%;
        left: 5%;
    }

    .main-button{
        left: calc(50% - 98px);
        bottom: 20px;
    }

    main .main-button{
        bottom: 10px;
    }
}

@media only screen and (min-width: 600px) and (max-width: 767px){
    html, body{
        overflow-x: hidden;
    }
    
    #main-title{
        font-size: 18px;
    }

    #main-slogan{
        bottom: 190px;
        width: 100%;
        text-align: center;
        right: initial;
    }

    #main-high{
        width: 100%;
        left: initial;
        text-align: center;
    }

    .main-button{
        left: calc(50% - 98px);
    }
}
