



/*---------------
variables -------*/

:root{
    --main-color: #e02f6b;
    --blue: #0000ff;
    --blur-dark: #18293c;
    --orange: #ffa500;
    --green-yellow:#cddc39;
    --pink-light: #efa2b4;
    --cyan-light: #aef1ee;
    --white: #ffffff;
    --white-alpha-40: rgba(255,255,255,0.40);
    --white-alpha-25: rgba(255,255,255,0.25);
    --backdrop-filter-blur: blur(5px);
    }
    











a{
    text-decoration:none;
    color:inherit;
}

section{
    display: none;
}


section.active{
    display: block; 
    animation: fadeIn 0.5s ease-in-out forwards
}
section.fade-out{
    animation: fadeOut 0.5s ease-in-out forwards;
}




/* -------animation keyframes------ */
@keyframes fadeIn{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
@keyframes fadeOut{
    0%{
        opacity: 1;
    }
    100%{
        opacity: 0;
    }
}

@keyframes spin {
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform:rotate(360deg);
    }
    
}
/* --------------
custom scroll bar
--------------- */
::-webkit-scrollbar{
    width: 8px;

}
::-webkit-scrollbar-track{
    background-color: var(--white);   
}

::-webkit-scrollbar-thumb{
    background-color: #6C63FF;
}



/* ---------------overlay------------------ */
.overlay{
    position:fixed;
    left:0;
    top:0;
    height:100%;
    width:100%;
    background-color:transparent;
    z-index:200;
    visibility: hidden;

}
.overlay.active{
    visibility:visible;
}


/* ------page loader------ */
.page-loader{
    position: fixed;
    left:0;
    top:0;
    height:100%;
    width:100%;
    z-index: 999;
    background-color :white,0.9;
    backdrop-filter: var(--backdrop-filter-blur);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease;
}
.page-loader.fade-out{
    opacity: 0;
}
.page-loader div{
    border:2px solid transparent;
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    border-top-color: transparent!important;
    border-bottom-color: transparent!important;
    animation: spin 1s linear infinite;
}
.page-loader div:nth-child(1){
    height:70px;
    width:70px;
    border-color: var(--main-color);

}
.page-loader div:nth-child(2){
    height:45px;
    width:45px;
    border-color: var(--blue);
    animation-duration: 1.2s;

}
.page-loader div:nth-child(3){
    height:30px;
    width:30px;
    border-color: var(--orange);

}


.grid-container,.problem-container,.op-container{
    margin:80px;

    display: grid;
    grid-gap: 50px 100px;
    grid-template-columns: auto auto auto ;
    align-items: center;
    justify-content: space-between;
}
.card{
    border: transparent;
    background: transparent;
    transition: all 0.3s ease-in-out;
}
.card:hover{
    width:12px;
}
.card-text{
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;

}
.card-text:hover{
    
   font-size:19px; 
    color:#6C63FF;  

}
footer {
    position:relative;
    bottom:0;
    width:100%;
    height:140px;   /* Height of the footer */
    background:#6cf;
 }
.problem-container{
    grid-template-columns: auto auto auto auto !important;
}