*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    background: #0a0a0a;
}

header {
    width: 100%;
    height: 90px;
    background: rgba(20, 20, 20, 0.5);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header img {
    height: 60px;
    margin-left: 10px;
    margin-top: 15px;
}

nav {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-right: 20px;
    height: 100%;
}

nav a {
    font-size: 20px;
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.2s;
}

nav a:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    text-decoration: none;
}

.dropdown-wrapper {
    position: relative;
}

.dropdown-btn {
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.2s;
}

.dropdown-btn:hover {
    background: rgba(255,255,255,0.1);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 220px;
    background: #141414;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
    z-index: 999;
}

.dropdown-menu.open {
    display: block;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.dropdown-menu a:hover {
    background: rgba(255,255,255,0.08);
    color: white;
}

.dropdown-menu a i {
    width: 16px;
    text-align: center;
    opacity: 0.7;
}

section {
    width: 100%;
    height: 700px;
    position: relative;
    color: white;
    background: url("Resources/MainPageBG.jpg");
    background-position: center top; 
}

.center {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.center h1 { margin: 0; }
.center p  { margin-top: 20px; }

main {
    background-color: black;
    color: white;
    padding: 50px;
}

main h1{
    margin-top: 50px;
    font-size: 28px;
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 2px solid white;
}
main h1:first-child {
    margin-top: 0;
}

footer {
    width: 100%;
    min-height: 80px;
    padding: 25px;
    background: #0a0a0a;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 14px;
    letter-spacing: 0.05em;
    text-align: center;
}

main li a {
    color: white;
}

.center a button {
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: white;
    background: rgba(255, 255, 255, 0.1);

    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.center a button:hover {
    background: #141414;
    border-color: rgba(255, 255, 255, 0.18);
}

.center a button:active {
    transform: translateY(0);
}