* {
  box-sizing: border-box;
}
body {
    position: relative;
    background-color: rgb(248, 205, 255);
    background-image: url(images/background4.png);
    background-size: 100%;
    background-attachment: fixed;
    background-repeat: no-repeat;

    color: white;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;

    --mainBackgroundColor: rgba(0, 0, 255, 0.2);
    --mainBorder: 0px dotted white;
    --mainBorderRadius: 0px;
    --sideBorder: 5px dotted white;
    --sideBorderRadius: 10px;
}
.homepage {
    background-image: url(images/background4.png);
}
.letsgo{
    background-image: url(images/background.jpg);
    background-color: rgb(58, 168, 58);
}
.arcticapp {
    background-image: url(images/background5.jpg);
    background-color: black;
}

h1 {
    display: block;
    justify-content: center;
    text-align: center;
    color: white;
    background-color: blue;
    transform: rotate(5deg);
    filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.718)); 
    width: 400px;
    margin:0 auto;
}

h2 {
        transform: rotate(5deg);
        vertical-align: bottom;
        animation: bob 3s ease-in-out 0s infinite;
        filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.718)); 
}

a {
    color: white;
}

.container{
    max-width: 1500px;
    display: grid;
    grid-gap: 10px;
    grid-template: 
    "header header"
    "sidebar main"
    "footer footer"
    / 1fr 3fr;
}

@media (max-width: 800px) {
  .container {
    grid-template:
      "header"
      "sidebar"
      "main"
      "footer"
  }  
}

header {
    grid-area: header;
    /* border: 5px dashed black; */
}

main {
    grid-area: main;
    /* border: 5px dashed black; */
    
}

main section {
    position: relative;
    width: 100%;
    padding: 1em;
    border: var(--mainBorder);
    border-radius: var(--mainBorderRadius);
    margin-bottom: 10px;
    background: var(--mainBackgroundColor);
}

aside {
    grid-area: sidebar;
    display: flex;
}

aside h2 {
    text-align: center;
    padding: 10px;
    border: var(--sideBorder);
    border-radius: var(--mainBorderRadius);
}

aside section {
    position: relative;
    width: 100%;
    padding: 0.5em;
    border: var(--mainBorder);
    border-radius: var(--mainBorderRadius);
    margin-bottom: 1em;
    background: var(--mainBackgroundColor);
}

footer {
    grid-area: footer;
    position: relative;
    width: 100%;
    padding: 2em;
    border: var(--mainBorder);
    border-radius: var(--mainBorderRadius);
    margin-bottom: 1em;
    background: var(--mainBackgroundColor);
    /* border: 5px dashed black; */

}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.image-gallery div {
    max-width: calc(25% - 10px);
    max-height: 400px;
    margin: 5px;
    border: 5px solid;
    /* border-radius: var(--mainBorderRadius); */
}

.image-gallery div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bobbing {
    animation: bob 3s ease-in-out 0s infinite;
    display: inline-block;
}

#guestbook{
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 0;
}
#music{
    width: 100%;
    aspect-ratio: 1/1;
    border: 0;
}
#goframe {
    display: flex;
    width: 50%;
    height: 50%;
    margin: 0 auto;
}
#musicframe {
    position: fixed;
    left: 7.5%;
    top: 50%;
    transform: translateY(-50%);
    width: 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#musicframe h1 {
    margin: 0;
}
#chatframe {
    position: fixed;
    left: 77.5%;
    top: 50%;
    transform: translateY(-50%);
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#chatframe h1 {
    margin: 0;
}

@keyframes bob {
    0% {
        translate: 0 -5px;
    }
    50% {
        translate: 0 5px;
    }
    100% {
        translate: 0 -5px;
    }
}

.phone-message {
    display: none;
}

@media (max-width: 600px) {
    body.arcticapp > * {
        display: none !important;
    }

    body.arcticapp > .phone-message {
        display: block !important;
        text-align: center;
        padding: 40px 20px;
        font-size: 24px;
    }
}