/* Fonts */
@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/RobotoLight/RobotoLight.eot");
    src: url("../fonts/Roboto/RobotoLight/RobotoLight.eot?#iefix") format("embedded-opentype"),
         url("../fonts/Roboto/RobotoLight/RobotoLight.woff") format("woff"),
         url("../fonts/Roboto/RobotoLight/RobotoLight.ttf") format("truetype");
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/RobotoBold/RobotoBold.eot");
    src: url("../fonts/Roboto/RobotoBold/RobotoBold.eot?#iefix") format("embedded-opentype"),
         url("../fonts/Roboto/RobotoBold/RobotoBold.woff") format("woff"),
         url("../fonts/Roboto/RobotoBold/RobotoBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: "Brutal Type";
    src: url("../fonts/BrutalType/BrutalTypeBold/BrutalTypeBold.eot");
    src: url("../fonts/BrutalType/BrutalTypeBold/BrutalTypeBold.eot?#iefix") format("embedded-opentype"),
         url("../fonts/BrutalType/BrutalTypeBold/BrutalTypeBold.woff") format("woff"),
         url("../fonts/BrutalType/BrutalTypeBold/BrutalTypeBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: "Calibri";
    src: url("../fonts/Calibri/CalibriLight/CalibriLight.eot");
    src: url("../fonts/Calibri/CalibriLight/CalibriLight.eot?#iefix") format("embedded-opentype"),
         url("../fonts/Calibri/CalibriLight/CalibriLight.woff") format("woff"),
         url("../fonts/Calibri/CalibriLight/CalibriLight.ttf") format("truetype");
    font-style: normal;
    font-weight: 300;
}

/* Base Styles */
html,
body {
    height: 100%;
}

body {
    min-width: 320px;
    font-family: "Roboto", sans-serif;
    font-size: 19px;
    font-weight: 300;
    background-color: #313aa8;
    color: #000;
    letter-spacing: .025em;
    overflow-x: hidden; 
}

input,
select,
textarea,
button {
    font-family: "Roboto", sans-serif;
    font-size: 19px;
    font-weight: 300;
    background: none;
    color: #000;
    border: none;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    line-height: 1;
    margin: 0;
    padding: 0;
    transition: .2s;    
}

input::-moz-focus-inner,
select::-moz-focus-inner,
textarea::-moz-focus-inner,
button::-moz-focus-inner {
    border: 0;
}

textarea {
    line-height: 24px;
    resize: none;
}

img,
iframe,
video {
    display: block;
    width: 100%;
}

a {
    color: currentColor;
    outline: none;
    text-decoration: none;
    transition: .2s;
}

h1, h2, h3,
h4, h5, h6 {
    font-weight: 700;
}

h1, .f1 {
    font-size: 36px;
    line-height: 42px;
}

h2, .f2 {
    font-size: 32px;
    line-height: 38px;
}

h3, .f3 {
    font-size: 28px;
    line-height: 34px;
}

h4, .f4 {
    font-size: 22px;
    line-height: 28px;
}

h5, .f5 {
    font-size: 21px;
    line-height: 27px;
}

h6, .f6 {
    font-size: 19px;
    line-height: 25px;
}

p {
    line-height: 24px;
}

strong {
    font-weight: 700;
}

/* Component Styles */
.text {
    line-height: 24px;
}

.text h1:not(:last-child), .text h2:not(:last-child), .text h3:not(:last-child), 
.text h4:not(:last-child), .text h5:not(:last-child), .text h6:not(:last-child),
.text p:not(:last-child), .text ol:not(:last-child), .text ul:not(:last-child) {
    margin-bottom: 15px;
}

.text a:hover,
.text a:focus {
    opacity: .8;
}

.text a:active {
    opacity: .6;
}

.text h1, .text h2, .text h3, 
.text h4, .text h5, .text h6 {
    text-transform: uppercase;
}

.text ul {
    list-style: disc outside;
    padding-left: 18px;
}

.text li:not(:last-child) {
    margin-bottom: 10px;
}

.download-button {
    display: inline-block;
    position: relative;
    font-family: "Brutal Type", sans-serif;
    font-size: 32px;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 5px 16px 5px rgba(0, 0, 0, .75);
    text-align: center;
    text-shadow: 0 5px 1px rgba(0, 0, 0, .08);
    text-transform: uppercase;
    margin-bottom: 7px;
    padding: 8px 12px;
}

.download-button:before,
.download-button:after {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    content: "";
    left: 0;
}

.download-button:before {
    background-color: #6b6b6b;
    top: 7px;
    left: 0;
}

.download-button:after {
    background: linear-gradient(to bottom, #b5b3b1 0%, #efeded 13%, #fff 24%, #fff 35%, #bfbebd 58%, #dedcd4 100%);
    top: 0;
}

.download-button__inner {
    position: relative;
    border-radius: 8px;
    box-shadow: 0 1px 0 #000;
    overflow: hidden;
    z-index: 1;
}

.download-button__inner:before,
.download-button__inner:after {
    position: absolute;
    width: 100%;
    height: 2px;
    content: "";
    background: linear-gradient(to right, transparent, #fde6a5, transparent);
    opacity: .75;
    pointer-events: none;
    left: 0;
    z-index: 3;
}

.download-button__inner:before {
    top: 2px;
}

.download-button__inner:after {
    bottom: 2px;
}

.download-button__link {
    display: block;
    position: relative;
    background: linear-gradient(to bottom, #c30003, #ac0104);
    color: #fff;
    border: 1px solid #ac0104;
    border-radius: 8px;
    overflow: hidden;
    padding: 30px;
    transition: .2s;
    z-index: 1;
    cursor: pointer;
}

.download-button__link:before,
.download-button__link:after {
    position: absolute;
    width: 100%;
    content: "";
    left: 0;
    transition: .2s;
    z-index: -1;
}

.download-button__link:before {
    width: 200px;
    height: 300%;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    opacity: .5;
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(20deg);
    transform-origin: center center;
    -webkit-animation: button-shine 2s infinite ease-in-out;
            animation: button-shine 2s infinite ease-in-out;
}

@-webkit-keyframes button-shine {
    0% {
        left: -250px;
    }
    
    50%, 100% {
        left: 105%
    }
}

@keyframes button-shine {
    0% {
        left: -250px;
    }
    
    50%, 100% {
        left: 105%
    }
}

.download-button__link:after {
    height: 100%;
    background-color: #fff;
    visibility: hidden;
    opacity: 0;
    top: 0;
}

.download-button__link:hover:after,
.download-button__link:focus:after,
.download-button__link:active:after {
    visibility: visible;
}

.download-button__link:hover:after,
.download-button__link:focus:after {
    opacity: .1;
}

.download-button__link:active:after {
    background-color: #000;
    opacity: .05;
}

/* Template Styles */
.wrapper {
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    max-width: 1920px;
    min-height: 100%;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .25);
    overflow-x: hidden;
    margin: 0 auto;
}

.content {
    flex-grow: 1;
}

.section {
    position: relative;
    padding: 120px 0;
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__title {
    text-transform: uppercase;
}

.section.section_inverse {
    background-color: #1f1f1f;
    color: #fff;
}

.main {
    background: url(../img/main_bg.jpg) center bottom no-repeat;
    background-size: cover;
    text-align: center;
    padding: 30px 0 60px;
}

.main__header {
    margin-bottom: 380px;
}

.main__logo {
    display: inline-block;
    width: 100%;
    max-width: 872px;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    pointer-events: none;
    margin-top: -30px;
}

.main__download-count {
    display: block;
    font-family: "Calibri", sans-serif;
    font-size: 21px;
    margin-top: 12px;
}

.about {
    background: url(../img/about_bg.jpg) center top no-repeat;
    background-size: cover;    
}

.about__download {
    margin-top: 60px;
}

.about__img {
    position: absolute;
    max-width: 656px;
    top: -60px;
    margin: 0 -60px;
}

.features {
    background: url(../img/features_bg.jpg) center top no-repeat;
    background-size: cover;      
    text-align: center;
    padding: 75px 0 60px;
}

.features__img {
    display: inline-block;
    max-width: 640px;
    margin-bottom: 15px;
}

.features__download {
    margin-top: 60px;
}

.reviews {
    background: url(../img/reviews_bg.jpg) center top no-repeat;
    background-size: cover;
    padding: 75px 0;
}

.reviews__header {
    margin-bottom: 260px;
}

.review-card {
    position: relative;
    background-color: rgba(255, 255, 255, .9);
    color: #000;
    padding: 30px;
    z-index: 1;
}

.review-card__text + .review-card__author {
    margin-top: 20px;
}

.footer {
    text-align: center;
    padding: 60px 0;
}

/* Plugin Styles */
.reviews__slider .slick-dots {
    bottom: -60px;
}

.slick-dots li {
    width: 14px;
    height: 14px;
    margin: 0 7px;
}

.slick-dots li button {
    width: 100%;
    height: 100%;
    background-color: #000;
    border-radius: 100%;
    opacity: .4;
}

.section.section_inverse .slick-dots li button {
    background-color: #fff;
}

.slick-dots li button:hover,
.slick-dots li.slick-active button {
    opacity: 1;
}

.slick-dots li button:before {
    display: none;
}

/* Media Styles */
@media (max-width: 1229px) {
    /* Base Styles */
    body {
        font-size: 16px;
    }

    input,
    select,
    textarea,
    button {
        font-size: 16px;
    }

    h1, .f1 {
        font-size: 30px;
        line-height: 36px;
    }

    h2, .f2 {
        font-size: 26px;
        line-height: 32px;
    }

    h3, .f3 {
        font-size: 22px;
        line-height: 28px;
    }

    h4, .f4 {
        font-size: 20px;
        line-height: 26px;
    }

    h5, .f5 {
        font-size: 18px;
        line-height: 24px;
    }

    h6, .f6 {
        font-size: 16px;
        line-height: 22px;
    }

    /* Components Styles */
    .download-button {
        font-size: 28px;
    }

    .download-button__link {
        padding: 24px;
    }

    /* Template Styles */
    .main__header {
        margin-bottom: 320px;
    }

    .main__logo {
        max-width: 720px;
    }

    .main__download-count {
        font-size: 18px;
    }

    .reviews__header {
        margin-bottom: 180px;
    }

    .review-card__author {
        font-size: 18px;
        line-height: 24px;
    }

    .review-card__text + .review-card__author {
        margin-top: 15px;
    }

    .footer {
        padding: 45px 0;
    }    

    /* Plugin Styles */
    .slick-dots li {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }        
}

@media (max-width: 991px) {
    /* Base Styles */
    body {
        font-size: 14px;
    }

    input,
    select,
    textarea,
    button {
        font-size: 14px;
    }

    h1, .f1 {
        font-size: 24px;
        line-height: 30px;
    }

    h2, .f2 {
        font-size: 22px;
        line-height: 28px;
    }

    h3, .f3 {
        font-size: 20px;
        line-height: 26px;
    }

    h4, .f4 {
        font-size: 18px;
        line-height: 24px;
    }

    h5, .f5 {
        font-size: 16px;
        line-height: 22px;
    }

    h6, .f6 {
        font-size: 14px;
        line-height: 20px;
    }

    /* Components Styles */
    .download-button {
        font-size: 20px;
    }

    .download-button__link {
        padding: 20px;
    }

    /* Template Styles */
    .section {
        padding: 60px 0;
    }

    .main__header {
        margin-bottom: 240px;
    }

    .main__logo {
        max-width: 480px;
    }

    .about {
        text-align: center;
    }

    .about__download {
        margin-top: 45px;
    }

    .features__download {
        margin-top: 45px;
    }

    .footer {
        padding: 30px 0;
    }    
}

@media (max-width: 575px) {
    /* Components Styles */
    .download-button {
        font-size: 18px;
    }

    /* Template Styles */
    .reviews__header {
        margin-bottom: 120px;
    }  

    .review-card {
        padding: 30px 15px;
    }    
}

@media (min-width: 768px) and (max-width: 991px) {
    /* Components Styles */
    .slider__item {
        margin: 0 15px;
    }
}

@media (min-width: 992px) {
    /* Template Styles */
    .review-card.review-card_geometric {
        background-color: transparent;
        padding: 40px 30px;
    }

    .review-card.review-card_geometric:before,
    .review-card.review-card_geometric:after {
        position: absolute;
        width: 100%;
        height: 100%;
        content: "";
        top: 0;
        left: 0;
        z-index: -1;
    }

    .review-card.review-card_geometric:before {
        opacity: .55;
    }    

    .review-card.review-card_geometric:after {
        opacity: .7;
        top: 4px;
        left: 3px;
    }

    .review-card.review-card_geometric.review-card__text {
        max-height: 144px;
        overflow: hidden;
    }

    .review-card.review-card_geometric.review-card_geometric_type_1 {
        width: 310px;
        height: 272px;
    }

    .review-card.review-card_geometric.review-card_geometric_type_1:before {
        background: url(../img/review_card_type1_border.png) center center no-repeat;
        background-size: contain;    
    }    

    .review-card.review-card_geometric.review-card_geometric_type_1:after {
        width: 305px;
        height: 266px; 
        background: url(../img/review_card_type1_bg.png) center center no-repeat;
        background-size: contain;            
    }    

    .review-card.review-card_geometric.review-card_geometric_type_2 {
        width: 310px;
        height: 263px;
    }

    .review-card.review-card_geometric.review-card_geometric_type_2:before {
        background: url(../img/review_card_type2_border.png) center center no-repeat;
        background-size: contain;    
    }    

    .review-card.review-card_geometric.review-card_geometric_type_2:after {
        width: 304px;
        height: 258px;
        background: url(../img/review_card_type2_bg.png) center center no-repeat;
        background-size: contain;        
    }    

    .review-card.review-card_geometric.review-card_geometric_type_3 {
        width: 310px;
        height: 271px;
    }

    .review-card.review-card_geometric.review-card_geometric_type_3:before {
        background: url(../img/review_card_type3_border.png) center center no-repeat;
        background-size: contain;    
    }    

    .review-card.review-card_geometric.review-card_geometric_type_3:after {
        width: 305px;
        height: 266px; 
        background: url(../img/review_card_type3_bg.png) center center no-repeat;
        background-size: contain;            
    }
}

@media (min-width: 1230px) {
    /* Template Styles */
    .review-card.review-card_geometric {
        padding: 70px 30px;
    }

    .review-card.review-card_geometric:after {
        top: 5px;  
    }

    .review-card.review-card_geometric.review-card__text {
        max-height: 120px;
    }

    .review-card.review-card_geometric.review-card_geometric_type_1 {
        width: 370px;
        height: 325px;
    }

    .review-card.review-card_geometric.review-card_geometric_type_1:after {
        width: 364px;
        height: 317px;
    }

    .review-card.review-card_geometric.review-card_geometric_type_2 {
        width: 371px;
        height: 315px;
    }

    .review-card.review-card_geometric.review-card_geometric_type_2:after {
        width: 363px;
        height: 308px;
    }

    .review-card.review-card_geometric.review-card_geometric_type_3 {
        width: 370px;
        height: 324px;
    }

    .review-card.review-card_geometric.review-card_geometric_type_3:after {
        width: 364px;
        height: 317px;
    }    
}