@font-face{
    font-family: "Retro";
    src: url("Fonts/RetroGaming.ttf") format("TrueType");
}

html, body{
    height: 100%;
    margin: 0;
    font-family: "Retro";
    
}

#page-layout{
    width: 1200px;
    max-width: 95vw;
    height: 80vh;
    
    display: grid;
    grid-template-columns: 130px 1fr 190px;
    gap: 14px;
    
    align-items: stretch;
}

#left-sidebar, #right-sidebar{
    border: black 7px solid;
    background-color: rgba(135, 206, 235, 0.55);
    padding: 10px;
    box-sizing: border-box;
    overflow-y: auto;
    height: 100%;
}

#left-sidebar{
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

#left-sidebar img{
    width: 88px;
    height: 31px;
    display: block;
}

#right-sidebar a{
    display: block;
    margin-bottom: 10px;
    text-align: center;
    color: black;
    text-decoration: none;
    background: white;
    border: 3px solid black;
    padding: 6px;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35);
}

.guestbook-frame {
  width: 100%;
  height: 600px;        /* adjust as you like */
  border: 3px solid black;
  display: block;
  box-sizing: border-box;
  background: white;
}

body{
    background-image: url(Images/Space-background.jpg);
    background-repeat: repeat-x;
    background-position: 0 center;
    background-size: auto 100%;
    overflow: hidden;
    margin: 0;
    animation: scroll-space 60s linear infinite;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

#container{
    border:  black 7px solid;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 15px;
    max-height: 800px;
    
    background-color: rgba(135, 206, 235, 0.55);
    
    background-size: contain;
    background-position: center;
    
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

#logo-wrap{
    position: sticky;
    top: 0;
    z-index: 10;
    text-align: center;
    padding: 8px 0 12px 0;
    background-color: rgba(135, 206, 235, 1.0);
}

#site-title{
    display: inline-block;
    height: auto;
    animation: bob 2.5s ease-in-out infinite;
    width: 200px;
    
}

.content-heading{
    color: black;
    line-height: 1.2;
    text-align: center;
    font-size: 32px;
}

.content-heading-wrapper{
    background-color: rgba(255, 255, 255, 1);
    border: 3px solid black;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
    padding: 8px;
    margin: 16px 0 14px 0;
    text-align: center;
}

.content-wrapper{
    background-color:rgba(255, 255, 255, 1);
    border: 3px solid black;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
    padding: 8px;
    margin: 16px 0 8px 0;
    text-align: left;
}

.content-wrapper img{
  max-width: 70%;
  height: auto;
  display: block;
  margin: 8px auto;
  border: 3px solid black;
  box-sizing: border-box;

}

.art-piece {
    margin: 0 0 18px 0;
}

.art-caption {
    text-align: center;
    margin-top: 6px;
    font-size: 18px;
    line-height: 1.2;
    color: black;
}

.art-title {
    font-size: 20px;
}

.content-section {
    display: none;
}

/* Show Welcome by default */
#welcome {
    display: block;
}

/* Show whichever section is targeted */
.content-section:target {
    display: block;
}

.webring-box {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid black;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35);
    padding: 8px;
    margin-top: 10px;
    text-align: center;
}

.webring-title {
    font-size: 20px;
    margin-bottom: 8px;
}

.webring-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.webring-links a {
    color: black;
    text-decoration: none;
    background: white;
    border: 2px solid black;
    padding: 4px 8px;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
}

/* Hide default Welcome when another section is targeted */
.content-section:target ~ #welcome {
    display: none;
}

@keyframes bob{
    0% {transform: translateY(0);}
    50% {transform: translateY(-6px);}
    100% {transform: translateY(0);}
}

@keyframes scroll-space{
    from{
        background-position: 0 center;
    }
    to{
        background-position: -1024px center;
    }
}