@import "https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400";

body {
    margin: 0;
    padding: 0;
    font-family: "Source Sans Pro", Helvetica, sans-serif;
    min-height: 370px;
    position: absolute;
    display: table;
    width: 100%;
    height: 100%;
}

a {
    text-decoration: none;
    outline: 0;
}

.top {
    margin: 0;
    padding: 0;
    position: absolute;
    padding-left: 140px;
    padding-right: 140px;
    padding-top: 20px;
    padding-bottom: 20px;
    display: table;
    height: 100%;
}

.left {
    display: table-cell;
    vertical-align: middle;
    width: auto;
}

.icon {
    width: 200px;
    height: 200px;
    margin-bottom: 0px;
    border-radius: 60px;
    box-shadow: 3px 5px 30px 2px rgba(90, 70, 185, 0.50);
}

.titlefa {
    display: block;
    width: 100%;
    height: auto;
}

.title {
    display: inline-block;
    color: #464646;
    width: auto;
    font-size: 50px;
}

.fa {
    position: relative;
    font-size: 35px !important;
    color: #775AFF;
    margin-left: 20px;
}

.subtitle {
    display: table;
    color: #7F7F7F;
    width: 100%;
    font-size: 28px;
    margin-top: -20px;
    margin-bottom: 70px;
}

.button {
    cursor: pointer;
    width: 230px;
    border-radius: 8px;
    font-size: 20px;
    display: inline-block;
    line-height: 60px;
    transition: .2s;
}

.legend {
    display: inline-block;
    width: 230px;
    text-align: center;
    color: #7F7F7F;
    margin-top: 5px;
    font-size: 16px;
}

.right {
    float: right;
    margin-right: 140px;
    margin-top: 20px;
}

.phoneimg {
    display: table-cell;
    vertical-align: middle;
}

.phoneimg img {
    display: block;
    height: 90vh;
    max-height: 750px;
    width: auto;
    min-height: 450px;
    cursor: pointer;
}

.video {
    display: none;
    height: 200px;
    width: 80%;
    max-width: 500px;
    margin-bottom: 50px;
    cursor: pointer;
    background-image: url('../img/video.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.75);
}

.overlay iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 20px;
    right: 20px;
}

@media screen and (max-height: 640px),
screen and (max-width: 1200px) {
    .icon {
        width: 150px;
        height: 150px;
        border-radius: 45px;
    }
    .title {
        font-size: 30px;
    }
    .fa {
        font-size: 25px !important;
        margin-left: 13px;
    }
    .subtitle {
        font-size: 20px;
        margin-top: 0px;
        margin-bottom: 40px;
    }
    .button {
        font-size: 16px;
        width: 200px;
        line-height: 55px;
        letter-spacing: 0.9px;
    }
    .legend {
        width: 200px;
        margin-top: 0;
        font-size: 14px;
    }
}

@media screen and (max-width: 1200px) {
    .top {
        padding-left: 60px;
    }
    .right {
        margin-right: 40px;
    }
}

@media screen and (max-width: 900px) {
    .phoneimg img {
        height: 70vh;
    }
}

@media screen and (max-width: 780px) {
    .icon {
        width: 120px;
        height: 120px;
        border-radius: 35px;
    }
    .top {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
    .left {
        text-align: center;
    }
    .subtitle {
        margin-top: -10px;
        margin-bottom: 30px;
    }
    .phoneimg {
        display: none;
    }
    .video {
        display: inline-block;
        margin-bottom: 30px;
    }
    .close {
        width: 25px;
        height: 25px;
        top: 15px;
        right: 10px;
    }
}
