* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    font-family: Arial, Helvetica, sans-serif;

    color: white;

    overflow-x: hidden;

    background: #000;
}

/* Background */

#background {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-image:
        linear-gradient(
            rgba(0,0,0,0.55),
            rgba(0,0,0,0.80)
        ),
        url("background.jpg");

    background-size: cover;
    background-position: center;

    filter: blur(12px);
    transform: scale(1.1);

    z-index: -1;
}

/* Main card */

.container {
    position: relative;
    z-index: 2;

    width: 460px;
    max-width: 90vw;

    padding: 45px 35px;

    background: rgba(255,255,255,.08);

    backdrop-filter: blur(15px);

    border-radius: 25px;

    text-align: center;

    box-shadow: 0 0 50px rgba(0,0,0,.6);
}

/* Logo */

.logo {
    width: 150px;
    height: 150px;

    object-fit: cover;

    border-radius: 50%;

    filter: drop-shadow(0 0 25px purple);

    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    50% {
        transform: translateY(-15px);
    }
}

h1 {
    font-size: 38px;
    margin: 20px 0 10px;
}

.tagline {
    color: #ccc;
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 30px;
}

/* Buttons */

.buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    display: block;
    width: 100%;

    padding: 15px;

    color: white;
    font-size: 16px;
    font-family: inherit;

    text-decoration: none;
    text-align: center;

    background: rgba(255,255,255,.1);

    border: 1px solid rgba(255,255,255,.25);
    border-radius: 15px;

    cursor: pointer;

    transition: .3s ease;
}

.btn:hover {
    transform: scale(1.05);

    background: rgba(255,255,255,.25);

    box-shadow: 0 0 25px purple;
}

/* Projects dropdown */

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.chevron {
    display: inline-block;
    transition: transform .25s ease;
    font-size: 13px;
}

.dropdown.open .chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;

    max-height: 0;
    overflow: hidden;

    margin-top: 0;

    opacity: 0;

    transition: max-height .3s ease, opacity .3s ease, margin-top .3s ease;
}

.dropdown.open .dropdown-menu {
    max-height: 200px;
    margin-top: 12px;
    opacity: 1;
}

.dropdown-item {
    padding: 13px;

    color: white;
    font-size: 15px;

    text-decoration: none;

    background: rgba(0,0,0,.35);

    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;

    transition: .3s ease;
}

a.dropdown-item:hover {
    background: rgba(255,255,255,.2);
    box-shadow: 0 0 20px purple;
}

.dropdown-item.placeholder {
    color: #888;
    cursor: not-allowed;
}
