/* Style for the main layout and components */
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Main layout */
html {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: rgb(26, 31, 44);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
}

body {
    width: 60%;
    background-color: rgb(43, 51, 70);
    box-shadow: 0 0 1em rgba(0, 0, 0, 0.5);
}

/* Header styles */
#header {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    padding-bottom: 0.5em;
    width: 100%;
}

#banner {
    display: flex;
    margin: 0.5em 0.5em 0 0.5em;
    cursor: pointer;
}

/* User area styles */
#user-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0em 0.5em 0 0.5em;
    padding: 0.5em;
    background-color: rgb(36, 41, 54);
}

#user-info {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

#user-avatar {
    height: 2.5em;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: auto;
}

#user-name {
    font-size: clamp(1.2em, 2.5vw, 2em);
}

/* User buttons div */
#user-buttons {
    display: flex;
    gap: 0.5em;
}

/* User area button styles */
.user-area-button {
    padding: 0.5em 1em;
    font-size: 1em;
    color: white;
    background-color: rgb(26, 31, 44);
    border: none;
    cursor: pointer;
}

/* Main horizontal rule */
.main-hr {
    width: 100%;
    border: 0.1em solid rgb(26, 31, 44);
}

/* Footer styles */
#footer {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1em;
}

.footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5em;
    color: white;
    text-decoration: none;
}

.social-icon {
    height: 1.2em;
    width: auto;
    vertical-align: middle;
    margin-right: 0.3em;
}

/* Responsive design */
@media (max-width: 1500px) {
    body {
        width: 100%;
    }

    #user-buttons {
        flex-wrap: wrap;
        justify-content: end;
    }
}