:root {
    --bg-color: #01a046a8;
    --nav-color: #00773459;
    --shape-colour: #005a27;
    --bg-grad: linear-gradient(to bottom, #007c0ca8 0%, #008a39 100%);
    --bg-grad-radial: radial-gradient(#00c414a8, #00662a);
    background-color: #00662a;

}

* {
    font-family: sans-serif, Arial;
}

html{
    background: var(--bg-grad-radial);
}

body {
    margin: 0;
    color: #fff;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}


.navbar {
    
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--nav-color);
   
    ul {    
        display: flex;
        flex-direction: row;
        list-style: none;
        margin: 0.5rem;
        padding-left: 1rem;
        
        li {
            text-align: center;
            cursor: pointer;
        }
    }

    a {
        cursor: pointer;
    }

    
    .label-li{
        max-height: 0;
        overflow: hidden;
        position: absolute;
        transition: 0.3s ease;
        display: block;

        font-weight: bolder;


        align-items: center;
        text-align: center;
        justify-content: center;
    }

    li:hover {
        
        display: block;
        background-color: var(--bg-color);
        color: #fff;
        border-radius: 8px;

        img {
            box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.1);
        }
        
        .label-li {
            transition: 0.5s ease-in;
            max-height: 40vh;    
            position: absolute;
        }
    }
}


.features {
    margin: 2rem;
    margin-bottom: 10vh;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    h2 {
        margin-bottom: 1rem;
        font-size: 24px;
        font-weight: bold;
    }

    ul {
        padding-left: 0;

        li {
            margin-bottom: 1rem;
            font-size: 18px;
        }
    }
    
    p {
        margin-bottom: 0.2rem;
    }

    p:last-child {
        margin-bottom: 2rem;
    }

}

.support {
        margin: 2rem;
        margin-bottom: 10vh;
    
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    
        h2 {
            margin-bottom: 0;
            font-size: 24px;
            font-weight: bold;
        }
    
        #support-desc{
            text-align: center;
            margin: 1rem;
            font-size: 16px;
        }
}


main {
    margin: 1rem;
    margin-bottom: 10vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    div {
        margin: 2rem;
    }

    .hero {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 2rem;
        margin: 2rem;

        background-color: var(--bg-color);
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    
        h1 {
            margin-bottom: 0;
        }

        p {
            margin-bottom: 2rem;
        }
    
    }

}


.invite-link {
    text-decoration: none;
    color: #fff;
    font-size: 24px;
    font-weight: bold;

    padding: 10px 20px;
    border-radius: 8px;
    
    box-shadow: 5px 5px 5px rgb(0, 0, 0, 0.2);

    background: linear-gradient(to bottom, #00bb51 0%, #00b14d52 100%);

    transition: background-color 0.3s ease;

    scale: 1;
    transition: .1s ease-in;

    &:hover {
        background: linear-gradient(to bottom, #00bb51 0%, #00773496 100%);
        color: rgba(0, 51, 23, 0.678);
        scale: 1.1;
    
        box-shadow: 1px 1px 15px #00bb51;

        transition: .3s ease-out;
    
    
    }

}

footer {
    margin: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff93;
    font-size: 12px;
}


.display {
 
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    #quran-image {
        max-height: 50vh;
        margin: 0;
    
        position: relative;
        z-index: 2;

    }

    #backdrop {
        position: absolute;
        z-index: 1;
        width: 100%;
        height: 100%;
        top: 10%;
        left: 0;

        /* animation */

        animation-name: spin;

        animation-iteration-count: infinite;
        animation-timing-function: linear;
        animation-duration: 30s;
        opacity: 0.5;

    }
 
}

@keyframes spin {
    0% {
        transform: rotate(-360deg);
    }
    100% {
        transform: rotate(360deg);
    }
    
}


@media (max-width: 768px) {
    .display {
        width: 350px;
        height: 350px;

        img {
            width: 100%;
            height: 100%;
        }

    }
}