/***** BASICS *****/
    body {
        margin: 0;
        background-image: url(/backgrounds/bluecoastdith.jpg);
    }

    @font-face {
        font-family: rascal;
        src: url(/fonts/RASCAL__.TTF);
    }

/***** WRAPPER STYLING *****/
    .wrapper {
        width: 1150px;
        height: 95vh;
        border: 1px black solid;
        overflow: scroll;
        margin: 10px auto;
        padding: -5px;
        overflow: scroll;
        background-image: url(/backgrounds/corky2.jpg);
        background-size: 100%;
        background-repeat: no-repeat;
    }

/***** GRID CONTAINER STYLING ******/
    .container {
        padding: 15px;
        margin: auto;
        margin-top: 25px;
        display: grid;
        width: 990px;
        height: 700px;
        grid-template:
            "header header header" 100px
            "left main right" 1fr
            / 250px 1fr 250px;
        gap: 5px;
    }

/***** HEADER *****/
    header {
        grid-area: header;
        border: 1px solid #3c2f2f;
        border: 2px inset #3c2f2f;
        border-radius: 65px 65px 65px 65px;
        box-shadow: 2px 2px 2px #0006;
        background-image: url(/backgrounds/shell.jpg);
    }

    header h1 {
        font-family: rascal;
        font-size: 4em;
        margin-top: 25px;
    }

/***** LEFT SIDEBAR *****/
    .left {
        grid-area: left;
        height: 535px;
    }

    .chatbox {
        border: 1px solid #3c2f2f;
        border: 2px inset #3c2f2f;
        border-radius: 6px 6px 6px 6px;
        box-shadow: 2px 2px 2px #0006;
        height: 350px;
    }

    .chatbox iframe {
        height: 396px; 
        width: 300px;
    }

    .thought-box {
        border: 1px solid #3c2f2f;
        border: 2px inset #3c2f2f;
        border-radius: 6px 6px 6px 6px;
        box-shadow: 2px 2px 2px #0006;
        height: 161px;
        padding: 10px;
        background-image: url(/imgs/guestimage/icon.jpg);
        background-size: 250px;
        background-position-y: -45px;
        background-repeat: no-repeat;
    }

    .mood {
        border-radius: 65px;
        padding: 10px;
        height: 120px;
        overflow: scroll;
    }

    .mood h3 {
        text-align: center;
        margin-top: 2px;
        font-family: rascal;
        font-size: 1em;
        padding: 10px;
    }

    .mood p {
        padding: 10px;
        margin-top: -25px;
        font-family: courier;
        font-size: 0.8em;
    }

/****** MAIN CONTENT *****/
    main {
        grid-area: main;
        height: 537px;
    }

    .overview {
        border: 1px solid #3c2f2f;
        border: 2px inset #3c2f2f;
        border-radius: 6px 6px 6px 6px;
        box-shadow: 2px 2px 2px #0006;
        height: 150px;
        padding: 2px;
        background-image: url(/backgrounds/postcard.jpg);
        background-size: 100%;
    }

    .overview p {
        width: 290px;
        height: 140px;
        margin-top: 3px;
        margin-left: 2px;
        padding: 2px;
        font-family: courier;
        font-size: 1em;
        background-color: antiquewhite;
        border: 1px black dotted;
    }

    .grid-container {
        display: grid;
        grid-template-columns: 1fr 2fr;
    }

    .button {
        border: 1px solid #3c2f2f;
        border: 2px inset #3c2f2f;
        border-radius: 6px 6px 6px 6px;
        box-shadow: 2px 2px 2px #0006;
        height: 200px;
        background-image: url(/backgrounds/swirls.jpg);
        background-size: 100%;
    }

    .button h3 {
        margin-top: 35px;
        font-family: courier;
        font-size: 1em;
        text-align: center;
    }

    .youtube {
        border: 1px solid #3c2f2f;
        border: 2px inset #3c2f2f;
        border-radius: 6px 6px 6px 6px;
        box-shadow: 2px 2px 2px #0006;
        height: 200px;
    }

    .crossword {
        border: 1px solid #3c2f2f;
        border: 2px inset #3c2f2f;
        border-radius: 6px 6px 6px 6px;
        box-shadow: 2px 2px 2px #0006;
        margin-left: 15px;
        width: 448px;
        height: 229px;
    }

/***** RIGHT SIDEBAR *****/
    .right {
        grid-area: right;
        height: 535px;
    }

    .articles {
        border: 1px solid #3c2f2f;
        border: 2px inset #3c2f2f;
        border-radius: 6px 6px 6px 6px;
        box-shadow: 2px 2px 2px #0006;
        height: 400px;
        overflow: scroll;
        background-image: url(/backgrounds/stripes.jpg);
    }

    .decor{
        border: 1px solid #3c2f2f;
        border: 2px inset #3c2f2f;
        border-radius: 6px 6px 6px 6px;
        box-shadow: 2px 2px 2px #0006;
        height: 131px;
        background-image: url(/backgrounds/browngrid.jpg);
    }

    .decor img {
        height: 200px;
        width: 300px;
        margin-left: -25px;
        margin-top: -24px;
        -webkit-animation: pop 2s ease-in-out infinite alternate;
        animation: pop 2s ease-in-out infinite alternate;
        -moz-animation: pop 2s ease-in-out infinite alternate;
    }
  
    @keyframes pop {
    from {
    transform:scale(0.9)
    }

    50% {
    transform:scale(0.95)
    }

    to {
    transform:scale(0.9)
    }
    }     
/****** ACCESSABILITY *******/
    #skip-to-content-link {
        position: fixed;
        top: 0;
        left: 0;
        display: inline-block;
        padding: 0.375em 0.75em;
        line-height: 1;
        font-size: 1.25em;
        background-color: var(--content-background-color);
        color: var(--text-color);
        transform: translateY(-3rem);
        transition: transform 0.1s ease-in;
        z-index: 99999999999;
    }

    #skip-to-content-link:focus, #skip-to-content-link:focus-within {
        transform: translateY(0);
    }