@import url(https://cdn.jsdelivr.net/npm/firacode@6.2.0/distr/fira_code.css);

body {
    font-family: 'Fira Code', monospace;
    color: #fff;
    margin: 0;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: black;
    opacity: 0; 
    animation: fadein 0.5s ease-in-out forwards;
}

.navbar-bg {
    background-color: rgba(0, 0, 0, 0.267);
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    filter: blur(20px) brightness(50%);
    z-index: -1;
}

.centered-div {
    margin-top: 15%;
}

.container {
    opacity: 0;
    text-align: center;
    position: relative;
    animation: slideup 1s ease-in-out forwards;
    animation-delay: 1s;
}

.navbar {
    font-size: 30px;
    max-width: 1100px;
    justify-content: space-between;
    margin: 0 auto;
    padding: 20px;
    display: flex;
}

.navbar-list {
    display: flex;
    flex-direction: row;
}

.navbar-menu {
    margin-left: 10px;
    display: inline;
    cursor: pointer;
    animation: slideDown 1s ease-in-out forwards;
    transform: translateY(-100%);
    opacity: 0;
}

.navbar-menu:nth-child(1) {
    animation-delay: 0.4s;
}

.navbar-menu:nth-child(2) {
    animation-delay: 0.6s;
}

.navbar-menu:nth-child(3) {
    animation-delay: 0.8s;
}

.navbar-menu:nth-child(4) {
    animation-delay: 1s;
}
.navbar-menu:nth-child(5) {
    animation-delay: 1.2s;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideup {
    from {
        transform: translateY(20%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


@keyframes left2right {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

a {
    color: white;
    text-decoration: none;
}

.fa-brands {
    transition: 0.2s all;
}

.fa-discord:hover {
    color: #5865F2;
}

.fa-github:hover {
    color: #0d74e7;
}

.fa-spotify:hover {
    color: #1db954;
}

dialog {
    border-radius: 10px;
    border: 0;
    color: white;
    background-color: rgba(0, 0, 0, 0.692);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.wim-menu {
    margin: 20px;
    padding: 10px;
    border-bottom: 1px solid gray;
}

dialog[open] {
    opacity: 1;
    display: block;
}

button {
    outline: 0;
    border: 0;
    padding: 10px 20px 10px;
    background-color: rgba(124, 124, 124, 0.274);
    color: white;
    cursor: pointer;
    border-radius: 10px;
    transition: 0.2s all;
}

button:hover {
    border-radius: 0px;
}

.navbar-title { animation: left2right 1s ease-in-out forwards; }