@import url('https://fonts.googleapis.com/css2?family=Geo:ital@0;1&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    height: 100vh;
    background-color: #c46931;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
}

header {
    flex: none;
    height: 10em;
    width: 100%;
    background-image:
    linear-gradient(
        to right,
        rgb(190 95 35 / 90%) 0%,
        rgb(190 95 35 / 90%) 20em,
        rgb(190 95 35 / 75%) 30em,
        rgb(190 95 35 / 0%) 50em
    ),
    url("header_background.png");
    background-repeat: no-repeat, repeat-y;
    background-size: 100% 100%, cover;
    border-bottom: 6px solid #803212;
    padding-left: 2em;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1;
}

header h1 {
    font-size: 5rem;
    font-family: 'Geo', sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #000;
    text-shadow: 0 0 1rem #fe8;
    line-height: 4rem;
    cursor: default;
}

#cellular {
    letter-spacing: 0.2rem;
}

#central {
    letter-spacing: 0.15rem;
}

main {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: row;
}

aside {
    flex: none;
    height: 100%;
    width: 20em;
    background-color: #c46931;
    display: flex;
    flex-direction: column;
    padding: 1em;
}

aside div {
    height: 3.5em;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sidebar_button {
    height: 1.5em;
    width: 97%;
    border: 5px solid #803212;
    border-radius: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: black;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.unselected {
    transition-duration: 100ms;
    transition-property: height, width;
    background-color: #eaa646;
    cursor: pointer;
}

.unselected:hover {
    background-color: #fab656;
    height: 1.65em;
    width: 100%;
}

.selected {
    background-color: #ea9636;
    cursor: default;
}

#articles {
    flex: 1;
    height: 100%;
    background-color: #eaa646;
    border-left: 6px solid #803212;
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 1em;
}

article {
    min-height: 9em;
    width: 100%;
    background-color: #c46931;
    padding: 0.5em;
    border: 6px solid #803212;
    border-radius: 10px;
    font-family: Arial, Helvetica, sans-serif;
}

article p {
    font-size: 1.25rem;
}

article a {
    font-weight: 700;
    color: #008;
    text-decoration: none;
}

article a:hover {
    color: #22f;
    text-decoration: underline;
}

@media only screen and (max-width: 1000px) {
    main {
        flex-direction: column;
    }

    aside {
        height: 15em;
        width: 100%;
        align-items: center;
    }

    aside div {
        width: 25em;
    }

    #articles {
        border-left: none;
        border-top: 6px solid #803212;
    }
}
