/* Base */
:root {
    --bg-color: #fbf6f3;
    --darker-bg-color: #ece8e4;
    --darkest-bg-color: #d3cecc;
    --text-color: #130c09;
    --primary-color: #EE7322;
    --accent-color: #da8852;
    --highlight-color: yellow;
}
* {
    margin: 0;
}
body {
    background-color: var(--bg-color);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color: var(--text-color);
    overflow-wrap: anywhere;
}

/* Hide scrollbar */
::-webkit-scrollbar {
    display: none;
}

/* Dropdown */
#dropdown {
    background-color: transparent;
    z-index: 11;
    height: 2.5rem;
    font-family: 'Times New Roman', Times, serif;
    width: fit-content;
    font-size: 2rem;
    padding: 0.5rem 1rem 1.5rem 1rem;
    transition: 0.3s;
    border: none;
    position: fixed;
    cursor: default;
    top: 0;
    right: 0.5rem;
}
#dropdown_button_container {
    background-color: var(--darker-bg-color);
    border: var(--darkest-bg-color) solid 2px;
    display: none;
    position: fixed;
    padding: 1rem;
    top: 4rem;
    right: 0.5rem;
    min-width: 5rem;
    direction: rtl;
    flex-direction: column;
}
#dropdown:hover #dropdown_button_container {
    display: flex;
}
#dropdown_button_container:hover {
    display: flex;
}
.dropdown_button {
    padding: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    border-right: transparent solid 2px;
    transition: 0.3s;
}
.dropdown_button:hover {
    border-right: var(--primary-color) solid 2px;
}
@media (height < 30rem) {
    .header_button {
        font-size: 1.4rem;
    }
}
@media (height < 23rem) {
    #header_button_container {
        flex-direction: row;
    }
}

/* Header */
header {
    z-index: 10;
    width: 100%;
    top: 0;
    background-color: var(--primary-color);
    overflow: auto;
    white-space: nowrap;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
header img {
    cursor: pointer;
}
header p {
    font-size: 1.2rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: hsl(0, 0%, 100%, 90%);
    cursor: default;
}
@media (width <= 50rem) {
    header p {
        display: none;
    }
}

#header_titel_image {
    width: 12rem;
    padding: 0.5rem;
}
@media (width <= 13rem) {
    #header_titel_image {
        width: calc(100% - 1rem);
    }
}

header p {
    width: 33%;
    text-align: center;
}

/* Main */
main {
    margin: 0 auto 0 auto;
    padding: 3rem;
    width: calc(80rem - 8rem);
    min-height: 100vh;
    height: fit-content;
    /*
    border-left: var(--darker-bg-color) solid 2px;
    border-right: var(--darker-bg-color) solid 2px;
    */
}
@media (80rem <= width <= 120rem) {
    main {
        width: calc(55rem - 8rem);
    }
}
@media (45rem <= width < 80rem) {
    main {
        width: calc(45rem - 8rem);
    }
}
@media (width < 45rem) {
    main {
        width: calc(100% - 4rem);
        padding: 2rem;
    }
}

main img {
    width: 100%;
    max-height: 22rem;
    object-fit: cover;
}
main h2 {
    font-size: 2.8rem;
}
@media (width < 35rem) {
    main h2 {
        font-size: 2rem;
    }
}
main p {
    font-size: 1.2rem;
}

/* Content in main */
.article {
    background-color: transparent;
    position: relative;
    padding: 1rem;
    cursor: pointer;
    display: block;
    margin-bottom: 3rem;
    color: var(--text-color);
    text-decoration: none;
    border: var(--darker-bg-color) solid 2px;
    transition: 0.3s;
}

/* Footer */
footer {
    min-width: 100%;
    min-height: 4rem;
    height: fit-content;
    position: absolute;
    background-color: var(--darker-bg-color);
    border-top: var(--darkest-bg-color) solid 2px;
    overflow: auto;
    white-space: nowrap;
    display: flex;
    justify-content: space-between;
}
@media (width < 50rem) {
    footer {
        flex-direction: column;
    }
}
.footer_text {
    padding: 0.7em;
}