
/* Side Menu */
/*=============== GOOGLE FONTS ===============*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

/*=============== VARIABLES ===============*/

:root {
    --background: #292C4A;
    --background-dark: #272944;
    --foreground: rgb(255, 255, 255);
    --accent-color: rgb(216, 191, 228);

    --nav-width-collapsed: 80px;
    --nav-width: 350px;
    --main-padding: 20px;
}

/*=============== BASE ===============*/

.sidenav {
    font-family: 'Montserrat', sans-serif;
    color: var(--foreground);
}

/* html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
} */

/* main {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-right: var(--main-padding);
    padding-left: calc(var(--nav-width-collapsed) + var(--main-padding));
} */

/*=============== NAVBAR ===============*/

.menu-icon {
    width: 30px;
    margin: 25px;
    transition: all 1s ease;
}

.sidenav nav {
    position: fixed;
    top: 22%;
    bottom: 100px;
    left: 0;
    height: 75%;
    background: #181a2ee1;
    backdrop-filter: blur(5px);
    width: var(--nav-width-collapsed);
    overflow: hidden;
    transition: all 1s ease;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
    border-radius: 0px 15px 15px 0;
}

.sidenav nav ul {
    list-style: none;
    padding-left: 0;
}

.sidenav nav li {
    position: relative;
    display: block;
}

.nav-link {
    position: relative;
    font-size: 16px;
    display: table;
    width: var(--nav-width);
    padding: 10px;
    text-decoration: none;
    transition: all 0.5s ease;
    opacity: 0%;
}

.nav-header {
    /* margin: 20px; */
    font-size: 1.5em;
    font-weight: 600;
    width: var(--nav-width);
    transition: all 0.5s ease;
    opacity: 0%;
    text-align: center;
}

.sidenav nav:hover {
    z-index: 2;
    width: var(--nav-width);
    overflow-y: auto;
    transition: all 0.5s ease;
}

.sidenav nav:hover .nav-link {
    opacity: 100%;
    transition: opacity 1s ease;
}

.sidenav nav:hover .nav-header {
    opacity: 100%;
    transition: opacity 1s ease;
}

.sidenav nav:hover .menu-icon {
    transform: rotate(90deg);
    transition: all 1s ease;
}

.sidenav nav a:hover {
    border-left-style: solid;
    border-width: 4px;
    border-left-color: var(--accent-color);
    font-weight: 600;
}

.nav-item {
    position: relative;
    margin-left: 12px;
}

/*=============== ARTICLES ===============*/

/* header {
    font-size: 2em;
    font-weight: 600;
    margin-top: 2em;
} */

/* article {
    font-size: 16px;
    line-height: 2;
} */

/*=============== CODE SECTIONS ===============*/

/* code {
    background: #181a2e88;
    border-radius: 5px;
    color: var(--accent-color);
    page-break-inside: avoid;
    font-family: monospace;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    padding: 1em 1.5em;
    display: block;
    word-wrap: break-word;
} */

/*=============== SCROLLBAR ===============*/

::-webkit-scrollbar {
    width: 0.5em;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: var(--background-dark);
}

::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 5px;
}

/*=============== MEDIA QUERY ===============*/

@media print {
    nav {
        display: none;
    }

    * {
        background-color: #fff !important;
        color: #000 !important;
    }

    main {
        padding-left: 0 !important;
    }
}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    nav {
      width: 60px;
    }
    .menu-icon {
        width: 35px;
        margin: 15px;
        transition: all 1s ease;
    }
    main {
        padding-left: calc(60px + var(--main-padding));
    }
  }
                                                                /* END Side Menu */

    /* Square Box Button */
    
  .square-grid {
    margin: 0 auto;
    /* margin-left: 5%; */
    display: flex;
    flex-wrap: wrap;
    gap: 100px; /* Adjust the gap between squares */
}

.square {
    width: 200px; /* Adjust the width of the square */
    height: 200px; /* Adjust the height of the square */
    border-radius: 40px; /* Adjust the border-radius for curved corners */
    border: 1px solid #f4ecec;      /* Border style */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);    /* Box shadow for depth effect */
    transition: all 0.3s ease; /* Smooth transition effect */
    cursor: pointer; /* Cursor style */

    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.3) 100%); /* Add gradient for bevel effect */
    box-shadow: 
        -5px -5px 10px rgba(255, 255, 255, 0.5), /* Top left highlight */
        5px 5px 10px rgba(0, 0, 0, 0.5); /* Bottom right shadow */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px; /* Text size */
    font-weight: bold; /* Text weight */
    color: #fff;
    
    font-family: Courier, Arial, sans-serif;
    text-transform: uppercase; /* Uppercase text */
    text-decoration: none; /* No text decoration */
    cursor: pointer; /* Cursor on hover */
    transition: background-color 0.3s ease;
    
}
.no-underline {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit text color */
}

.square:hover {
    
    transform: scale(1.05); /* Scale up slightly on hover */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Increase shadow on hover */
    font-size: 28px; 
    font-family:  Times New Roman, Arial, sans-serif;
}
                                                            /* END Square Box Button */

                                        /*Loader Style*/
.loader-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}
.loader-event {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}                          
                                    /*End Loader Style*/   
.welcome-logo-a {
    position: absolute;
    margin-top: 8%;
    height: 60%;
    z-index: 1;
    transition: z-index 0.3s ease; /*Optional: for smooth transition*/
    }     
.welcome-logo {
    height: 50%;
    }                                                 