:root {
    --color-background: #333333;
    --color-section: #242222;
    --color-border: #f1eff1;
    --color-marquee: #ffffff;
    --color-marquee-background: #7a777a;
    --color-scroll-thumb: #404044;
    --color-scroll-track: #f8f8ff;
    --color-text-highlight: #fafbff;

    --font-heading: "Pixelify Sans", sans-serif;
    --font-body: "Nunito", sans-serif;

    --border-width: 2px;
}

body {
    position: relative;

    font-family: var(--font-body);
    font-optical-sizing: auto;
    font-style: normal;
    color: #ffffff;

    margin: 0;
    padding: 10px;

    background-color: var(--color-background);

    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;

    overflow: hidden;
}

h1,
h2 {
    font-family: var(--font-heading);
}

.contenedor {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 900px;
    max-width: 100%;
    height: 95vh;
}

.site_header {
    height: 150px;
    width: 100%;
    background-image: url(https://i.pinimg.com/1200x/17/17/2c/17172c9cac4d3eed1b55ff422f73df4c.jpg);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;

    border: var(--border-width) solid var(--color-border);
    border-radius: 5px;
    margin: 0 0 5px 0;

    box-sizing: border-box;
}

.content_container {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-grow: 1;
    min-height: 0;
}

.main_content {
    position: relative;

    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.section {
    text-align: center;
    background: var(--color-section);
    width: 100%;
    border: var(--border-width) solid var(--color-border);
    border-radius: 5px;
    margin: 0 0 5px 0;

    padding: 20px;
    box-sizing: border-box;
}

.section h1,
.section h2 {
    margin-top: 0;
}

.columna_izquierda {
    box-sizing: border-box;
    align-items: center;

    display: flex;
    flex-direction: column;

    gap: 5px;
}

.sidebox {
    white-space: nowrap;
    text-align: center;
    padding: 10px;

    background-color: var(--color-section);
    border: var(--border-width) solid var(--color-border);
    border-radius: 5px;
    overflow-y: auto;
    overflow-x: hidden;
}

.avatar,
.sidebox img {
    border: var(--border-width) solid var(--color-border);
    border-radius: 5px;
}

.avatar {
    width: 80%;
}

.sidebox img {
    width: 100%;
    height: auto;
}

ul.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    list-style-type: none;
    padding: 0;
    margin: 0 0 15px 0;

    justify-content: center;
    font-family: var(--font-body);
}

ul.skills li {
    font-family: var(--font-body);

    background-color: var(--color-section);
    border: var(--border-width) solid var(--color-border);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 14px;
}

.marquee_band {
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
    width: 100%;

    margin-bottom: 30px;

    white-space: nowrap;

    color: var(--color-marquee);
    background-color: var(--color-marquee-background);

    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.marquee_band span {
    display: inline-block;
    animation: infinite_scroll 15s linear infinite;
}

aside ul {
    list-style-type: none;
    padding: 0;
}

aside li {
    text-align: center;
}

::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background-color: var(--color-scroll-track);
    border-radius: 50px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--color-scroll-thumb);

    background-clip: padding-box;
    border: var(--border-width) solid var(--color-scroll-track);
    border-radius: 50px;
}

.text_highlight {
    color: var(--color-text-highlight);
}

a {
    color: #ffffff;
}

.twitterpfp {
    width: 100px;
    height: 100px;
    border-radius: 100%;

    border: var(--border-width) solid var(--color-border);
}

@keyframes infinite_scroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@media (max-width: 700px) {
    body {
        height: auto;
        overflow: auto;
        padding: 10px 10px 50px;
    }

    .contenedor {
        height: auto;
    }

    .content_container {
        flex-direction: column;
    }

    .columna_izquierda {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebox {
        flex: 1 1 200px;
    }
}