/* layout */

section,
footer {
    /*  reset general.css  */
    max-width: 100%;
    width: 100%;
    margin: 0;
    /*  new styles  */
}

section.intro {
    text-align: center;
    /*

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 50px;

*/
}

a.btn {
    background: #30c3a6;
    color: #fff;
    font-weight: 600;
    padding: 16px 50px 15px;
    width: 210px;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 20px;
    font-size: 17px;
    display: inline-block;
}

a.btn:visited {
    background: #30c3a6;
}

a.btn:hover {
    background: #1abc9c;
}

a.btn:active {
    background: #00a081;
}

section.features {
    display: grid;
    grid-template-columns: 444px 444px;
    grid-gap: 30px;
    grid-template-rows: 80px 1fr 1fr;
    justify-items: center;
    justify-content: center;
    padding: 50px 0;
}

section.features h2 {
    grid-column: 1 / -1;
}

section.how-to-install {
    display: grid;
    grid-template-columns: repeat(3, 286px);
    grid-auto-rows: 80px 1fr;
    grid-gap: 30px;
    justify-items: center;
    justify-content: center;
    padding: 50px 0;
}

section.how-to-install h2 {
    grid-column: 1 / -1;
}

footer {
    display: grid;
    grid-template-columns: repeat(4, 207px);
    grid-gap: 30px;
    justify-items: left;
    justify-content: center;
    padding: 30px 0 50px;
    background: #333333;
}

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

                Intro Buttons

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

.intro h1 {
    letter-spacing: -0.03rem;
    margin-bottom: 0.8rem;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 5px;
    padding: 0;
}

.intro h2 {
    margin: 0 0 35px 0;
    font-size: 20px;
    font-style: italic;
    letter-spacing: 0.01rem;
    font-size: 20px;
    font-style: italic;
    font-weight: 700;
}

iframe {
    margin: 20px 0 0 0;
}

.intro ul {
    text-align: center;
}

.intro ul li {
    display: inline-block;
    list-style-type: none;
    margin-left: 20px;
}

.intro ul li:first-child {
    margin: 0;
}

.intro ul li a {
    float: left;
    width: 185px;
    height: 175px;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    -webkit-transform: skew(-25deg);
    -moz-transform: skew(-25deg);
    -o-transform: skew(-25deg);
    background: #00d2a7;
}

.intro ul li a p {
    margin-top: 60px;
    line-height: 1;
    text-transform: uppercase;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    font-style: italic;
    -webkit-transform: skew(25deg) scale(1);
    -moz-transform: skew(25deg) scale(1);
    -o-transform: skew(25deg) scale(1);
}

.intro ul li a:hover,

.intro ul li a:focus,

.intro ul li a:active {
    text-decoration: none;
    -webkit-transform: skew(-25deg) scale(1.1);
    -moz-transform: skew(-25deg) scale(1.1);
    -o-transform: skew(-25deg) scale(1.1);
}

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

            Watch Video Button

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

.intro ul li a.watch-video p > span {
    margin-left: -37px;
}

.intro ul li a span.arrow {
    position: absolute;
}

.intro ul li a.watch-video span.arrow {
    top: 95px;
    right: 26px;
    width: 25px;
    height: 26px;
    background: url('../img/watch-video-arrow.png');
}

.intro ul li a.watch-video:hover {
    background: #00c398;
}

.intro ul li a.watch-video:focus {
    background: #00b58b;
}

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

              Try Demo Button

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

.intro ul li a.try-demo {
    background: #1abc9c;
}

.intro ul li a.try-demo p {
    margin-left: -7px;
}

.intro ul li a span.arrow {
    position: absolute;
}

.intro ul li a.try-demo span.arrow {
    top: 88px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: url('../img/try-demo-arrow.png');
}

.intro ul li a.try-demo:hover {
    background: #00ad8e;
}

.intro ul li a.try-demo:focus {
    background: #00a081;
}

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

              Download Button

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

.intro ul li a.download p > span {
    margin-left: -37px;
}

.intro ul li a.download {
    background: #61cae9;
}

.intro ul li a.download p {
    margin-left: -7px;
}

.intro ul li a span.arrow {
    position: absolute;
}

.intro ul li a.download span.arrow {
    top: 88px;
    right: 26px;
    width: 35px;
    height: 35px;
    background: url('../img/download-arrow.png');
}

.intro ul li a.download:hover {
    background: #51bcda;
}

.intro ul li a.download:focus {
    background: #41aecc;
}

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

        Featured

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

section.featured {
    padding: 0 0 50px;
    text-align: center;
}

section.featured p {
    padding-top: 50px;
    clear: both;
    display: block;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 0.1em;
}

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

              Features

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

.features {
    text-align: center;
    background: #f5f5f5;
}

.features h2 {
    color: #5a5959;
    font-size: 44px;
    font-weight: 800;
    margin: 0 0 35px 0;
}

.features-box {
    max-width: 385px;
}

.features-box img {
    margin-bottom: 10px;
}

.features .features-box h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.features .features-box p {
    font-size: 16px;
    color: #5a5959;
    font-weight: 500;
}

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

            How To Install

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

.how-to-install {
    float: left;
    width: 100%;
    padding: 50px 0;
}

.how-to-install h2 {
    color: #5a5959;
    font-size: 44px;
    font-weight: 800;
    margin: 0 0 80px 0;
    text-align: center;
}

.how-to-install p {
    font-size: 16px;
    color: #5a5959;
    line-height: 1.4;
}

.how-to-install .how-to-install-box {
    float: left;
    width: 100%;
    padding: 15px;
    background: #f7f7f9;
    border-radius: 5px;
    min-height: 207px;
    margin-bottom: 5px;
    border: 1px solid #e1e1e8;
}

.how-to-install .how-to-install-box span.html-blue {
    color: #1abc9c;
}

.how-to-install code {
    color: #3c3e43;
    font-size: 14px;
    line-height: 20px;
    font-family: 'Consolas';
}

/** responsive styles **/

/** tablet and desktop **/

@media screen and (min-width: 480px) {}

/** mobile **/

@media screen and (max-width: 480px) {
    section.intro {
        text-align: left;
        padding: 20px;
    }

    .intro h1 {
        font-size: 2.3rem;
        padding-bottom: 1rem;
    }

    .intro h2 {
        font-size: 1.2rem;
        margin-bottom: 50px;
    }

    section.featured {
        padding: 20px;
        text-align: center;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    section.featured p {
        padding-top: 20px;
        grid-column: 1 / -1;
    }

    section.featured img {
        width: inherit;
        max-width: 80%;
    }

    section.features {
        display: flex;
        flex-direction: column;
        padding: 20px;
    }

    section.how-to-install {
        display: flex;
        flex-direction: column;
        padding: 20px;
    }

    section.how-to-install h2 {
        grid-column: 1 / -1;
    }

    footer {
        display: flex;
        flex-direction: column;
        padding: 20px;
    }
}

