/* styles.css */

/* General reset and basic styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('images/wallpaper.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    overflow: hidden;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay color for text readability */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.overlay h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.overlay p {
    font-size: 1.5em;
    margin-bottom: 20px;
}

nav {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent white background */
    padding: 10px;
    border-radius: 5px;
}

nav a {
    text-decoration: none;
    color: #333;
    padding: 5px 10px;
    margin: 0 5px;
    border-radius: 3px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #ddd;
}

.folder {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    background-color: transparent;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer; /* Change cursor to pointer to indicate clickability */
    transition: width 0.3s ease; /* Transition for width change */
}

.folder:hover {
    width: 150px; /* Expand folder on hover */
}

.folder-icon {
    width: 60px;
    height: 60px;
    background-image: url('images/folder.png'); /* Replace 'folders.png' with your actual path */
    background-size: contain; /* Adjust 'contain' or 'cover' based on your image size */
    background-repeat: no-repeat;
    background-position: center;
}

.folder-name {
    font-size: 0.8em;
    margin-top: 5px;
}

.folder-content {
    display: none; /* Initially hide folder content */
    position: absolute;
    top: 100%; /* Position content below the folder icon */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.folder.open .folder-content {
    display: block; /* Show folder content when folder is open */
}
