body {
    min-height: 100vh;
    display: flex;
    place-items: center;
    flex-direction: column;
}




/* Navigation bar */
.hide#topnav {
    /* background-color: #f9f8fd; */
    background: transparent;
    box-shadow: none;
    transition: all 0.2s ease;
}

#topnav {
    transition: all 0.3s ease;
    top: 0;
    background-color: #fff;
    position: fixed;
    width: 100%;
    z-index: 10;
    box-shadow: rgba(111, 111, 111, 0.1) 0px 4px 40px;
}

.navlink {
    color: black;
    transition: all ease 0.3s;
}

.navlink:hover {
    color: var(--red);
    border-bottom: 2px solid var(--orange);
    padding-bottom: 4px;
}



#navtoggler {
    width: 32px;
    display: none;
    cursor: pointer;
}

.nav {
    padding: 0.65rem 1rem;
    width: 100%;
    max-width: 1440px;
    font-size: 1.2rem;
}


.logotxt {
    align-items: flex-start !important;
    flex-direction: column;
    font-size: 1.2rem;
}

.logo {
    margin-right: auto;
    cursor: pointer;
    gap: 1rem;
}

.logo img {
    height: 40px;
}

#navitems {
    gap: 2rem;
    margin-left: auto;
}


.signin {
    padding: 0.6rem 1rem;
    outline: none;
    border: none;
    border-radius: 4px;
    background-color: var(--red);
    color: white !important;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.signin:hover {
    background-color: black;
}


.signup {
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    background-color: black;
    color: white !important;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.signup:hover {
    filter: drop-shadow(0 3px var(--red));
    transform: translateY(-3px);
}

.signup-navbt{
    padding: 0.6rem 1rem;
    outline: none;
    border: none;
    border-radius: 4px;
    background-color: green;
    color: white !important;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.signup-navbt:hover {
    background-color: black;
}

.animatedur {
    animation-duration: 0.5s;
}


/* hero section */

.hero-img {
    width: 512px;
    margin: 1rem 0;
    transition: all 0.3s ease;
}

.play-icon {
    cursor: pointer;
    width: min(180px, 40%);
}

#hero {
    background: linear-gradient(60deg, var(--red), white, rgb(77, 178, 255));
    background-size: 200% 200%;
    animation: gradient 12s ease infinite alternate;
    overflow: hidden;
    padding-top: 6rem;
    flex-wrap: wrap;
    flex-direction: column;
}

#hero .content {
    width: 90%;
    gap: 1rem;
}

.hero-links img {
    cursor: pointer;
    height: 45px;
    transition: all 0.2s ease;
}

.hero-links img:hover {
    filter: drop-shadow(0 3px var(--red));
    transform: translateY(-3px);
}

#hero .hero-links.flex {
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
    width: 90%;
}





/* features section */
#bg {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
}



.card {
    width: min(320px, 80vw);
    min-height: 300px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: rgba(106, 117, 121, 0.163) 0px 10px 50px;
    padding: 2rem min(5%, 1.5rem);
    gap: 1rem;
    border-radius: 0.5rem;
    flex-direction: column;
}


.card img {
    height: 80px;
}

.card-content {
    gap: 1rem;
    text-align: justify;
    flex-direction: column;
}

.card-content h2 {
    font-size: clamp(18px, 3.5vw, 23px);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 400;
}

.card-content p {
    font-size: clamp(15px, 2.2vw, 18px);
    line-height: 130%;
    font-weight: 350;
    color: #0D0D0D;
    padding: 0.7rem 0;
}

.row {
    max-width: 1280px;
    flex-wrap: wrap;
    gap: 2rem;
}


.row-img {
    width: 90vw;
    max-width: 420px;
}

.verticle {
    max-height: 480px;
    max-width: none;
    width: auto;
}

.row .content {
    width: 90vw;
    max-width: 680px;
}

/* 
#security {
    background: url(../assets/imgs/bgs/bg1.png) no-repeat center/cover;
} */

#security .row {
    gap: 1rem;
}

#security .row .content {
    width: 60%;
}

#security .row img {
    width: 32.5%;
}


#app {
    padding: 6rem 0;
}

#app .row {
    display: grid;
    place-items: center;
    grid-template-columns: 4fr 8fr;
    margin: 0 1rem;
    background: rgb(30, 29, 37);
    padding: 1rem 2vw;
    gap: 1rem;
    border-radius: 0.5rem;

}

.row-img span {
    height: auto;
    font-size: clamp(3rem, 5vw, 4.5rem);
    text-align: center;
    font-weight: bolder;
}

#app .row-img {
    margin: 1rem;
    background: url(../assets/imgs/moon.png) no-repeat center/cover;
    border-radius: 50%;
    background-color: #AFB4B8;
    width: min(300px, 75vw);
    height: min(300px, 75vw);
}


#app .content {
    width: 100%;
}

#app .title {
    color: white;
    align-self: flex-start;
    text-align: left;
}

#app .section-title {
    margin: 0;
    color: white;
    align-self: flex-start;
    text-align: left;
}

#app .content {
    margin: 3vw 0;
    color: white !important;
    gap: 1rem;
}

#app .signin {
    background: blue;
}

#app .signin:hover {
    background: #000;
}

#app .signup {
    outline: white 2px solid;
    color: white;
}


#app .hero-links {
    margin: 1rem 0;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
    width: fit-content;
}

.feature-img {
    max-width: 90%;
    border-radius: min(5vw, 1rem);
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
}



#faq {
    display: grid;
    justify-items: center;
    padding-inline: max(5vw, 1rem);
    grid-template-columns: 6fr 6fr;
}

.faq {
    place-self: start;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
}

.qna {
    cursor: pointer;
    border-radius: 0.5rem;
    padding: 1rem;
    padding: 1rem;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    text-align: left;
    max-width: 800px;
    /* background: var(--red); */
    background: linear-gradient(60deg, var(--red), rgb(255, 153, 0));
    color: white !important;
}

.q {
    font-size: 1.25rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.q h1 {
    font-size: 1.25rem;
}

*.a {
    width: 100%;
    height: 0px;
    overflow: hidden;
    font-weight: 300;
    line-height: 24px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.erotate {
    rotate: 45deg;
}


.expand {
    padding: 0.5rem;
    cursor: pointer;
    width: 40px;
    transition: all 0.5s ease;
}




#totop {
    cursor: pointer;
    position: fixed;
    bottom: -100px;
    transition: all 0.3s ease;
    background: #000;
    padding: 1rem;
    border-radius: 100%;
    right: 20px;
    width: 50px;
    height: 50px;
}

#totop img {
    width: 100%;
}



.showtop {
    bottom: 20px !important;
}






#footer {
    overflow: hidden;
    background: white;
    color: black !important;
    padding: 2rem 1rem;
    gap: 0.5rem;
}

#footer img {
    width: 35px;
    cursor: pointer;
}

#footer a {
    color: #000;
    font-weight: 400;
    font-size: clamp(12px, 2.5vw, 18px);
    transition: 0.2s all ease;
}

#footer a:hover {
    color: var(--red);
    border-bottom: 2px solid var(--red);
    padding-bottom: 2px;
}

.links {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}


.vr {
    margin: 0 0.7rem;
    width: 2px;
    background: black;
    height: 2rem;
}

.cpyrt {
    font-size: clamp(12px, 2.25vw, 16px);
}

.links .flex {
    flex-wrap: wrap;
}






@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
        /* background: linear-gradient(-90deg, #fe6aaa, #ffddf6, #ffffff, #d3fcff, #70f1fa); */
    }

    100% {
        background-position: 0% 50%;
    }
}


@media screen and (max-width: 1080px) {
    #faq {
        grid-template-columns: 12fr;
    }
}

@media screen and (max-width: 1080px) {
    #navitems {
        width: 90vw;
        background: white;
        top: 0;
        right: 120%;
        display: flex;
        position: fixed;
        opacity: 0;
        transition: all 0.25s ease;
        padding: 3rem 0;
        margin-top: 6rem;
        flex-direction: column;
        box-shadow: rgba(111, 111, 111, 0.1) 0px 4px 40px;
        border-radius: 20px;
        gap: 4vh;
    }

    .mobile#topnav {
        z-index: 5;
    }

    .mobile#navitems {
        right: 50%;
        transform: translateX(50%);
        opacity: 1;
    }

    #navtoggler {
        display: block;
        z-index: 5;
    }

    .logo {
        z-index: 5;
    }
}
@media screen and (max-width: 800px) {
    #app .row {
        grid-template-columns: 12fr;
        text-align: center !important;
        align-items: center;
        justify-items: center;
    }

    #app .row .section-title {
        align-self: center;
        text-align: center;
        margin: 0;
    }

    #app .row .content {
        width: min(90%, 512px);
    }

    #app .row .title {
        text-align: center;
        margin: 0;
    }

    #app .row .hero-links {
        align-self: center;
    }
}

@media screen and (max-width: 720px) {
    .hero-links img {
        height: 35px;
    }

    #security .row {
        flex-direction: column;
    }

    #security .row.reverse {
        flex-direction: column-reverse;
    }

    #security .row img {
        width: 96%;
    }

    #security .row .content {
        width: 96%;
    }

    #security .info-title {
        text-align: center;
        align-self: center;
    }

    .hero-img {
        width: min(90%, 512px);
        margin-bottom: 1rem;
    }

}

@media screen and (max-width: 480px) {
    :root {
        font-size: 14px;
    }

}

@media screen and (max-width: 436px) {
    .flex .vr {
        visibility: hidden;
    }

    .links .flex {
        gap: 1rem;
    }

    .links .flex a {
        text-align: center !important;
    }
}





@keyframes slide {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-100%);
    }

    45% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(-200%);
    }

    70% {
        transform: translateX(-200%);
    }

    75% {
        transform: translateX(-300%);
    }

    90.5% {
        transform: translateX(-300%);
    }

    100% {
        transform: translateX(0);
    }
}