@import "/css/navbar.css";
@import "/css/links.css";
@import "/css/drawbox.css";

:root {
    --serif-font-family: 'Baskerville Old Face', 'Times New Roman', serif;
    --sans-serif-font-family: 'Segoe UI', 'Arial', sans-serif;
    --sky-blue: #87CEEB;
    --turquoise: rgb(40, 168, 203);
    --light-blue: #3978c4;
    --thalo-blue: #002b89;
    --ultramarine: #120A8F;
    --dark-blue: #011c5e;
    --supermarine: #03182e;
    --header: 20px;
    --subheader: 18px;
    --content: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    background-repeat: repeat;
    background-size: 10%;
    background-image: url('/assets/images/kouburic 2.png');
    box-shadow: inset 0 0 0 100em #011c5ebb;
    font-family: var(--serif-font-family);
    color: var(--supermarine);
}

.container {
    display: flex;
    flex-direction: column;
    width: auto;
    gap: 0;
}

.headerwrapper {
    height: 500px;
    display: flex;
    flex-direction: row;
    position: relative;
    top: 20px;
}



.header h1 {
    align-self: center;
    margin: 0 auto;
    color: white;
    font-size: 90px;
    font-family: var(--serif-font-family);
    text-shadow: 1px 1px 2px var(--thalo-blue),
        0 0 1em var(--supermarine),
        0 0 0.2em var(--supermarine);
}

.boxwrapper {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding-left: 1rem;
    padding-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.sidebars {
    min-width: 100px;
    flex-basis: 15%;
    margin-top: 40px;
}

.sideheaders {
    background-color: var(--light-blue);
    border: 1px solid var(--thalo-blue);
    box-shadow: 0px 0px 5px var(--thalo-blue);
    font-weight: normal;
    color: white;
    font-size: var(--subheader);
}

.middleheaders {
    background-color: var(--sky-blue);
    border: 1px solid var(--sky-blue);
    box-shadow: 0px 0px 5px var(--sky-blue);
    font-weight: normal;
    color: var(--ultramarine);
    font-size: var(--header);
    border-radius: 15px 15px 0px 0px;
    margin-bottom: 5px;
}

.sidebox {
    padding: 8px 3px 8px 3px;
    font-size: 13px;
    color: var(--sky-blue);
    letter-spacing: 1px;
}


.sidebars ul {
    padding: 0;
    width: 100%;
}

.sidebars li {
    text-align: center;
    list-style-type: none;
    border-bottom: 1px solid var(--sky-blue);
    margin-bottom: 6px;
    width: 100%;
}

.sidebars a {
    width: 100%;
    color: var(--sky-blue);
}

.sidebars a:visited {
    color: var(--sky-blue);
}

.sidebars a:hover {
    display: inline-block;
    text-shadow: 0px 0px 5px var(--light-blue);
    font-weight: bold;
    font-style: normal;
    transition: all .2s ease-in-out;
    transform: scale(1.3);
}

.tag-list li {
    width: 100%;
}

.sidebars a:active {
    display: inline-block;
    font-weight: normal;
    font-style: normal;
    text-shadow: 0px 0px 5px var(--light-blue);
    transform: scale(1.1);
}

.main {
    flex-basis: 70%;
    min-width: 300px;
    padding: 20px;
    background-color: var(--light-blue);
    border: 1px solid var(--light-blue);
    box-shadow: 0px 0px 10px var(--light-blue);
    border-radius: 65px 65px 0px 0px;
    font-size: var(--content);
}

.section {
    margin-bottom: 15px;
}

#credit a {
    color: var(--sky-blue);
}

a {
    color: #7992B8;
    text-decoration: none;
}

a:visited {
    color: #7992B8;
}

a:hover {
    font-style: italic;
}

a:active {
    font-style: italic;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: var(--sky-blue);
}

#credit {
    font-size: 12px;
    position: fixed;
    bottom: 0;
    right: 0;
}

@media(max-width:685px) {
    .headerwrapper {
        height: 268px;
        position: relative;
        top: 0px;
    }

    .header {
        background-size: 100%;
        background-position: top left;
    }

    .header h1 {
        font-size: 40px;
        align-self: center;
        padding-left: 1em;
    }

    .container {
        width: 100%;
        margin-top: 0;
    }

    .boxwrapper {
        display: flex;
        flex-direction: column;
        padding-left: 1em;
        padding-right: 1em;
    }

    .boxes {
        min-width: 100%;
    }

    .sidebox {
        text-align: center;
    }

    .sidebars {
        margin-top: 0;
    }

    .sidebars li {
        display: inline;
        margin: 0;
        border: none;
    }
}

@media(max-width:820px) {
    .header h1 {
        padding-left: 1.5em;
    }
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.middle {
    justify-content: center;
    align-items: center;
}

.main-section {
    padding: 2em;
    margin-top: 4em;
}