body {
    /* background-image: url(images/gifs/GlitchLoop.gif); */
    display: flex;
    flex-direction: column;
    align-items: center;

    background: blue;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

/* Effects */
.rainbow {
    background-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
}

.fish {
    background-size: 50px;
    background-image: url(gifs/fishbone.gif);
    background-position: center;
}

.white-glow {
    text-shadow: black 0px 0px 4px;
}

.white-red-reveal {
    display: inline-block;
    background-color: white;
    color: white;
}
.white-red-reveal:hover {
    color: red;
}

/* Headings */
h1 {
    width: 100%;
    color: white;
    padding: 10px 10px;
    text-align: center;
    text-shadow: white 0px 0px 20px;
    border: black solid 4px;
    box-sizing: border-box;
}

/* Page container */
#page-container {
    width:90%;
    max-width: 1400px;        /* cap width on large screens */
    margin: 0 auto;           /* center container */
    border: 4px solid black;
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;          /* wrap on smaller screens */
    gap:20px;
    box-sizing: border-box;
    min-height: 100dvh;       /* fill viewport height */
    overflow: hidden;         /* prevent spilling out */
}

/* Columns */
#left-column, #center-column, #right-column {
    flex: 1;                  /* equal growth/shrink */
    min-width: 280px;         /* prevents collapsing too small */
    padding: 10px 20px;
    background-color: black;
    height: auto;
    box-sizing: border-box;
    overflow-wrap: break-word; /* keep text inside */
}

#left-column { text-align: left; }
#center-column { text-align: center; }
#right-column { text-align: right; }

/* Responsive stacking */
@media (max-width: 600px) {
    #page-container {
        flex-direction: column;
        align-items: stretch;
    }

    #left-column, #center-column, #right-column {
        width: 100%;
        text-align: center;
    }
}

/* Center column specifics */
#center-column h2 {
    margin-top: 0;
    color: white;
}

/* Links */
#link-list {
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    padding: 20px;
    background-color: black;
    list-style: none;
    margin-top: 24px;
}

#link-list li {
    margin-bottom: 10px;
}

#link-list li a {
    color: white;
    text-decoration: none;
}

#link-list li a:hover {
    color: red;
    text-shadow: white 0px 0px 4px;
}

/* Counter */
#counter {
    box-sizing: border-box;
    width: 100%;
    background-color: black;
    text-align: center;
    margin-top: 20px;
    padding: 20px;
}

#counter button {
    display: inline-block;
    background-color: black;
    color: white;
    font-weight: 200;
}

#counter h2 {
    padding: 2px;
    color: yellow;
    text-decoration: underline;
}

#counter h2:hover {
    color: blue;
}

/* Jeff image */
#jeff {
    margin: 8px auto;
    display: block;
    aspect-ratio: 1/1;
    width: 60%;              /* scale inside column */
    max-width: 400px;         /* cap size */
    height: auto;
    background-size: cover;
    background-position: center;
    background-image: url("gifs/pirateship.gif");
}

/* Right column specifics */
#name, #age {
    display: inline;
    padding: 2px 14px;
    font-weight: bold;
}

#instagram {
    color: transparent;
    padding: 2px 4px;
    text-decoration: none;
}

#instagram:hover {
    color: blue;
    text-shadow: white 0px 0px 4px;
    background-color: white;
}

.square-container div {
    padding: 2px 4px;
    display: inline-block;
    margin-top: 4px;
    font-weight: bold;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: auto;
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
}

/* Radio */
#radio {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 4px 8px;
    border: solid white;
    width: 100%;
    box-sizing: border-box;
}

#radio h3 {
    text-align: center;
    width: 100%;
    padding: 1% 2%;
    text-shadow: black 0px 0px 4px;
}

#radioCurrent {
    text-align: center;
    width: 100%;
    background-color: white;
    color: rgb(157, 119, 119);
}

#radio-controls {
    width: 90%;
    display: flex;
    justify-content: space-around;
}

#radio button {
    display: block;
    border-radius: 0px;
    border: none;
}

#shuffle {
    margin-top: 12px;
}
