/*/css/main.css*/

* {
    font-family: Arial, sans-serif;
    --base_text_color: #AEABAF;
    --border_color: #282828;
    --base_bg: #121212;
    --accent-color: #ff4d4f;
    box-sizing: border-box;
    --span-font-size: 0.85em;
    background: transparent;
    --border_radius: 1.5rem;
}

h1, h2, h3, h4, h5, p, span, textarea, a, input {
    overflow-wrap: break-all;
    word-wrap: break-all;
    word-break: break-all;
    text-align: center;
    text-align: start;
    color: var(--base_text_color);
    outline: none;
    font-size: var(--span-font-size);
    text-decoration: none;
}

h1 {
    font-size: 0.9em;
    color: var(--base_text_color);
}

span {
    font-size: var(--span-font-size);
    display: flex;
    flex-direction: column;
    place-items: center;
    place-content: center;
    border-radius: 20px;
    color: var(--base_text_color);
    position: relative;
    outline: none;
    background-color: #282828;
    text-align: start;
    padding: 0.1rem 0.5rem;
}

svg {
    background: transparent;
}

body {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    background: var(--base_bg);
    color: var(--base_text_color);
    padding: 0rem 1rem;
    margin: 0;
}

header {
    display: flex;
    flex-direction: column;
    background: transparent;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 2000;
    padding-right: 2.0rem;
}

header .menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    background: transparent;
    place-content: center;
    place-items: center;
    justify-content: space-between;
    padding-top: 1.0rem;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1000;
    background: transparent;
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 2000;
    place-content: center;
    place-items: center;
    gap: 10px;
    padding-top: 0.2rem;
    padding-bottom: 0.5rem;
}

img {
    width: 100%;
    height: 100%;
    max-width: 300px;
    max-height: 200px;
    object-fit: cover;
    border-radius: 20px;
}

a {
    text-decoration: none;
}

section {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    place-content: center;
    place-items: center;
    gap: 1.0rem;
}

main {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    background-color: transparent;
    color: var(--base_text_color);
    margin-top: 5.0rem;
    margin-bottom: 5.0rem;
    gap: 1.0rem;
}

.loader {
    display: flex;
    justify-content: space-between;
    background-color: transparent;
    place-content: center;
    place-items: center;
    z-index: 1000;
}

.loader svg {
    height: 48px;
    width: 64px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    width: 20%;
    height: 100%;
    background: var(--base_bg);
    color: var(--base_text_color);
    padding: 0.1rem;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 5000;
    gap: 0.1rem;
    border-radius: var(--border_radius);
    transform: translateX(-100%);
    transition: transform 0.1s cubic-bezier(0.34, 1.56, 0.64, 1);
    place-content: start;
    place-items: center;
}

.sidebar.show {
    transform: translateX(0);
}

.sidebar a {
    display: flex;
    color: var(--base_text_color);
    padding: 10px;
    text-decoration: none;
    border-radius: 20px;
}

.sidebar img {
    width: 100%;
    height: 100%;
}

.sidebar a:hover {
    background: #575757;
}

.main_header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    place-content: center;
    place-items: center;
    justify-content: space-evenly;
}
