@font-face {
  font-family: 'dos';
  src: url(/font/dos.ttf);
}

@font-face {
  font-family: 'adlib';
  src: url(/font/ADLIB.ttf);
}

@font-face {
  font-family: 'amaticsc';
  src: url(/font/AmaticSC.ttf);
}

@font-face {
  font-family: 'nunito';
  src: url(/font/Nunito.ttf);
}

@font-face {
  font-family: 'pixel';
  src: url(/font/VT323.ttf);
}

@font-face {
  font-family: 'nickyle';
  src: url(/font/NICKYLE.ttf);
}

.grid {
  display: grid;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  grid-template-areas: 
    'header header header header header'
    'main main main main main'
    'footer footer footer footer footer';
}

.page-header {
  grid-area: header;
  border-radius: 14px;
  background-image: url('/img/russelltexture.png');
        -webkit-animation: slidein 100s;
        animation: slidein 100s;

        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;

        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;

        -webkit-animation-direction: alternate;
        animation-direction: alternate;   
}

.page-leftbar {
  grid-area: leftbar;
  background-color: #0860bf;
  border-radius: 24px;
  background-image: url('/img/pattern.png');
        -webkit-animation: slidein 100s;
        animation: slidein 100s;

        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;

        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;

        -webkit-animation-direction: alternate;
        animation-direction: alternate;   
}

.page-main {
  grid-area: main;
  border-radius: 18px;
  background-image: url('/img/russelltexture3.png');
        -webkit-animation: slidein 100s;
        animation: slidein 100s;

        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;

        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;

        -webkit-animation-direction: alternate;
        animation-direction: alternate;   
}

.page-socials {
  grid-area: socials;
  border-radius: 18px;
  background-image: url('/img/lewistex.png');
        -webkit-animation: slidein 100s;
        animation: slidein 100s;

        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;

        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;

        -webkit-animation-direction: alternate;
        animation-direction: alternate;   
}

.page-footer {
  grid-area: footer;
  border-radius: 14px;
  background-image: url('/img/russelltexture2.png');
        -webkit-animation: slidein 100s;
        animation: slidein 100s;

        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;

        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;

        -webkit-animation-direction: alternate;
        animation-direction: alternate;   
}

.content {
  color: white;
  text-align: center;
  box-sizing: border-box;
  padding: 10px;
  font-family: 'nunito';
}

body {
  background-image: url('/img/pandatexture2.png');
  color: white;
  background-size: 128px 128px;
        -webkit-animation: slidein 100s;
        animation: slidein 100s;

        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;

        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;

        -webkit-animation-direction: alternate;
        animation-direction: alternate;              
}

@-webkit-keyframes slidein {
from {background-position: top; }
to {background-position: -100px 0px;}
}

@keyframes slidein {
from {background-position: top; }
to {background-position: -100px 0px;}

}

.notfound {
  max-width: max-content;
  margin: auto;
  text-align: center;
  vertical-align: middle; 
}

a {
  background-color: rgba(0,0,0,0.5);
}

a:link {
  color: white;
}

a:visited {
  color: yellow;
}

a:hover {
  color: orange;
}

a:active {
  color: red;
} 

.rainbow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background-image: linear-gradient(to right, violet, indigo, blue, green, yellow, orange, red);
    opacity: 0.5; /* Adjust the opacity as needed */
}

.show-overlay .rainbow-overlay {
    display: block;
}

.hide-overlay .rainbow-overlay {
    display: none;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.column {
  flex: 30%;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Style for the images */
.column img {
  max-width: 100%; /* Make sure the image doesn't exceed the column width */
  height: auto; /* Automatically adjust the height to maintain aspect ratio */
}
