@import  'normalize.css';

html,
body {
    height: 100%;
}

*,
*::before,
*::after {
    box-sizing: inherit;
    background-repeat: no-repeat;
}

html {
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

body {
    background-color: #111731;
    color: white;
}

:focus {
    outline: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: .15s;
}

.btn-base {
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    border: none;
    padding: 0;
    line-height: normal;
    cursor: pointer;
    background-color: transparent;
    color: inherit;
    font-weight: normal;
    text-transform: inherit;
    letter-spacing: inherit;
    border-radius: 0;
}
.btn-base::-moz-focus-inner {
    border: 0;
    padding: 0;
 }

 

.main-wrapper {
    min-height: 100%;
    position: relative;
    /* background-image: linear-gradient(180deg, #081723, #05121f); */
    grid-template-rows: 80px 1fr 80px;
    display: grid;;
    /* background-image: linear-gradient(180deg, #091c2b, #051321); */
    
}
@media screen and (min-width: 769px) {
    .main-wrapper {
        grid-template-rows: 90px 1fr 80px;
    }
}
.main-wrapper {
    overflow: hidden;
}
.main-wrapper::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -50%;
    right: -50%;
    background-image: url(img/footer-bg.svg);
    background-size: contain;
    height: 200px;
    transform: scaleY(-1);
    opacity: 0.4;
    z-index: -1;
    background-position: center;
    pointer-events: none;
    background-position: center top ;
}
@media screen and (min-width: 769px) {
    .main-wrapper::before {
        left: 0;
        right: 0;
    }
}

.main-content {
    margin-top: 0;
    margin-bottom: auto;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}
.header {
    color: #1a2838;
    /* background-color: #162431; */
    color: white;
    font-size: 15px;
    position: relative;
    z-index: 5;
    /* border-bottom: 1px solid #050c10; */
}


.header__container {
    display: flex;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

@media screen and (min-width: 769px) { 
    .header__container {
        
        display: grid;
        grid-auto-flow: column;
        justify-content: space-between;
        
    }
}
@media screen and (min-width: 1024px) { 
    .header__container {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}


.logo {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: bold;
    position: relative;
    padding-left: 60px;
}
.logo::before {
    content: '';
    display: block;
    height: 50px;
    width: 50px;
    background-image: url(img/full-logo.png);
    background-size: contain;
    background-position: center;
    
    position: absolute;
    left: 0;
    top: -10px;
}

@media screen and (min-width: 769px) {
    .logo {
        font-size: 16px;
        padding-left: 80px;
    } 
    .logo::before {
        height: 70px;
        width: 70px;
        top: -20px;
    }    
}

@media screen and (min-width: 1024px) {
    .logo {
        font-size: 20px;
        padding-left: 120px;
    } 
    .logo::before {
        height: 100px;
        width: 100px;
        
        top: -30px;
    }   
}


.langs {
    margin-left: auto;    
    margin-right: 0;
}
.langs ul {
    display: flex;
    margin: 0;
    padding: 0;
}
.langs ul a {
    padding: .5em;
    display: block;
}

@media screen and (min-width: 769px) {
    .langs ul a {
        padding: .7em;
    }   
    .menu-toggler {
        display: none;
    }
}
.langs ul a.active,
.langs ul a:hover {
    color: #4c8fff;
}

.nav-section {
    background-color: #09141d;
    /* background-image: linear-gradient(45deg, #153b62, #405d80); */
}

.nav {
    color: white;
    text-transform: uppercase;
    display: none;
    font-size: 13px;
}
@media screen and (min-width: 769px) {
    .nav {
        display: block;
    }
}
@media screen and (min-width: 1100px) {
    .nav {
        font-size: inherit;
    }
}
.nav > ul {
    display: grid;
    grid-auto-flow: column;
    justify-content: center;
    margin: 0;
    padding: 0;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin: 0 -1.5em;
}
.nav > ul > li {
    position: relative;
}
.nav > ul > li > a {
    display: block;
    padding: 1.5em 1em;
}
@media screen and (min-width: 1024px) { 
    .nav > ul > li > a {
        display: block;
        padding: 1.5em;
    }
}
.nav > ul > li > a:hover {
    color: #4c8fff;
}

.nav > ul > li > a.active {
    color: #4c8fff;
    pointer-events: none;
}

.sub-nav {
    position: absolute;
    background-color: #080c21;
    margin: 0;
    padding: 0;
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: 1em 0;
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transition: .2s;
    transform: translateY(-10px);
}
.sub-nav::before {
    content: '';
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #080b21 transparent;
}

.nav > ul > li:focus-within .sub-nav,
.nav > ul > li:hover .sub-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}


.sub-nav a {
    display: block;
    padding: .5em 1em;
}
@media screen and (min-width: 1024px) { 
    .sub-nav  a {
        display: block;
        padding: .5em 1.25em;
    }
}
.sub-nav  a:hover {
    color: #4c8fff;
}

.sub-nav  a.active {
    color: #4c8fff;
    pointer-events: none;
}



.footer {
    /* background-color: #09141d; */
    /* background-image: linear-gradient(45deg, #153b62, #405d80); */
    /* color: rgb(55, 75, 93); */
    font-size: 14px;
    display: grid;
    align-items: center;
    color: #8b9aa7;
    height: 80px;
}
.footer__container {
    
}

h1 {
    font-size: 40px;
    margin-top: 0;
    color: white;
    margin-bottom: 0.2em;
}

h2 {
    margin-top: 0;
    color: white;
}
p {
    margin-bottom: 1em;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}


.about-app {
    color: #dbdbe4;
    position: relative;
    padding-top: 20px;
    font-size: 16px; 
    display: grid;
    grid-template-areas: 
        'title link'
        'description description';
    grid-template-columns: 1fr auto;
    align-items: flex-start;
    grid-template-rows: 50px 1fr;
}
@media screen and (min-width: 769px) {
    .about-app {
        font-size: 18px; 
        padding-top: 50px;
        gap: 0 50px;
        grid-template-areas: 
            'screen title link'
            'screen description description';
        grid-template-columns: 300px 1fr auto;
    }   
}
@media screen and (min-width: 1200px) {
    .about-app {
        font-size: 18px; 
        padding-top: 50px;
        display: grid;
        grid-template-areas: 
            'screen title'
            'screen description'
            'screen link';
        grid-template-columns: 300px 1fr;
        align-items: flex-start;
        grid-template-rows: auto auto 1fr;
        gap: 0 50px;
    }   
    .about-app {
        gap: 0 100px;   
    }
}

.about-app-full-title {
    grid-area: title;
    line-height: 1;
    margin-bottom: .8em;
}
.about-app-full-desc {
    grid-area: description
}


@media screen and (min-width: 769px) {
    .about-app-full-title {
        margin-bottom: 0;
    }
}


ul.styled-list {
    margin-top: 1.5em;
}

ul.styled-list li {
    padding-bottom: 0.5em;
    display: inline-block;
    position: relative;
    padding-left: 25px;
    width: 100%;
}
@media screen and (min-width: 769px) {
    ul.styled-list li {
        padding-bottom: 0.075em;
    }
}
ul.styled-list li::before {
    content: '';
    position: absolute;
    top: .9em;
    left: 0;
    width: 10px;
    height: 1px;
    background-color: currentColor;
    opacity: 0.3;
}


.colums-2 {
    /* display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px; */
}

@media screen and (min-width: 1200px) {
    .colums-2 {
        columns: 2;
        column-gap: 40px;
    }
}


.about-app-photo {
    background-color: #09141d;
    width: 100%;
    /* padding-bottom: 100%; */
    margin-bottom: 20px;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 20px 30px rgba(1, 1, 2, 0.55);
    overflow: hidden;
    transform: translateZ(0);
    grid-area: screen;
    display: none;
    border: 10px solid #192140;
}



.about-app-photo::before {
    content: '';
    position: absolute;
    /* bottom: 0; */
    left: 0;
    right: 0;
    /* background: linear-gradient(transparent, rgba(15, 80, 187, 0.1)); */
    background: linear-gradient(0deg, transparent, rgb(13, 21, 56));
    top: 0;
    height: 200px;
    mix-blend-mode: screen;
    z-index: 2;
    
    
}

.about-app-photo img {
    width: 100%;
    display: block;
    filter: brightness(1.2);
}
.go-to-app-link img {
    max-width: 100%;
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
}

.about-app-full-link-wrapper {
    position: relative;
    z-index: 3;
}

.go-to-app-link {
     width: 160px;
     height: 60px;
     display: block;
     position: relative;
     
     grid-area: link;
     margin-top: -11px;
}
.go-to-app-link:hover {
    transform: scale(1.05);
}


@media screen and (min-width: 769px) {
    .go-to-app-link {
        position: relative;
        top: auto;
        right: auto;
        margin-top: -15px;
        width: 180px;
    }
    .about-app-photo {
        display: block;
    }
}
@media screen and (min-width: 1200px) {
    .go-to-app-link {
        width: 220px;
        margin-top: 25px;
        height: 85px;
    }
}


/* -------------------------------------- */

.menu-toggler {
    padding: 10px 10px 10px 20px;
    margin-right: -10px;
    margin-left: auto;
}
.menu-toggler svg {
    height: 25px;
    width: 25px;
    fill: #fff;
    display: block;
}


.mob-menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background-color: rgba(17, 23, 49, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: .2s;
    overflow: auto;
    padding: 40px 0;
}
@media screen and (min-width: 769px) {
    .mob-menu-modal {
        display: none !important;
    }
}
.mob-menu-modal.active {
    opacity: 1;
    visibility: visible;
}

.mob-nav {
    text-align: center;
    font-size: 30px;
}
.mob-nav a {
    display: block;
    padding: 0.2em;
}
.mob-nav a.active {
    color: #4c8fff;    
}
.mob-sub-nav {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.mob-sub-nav{
    margin-top: 50px;
}
.mob-sub-nav {
    font-size: 0.7em;
}
.mob-sub-nav a {
    padding: .2em .5em;
    display: block;
}

.modal-close {
    position: fixed;
    top: 0;
    right: 0;
    padding: 23px;
}
.modal-close svg {
    height: 17px;
    width: 17px;
    fill: #fff;
}



.load-animation {
    opacity: 0;
}
@keyframes fadeInUp {
    from {
         transform: translateY(50px);
         opacity: 0;
    } 
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.load-animation.animated {
     animation: fadeInUp 1s forwards;
}


/* ------------------------------------------------------------------------------------ */

img {
    max-width: 100%;
    height: auto;
}
.h1,
.h2,
.h3 {
    line-height: 1.2;
}

.h1 {
    font-size: 2rem;
}
.h2 {
    font-size: 1.6rem;
}
* + .h2 {
    margin-top: 1.5em;
}

p a {
    text-decoration: underline;
    color: #4c8fff;
}
p a:hover {
    text-decoration: none;
}


.home-info {
    padding: 0px 0 20px;
    font-size: 18px;
}
.home-info-block {
     padding: 20px 0;
     text-align: center;
}
@media screen and (min-width: 769px) {
    .home-info {
        padding: 50px 0 100px;
        font-size: 22px;
    }
    .h1 {
        font-size: 3rem;
    }
    .h2 {
        font-size: 2rem;
    }    
    .home-info-block {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }
    .home-info-block__photo,
    .home-info-block__info {
        width: 50%;
    } 
    .home-info-block__info {
        padding-left: 50px;
    }
}
.home-info-block.reverse {
    flex-direction: row-reverse;
}


.home-info-block__photo img {
    width: 100%;
}


/* -------------------------------------------------------------------- */

.reviews {
    padding: 20px 0;
}
@media screen and (min-width: 769px) {
    .reviews {
        padding: 50px 0;
    }
    .reviews-header {
        text-align: center;
        margin-bottom: 50px;
    }
    
}
.reviews-header {
    text-align: center;
    margin-bottom: 30px;
}
.reviews-list {
    margin-left: auto;
    margin-right: auto;
    max-width: 700px;
}
.review {
    border: 5px solid #192140;
    padding: 15px;
    padding-left: 75px;
    background-color: #111731;
    position: relative;
    border-radius: 5px;
    min-height: 80px;
    margin-bottom: 15px;
    font-size: 14px;
}
.review__photo {
    position: absolute;
    top: 20px;
    left: 15px;
}
.review__photo img {
    height: 40px;
    width: 40px;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
}
.review__name {
    color: #ffce79;
}
.review__date {
    color: rgba(255,255,255, .5);
    font-size: .8em;;
}
.review__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (min-width: 550px) {
    .review__photo img {
        height: 80px;
        width: 80px;
        object-fit: cover;
        object-position: center;
        border-radius: 5px;
    }
    .review {
        border: 10px solid #192140;
        padding: 30px;
        padding-left: 130px;
        background-color: #111731;
        position: relative;
        border-radius: 5px;
        min-height: 150px;
        margin-bottom: 15px;
        font-size: inherit;
    }
    .review__photo {
        top: 27px;
        left: 25px;
    }
}





/* -------------------------------------------------------------------- */

.contacts {
    padding: 20px 0;
}
.contacts-header {
    text-align: center;
    margin-bottom: 30px;
}

@media screen and (min-width: 769px) {
    .contacts {
        padding: 50px 0;
    }
    .contacts-header {
        text-align: center;
        margin-bottom: 50px;
    }
    
}



.contacts-sidebar {
 margin-top: 50px;   
}
.contacts-cell {
    margin-bottom: 20px;
}

@media screen and (min-width: 550px) {
    .contacts-inner {
        display: grid;
        grid-template-columns: 1fr 200px;
    } 
    .contacts-main {
        padding-right: 60px;
    }
    .contacts-sidebar {
        margin-top: 0;
    }
}


/* -------------------------------------------------------------------- */

.about-us {
    padding: 20px 0;
}
.about-us-header {
    text-align: center;
    margin-bottom: 30px;
}
@media screen and (min-width: 769px) {
    .about-us {
        padding: 50px 0;
    }
    .about-us-header {
        text-align: center;
        margin-bottom: 50px;
    }
    
}


/* -------------------------------------------------------------------- */

.subscribe {
    padding: 20px 0;
}
.subscribe-header {
    text-align: center;
    margin-bottom: 30px;
}
@media screen and (min-width: 769px) {
    .subscribe {
        padding: 50px 0;
    }
    .subscribe-header {
        text-align: center;
        margin-bottom: 50px;
    }
    
}




.subscribe-panel {
    border: 10px solid #192140;
    border-radius: 5px;
    margin-bottom: 15px;
}
.subscribe-panel__header {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 34px;
    line-height: 1.4;
    border-bottom: 5px solid #192140;
}
.subscribe-panel__header span {
    display: block;
    font-size: 0.6em;
    font-weight: normal;
}
.subscribe-panel__price {
    padding: 15px;
    text-align: center;
    border-bottom: 5px solid #192140;
    color: #ffce79;
    font-weight: bold;
    font-size: 20px;
}
.subscribe-panel__desc {
    padding: 15px;
}
.subscribe-panel__footer {
    padding: 15px;
    text-align: center;
    padding-bottom: 20px;
}

.subscribe-panel .btn {
    width: 100%;
}

.btn {
    line-height: 60px;
    text-align: center;
    display: inline-block;
    padding: 0 40px;
    min-width: 220px;
    border-radius: 5px;
    background-color: #ffce79;
    color: #111731;
    font-weight: bold;
    font-size: 20px;
    box-shadow: 0 10px 20px #040a25;
}
.btn:hover {
    background-color: #fff;
}

@media screen and (min-width: 1023px) {
    .subscribe-panel {
        margin-bottom: 0;
    }
    .subscribe-list {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 15px;
    }
}
