html {
    background-color: #1a1919;
    height: 100%;
    overflow: hidden;
    margin: 0;
    max-width: 100%;
}

body {
    margin: 0;
    padding: 0;
    max-height: 100%;
    font-family: Arial, sans-serif;
    background-color: #1a1919;
    background:  #1a1919;
    color: #fff;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
    max-width: 100%;
    overflow: hidden;
}

.header {
    display: flex;
    background-color: #1a1919;
    padding-left: 2%;
    padding-right: 2%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 10%;
}

/* DROPDOWN BUTTON */
.dropbtn {
    background: #5f5f5f00;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
    font-size: 2em;
    align-content: flex-end;
}

.dropbtn:hover {
    background-color: #3a3a3a;
    transform: scale(1.05);
}

/* DROPDOWN CONTAINER */
.dropdown {
    position: relative;
    display: inline-block;
}

/* DROPDOWN CONTENT */
.dropdown-content {
    display: none; 
    position: absolute;
    left: 0;
    bottom: 100%;
    background-color: #1a1a1a;
    border: 1px solid #3d3d3d;
    border-radius: 10px;
    padding: 1em;
    min-width: 260px;
    max-width: 90vw;
    z-index: 999;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
}

/* ANZEIGE BEIM HOVER (für Desktop) */
.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* INHALTSELEMENTE */
.dropdown-content h2,
.dropdown-content h3 {
    margin-top: 0.5em;
    font-size: 1.1em;
    color: #ffffff;
    border-bottom: 1px solid #333;
    padding-bottom: 0.3em;
}

.dropdown-content p,
.dropdown-content label {
    margin: 0.5em 0;
    color: #ccc;
}

.dropdown-content a {
    background-color: #303030;
    color: #fff;
    padding: 0.5em;
    border-radius: 6px;
    text-align: center;
    display: block;
    text-decoration: none;
    margin: 0.5em 0;
    border: 1px solid #3d3d3d;
    transition: 0.3s;
}

.dropdown-content a:hover {
    background-color: #3a3a3a;
}

.dropdown-content input[type="file"],
.dropdown-content input[type="text"],
.dropdown-content input[type="search"] {
    width: 100%;
    background-color: #1b1b1b;
    border: 1px solid #3c3c3c;
    color: white;
    padding: 0.5em;
    border-radius: 6px;
    margin: 0.5em 0;
    font-size: 0.95em;
}

.dropdown-content button {
    background-color: #0066ff;
    color: white;
    border: none;
    padding: 0.5em 1em;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 0.5em;
    transition: background-color 0.3s;
    font-size: 0.95em;
}

.dropdown-content button:hover {
    background-color: #1a7fff;
}

.dropdown-content #search-results,
.dropdown-content #friend-requests {
    margin-top: 0.5em;
    max-height: 150px;
    overflow-y: auto;
    font-size: 0.9em;
    background: #2a2a2a;
    padding: 0.5em;
    border-radius: 6px;
    border: 1px solid #3d3d3d;
}

.dropdown-content.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}


.context-menu {
    display: none;
    position: absolute;
    background: #313131;
    border: 1px solid #464646;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    color: #fff;
}

.context-menu button {
    display: block;
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
    color: #fff;
    user-select: none;
}

.context-menu button:hover {
    background: #424242;
    transition: 0.2s;
}

