body{
    background: #f1f1f1;
    /* overflow: hidden; */

}


.message {
    margin-top: 10px;
    padding: 5px;
    font-weight: bold;
    text-align: center;
}

.success {
    color: green;
}

.error {
    color: red;
}

.wide-input {
    width: 100%; /* Set the width to a specific value (e.g., 300px) or use a percentage */
    /* Other optional styling */
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.submit-button {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
}

.left-column {
    float: left;
    width: 70%;
    padding-left: 5%;
    margin-top: 70px;
    margin-bottom: 20px;  
}

.left-column img {
    width: 100%;
    
}

.right-column {
    float: left;
    width: 30%;
    padding-left: 20px;
    margin-top: 70px;
    margin-bottom: 20px;  
}

.fixed-div {
    position: fixed;
    height: 78%;
    overflow: auto;
    margin-top: 70px;
}

.dashboard {
    float: inherit;
    width: 100%;
    padding-left: 20px;
    margin-top: 70px;
}
.dashboard_left {
    float: left;
    width: 20%;
    padding-left: 20px;
    margin-top: 70px;
    margin-bottom: 20px;  

}
.dashboard_right {
    float: right;
    width: 75%;
    padding-left: 10px;
    margin-top: 70px;
    margin-left: 26.5%;
    margin-bottom: 20px;  
}

.round_image {
    height: 100px;
    width: 100px;
    border-radius: 1000px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Adjust the number of columns */
    margin-top: 70px;
    margin-bottom: 20px;  
    gap: 16px; /* Optional: Adds space between the cards */
    padding: 20px;
}

.grid-container .card {
    background-color: white;
    font-family: "source-serif-pro, Georgia, Cambria, 'Times New Roman', Times, serif";
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.grid-container .card img {
    margin-bottom: 20px; 
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 0;
    width: 100%;
    height: 150px;
}


/* Add a card effect for articles */
.card {
    background-color: white;
    font-family: "source-serif-pro, Georgia, Cambria, 'Times New Roman', Times, serif";
    padding: 20px;
    /* margin-top: 10px; */
    box-shadow: 2px 2px 2px #e2e2e2;
}

a:hover {
    text-decoration: none;
}

.social-netwotk {
    font-family: "source-serif-pro, Georgia, Cambria, 'Times New Roman', Times, serif";
    text-align: right;
    padding: 5px 5px 5px 5px;
}
.social-netwotk a {
    margin-left: 5px; 
    margin-right: 5px; 
}
.scrollable-div {
    overflow: auto;
    height: 700px; /* Adjust the height to your desired value */
  }

/* Blogs css */
img {
    width: 700px;
    justify-content: center;
    padding-left: 30px;
  
}

pre {
    background-color: #312e2e;
    color: #FFF;
    padding: 5px 5px 5px 5px;
    margin: 10px 10px 10px 10px;
    border-radius: 5px;
    height: auto;
    max-height: 300px;
}
code {
    
    font-size: 14px;
    color: lightcoral;
    margin: 10px 10px 10px 10px;
    /* font-family: "Courier New", monospace; */
     /* white-space: pre-wrap; */
    /* font-weight: bold; */
    /* padding: 10px; */
    
}

.navbar_profile_image {
    width: 30px;
    height: 30px;
    border-radius: 1000px;
}

.active {
    background-color: #e2e2e2;
    font-weight: bold;
}
.active_menu {
    background-color: #e2e2e2;
    font-weight: bold;
}

.nav-link:target {
    font-weight: bold;
}

/* Footer */
.footer {
    padding: 20px;
    text-align: center;
    background: #ddd;
    margin-top: 20px;
    /* height: 300px; */ /* This height for inner div */
    border-top: 2px solid #007bff;
    position: relative;
}
.footer-height {
    height: 100%;
}

.footer a {
    color: #007bff;
    text-decoration: none;
  }

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 1000px) {
    .left-column, .right-column {
        width: 100%;
        padding: 0;
    }
    .dashboard_left, .dashboard_right {
        width: 100%;
        padding: 0;
        margin-left: 5%;
    }
    .profile_left, profile_center, .profile_right {
        width: 100%;
        padding: 0;
    }
    .fixed-div {
        position: relative; /* Hide the fixed element on small and extra-small screens */
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr); /* Adjust the number of columns */
    }

}

@media screen and (max-width: 800px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr); /* Adjust the number of columns */
    }
}

@media screen and (max-width: 700px) {
    .grid-container {
        grid-template-columns: repeat(1, 1fr); /* Adjust the number of columns */
    }
}






/* Spinner */

.spinner-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    justify-content: center;
    align-items: center;
}

.spinner-container.show {
    display: flex;
}

.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.3);
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Custom scrollbar for WebKit-based browsers */
/* You may need to add vendor prefixes for other browsers */

/* Main scrollbar */
::-webkit-scrollbar {
    width: 5px; /* Set the width of the scrollbar */
  }
  
  /* Track (background) of the scrollbar */
  ::-webkit-scrollbar-track {
    background-color: #e2e2e2; /* Set the background color of the track */
  }
  
  /* Thumb (handle) of the scrollbar */
  ::-webkit-scrollbar-thumb {
    background-color: #888; /* Set the color of the thumb */
    border-radius: 5px; /* Add rounded corners to the thumb */
  }
  
  /* On hover, set a different color for the thumb */
  ::-webkit-scrollbar-thumb:hover {
    background-color: #555;
  }

