/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
   
:root {
    --duration: 10s
}

body {
    margin: 0;
    padding: 0;
    background-color: dimgrey;
    background-image: url("/metal-seamless.jpg");
    background-repeat: repeat;
    color: white;
    font-family: "Lucida Console", Monaco, monospace;
    
    animation: background-scroll 30s linear infinite;
}

.music-player {
    position: sticky;
    background-color: black;
    width: 100%;
    height: 50px;
    text-align: center;
    padding-bottom: 10px;
}
.wrapper {
    border: 5px solid dimgrey;
    border-radius: 20px;
    overflow: hidden;
    background-color: grey;
    max-width: 800px;
    min-height: 600px;
    margin: auto;
    margin-top: 10px;
    text-align: center;
}
header {
    padding: 20px;
    background-image: url("/silver-metallic-textured-background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
header img {
    width: 80%;
    height: auto;
    
    /*object-fit: contain;*/
    image-rendering: pixelated;
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 1));
}

.content-area {
    display: flex;
}

.sidebar {
    min-width: 25%;
    padding: 20px;
    background-color: darkgrey;
}

.sidebar h3 {
        border-bottom: 1px solid white;
        margin-top: 0;
        padding-bottom: 15px;
}

.sidebar ul {
    list-style-type: none;
    padding-left: 0;
        
}

.sidebar li {
    padding-bottom: 15px;
}

.sidebar a {
    padding: 5px;
    border: 2px solid dimgrey;
    background-color: black;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.button {
    width: 88px;
    height: 31px;
    padding: 0;
    /*vertical-align: middle;
    display: block;*/
}

.main-blog {
    flex-grow: 2;
    padding: 20px;
    line-height: 1.4;
}

.blog-post {
    margin-bottom: 30px;
}

.blog-date {
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
    border-bottom: 1px solid white;
    display: block;
    margin-bottom: 10px;
}

.blog-post h2 {
    margin: 0 0 10px 0;
    color: #fff;
}

.main-links {
    flex-grow: 2;
    padding: 20px;
}

.button-container {
    font-size: 0;
}

.marquee {
  height: 25px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee span {
  display: block;
  width: 200%;
  height: 30px;
  position: absolute;
  overflow: hidden;
  text-align: center;
  animation: marquee var(--duration) linear infinite;
}

.marquee.stoppable:hover span {
    animation-play-state: paused;
}

@keyframes background-scroll {
    from { background-position: 0 0; }
    to { background-position: 384px 334px; }
}

@keyframes marquee {
    from { left: 50%; }
    to { left: -150%; }
}