* {
    font-family: arial, verdana, helvetica, sans-serif;

}

h1 {
    width: 49%;
    display: inline-block;
    vertical-align: top;
    margin: 0;
    overflow: hidden;
    font-size: 2em;
    text-align: right;
}

h1 a {
    text-decoration: none;
    color: black;
    animation: shadeout 2s;
}

h1 a:hover {
    animation: shadein 2s;
}


@keyframes shadein {
    0% {
        text-shadow: 0px 0px 1px black;
    }

    100% {
        text-shadow: 0px 0px 5px black;
    }
}

@keyframes shadeout {
    0% {
        text-shadow: 0px 0px 5px black;
    }

    100% {
        text-shadow: 0px 0px 0px black;
    }
}

#search {
    width: 49%;
    display: inline-block;
    vertical-align: top;
    text-align: right;
    overflow: hidden;
}

#search input {
    font-size: 20px;
    width: 70%;
}

#menu {
    padding: 0px;
    text-align: center;

}

#menu li {
    float: none;
    display: inline-block;
    list-style: none;
    margin-right: 0.75%;
    margin-bottom: 10px;
    background-image: url('/assets/blob.jpg');
}

#menu li a,
#homepage ul li a {
    padding: 10px;
    display: block;
    text-decoration: none;
    font-weight: bold;
    color: #000;
    border: 3px solid #c0c0c0;
    background-color: rgba(0, 0, 0, 0.2);
}

#menu li a:hover {
    transition: background-color 0.5s ease;
    background-color: rgba(0, 0, 0, 0.3);
}

#page,
#article {
    margin: 0 5% 0 5%;
}

#page h4 {
    text-align: center;
}

.newsitem {
    font-style: normal;
    margin-bottom: 25px;
    padding: 10px 0 10px 0;
    background-image: url('/assets/drip.jpg');
    background-size: cover;
}

.permalink {
    display: block;
    margin-left: 1%;
}

.day {
    margin-bottom: 5%;

}

.date {
    background-color: #E8E8E8;
    font-weight: bold;
    font-family: verdana, arial, helvetica, sans-serif;
    font-variant: small-caps;
    padding: 5px;
}

.story {
    padding: 12px;
    overflow: auto;
}

.byline {
    font-weight: bold;
    letter-spacing: 0.01em;
    margin: 0 15px 0 15px;
    text-align: right;
    font-size: .9em;
}

.headline {
    margin: 0 10px;
}

body {
    padding: 10px;
}

/*
body {
	animation: fadein 20s 5;
}


@keyframes fadein {
	0% {
		background-color: #FFF;
	}

	25% {
		background-color: #FFF;
	}

	50% {
		background-color: rgb(247, 247, 255);
	}

	75% {
		background-color: #FFF;
	}

	100% {
		background-color: #FFF;
	}
}
*/

#homepage {
    background-color: rgba(255, 255, 255, 0.5);
    border: 5px solid black;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
}

#homepage ul {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 5%;
}

#homepage ul li {
    float: none;
    display: inline-block;
    list-style: none;
}


@media screen and (min-width: 1100px) {
    #article, #page {
        margin-left: 20%;
        margin-right: 20%;
    }
}

@media screen and (max-width: 600px) {
    h1 {
        font-size: 1em;
    }

    #search input {
        font-size: 11px;
    }

}

img.news-image-wide {
    width: 98%;
}

.publication {
    font-weight: bold;
    margin-left: 20px;
}

.article_title {
    padding-top: 20px;
    padding-bottom: 0;
}

.article_image {
    width:100%;
    padding: 10px 0 10px 0;
}