* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Spectral', sans-serif;
}

.container {
    max-width: 1100px;
    margin: 0 auto 0;
    width: 100%;
}

#dynamic {
    display: block;
}

/*/
 * Animated intro
/*/

#intro {
    background-position: top center;
    background-repeat: no-repeat;
}

#intro .content {
    width: 980px;
    height: 720px;
    margin: 0 auto 0;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#intro .content .butonintramouse, #intro .content .buton1mouse, #intro .content .buton2mouse, #intro .content .buton3mouse, #intro .content .buton4mouse, #intro .content .buton5mouse, #intro .content .buton6mouse, #intro .content .buton7mouse, #intro .content .buton8mouse, #intro .content .butongaleriemouse {
    opacity: 0;
}

#intro .content .butonintramouse:hover, #intro .content .buton1mouse:hover, #intro .content .buton2mouse:hover, #intro .content .buton3mouse:hover, #intro .content .buton4mouse:hover, #intro .content .buton5mouse:hover, #intro .content .buton6mouse:hover, #intro .content .buton7mouse:hover, #intro .content .buton8mouse:hover, #intro .content .butongaleriemouse:hover {
    opacity: 1;
}

#intro .content .butonintra, #intro .content .butonintramouse, #intro .content .buton1, #intro .content .buton2, #intro .content .buton3, #intro .content .buton4, #intro .content .buton5, #intro .content .buton6, #intro .content .buton7, #intro .content .buton8, #intro .content .butongalerie, #intro .content .buton1mouse, #intro .content .buton2mouse, #intro .content .buton3mouse, #intro .content .buton4mouse, #intro .content .buton5mouse, #intro .content .buton6mouse, #intro .content .buton7mouse, #intro .content .buton8mouse, #intro .content .butongaleriemouse {
    cursor: pointer;
}

/*/
 * Main Menu
/*/

header {
    background: #fff;
    padding: 15px;
}

header .title {
    font-size: 24px;
    font-weight: 600;
    color: #363737;
    text-transform: uppercase;
    text-align: center;
}

header a {
    font-family: 'Source Sans 3', system-ui;
    background: #8e2de2;
    color: #fff;
    display: block;
    position: absolute;
    right: 15px;
    top: 10px;
    text-decoration: none;
    padding: 9px 18px;
    border-radius: 5px;
}

nav {
    margin: 0 auto;
    background: #fff;
    font-family: 'Source Sans 3', system-ui;
    border-top: 1px solid #E6E6E6;
    border-bottom: 1px solid #E6E6E6;
}
nav ul {
  list-style: none;
  text-align: center;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
}
nav ul li {
  display: inline-block;
}
nav ul li a {
  display: block;
  padding: 12px;
  text-decoration: none;
  color: #363737;
  font-weight: 600;
  margin: 0 10px;
}
nav ul li a,
nav ul li a:after,
nav ul li a:before {
  transition: all .5s;
}
nav ul li a:hover {
  color: #000;
}


/* Stroke */
nav.stroke ul li a,
nav.fill ul li a {
  position: relative;
}
nav.stroke ul li a:after,
nav.fill ul li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: '.';
  color: transparent;
  background: #8e2de2;
  height: 2px;
}
nav.stroke ul li a:hover:after {
  width: 100%;
}

nav.fill ul li a {
  transition: all 2s;
}

nav.fill ul li a:after {
  text-align: left;
  content: '.';
  margin: 0;
  opacity: 0;
}
nav.fill ul li a:hover {
  color: #000;
  z-index: 1;
}
nav.fill ul li a:hover:after {
  z-index: -10;
  animation: fill 1s forwards;
  -webkit-animation: fill 1s forwards;
  -moz-animation: fill 1s forwards;
  opacity: 1;
}

/* Circle */
nav.circle ul li a {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
nav.circle ul li a:after {
  display: block;
  position: absolute;
  margin: 0;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: '.';
  color: transparent;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  background: transparent;
}
nav.circle ul li a:hover:after {
  -webkit-animation: circle 1.5s ease-in forwards;
}

/* Shift */
nav.shift ul li a {
  position:relative;
  z-index: 1;
}
nav.shift ul li a:hover {
  color: #000;
}
nav.shift ul li a:after {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  width: 100%;
  height: 1px;
  content: '.';
  color: transparent;
  background: #E6E6E6;
  visibility: none;
  opacity: 0;
  z-index: -1;
}
nav.shift ul li a:hover:after {
  opacity: 1;
  visibility: visible;
  height: 100%;
}

@-webkit-keyframes fill {
  0% {
    width: 0%;
    height: 1px;
  }
  50% {
    width: 100%;
    height: 1px;
  }
  100% {
    width: 100%;
    height: 100%;
    background: #E6E6E6;
  }
}

@-webkit-keyframes circle {
  0% {
    width: 1px;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    height: 1px;
    z-index: -1;
    background: #E6E6E6;
    border-radius: 100%;
  }
  100% {
    background: #E6E6E6;
    height: 5000%;
    width: 5000%;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 0;
  }
}

/*/
 * Black header title
/*/

.black-header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

/*/
 * Articles
/*/

section.articles {
    font-family: 'Source Sans 3', sans-serif;
    margin: 0;
    padding: 40px;
}
section.articles a {
    color: inherit;
	text-decoration: none;
}

.headline {
    display: flex;
    justify-content: space-between;
    border-radius: 10px;
    overflow: hidden;
    background-color: #8E2DE2;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	height: 400px;
	margin-bottom: 40px;
}

.headline .headline-left {
    position: relative;
    width: 50%;
}

.headline .background-image-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
	transform: scaleX(-1);
	z-index: 1;
}

.headline .background-image-2 {
    position: absolute;
    top: -50px;
    left: -10%;
    width: 120%;
    height: 500px;
    background-size: cover;
    background-position: center;
    filter: blur(20px);
	transform: scaleX(-1);
	z-index: 2;
}

.headline .background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent);
	z-index: 3;
}

.headline .post-title {
    position: absolute;
	left: 40px;
	bottom: 90px;
    font-family: 'Spectral', serif;
    font-size: 36px;
    color: #fff;
    z-index: 4;
}

.headline .post-link {
    position: absolute;
	left: 40px;
	bottom: 40px;
    font-size: 10px;
	font-weight: 900;
    color: #fff;
    z-index: 4;
}

.headline .post-link span {
	position: relative;
	top: -19px;
	left: 10px;
}

.headline .headline-right {
    width: 50%;
    text-align: center;
}

.headline .post-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.container-articles {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.container-articles .left-column {
    width: calc(100% - 330px);
}

.container-articles .post-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.container-articles .post-card {
    width: calc(33.33% - 20px);
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	margin-bottom: 40px;
}

.container-articles .post-card-image {
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
	aspect-ratio: 1.5;
}

.container-articles .post-card-title {
    font-family: 'Spectral', serif;
    font-size: 19px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.container-articles .post-card-date {
    font-size: 11px;
	color: #AAA;
	font-weight: 900;
}

.container-articles .right-column {
    width: 300px;
}

.pagination {
    font-family: 'Source Sans 3', system-ui;
    background: #F0F0F0;
    color: #363737;
    display: inline-block;
    right: 15px;
    top: 10px;
    text-decoration: none;
    padding: 9px 18px;
    border-radius: 5px;
    font-weight: 500;
}

.pagination:hover {
    background: #DDD;
}

/*/
 * Article
/*/

.page-container {
    max-width: 730px;
    width: 100%;
    margin: 0 auto 0;
    padding-top: 30px;
    padding-bottom: 30px;
}

.page-title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 36px;
    margin: 0;
    padding: 0;
    color: #56523D;
}

.page-content p {
    font-size: 19px;
    line-height: 30px;
    display: block;
    font-weight: 400;
    color: #56523D;
    margin-block-end: 20px;
}

.page-content a {
    color: #C35D51;
}

.page-content a:hover {
    cursor: pointer;
    text-decoration: underline;
}

.page-content figure {
    margin-bottom: 30px;
}

.page-content img {
    max-width: 100%;
    height: auto !important;
    width: auto !important;
    display: block;
    margin: 0 auto 0;
}
