@font-face {
    font-family: 'WorkSans';
    src: url(../fonts/WorkSans-Regular.ttf);
}

@font-face {
    font-family: 'WorkSansBold';
    src: url(../fonts/WorkSans-Bold.ttf);
}

body{
    font-family: 'WorkSans';
    margin: 0;
}

a{
	color: inherit;
	text-decoration: none;
}

.uppercase{
    text-transform: uppercase;
}

.button{
    width: 237px;
    height: 56px;
    padding: 18px 40px 18px 40px;
    border-radius: 40px;
    background: #146EF4;
    color: white;
    font-weight: bold;
    font-size: 17px;
    transition: all .3s;
}

.button:hover{
    background: #1F49BF;
}

.title-section{
    width: 90%;
    text-align: center;
    margin: 0 auto;
}

.title{
    font-size: 50px;
    margin-block-start: 0;
    margin-block-end: 0;
}

.subtitle{
    font-size: 18px;
    text-transform: uppercase;
    color: #A5A6A7;
    font-weight: 100;
    margin-block-start: 0;
    margin-block-end: 0;
}

/*************************/

#main{
    width: 100%;
    height: 574px;
    background-color: #0A0A0A;
    position: relative;
    overflow: hidden;
    top: 122px;
}

#how-main-red-1{
    position: absolute;
    left: 0;
    top: 0;
}

#main > div{
    float: left;
    width: 50%;
    height: 100%;
    position: relative;
    z-index: 2;
}

#main-text{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    color: white;
}

#main-text .title{
    margin-bottom: 90px;
}

#main-text > div{
    width: 65%;
    margin: 0 auto;
}

#main-image{
    background-image: url(../img/banners/main.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

#main-box-1 .floating-box-body h5{
    /*font-family: 'WorkSansBold';*/
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    margin-top: 20px;
}

#main-box-1 .floating-box-body p{
    line-height: 6px;
    text-indent: 18px;
    font-size: 17px;
}

#main-box-1{
    position: absolute;
    padding: 10px 0;
    top: calc(50% - 213px);
    left: 60px;
}

.floating-box{
    width: 295px;
    height: auto;
    background-color: rgba(250, 250, 250, 0.8);
    border-radius: 8px;
    color: black;
}

.floating-box-title{
    height: 45px;
    text-align: left;
    padding: 0px 15px;
    border-bottom: 1px solid #b5b5b5;
}

.floating-box-title-2{
    height: 60px;
    text-align: center;
    padding: 0px 15px;
    border-bottom: 1px solid #b5b5b5;
}

.floating-box-title h5{
    margin: 0;
    font-size: 18px;
    line-height: 51px;
    letter-spacing: 1px;
    /*font-family: 'WorkSansBold';*/
}

.floating-box-title-2 h5{
    margin: 0;
    font-size: 25px;
    letter-spacing: 1px;
    padding-top: 6px;
    /*font-family: 'WorkSansBold';*/
}

.box-small-text{
    text-transform: uppercase;
    font-size: 14px;
}

.floating-box-body{
    font-size: 18px;
    line-height: 14px;
    text-align: left;
    padding: 0px 15px;
    display: flex;
    align-items: center;
    font-weight: lighter;
}

@media only screen and (max-width: 599px) {
    .title{
        font-size: 30px;
    }

    .subtitle{
        font-size: 14px;
    }

    .button{
        font-size: 14px;
    }

    #main{
        height: auto;
        top: 101px
    }

    #main > div{
        float: initial;
        width: 100%;
        height: auto;
    }

    #main-text{
        height: 290px !important;
        padding-bottom: 20px;
    }

    #main-text > div{
        width: 90%;
    }

    #main-text .title {
        margin-bottom: 45px;
    }

    #main-image{
        height: 500px !important;
        background-position: left;
    }

    #main-box-1{
        left: calc(50% - 147px);
    }
}

@media only screen and (min-width: 600px) and (max-width: 767px){
    .title{
        font-size: 30px;
    }

    .subtitle{
        font-size: 14px;
    }

    .button{
        font-size: 14px;
    }

    #main{
        height: auto;
    }

    #main > div{
        float: initial;
        width: 100%;
        height: auto;
    }

    #main-text{
        height: 290px !important;
        padding-bottom: 20px;
    }

    #main-text > div{
        width: 90%;
    }

    #main-text .title {
        margin-bottom: 45px;
    }

    #main-image{
        height: 400px !important;
        background-position: left;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px){
    .title{
        font-size: 40px;
    }

    .subtitle{
        font-size: 16px;
    }

    .button{
        font-size: 16px;
    }

    #main{
        height: auto;
    }

    #main > div{
        float: initial;
        width: 100%;
        height: auto;
    }

    #main-text{
        height: 290px !important;
        padding-bottom: 20px;
    }

    #main-text > div{
        width: 90%;
    }

    #main-text .title {
        margin-bottom: 45px;
    }

    #main-image{
        height: 400px !important;
        background-position: left;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .title{
        font-size: 45px;
    }
    
    .button{
        font-size: 16px;
    }

    #main-image{
        background-position: left;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1727px) {
    .title{
        font-size: 45px;
    }

    #main-text > div{
        width: 70%;
    }

    #main-image{
        background-position: left;
    }
}
