body {
    background-image: url(Meow.png);
    cursor: url("kitty cursor.png"), auto;
}

@font-face {
    font-family: 'Metal_Gothic';
    src: url(https://esotericagirl.neocities.org/Fonts/metal_gothic/MetalGothic-DemoVersion-Regular.ttf);
}

.container {
    display: grid;
    grid-gap: 10px;
    grid-template:
        "header header header"
        "sidebar main blinkies"
        "footer footer footer";
    grid-template-columns: 1fr 5fr 1fr;
}

.header-img {
    width: 100%;
    height: 200px;
}

header {
    grid-area: header;
    background-color: white;
}

aside {
    grid-area: sidebar;
    background-color: hsl(327, 100%, 89%);
    border: 4px solid #ff8df2;
    color: rgb(241, 44, 182);
    padding: 10px;
}

main {
  grid-area: main;
  display: grid;
  grid-template:
    "headtext headtext headtext"
    "frame-container text text"
    "idbuttons text text";
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto 1fr;
  gap: 10px 20px;
  background-color: hsl(327, 100%, 89%);
  border: 4px solid #ff8df2;
  color: rgb(241, 44, 182);
  padding: 10px;
  max-width: 100%;
}

.frame-container {
  grid-area: frame-container;
  width: 400px;
  height: 300px;
  margin-top: -80px;
  justify-content: center;
  background-image: url('Frame.png');
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.headtext p {
  grid-area: headtext;
  margin: 0;
  padding: 0;
}

.picrew {
  position: absolute;
  left: 117px;
  top: 97px;
  align-content: center;
  height: 196px;
  width: 176px;
}

.idbuttons {
  grid-area: idbuttons;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -150px;
}

.text {
    grid-area: text;
    margin-top: -100px;
    align-self: start;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
}

.blinkies {
    grid-area: blinkies;
    background-color: hsl(327, 100%, 89%);
    border: 4px solid #ff8df2;
    padding: 10px;
    overflow: scroll;
    height: 500px;
    width: 90%;
    scrollbar-color: #ff8df2 hsl(327, 100%, 89%);
}

footer {
    grid-area: footer;
}

hr.solid {
    border: 1px solid #ff8df2;
}

a:link { color: DeepPink; }
a:visited { color: HotPink; }
a:hover { color: HotPink; }
a:active { color: HotPink; }

@media (max-width: 768px) {

    .container {
        display: grid;
        grid-template-areas:
            "header"
            "sidebar"
            "main"
            "idbuttons"
            "blinkies"
            "footer";
        grid-template-columns: 1fr;
        gap: 10px;
    }

    main {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px;
        line-height: 1.4;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .frame-container {
        width: 90%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 4 / 3;
        position: relative;
        margin: 0 auto 10px auto;
    }

    .picrew {
        position: absolute;
        left: 161px;
        top: 152px;
        transform: translate(-50%, -50%);
        height: 153px;
        width: 139px;
    }

    .idbuttons {
        display: flex;
        justify-content: center;
        gap: 5px;
        margin-top: 5px;
    }

    .text {
        margin-top: 15px;
        width: 95%;
        max-width: 600px;
    }

    .blinkies {
        grid-area: blinkies;
        width: 95%;
        max-width: 600px;
        margin: 0 auto;
        height: auto;
        overflow-x: auto;
    }

    .blinkies img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    aside {
        width: 95%;
        margin: 0 auto;
    }
}
