:root {
    --header-image: url('../image/header.png');
    --body-bg-image: url('../image/sparkle.gif');
    --content: #43256E;
}

@font-face {
  font-family: 'RainyHearts';
  src: url('../fonts/rainyhearts.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    background-color: #08031A;
    color: #fceaff;
    background-image: var(--body-bg-image);
}

* {
    box-sizing: border-box;
}

#container {
    max-width: 900px;
    margin: 0 auto;
}

#container a {
    color: #ED64F5;
    font-weight: bold;
}

#header {
    width: 100%;
    background-color: #5e4e8c;
    height: 150px;
    background-image: var(--header-image);
    background-size: 100%;
}

/* Navbar container */
#navbar {
    background-color: #13092D;
    width: 100%;
}

/* Dropdown menu style */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #2c0055;
    min-width: 160px;
    z-index: 1;
}

.dropdown-content a {
    color: #f0f0f0;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #3b0070;
}

.dropdown:hover .dropdown-content {
    display: block;
}

#navbar ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style-type: none;
    justify-content: space-evenly;
}

#navbar li {
    padding: 10px 0;
    position: relative;
}

#navbar li a {
    color: #ED64F5;
    font-weight: 800;
    text-decoration: none;
}

#navbar li a:hover {
    color: #a49cba;
    text-decoration: underline;
}

#flex {
    display: flex;
}

aside {
    background-color: #241445;
    width: 200px;
    padding: 20px;
    font-size: smaller;
}

main {
    background-color: #43256E;
    flex: 1;
    padding: 20px;
    order: 2;
}

#leftSidebar {
    order: 1;
}

#rightSidebar {
    order: 3;
}

footer {
    background-color: #13092D;
    width: 100%;
    height: 40px;
    padding: 10px;
    text-align: center;
}

h1, h2, h3 {
    color: #ED64F5;
}

h1 {
    font-size: 25px;
}

strong {
    color: #ED64F5;
}

.box {
    background-color: #13092D;
    border: 1px solid #ED64F5;
    padding: 10px;
}

#topBar {
    width: 100%;
    height: 30px;
    padding: 10px;
    font-size: smaller;
    background-color: #13092D;
}

@media only screen and (max-width: 800px) {
    #flex {
        flex-wrap: wrap;
    }

    aside {
        width: 100%;
    }

    main {
        order: 1;
    }

    #leftSidebar {
        order: 2;
    }

    #rightSidebar {
        order: 3;
    }

    #navbar ul {
        flex-wrap: wrap;
    }
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}