/*Color palette (copy this):*/
/*Background: #0b0d10*/
/*Surface / cards: rgba(255,255,255,0.04)*/
/*Border: rgba(255,255,255,0.08)*/
/*Text primary: #e5e7eb*/
/*Text muted: #9ca3af*/
/*Accent (pick ONE):*/
/*Purple: #7c7cff*/
/*OR Cyan: #5eead4 */

/*HTML structure*/
/*Layout (Flex/Grid)*/
/*Spacing*/
/*Typography*/
/*Colors*/
/*Nice extras*/

*{
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: #e5e7eb;
}
html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    background: #0b0d10;
    color: #e5e7eb;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: -50%;
    background: radial-gradient(
            circle at 30% 30%,
            rgba(163, 238, 238, 0.2),
            transparent 35%
    );
    animation: spotlightMove 10s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}
@keyframes spotlightMove {
    0% {
        transform: translate(0%, 0%);
    }
    50% {
        transform: translate(20%, 10%);
    }
    100% {
        transform: translate(0%, 0%);
    }
}


.hero{
    margin:0;
    padding:0;
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-rows: 60px 60px 0.5fr repeat(4,1fr);
    justify-items: center;
    align-items: center;
}
.top-bar {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);

    grid-row: 2/span 1;
    max-height: 60px;
    width: 70%;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 20px;
    z-index: 1;

    a{
        text-decoration: none;
        padding: 13px;
        margin: 20px;
        border-radius: 30px;
        border: 1px solid transparent;
        transition: transform ease 500ms, box-shadow ease 800ms;;
    }
    a:hover{
        background: rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 0 4px #00ADB5;
        cursor: pointer;
        transform: scale(1.5);
    }
    .logo{
        padding: 10px;
        font-size:1.5rem;
        color: white;
    }
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;

    li {
        float: left;
    }

    a {
        display: block;
        color: white;
        text-align: center;
        padding:10px;
        margin: 10px;
        text-decoration: none;
    }
}
span, #text, .count{
    padding:10px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-main {
    grid-row: 4;


    h1 {
        font-size: 6rem;
        font-family: "Space Grotesk", sans-serif;
        font-optical-sizing: auto;
        font-weight: 700;
        font-style: normal;
    }
    h2 {
        font-size: 3rem;

    }
}
.btn{
    color:#9ca3af;
    font-size: 1.6rem;
    height: 70px;
    width: 180px;
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);

    transition: transform ease 300ms,box-shadow ease 300ms;;
}
.btn:hover{
    box-shadow: 0 0 4px #00f2ff;
    color: #fff;
    cursor: pointer;
    transform: scale(1.2);
}
a{
    text-decoration: none;
}
.cards{
    margin:0;
    padding:0;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
    .card{
        background: rgba(255, 255, 255, 0.06);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 30px;
        height: 500px;
        width: 500px;
        display:grid;
        grid-template-rows: 1fr 1fr 1fr;
        justify-items: center;
        transition: transform ease 800ms, backdrop-filter ease 800ms, box-shadow ease 800ms;
        img{
            width: 25%;
        }
    }
    .card:hover{
        box-shadow: 0 0 4px #00ADB5;
        cursor: pointer;
        transform: scale(105%);
    }
    .one {
        img {
            margin-top: 5px;
        }
    }
    .three{
        img{
            margin-top: 20px;
        }
    }
}


/*focus page*/
.timer{
    grid-row:4/span 2;
    .units{
        display: flex;
        font-size: 8rem;
        h1{
            margin: 0;
        }
    }
    .btns{
        display: flex;
        justify-content: space-around;
    }
}

/*Word counter*/
.wc{
    grid-row: 4;

    .sub-wc{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    h1{
        font-size: 6rem;
        margin: 0;
    }
    #text{
        width: 90%;
        height: 30vh;
        justify-content: center;
        border-radius: 20px;
        font-size: 1.6rem;
        scrollbar-gutter: both-edges stable;
    }

    .info{
        margin-top: 40px;
        grid-row: 6;
        display: flex;
        justify-content: space-around;
        height: 100%;
        width: 100%;
    }
}

/* small screen adjustments */