/* Ensure the body and html elements cover the full viewport */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden; /* Prevent any overflow that might cause issues */
    font-family: 'Roboto', sans-serif;
}

/* Background container for the entire page */
.background {
    background: linear-gradient(135deg, #4A148C 0%, #7B1FA2 100%); /* Smooth gradient */
    width: 100vw; /* Cover full width */
    height: 100vh; /* Cover full height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

/* Logo styling */
.logo-container h1 {
    font-size: 3em;
    margin: 0;
    padding: 0;
    font-weight: bold;
}

/* Subtitle styling */
.subtitle {
    font-size: 1.5em;
    font-weight: normal;
    margin-top: 20px;
    margin-bottom: 40px;
}

/* Dashboard container */
.dashboard {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 800px;
}

/* Tile styling */
.tile {
    background-color: #FFFFFF; /* White background for the tiles */
    color: #333;
    padding: 30px;
    border-radius: 8px;
    width: 180px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid #7B1FA2; /* Purple border */
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.tile h3 {
    margin: 0;
    font-size: 1.25em;
}

.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-color: #4A148C; /* Darker purple border on hover */
}

/* Profile dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Profile picture styling */
.profile-picture {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

/* Profile name styling */
.profile-name {
    margin-left: 10px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap; /* Prevents the text from wrapping */
    overflow: hidden;    /* Ensures the text doesn't overflow */
    text-overflow: ellipsis; /* Adds "..." if the text is too long */
}

/* Dropdown content styling */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
    top: 100%;
    border-radius: 8px;
    overflow: hidden;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

