/*         Importing font family                  */

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

@font-face {
    font-family: TTCommons-Regular;
    src: url(../font/TTCommons/TTCommons-Regular.ttf);
}

@font-face {
    font-family: TTCommons-Bold;
    src: url(../font/TTCommons/TTCommons-Bold.ttf);
    font-weight: 600;
}

* {
    margin:0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    background: linear-gradient(180deg, #111114 0%, #0E0E10 100%);
    color: #fff;
    font-family: TTCommons-Light, 'sans-serif';
    font-size: 1rem;
    line-height: 1.4;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

::selection {
    color: #fff;
    background: #0e0e10;
}

/*                 Global Classes                        */

.center { text-align: center; }

h2 { font-size: 200%; }

h3 { font-size: 150%; }

span { color: #4d4df9; }

section { padding: 60px 0;}

li { list-style: none; }

.icon { font-size: 120%; }

.icon-blue {
    color: #4d4df9;
    font-size: 200%;
}

.btn {
    font-family: TTCommons-Regular;
    font-weight: 500;
    padding: 12px;
    cursor: pointer;
    border: none;
    color: #fff;
    border-radius: 34px;
    font-size: 90%;
    outline: none;
    position: relative;
    transition: all .2s;
}

.btn-blue {
    background: #4d4df9;
}

.btn-transparent {
    background: #0e0e10;
    border: 1px solid #fff;
}

/*                        Header and Navigation                       */

header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../images/bg-img-new.png);
    mix-blend-mode: normal;
    opacity: 0.9;
    height: 87vh;
    background-size: cover;
    background-position: center;
}

.icons .show-icon, #close-icon{
    display: none;
}

.icons{
    display: none;
}

nav {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    padding-top: 20px;
}

nav .nav-items {
    display: flex;
    justify-content: center;
    align-items: center;
}

header .logo {
    margin-left: 30%;
}

.nav-items li {
    padding: 0 20px;
}

.search { 
    margin-left: 40px;
    display: flex;
    position: relative;
    /* width:100%; */
}

.search-icon{
    padding:10px;
    background: rgba(24, 24, 27, 0.5);
    text-align: center;
    font-size: 14px;
    border-radius: 8px 0px 0px 8px;
    outline: none;
    border:none;
}
#search-input{
    padding:10px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(24, 24, 27, 0.5);
    border-radius: 0px 8px 8px 0px;
    outline:none;
    border: none;
    display: block;
    direction: ltr;
    font-size: 14px;
}

.intro-section h2 {
    font-weight: 600;
    font-family: TTCommons-Bold;
    font-size: 230%;
}

.intro-section div {
    margin: 8px 10px;
}

header .mockup { text-align: center; }

.mockup img {
    width: 15%;
    height: auto;
    margin-top: 3.7rem;
    position: relative;
    z-index: -3;
}

/*                           Hero Section                          */

.hero-text {
    background: linear-gradient(180deg, #111114 0%, #0E0E10 100%);
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    position: relative;
    z-index: 2;
}

.image-container img {
    height: auto;
    width: 90%;
}

.text-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero-text p {
    margin: 20px 0;
    font-size: 130%;
}


/*                           Features Section                      */

.features-cards {
    display: flex;
    justify-content: center;
}

.card {
    background: #16161c;
    margin: 30px 10px;
    border-radius: 14px;
    width: 300px;
    height: 180px;
    padding: 10px 20px;
}

.card h4 {
    font-size: 110%;
    margin: 8px 0;
}

.card p {
    font-size: 100%;
    width: 80%;
}

/*                           Plan Section                        */

.plan-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.plan-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #16161c;
    margin: 30px 10px;
    border-radius: 14px;
    padding: 10px 30px;
    width: 350px;
    height: 430px;
}

.plan-box h4 {
    font-size: 120%;
    margin-top: 10px;
}

.plan-box div {
    padding: 10px;
}

.plan-box li {
    padding: 10px 0;
}

.plan-box div:last-child {
    text-align: center;
}

.plan-box .btn-blue { width: 60%; }

/* .plan-box .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(55, 55, 55, 0.3);
}

.plan-box .btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(55, 55, 55, 0.3);
}

.plan-box .btn:after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    border-radius: 34px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all .5s;
}

.plan-box .btn-blue:after {
    background: #4d4df9;
}

.plan-box .btn:hover:after {
    transform: scaleX(1.3) scaleY(1.5);
    opacity: 0;
} */

/*                       Download Section                    */

.download .center{ margin-bottom: 10px; }

.download-icon { 
    text-align: center;
    padding-left: 4px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    position: relative;
    z-index: 999;
}

.download .line {
    height: 1px;
    background-color: #fff;
    opacity: 0.7;
    position: relative;
    top: 45px;
    z-index: 1;
}

.download div {
    margin: 1px 10px;
}


/*                 Media Queries                   */

@media all and (max-width: 768px) {

    /* header .logo { 
        width: 60%; 
        margin-left: 3%;
    } */

    .header-home { border-bottom: none; }
    nav{
        display: none;
    }
    .plan-box .btn::after {
        display: none;
    }

    .nav{
        top:180px;
        position: fixed;
        right:0;
        top:0;
        /* bottom: 0; */
        border-bottom: 1px solid #141425;
        width: 30%;
        height: 100%;
        background-color: #000;
        z-index: 9999;
    }
    .nav ul{
        margin-top:50px; 
        padding: 0;
        text-align: center;
    }
    nav ul li a{
        align-items: flex-start;
        line-height: 50px;
        padding:0;
        text-align: center;
    }
    header{
        bottom:0;
        border-bottom: none;
        height: 100vh;
    }
    .icons{
        display: block;
    }
    .icons .show-icon, #close-icon{
        display: block;
    }

    .intro-section h2 {
        font-size: 180%;
    }

    .mockup img {
        width: 25%;
        margin-top: 1.8rem;
    }

    .hero-text { grid-template-columns: 2fr 2fr 0.5fr; }
    
    .image-container img {
        width: 80%;
    }
    
    .hero-text p {
        margin: 20px 0;
        font-size: 100%;
    }
    
    .card {
        width: 200px;
        height: 150px;
        padding: 10px 15px;
    }

    .plan-box {
        margin: 30px 10px;
        padding: 10px 30px;
        width: 300px;
        height: 450px;
    }

    .footer-container{
        flex-wrap: wrap;
        text-align: center;
    }

}

@media all and (max-width: 425px) {
    header .logo { 
        width: 60%; 
        margin-left: 3%;
    }

    body {font-size: .9rem;}

    .btn { font-size: 80%; }

    .intro-section {
        height: 86vh;
        background-position: center;
    }

    .mockup img { width: 45%; }

    .hero-text { 
        grid-template-columns: 2fr; 
        place-items: center;
        margin: 0 4%;
    }

    .image-container img { display: none; }

    .features-container .center { margin-bottom: 20px; }

    .features-cards {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .card {
        width: 90%;
        height: 130px;
        margin: 10px 10px;
        font-size: 17px;
    }

    .plan-box { 
        margin: 10px 10px; 
        height: 420px;
    }

    .plan-container { flex-direction: column; }

    .download .line { display: none;}

}

@media all and (max-width: 375px) {

    h2 { font-size: 170%; }
    
    .intro-section div,
    .download div {
        margin: 2px;
    }

    .mockup img { width: 50%; }

    .features-container .center p { font-size: 95%; }
}

@media all and (max-width: 325px) {
    body { font-size: .85; }

    h2 { font-size: 150%; }  
}





.header-home{
    padding: 15px;
}
.nav ul li{
    white-space: nowrap;
    padding: 0px 15px;
}
form{
    direction: rtl;
}