/*Green*/
/*22382b*/
/*284132*/
/*2c4837*/
/*32523f*/

/*Gold*/
/*ffbf27*/
/*ffe49d*/

/*Blue*/
/*79c9f9*/
/*9cd7f9*/
/*bde4f9*/

/*background: #22382b;
    border: solid #ffffff 8px;*/

@font-face {
  font-family: 'Merienda';
  src: url('fonts/Merienda-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Uncial Antiqua';
  src: url('fonts/UncialAntiqua-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Luckiest Guy';
  src: url('fonts/LuckiestGuy-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Elms Sans';
  src: url('fonts/ElmsSans-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

#wrapper {
    width: 100%;
    margin:0 auto;
}

html {
  font-size: 13.333px;
}

h1 {
    color: #000000;
    text-align: center;
}
    
h2 {
    color: #000000;
    font-family: "Uncial Antiqua";
}

h4 {
    margin: 4px auto;
    color: #ffffff;
    font-size: 1.6rem;
    width: 100%;
    text-align: center;
    border: solid #000000 3px;
    box-sizing: border-box;
    border-radius: 0px;
    font-family: "Elms Sans";
    background-color: #32523f;
    font-weight: normal;
}

p {
    font-family: "Elms Sans";
    color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
}

#headerpanel {
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: -8px;
    max-height: 300vh;
    max-width: 1200px;
    display: block;
}

#headerpanel img {
    max-width: 50%;
    display: block;
    margin: 0 auto;
    margin-bottom: 10px;
}

#toppanel {
    flex-basis: 100%;
    width: 100%;
    height: 80px;
    align-self: flex-start;
    margin: 0;
    gap: 0;

    background: #22382b;
    border: solid #ffffff 4px;
    box-shadow: 4px 8px 12px 0px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
}

main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

body {
    background-image: url('images/background.gif');
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    color: #000000;
    justify-content: center;
    aspect-ratio: 1;
}


section.panel {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    width: 95%;
    max-width: 1200px;
    gap: 0.5rem;
    padding: 0.5rem;
    box-sizing: border-box;
}

.body-inner {
    display: contents;
}

#middlepanel {
    max-width: 1200px;
    margin: 0;
    height: 70vh;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: flex-end;
    padding: 8px;
    overflow-y: auto;
    background: #22382b;
    border: solid #ffffff 4px;
    box-shadow: 4px 8px 12px 0px rgba(0, 0, 0, 0.15);
}

#the-lodge {
    position: absolute;
    align-self: center;
    margin-bottom: 450px;
    width: 450px;
    max-width: 100%;
}

#chat {
    width: auto;
    height: 50%;
    min-height: 450px;
    border: solid #000000 4px;
    border-radius: 0px;
}

#sidepanel {
    width: 198px;
    flex-shrink: 0;
    padding: 8px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    background: #22382b;
    border: solid #ffffff 4px;
    box-shadow: 4px 8px 12px 0px rgba(0, 0, 0, 0.15);
}

#sidepanel-inner {
    background-image: url("images/pixelBackgroundGreen.png");
    background-repeat: repeat;
    gap: 4px;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    padding: 10px;
    flex: 1;
    position: relative;

    font-size: 1rem;
    color: #ffffff;
}

#sidepanel-inner h3 {
    color: #ffffff;
}

#mygames {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

#mygames img {
    border: solid #000000 3px;
    box-sizing: border-box;
    transition: transform 0.1s ease-in-out;
}

#mygames img:hover {
    animation: shake 0.1s ease-in-out;
    transform: scale(1.1);
    border: solid #ffffff 3px;
}

#robloxguy {
    position: absolute;
    width: 125px;
    bottom: -40px;
    left: -115px;
    transition: transform 0.1s ease-in-out;
    z-index: 2;
}

#robloxguy:hover {
    transform: scale(1.1);
    animation: shake 0.1s ease-in-out;
}

#pfp {
    border: solid #000000 4px;
    background-color: #9cd7f9;
    width: 85%;         /* image fills the sidebar width */
    transform: scaleX(-1);
    margin-top: 1px;
}

#name {
    text-align: center;
    margin-top: 0px;
    font-size: 1.6rem;
    color: #ffffff;
    font-family: "Elms Sans";
}

#level {
    text-align: center;
    margin-top: -22px;
    font-size: 1rem;
    color: #ffffff;
    font-family: "Elms Sans";
}

#about-me {
    width: 100%;
}

#music {
    display: flex;
    gap: 4px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    max-width: 100%;
    text-align: center;
    flex: 1;
}

#music img {
    border: solid #000000 3px;
    display: block;
    box-sizing: border-box;
    width: 50% auto;
}

#music img:hover {
    animation: shake 0.1s ease-in-out;
    transform: scale(1.1);
    border: solid #ffffff 3px;
}

#music p {
    font-size: .9rem;
    margin: 0;
}

#music audio {
    max-width: 100%;
}

footer {
    text-align: center;
    padding: 20px;
    color: #ffffff;
}

footer *:last-child {
    margin-bottom: 0;
}

@keyframes shake {
  0% { transform: scale(1.1) rotate(0deg); }
  25% { transform: scale(1.1) rotate(1.5deg); }
  50% { transform: scale(1.1) rotate(0deg); }
  75% { transform: scale(1.1) rotate(-1.5deg); }
  100% { transform: scale(1.1) rotate(0deg); }
}

@media (min-width:320px)  { /* smartphones, iPhone, portrait 480x320 phones */ }
@media (min-width:481px)  { /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */ }
@media (min-width:641px)  { /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */ }
@media (min-width:961px)  { /* tablet, landscape iPad, lo-res laptops ands desktops */ }
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ }
@media (min-width:1281px) { /* hi-res laptops and desktops */ }