/* 
Eclipse Archive styles.css
© 2024 SonicEclipse456. All Rights Reserved.
*/

body {
  color: white;
  font-family: Arial;
  text-align: center;
  background:rgba(0,0,0,0.5)url("./images/sitebg.png");
  background-blend-mode: darken;
  background-repeat:no-repeat;
  background-size:cover;
  background-attachment:fixed;
  background-position: center;
  justify-content: center;
  align-items: center;
  min-height: 100vh;

  }

/*Text Formating*/  
a {
  color: deepskyblue;
  transition: color 0.3s, text-shadow 0.3s
  }

a:hover {
  color: skyblue;
  text-shadow: 0 0 8px rgba(135, 206, 250, 0.8),
               0 0 12px rgba(135, 206, 250, 0.5)
  }
  
/*Splash Text*/
#splash-text {
  font-family: "Ink Free", sans-serif;
  font-weight: bold;
  font-size: 20px;
  color: yellow;
  position: absolute;                
  top: 150px;                      
  left: 75%;                       
  transform: translate(-50%, -50%) rotate(-20deg); /* Center both axes */
  text-align: center;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5), 3px 3px 0 rgba(0, 0, 0, 0.5);
  animation: throb 0.25s infinite alternate;
  z-index: 100;                  
  white-space: nowrap;
}

@keyframes throb {
  0% {
    transform: translate(-50%, -50%) scale(0.875) rotate(-20deg); 
  }
  100% {
    transform: translate(-50%, -50%) scale(1) rotate(-20deg); 
  }
}

@media (max-width: 768px) { 
  #splash-text {
    position: relative; 
    top: auto; 
    left: auto; 
    transform: none; 
    animation: none; 
    font-size: 18px; 
    text-align: center;
    margin-top: 10px;
  }
}


/*Navigation Bar*/
ul {
  list-style-type: none;
  background: rgba(0,0,0,0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(8px);
  z-index: 1000;
  }

li {
  align-items: center;
  display: inline;
  border-right: 1px solid purple;
  }


li a {
  display: block;
  padding: 12px 8px;
  color: white;
  background-color: rgba(0,0,0,0.1);
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s;
  }

li:last-child {
  border-right: none;
}

li a:hover {
  background-color: purple;
  }

.active {
  background-color: skyblue
  }
  
/*Blog*/
#blog-container {
  max-width: 800px;
  max-height: 600px;
  position: relative;
  margin: 30px auto 50px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  text-align: left;
  backdrop-filter: blur(8px);
  overflow-y: auto;
  }
  
#blog-container h2 {
color: red;
font-size: 1.8em;
margin-top: 1px;
text-decoration: underline;
font-weight: bold;
}

#blog-container h3 {
  color: orange;
  font-size: 0.8em;
  margin-bottom: 1px;
}

#blog-container p {
  color: white;
  font-size: 1.1em;
}

#blog-container img {
  max-width: 100%;
  height: auto;
  }

/*Footer*/
footer {
  color: white;
  font-family: Arial;
  text-align: center;
  position: relative;
  width: 100%;
  height: 50px;
  margin: auto;
  padding: 8px;
  z-index: 1000;
  }

  
/*Make sure images and imbeds fit on the screen no matter the device*/
img {
  max-width: 100%;
  height: auto;
  }

.embed-container {
  position: relative;
  width: 100%;
  max-width: 1000;
  /*padding-bottom: 56.25%;*/
  overflow: hidden;
  margin: 0 auto;
  height:auto;
  }

.embed-container iframe {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  }
  
@media screen and (max-width:768px) {
  img {
    max-width: 80%;
  }
  
  .embed-container {
    max-width: 100%;
    width:480px;
    height:500px;
  }
} 

@media screen and (min-width: 1200px) {
  img {
    max-width: 100%
  }
  .embed-container {
    width: 1000px;
    height: 580px;
  }
}