* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Font1";
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #2b2b2b;
    color: white;
    line-height: 1.6;
}

main {
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    font-size: 3rem;
    text-align: center;
    flex: 1;
}

footer {
    text-align: center;
    margin-top: auto;
    padding: 10px;
    background-color: #252525;
    color: beige;
    font-size: 2rem;
}
@media (min-width: 800px) {
    .top {
        background-color: #252525;
        color: beige;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px 10px 20px;
        box-shadow: 0 1px 20px beige;
        font-size: 2.5rem;
    }

    .center ui { 
        display: flex;
        gap: 20px;
    }
    .center li {
        list-style: none;
    }
    .center a {
        display: inline-block;
        text-decoration: none;
        color: beige;
        transition: color 0.5s;
        border-bottom: 2px solid transparent;
        transition: border-color 0.5s;
    }
    .center a:hover {
        border-bottom-color: beige;
    }
    .active a {
        color: beige;
        border-bottom: 2px solid beige;
    }
    #guest {
        display: flex;
        gap: 10px;
    }
    #guest li {
        border-bottom: 2px solid transparent;
        transition: border-color 0.5s;
    }
    #guest li:hover {
        border-bottom-color: beige;
    }
    #user {
        display: flex;
        gap: 10px;
    }
    #logoutBtn {
        color: beige;
        background: none;
        border: none;
        cursor: pointer;
        padding-bottom: 5px;
    }
    #logoutBtn:hover {
        border-bottom: 2px solid beige;
    }
    #userInfo {
        color: beige;
    }
    .end li {
        list-style: none;
    }
    .end a {
        text-decoration: none;
        color: beige;
    }
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;    
}