@font-face {
  font-family: "universalis";
  src: url(fonts/UniversalisADFStd-Regular.woff) format('woff');
  src: url(fonts/UniversalisADFStd-Regular.otf) format('opentype'); 
}

@font-face {
  font-family: "universalis";
  src: url(fonts/UniversalisADFStd-Bold.woff) format('woff');
  src: url(fonts/UniversalisADFStd-Bold.otf) format('opentype'); 
  font-weight: bold;
}

@font-face {
  font-family: "universalis";
  src: url(fonts/UniversalisADFStd-BoldItalic.woff) format('woff');
  src: url(fonts/UniversalisADFStd-BoldItalic.otf) format('opentype'); 
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: "universalis";
  src: url(fonts/UniversalisADFStd-Italic.woff) format('woff');
  src: url(fonts/UniversalisADFStd-Italic.otf) format('opentype'); 
  font-style: italic;
}

#menu {
    text-align: center;
    position: fixed;
    bottom: 0px;
    width: 100vw;
    padding: 10px;
    font-size: 110%;
    height: 30pt;
    background-size: 200% 200%;
    background: linear-gradient(90deg, transparent, grey, red, black, grey, black, red, transparent);
    border-top: solid 3px black;
    z-index: 1;
}

body {
    color: white;
    padding: 0px;
    margin: 0px;
    font-family: "universalis";   
    background: linear-gradient(-45deg, black, grey, red, black, red, grey);
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
	height: 100vh;
    overflow: hidden;
}

@property --myColor1 {
  syntax: '<color>';
  initial-value: black;
  inherits: false;
}

@property --myColor2 {
  syntax: '<color>';
  initial-value: red;
  inherits: false;
}

body {
    scrollbar-width: thin;          /* "auto" or "thin" */
   scrollbar-color: grey black;   /* scroll thumb and track */ 
}

body::-webkit-scrollbar {
  width: 12px;               /* width of the entire scrollbar */
}

body::-webkit-scrollbar-track {
  background: black;        /* color of the tracking area */
}

body::-webkit-scrollbar-thumb {
  background-color: grey;    /* color of the scroll thumb */
  border-radius: 20px;       /* roundness of the scroll thumb */
  border: 3px solid black;  /* creates padding around scroll thumb */
}


#menu a {
    color: grey;
    background-color: black;
    border-radius: 20px;
    text-decoration: none;
    padding: 3px 20px;
    padding-top: 6px;
}

#backLink a {
    color: grey;
    background-color: black;
    border-radius: 20px;
    text-decoration: none;
    padding: 3px 20px;
    padding-top: 6px;
}

a:hover {
    color: white;
    background: black;
    background-color: dimgrey;
}

/*
#title {
    text-align: center;
    position: fixed;
    top: 0px;
    padding: 10px 30px;
    line-height: auto;
    width: 100vw;
}


#title.article-content {
    position: relative !important;
    text-align: left;
}
*/

h1 {
    font-size: 500%;
    margin: 0px;
    padding-bottom: 0px;
    animation: pulse 10s infinite;
}

h1#title {
    margin: 0px;
    padding: 0px;
}

h2 {
    padding: 0px;
    margin: 0px;
    font-size: 300%;
    letter-spacing: 0.12em;
}

#gradient {
    width: 90vw;
    height:200vh;
    margin: 10vw, 0;
    top: -100vh;
    left: 5vw;
    position: fixed;
    left: 50%vw;
    background: radial-gradient(black, black, transparent, transparent);
    /*animation: colorPulse 10s infinite;*/
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        color: white;
    }
    10% {
        color:grey;
    }
    50% {
        transform: scale(1.02);
    }
    60% {
        color: red;
    }
    90% {
        color: grey;
    }
    100% {
        transform: scale(1);
        color:white;
    }
}



@keyframes colorPulse {
    0% {
		background-position: 10% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position:  10% 50%;
	}
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}


/* slideshow */


* {box-sizing: border-box;}
.mySlides {
    display:none;
    height: 100%;
    max-height: 70vh;
    width: auto;
    float: right;
}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 80vw;
  height: 60vh;
  position: relative;
  margin: auto;
  overflow: hidden;
  align-content: center;
  margin-top: 15vh;
  margin-bottom: 20vh;
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-content: center;
  gap : 30px;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}
 

.slideshow-box {
    display: flex;
    flex-flow: row;
}

.container-form {
    max-width: 900px;
}

.sideBox {
    background-color: black;
    color: white;
    width: 70vw;
    margin-top: 10vh;
    margin-left: 25vw;
    padding: 30px;
}

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=submit] {
  background-color: red;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: white;
  color: black;
}

#backLink {
    text-align: left;
    position: fixed;
    bottom: -3px;
    left: -3px;
    margin: 10px;
    font-size: 120%;
    z-index: 10;
}

.slideshow {
    height: 100%;
    max-height: 70vh;
    width: 100%;
    min-width: 200px;
}

.mySlides2 {
    display:none;
    height: 100%;
    max-height: 70vh;
    width: auto;
}

#horizontalScrollContainer {    
    width: 100vw;
    height: 80vh;
    background-color: black;
    background: linear-gradient(180deg, transparent, black);
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 10px;
    bottom: 30pt;
    margin: 0px;
    position: fixed;
}

.videoContainer {
    height: 90%;
    width: 50vw;
    display: inline-block;
    padding: 30px;
    margin: 10px;
}

.videocontainer iframe {
    width: 100%;
    height: 100%;
}

#contentFrame {
    width: 100%;
    height: 100%;
}

.chronicleContainer {
    height: 90%;
    width: 50vw;
    display: inline-block;
    padding: 10px;
    margin: 10px;
    background-color: black;
}

.chronicleContainer:hover {
    background-color: red;
}

.chronicleCoverImage {
    height:100%;
    background-position: 0px;
}

.chronicleCoverImage:hover {
    background-position: 30px;
}

.chronicleCover {
    position: relative;
    top: 10px;
    left: 10px;
    padding: 10px;
    background-color: black;
    color: white;
    width: 50%;
    word-wrap: normal;
    text-wrap: wrap;
}

.chronicleInfo {
    position: relative;
    bottom: 0px;
    left: 0px;
    padding: 10px;
    background-color: black;
    color: white;
    width: 50%;
    font-size: 30%;
}

.article {
    display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  grid-gap: 10px;
  grid-auto-rows: minmax(100px, auto);
    margin: 30px;
}

.article-content {
    background-color: black;
    padding: 0px;    
}

.articleContainer {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    padding-bottom: 5pt;
}

.chronicleCoverLink {
    text-decoration: none;
}

.chronicleCoverLink:hover {
    background-color: transparent;
}

.fit {
    word-break: keep-all;
    display: flex;
    justify-content: space-between;
}

@media only screen and (max-width: 1200px) {
    h1 {
        font-size: 300%;
        padding: 5px 10px;
    }
    h2 {
        font-size: 150%;
    }
    .slideshow-container {
        flex-direction: column;
        height: 75vh;
        margin-top: 15vh; 
        max-width: 100vw;
    }
    
    .slideshow {
        height: 50%;
        max-height: 75vh;
        width: 100%;
        min-width: 200px;
        overflow: hidden;
    }   

    .mySlides {
        height: 100%;
        max-height: 70vh;
        width: auto;
        float: none;
        object-fit: contain;
    }
    
    .mySlides2 {
        height: 100%;
        max-height: 70vh;
        width: auto;
        float: none;
        object-fit: contain;
    }
    
    #menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 5px;
        text-align: center;
        position: fixed;
        bottom: 0px;
        width: 100vw;
        padding: 5px;
        font-size: 100%;
        height: auto;
        background-size: 200% 200%;
        background: linear-gradient(90deg, transparent, grey, red, black, grey, black, red, transparent);
        
    }
    
    #menu a {
        align-self: flex-start;
    }
    
    #backLink {
        text-align: right;
        position: fixed;
        top: 0px;
        right: 0px;
        margin: 10px;
        font-size: 110%;
        z-index: 10;
        width: auto;
        height: 30px;
    }
    
    #horizontalScrollContainer {    
        width: 100vw;
        height: 80%;
        background-color: black;
        background: linear-gradient(90deg, transparent, black);
        border-bottom: solid 3px black;
        border-top: solid 3px black;
        overflow-x: hidden;
        overflow-y: scroll;
        white-space: nowrap;
        padding: 10px;
        padding-right: 30px;
        bottom: 30pt;
        margin: 40px 0px;
        position: relative;
    }   
    
    .videoContainer {
        height: 300px;
        width: 100%;
        display: block;
        padding: 0px;
        margin: 10px;
        background: transparent;
    }
    
    body {
    }
    
    .chronicleContainer {
    height: 90%;
    width: 100%;
    display: block;
    padding: 10px;
    margin: 10px;
    background-color: black;
    }
    
    .sideBox {
        background-color: black;
        color: white;
        width: auto;
        margin: 10vw;
        margin-left: 10vw;
        padding: 30px;
    }
} 

@media only screen and (max-width: 600px) {
    h1 {
        font-size: 150%;
    }
    h2 {
        font-size: 120%;
    }
} 


