@font-face {
    font-family: Bilbo;
    src: url(fonts/Bilbo.ttf);
}

@font-face {
    font-family: Cinzel-strong;
    src: url(fonts/Cinzel-Black.ttf);
}

@font-face {
    font-family: Cinzel-normal;
    src: url(fonts/Cinzel-Regular.ttf);
}

@font-face {
    font-family: Dancing;
    src: url(fonts/DancingScript.ttf);
}

* {
    margin: 0px;
    padding: 0px;
}

html {
    background-color: white;
}

body {
    background-color: white;
}

#topBar {
    width: 100%;
    background-color: #111;
    height: 60px;
}

#topBar div {
    width: 968px;
    margin-left: auto;
    margin-right: auto;
    height: 60px;
}

#titleOfBlog {
    width: 100%;
    color: white; 
    font-size: 40px;
    text-align: center;
    font-family: Cinzel-strong;
}

.container {
    width: 968px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: #111 0px 0px 15px 0px;
    clip-path: inset(0px -15px 0px -15px);
    background-color: #eee;
    position: relative;
}

nav {
    float: right;
    width: 25%;
    height: 100%;
}

nav ul {
    list-style-type: none;
}

nav ul li {
    display: block;
    line-height: 55px;
    font-size: 1.2em;
    background-color: #111;
    font-family: Cinzel-normal;
    text-align: right;
}

nav ul li:hover {
    text-align: left;
}

nav ul li.index:hover {
    background-color: #304D8C;
    color: white;
}

nav ul li.blog:hover {
    background-color: #8C794D;
    color: white;
}

nav ul li a {
    display: block;
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding-right: 12px;
}

nav ul li a:hover {
    padding-left: 12px;
}

#contents {
    width: 75%;
    background-color: #999;
    padding-bottom: 10px;
}

#contents h1 {
    text-align: center;
    font-size: 55px;
    color: white;
    font-family: Cinzel-normal;
}

#contents h2 {
    text-align: center;
    font-size: 40px;
    color: white;
}

article {
    width: 90%;
    margin-left:5%;
    margin-right: 5%;
    background-color: white;
    box-shadow: black 0px 0px 10px 2px,
                #111 0px 0px 10px 2px;
    border-radius: 8px;
}

article p {
    font-family: Dancing;
    font-size: 1.5em;
}

div.last-updated {
    padding: 10px 0px;
    width: 100%;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    background-color: rgb(201, 201, 201);
    text-align: center;
}

div.counter {
    margin: 0px;
    padding: 10px 0px;
    width: 100%;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    background-color: #999;
    text-align: center;
}

footer {
    clear: both;
    width: 100%;
    font-size: 1.25em;
    background-color: #111;
    color: white;
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: Cinzel-normal;
}

footer div {
    width: 968px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    background-color: #111;
}

footer a {
    color: #CCC;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5em;
}

footer a:hover {
    text-decoration: underline;
    font-size: 1.7em;
}

h3 {
    font-family: Cinzel-normal;
    text-decoration: underline;
}

.center-text {
    text-align: center;
    font-family: Cinzel-normal;
}

.pinned {
    background-color: khaki;
    color: dodgerblue;
    font-family: 'Times New Roman', Times, serif;
}

footer div div.blogLink {
    width: 100%;
    text-align: center;
    clear: both;
}

footer div div.copyRights {
    width: 100%;
    text-align: center;
    clear: both;
}

@media (min-width: 200px) and (max-width: 320px)  {

    * {
        margin: 0;
        padding: 0;
    }
    
    html {
        background-color: white;
    }
    
    body {
        background-color: white;
    }
    
    #topBar {
        width: 100%;
        background-color: #111;
        height: 100px;
        z-index: 3;
    }
    
    #topBar div {
        width: 100%;
    }
    
    #nameLogo {
        width: 100%;
        float:left;
        color: white;
        text-align: center;
    }

    #nameLogo img {
        float:none;
    }
    
    .container {
        width: 100%;
        background-color: #eee;
        padding-bottom: 235px;
    }
    
    header {
        width: 100%;
    }

    nav {
        float:none;
        width: 100%;
        clear: both;
    }
    
    nav ul {
        list-style-type: none;
    }
    
    nav ul li {
        display: block;
        text-align: center;
        line-height: 50px;
        font-size: 1.2em;
        background-color: #111;
        font-family: Anke;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    nav ul li:hover {
        text-align: center;
    }
    
    nav ul li.main:hover {
        background-color: #1654F2;
        color: white;
    }
    
    nav ul li.law:hover {
        background-color: #1b9e0f;
        color: white;
    }
    
    nav ul li.ethics:hover {
        background-color: #be0c0c;
        color: white;
    }
    
    nav ul li.economics:hover {
        background-color: #DF5700;
        color: white;
    }
    
    nav ul li a, nav ul li a:hover {
        display: block;
        color: white;
        text-decoration: none;
    }
    
    #contents {
        width: 100%;
        background-color: #999;
        padding-bottom:20px;
    }
    
    #contents h1 {
        text-align: center;
        font-size: 55px;
        color: white;
        font-family: Anke;
    }
    
    #contents h2 {
        text-align: center;
        font-size: 40px;
        color: white;
    }
    
    article {
        width: 90%;
        margin-left:5%;
        margin-right: 5%;
        background-color: white;
        box-shadow: black 0px 0px 10px 2px,
                    #111 0px 0px 10px 2px;
        border-radius: 8px;
    }
    
    footer {
        width: 100%;
        font-size: 1.25em;
        background-color: #111;
        color: white;
        padding-top: 10px;
        padding-bottom: 10px;
        font-family: Anke;
    }
    
    footer div {
        width: 100%;
        background-color: #111;
    }
    
    footer a {
        color: #CCC;
        text-decoration: none;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1.2em;
    }
    
    footer a:hover {
        text-decoration: underline;
    }

    footer div div.blogLink {
        width: 100%;
        text-align: center;
        clear: both;
    }

    footer div div.copyRights {
        width: 100%;
        text-align: center;
        clear: both;
    }
}

@media (min-width: 321px) and (max-width: 375px)  {

    * {
        margin: 0;
        padding: 0;
    }
    
    html {
        background-color: white;
    }
    
    body {
        background-color: white;
    }
    
    #topBar {
        width: 100%;
        background-color: #111;
        height: 100px;
        z-index: 3;
    }
    
    #topBar div {
        width: 100%;
    }
    
    #nameLogo {
        width: 100%;
        float:left;
        color: white;
        text-align: center;
    }

    #nameLogo img {
        float:none;
    }

    .container {
        width: 100%;
        background-color: #eee;
        padding-bottom: 235px;
    }
    
    header {
        width: 100%;
    }
    
    nav {
        width: 100%;
        clear: both;
        text-align: center;
    }
    
    nav ul {
        list-style-type: none;
    }
    
    nav ul li {
        display: block;
        text-align: center;
        line-height: 50px;
        font-size: 1.2em;
        background-color: #111;
        font-family: Anke;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    nav ul li:hover {
        text-align: center;
        padding-left: 0px;
    }
    
    nav ul li.main:hover {
        background-color: #1654F2;
        color: white;
    }
    
    nav ul li.law:hover {
        background-color: #1b9e0f;
        color: white;
    }
    
    nav ul li.ethics:hover {
        background-color: #be0c0c;
        color: white;
    }
    
    nav ul li.economics:hover {
        background-color: #DF5700;
        color: white;
    }
    
    nav ul li a, nav ul li a:hover {
        display: block;
        text-align: center;
        color: white;
        text-decoration: none;
        padding-left: 0px;
        padding-right: 0px;
    }
    
    #contents {
        width: 100%;
        background-color: #999;
        padding-bottom:20px;
    }
    
    #contents h1 {
        text-align: center;
        font-size: 55px;
        color: white;
        font-family: Anke;
    }
    
    #contents h2 {
        text-align: center;
        font-size: 40px;
        color: white;
    }
    
    article {
        width: 90%;
        margin-left:5%;
        margin-right: 5%;
        background-color: white;
        box-shadow: black 0px 0px 10px 2px,
                    #111 0px 0px 10px 2px;
        border-radius: 8px;
    }
    
    footer {
        width: 100%;
        font-size: 1.25em;
        background-color: #111;
        color: white;
        padding-top: 10px;
        padding-bottom: 10px;
        font-family: Anke;
    }
    
    footer div {
        width: 100%;
        background-color: #111;
    }
    
    footer a {
        color: #CCC;
        text-decoration: none;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1.2em;
    }
    
    footer a:hover {
        text-decoration: underline;
    }

    footer div div.blogLink {
        width: 100%;
        text-align: center;
        clear: both;
    }

    footer div div.copyRights {
        width: 100%;
        text-align: center;
        clear: both;
    }

}

@media (min-width: 376px) and (max-width: 425px)  {

    * {
        margin: 0;
        padding: 0;
    }
    
    html {
        background-color: white;
    }
    
    body {
        background-color: white;
    }
    
    #topBar {
        width: 100%;
        background-color: #111;
        height: 50px;
        z-index: 3;
    }
    
    #topBar img {
        float: left;
    }
    
    #topBar div {
        width: 100%;
    }
    
    #nameLogo {
        width: 50%;
        color: white;
    }
    
    .container {
        width: 100%;
        background-color: #eee;
        padding-bottom: 235px;
    }
    
    header {
        width: 100%;
    }

    nav {
        width: 100%;
        clear: both;
        text-align: center;
    }
    
    nav ul {
        list-style-type: none;
    }
    
    nav ul li {
        display: inline-block;
        text-align: center;
        width: 45%;
        line-height: 50px;
        font-size: 1.2em;
        background-color: #111;
        font-family: Anke;
        border: 1px solid #eee;
        text-align: center;
    }

    nav ul li:hover {
        text-align: center;
    }
    
    nav ul li.main:hover {
        background-color: #1654F2;
        color: white;
    }
    
    nav ul li.law:hover {
        background-color: #1b9e0f;
        color: white;
    }
    
    nav ul li.ethics:hover {
        background-color: #be0c0c;
        color: white;
    }
    
    nav ul li.economics:hover {
        background-color: #DF5700;
        color: white;
    }
    
    nav ul li a, nav ul li a:hover {
        display: block;
        color: white;
        text-decoration: none;
        padding-left: 0px;
        padding-right: 0px;
    }
    
    #contents {
        width: 100%;
        background-color: #999;
        padding-bottom:20px;
    }
    
    #contents h1 {
        text-align: center;
        font-size: 55px;
        color: white;
        font-family: Anke;
    }
    
    #contents h2 {
        text-align: center;
        font-size: 40px;
        color: white;
    }
    
    article {
        width: 90%;
        margin-left:5%;
        margin-right: 5%;
        background-color: white;
        box-shadow: black 0px 0px 10px 2px,
                    #111 0px 0px 10px 2px;
        border-radius: 8px;
    }
    
    footer {
        width: 100%;
        font-size: 1.25em;
        background-color: #111;
        color: white;
        padding-top: 10px;
        padding-bottom: 10px;
        font-family: Anke;
    }
    
    footer div {
        width: 100%;
        background-color: #111;
    }
    
    footer a {
        color: #CCC;
        text-decoration: none;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1.2em;
    }
    
    footer a:hover {
        text-decoration: underline;
    }

    footer div div.blogLink {
        width: 100%;
        text-align: center;
        clear: both;
    }

    footer div div.copyRights {
        width: 100%;
        text-align: center;
        clear: both;
    }

}

@media (min-width: 426px) and (max-width: 768px)  {

    * {
        margin: 0;
        padding: 0;
    }
    
    html {
        background-color: white;
    }
    
    body {
        background-color: white;
    }
    
    #topBar {
        width: 100%;
        background-color: #111;
        height: 50px;
        z-index: 3;
    }
    
    #topBar img {
        float: left;
    }
    
    #topBar div {
        width: 100%;
    }
    
    #nameLogo {
        width: 50%;
        color: white;
    }
    
    .container {
        width: 100%;
        background-color: #eee;
        padding-bottom: 235px;
    }
    
    header {
        width: 100%;
    }

    nav {
        width: 100%;
        clear: both;
        text-align: center;
    }
    
    nav ul {
        list-style-type: none;
    }
    
    nav ul li {
        display: inline-block;
        text-align: center;
        width: 45%;
        line-height: 50px;
        font-size: 1.2em;
        background-color: #111;
        font-family: Anke;
        border: 1px solid #eee;
    }

    nav ul li:hover {
        text-align: center;
    }
    
    nav ul li.main:hover {
        background-color: #1654F2;
        color: white;
    }
    
    nav ul li.law:hover {
        background-color: #1b9e0f;
        color: white;
    }
    
    nav ul li.ethics:hover {
        background-color: #be0c0c;
        color: white;
    }
    
    nav ul li.economics:hover {
        background-color: #DF5700;
        color: white;
    }
    
    nav ul li a, nav ul li a:hover {
        display: block;
        color: white;
        text-decoration: none;
        padding-left: 0px;
        padding-right: 0px;
    }
    
    #contents {
        width: 100%;
        background-color: #999;
        padding-bottom:20px;
    }
    
    article {
        width: 90%;
        margin-left:5%;
        margin-right: 5%;
        background-color: white;
        box-shadow: black 0px 0px 10px 2px,
                    #111 0px 0px 10px 2px;
        border-radius: 8px;
    }
    
    footer {
        width: 100%;
        font-size: 1.25em;
        background-color: #111;
        color: white;
        padding-top: 10px;
        padding-bottom: 10px;
        font-family: Anke;
    }
    
    footer div {
        width: 100%;
        background-color: #111;
    }

    footer div div.blogLink {
        width: 100%;
        text-align: center;
        clear: both;
    }

    footer div div.copyRights {
        width: 100%;
        text-align: center;
        clear: both;
    }

}