
/* Font Import */

@font-face {
    font-family: nunito-thin;
    src: url(../fonts/nunito/Nunito-ExtraLight.ttf);
}

@font-face {
    font-family: nunito;
    src: url(../fonts/nunito/Nunito-Light.ttf);
}

@font-face {
    font-family: nunito-bold;
    src: url(../fonts/nunito/Nunito-Regular.ttf);
}

html, body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    justify-content: center;
}

body{
    display: flex;
    flex: 1;
    background: linear-gradient(180deg, #40C979 0%, #38B899 100%);
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-repeat: no-repeat;
}

hr{
    width: 100%;
    height: 2px;
    background: #fff;
    opacity: 0.7;
    border-radius: 2px;
    border: none;
}

h2, h3, p{
    opacity: 0.8;
}

footer{
    margin: 0;
    text-align: center;
    padding: 25px;
    box-sizing: border-box;
}

button{
    color: #0F8158;
    font-size: 16px;
    padding: 15px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: 0.25s;
}

button:hover{
    opacity: 0.8;
}

button:active{
    opacity: 0.6;
}

/* Templates */

.main{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 150px;
    width: 1000px;
}

.main .left{
    margin-right: 50px;
}

.main .right{
    margin-left: 50px;
}

.main .text h2{
    text-align: center;
    font-family: nunito-bold;
    font-size: 28px;
}

.main .text p{
    font-size: 20px;
}

/* Promo section */

.promo{
    width: auto;
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.promo .left{
    display: inline-block;
    margin: 0;
}

.promo .left header{
    margin: 0;
    display: flex;
    align-items: center;
}

.promo .left header span{
    vertical-align: middle;
    margin-left: 20px;
}

.promo .left header .title{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.promo .left header .title h1{
    font-size: 42px;
    margin: 0;
    font-family: nunito-bold;
}

.promo .left header .title p{
    margin: 0;
    margin-left: 10px;
    font-size: 32px;
    opacity: 0.8;
    font-family: nunito-thin;
}

.promo .left header h2{
    font-size: 20px;
    margin: 0;
    opacity: 0.7;
    font-weight: 300;
}

.promo .left header img{
    width: 88px;
    height: 100px;
    vertical-align: middle;
}

.promo .left ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-top: 50px;
    margin-bottom: 50px;
    font-size: 28px;
    font-weight: 300;
    opacity: 0.8;
}

.promo .left ul .check{
    width: 50px;
    height: 50px;
    margin-right: 5px;
    vertical-align: middle;
}

.promo .left ul li{
    vertical-align: middle;
    margin-bottom: 25px;
}

.promo .left ul li .check{
    margin-bottom: 5px;
}

.promo .left .buttons{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    flex: 1;
}

.promo .left .buttons .code{
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.promo .left .buttons .code .download-button{
    flex: 1;
}

.promo .left .buttons .buttonImage{
    height: 50px;
}

.promo .left .download-button{
    color: #111111;
    background: white;
    opacity: 1;
    border-radius: 7.5px;
    font-family: nunito-bold;
    height: 50px;
    transition: 0.25s opacity;
}

.promo .left .download-button i{
    color: #111111;
    margin-right: 5px;
}

.promo .left .download-button:hover, .download-button:active{
    opacity: 0.8;
}

.promo .right{
    display: inline-block;
}

.promo .right .screenshot{
    margin: 15px;
    height: 500px;
}

/* 1st paragraph */

.first .right{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.first .right .icon{
    width: 100px;
    height: 100px;
    margin: 50px;
    opacity: 0.7;
}

/* 2nd paragraph */

.second .left{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.second .left .icon{
    width: 175px;
    height: 325px;
}

/* 3rd paragraph */

.third{
    margin-bottom: 100px;
}

.third .right .top, .bottom{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
}

.third .right .top{
    margin-bottom: 25px;
}

.third .right .captioned-icon{
    margin-left: 25px;
    margin-right: 25px;
    width: 225px;
}

.third .right .icon{
    height: 75px;
    opacity: 0.7;
}

/* Footer */

footer #copyright{
    margin: 0;
    opacity: 0.6;
    line-height: 25px;
    font-size: 16px;
}

footer #copyright-link {
    text-decoration: none;
}

footer #copyright-link:hover {
    text-decoration: underline;
}

*{
    font-family: 'nunito', open-sans;
    color: white;
}

@media only screen and (max-width: 900px) {

    body{
        display: block;
    }

    footer{
        position: relative;
    }

    button{
        font-size: 16px;
    }

    .main{
        flex-direction: column;
        width: auto;
    }

    .main .left, .main .right{
        width: 90vw;
        margin: 0;
        align-items: center;
        justify-content: center;
    }

    /* Promo */

    .promo{
        min-height: 100vh;
        height: auto;
        flex-direction: column;
    }

    .promo .left{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .promo .left header{
        margin-top: 25px;
        justify-content: center;
    }

    .promo .left header img{
        width: 66px;
        height: 75px;
        vertical-align: middle;
    }

    .promo .left header .title h1{
        font-size: 34px;
    }
    
    .promo .left header .title p{
        font-size: 26px;
    }
    
    .promo .left header h2{
        font-size: 16px;
    }

    .promo .left ul{
        font-size: 24px;
        margin-top: 25px;
        margin-bottom: 25px;
    }
    
    .promo .left ul .check{
        width: 35px;
        height: 35px;
    }

    .promo .left .buttons{
        flex-direction: column;
        align-items: center;
        margin-bottom: 50px;
    }

    .promo .left .buttons .code{
        flex-direction: column;
    }
    
    .promo .left .buttons button{
        width: 175px;
    }

    .promo .right{
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .promo .right .screenshot{
        margin: 0px;
        height: 275px;
    }

    /* first */

    .first .left{
        margin-top: 25px;
    }

    /* second */

    .second .left{
        margin-bottom: 25px;
    }

    /* third */

    .third .right{
        display: flex;
        flex-direction: column;
    }

    .third .right .captioned-icon{
        margin-left: 10px;
        margin-right: 10px;

        width: 175px;
    }
    
}
