
@import url('https://fonts.googleapis.com/css2?family=Oooh+Baby&display=swap');

@font-face {
    font-family: "Minecraft";
    src: url("fonts/Minecraft.ttf") format("truetype");
}

body {
    background-color: #b1b5d3;
    background-image: url('https://wallpapercave.com/wp/wp13868845.png');
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    letter-spacing: 1px;
    color: #454545;
    font-size: 0.8em;
    cursor: url("images/cross.gif"), auto;
}

body.nostalgi {
    background-image:url(images/underwater.png);
}

.nostalgi-header {
    padding: 50px;
}


#site {
    width: 70%;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
}

#site-wide {
    width: 80%;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
}


header {
    text-align: center;
    margin: 0.1em;
    padding: 0;
    position: relative;
    width:100%;
    height:100px;
    overflow:hidden;
}

header h1 {
    font-size: 6em;
    color: #fff;
    text-shadow: 2px 2px #bb7dbe;
    font-family: 'Oooh Baby', cursive;
    margin: 0;
    padding: 0;
}

.header-bg {
    width:100%;
    height:100%;
    object-fit:cover;
}


.header-text {
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
}

nav {
    border: 1px dashed #fff;
    background-color: #7d85be;
    color: white;
    margin: 0.1em;
}

nav li a {
    color: white;
    text-decoration: none;
}

nav li a:hover {
    background-color: #e7abe1;
}

nav ul {
    text-align: center;
    display: flex;
    list-style: none;
    justify-content: space-evenly;
    text-transform: uppercase;
}

nav li {
    display: block;
}

.blinkies {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 10px;
}

.blinkies img {
    width: 150px;
    height: 20px;
    image-rendering: auto;
}

main {
    display: flex;
}

aside {
    width: 30%;
    border: 1px dashed #fff;
    margin: 0.1em;
    padding: 0.5em;
    background-color: #ffffffa2;
}

aside ul {
    list-style: none;
    padding: 0;
}

aside li {
    margin-bottom: 2px;
}

aside li a {
    color: #7a7eed;
    text-shadow: #fff 1px 0px, #fff -1px 0px, #fff 0px 1px, #fff 0px -1px;
    text-decoration: none;
    display: block;
}

aside a:hover {
    background-color: #e7abe1;
    color: white;
    text-shadow: #7a7eed 1px 0px, #7a7eed -1px 0px, #7a7eed 0px 1px, #7a7eed 0px -1px;
    
}

aside h2 {
    background-color: #ad98d8;
    text-transform: lowercase;
    color: #fff;
    text-shadow: 1px 1px #454545;
    font-size: 1em;
    border-bottom: #f2bfe8 3px solid;
}

#link-me {
    text-align: center;
}


section {
    width: 70%;
    border: 1px dashed #fff;
    margin: 0.1em;
    padding: 0.5em;
    background-color: #ffffffa2;
}

h2 {
    background-color: #ad98d8;
    text-transform: lowercase;
    color: #fff;
    text-shadow: 1px 1px #000;
    font-size: 1em;
    border-bottom: #f2bfe8 3px solid;
}

h3 {
    text-align: right;
    text-transform: uppercase;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: 100;
    letter-spacing: 3px;
    color: #808080;
    border-bottom: 2px dotted #e7abe1;
}

.button:hover {
    transform: scale(1.05);
}

.left-picture {
    float: left;
    margin: 0.6em 0.6em 0 0;
}

.right-picture {
    float: right;
    margin: 0.6em 0 0 0.6em;
}

p {
    text-align: justify;
}

b {
    color: #3866d8;
    font-weight: 900;
}

strong {
    color: #7a7eed;
    text-shadow: #fff 1px 0px, #fff -1px 0px, #fff 0px 1px, #fff 0px -1px;
    text-decoration: none;
}

i, em {
    color: #939393;
}

s {
    color: #47a6b5;
}

a {
    color: #cb7dc4;
    text-decoration: underline dotted;
}

a:hover {
    color: #7a7eed;
}

ul {
    list-style-type: circle;
    text-align: justify;
    padding: 0 0 0 20px;
}

.recents-list li {
    position: relative;
    cursor: help;
}

.tooltip {
    display: none;
    position: absolute;

    bottom:calc(100% + 10px);
    left:0;

    transform:translateX(-50%);

    width:250px;
    background-color: #fff8fc;
    background-image:
        linear-gradient(#f3c9df 1px, transparent 1px),
        linear-gradient(90deg, #f3c9df 1px, transparent 1px);
    background-size: 25px 25px;
    border: 3px dotted #e7abe1;
    box-shadow: 4px 4px 0 #bb7dbe;
    padding: 20px;
}

.recents-list li:hover .tooltip {
    display: block;
}

.pokemon-card {
    display: flex;
    width: 100%;
}

.img-fill {
    display: flex;
    width: 100%;
}

#home-elements {
    display: flex;
    width: 100%;
}

#to-do {
    width: 50%;
    margin: 0;
}

.scroll {
    overflow-y: scroll;
}

textarea {
    border: 2px dotted #858585;
    background-color: #d3c0e09f;
}

footer {
    border: 1px dashed #fff;
    background-color: #7d85be;
    margin: 0.1em;
    color: white;
    text-align: center;
    padding: 1em;
}

footer strong, footer a {
    text-shadow: #fff 1px 0px, #fff -1px 0px, #fff 0px 1px, #fff 0px -1px;
    text-decoration: none;
}

.music-player{
    background:#d8f7ff;
    border:3px solid #89d5ff;
    border-radius:12px;
    padding:10px;
    width:250px;
}
  
.music-player img {
    max-width: 100%;
    height: auto;
}

.music-player h3 {
    font-size: 14px;
    color: purple;
}

.music-player p {
    font-size: 12px;
}

.blog-years {
    padding-left: 20px; 
}

.blog-post h3 {
    text-align: left;
    text-transform: uppercase;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: 100;
    letter-spacing: 3px;
    color: #808080;
    border-bottom: 2px dotted #e7abe1;
    text-shadow: #fff 1px 0px, #fff -1px 0px, #fff 0px 1px, #fff 0px -1px;
    text-decoration: none;
}

.blog-post p {
    color: #7a7eed;
    text-shadow: #fff 1px 0px, #fff -1px 0px, #fff 0px 1px, #fff 0px -1px;
    text-decoration: none;
}

.pink-note {
    position: relative;
    width: 300px;
}

.pink-note img {
    display: block;
    width: 100%;
}

.pink-note p {
    position: absolute;
    top: 100px;
    left: 30px;
    right: 30px;
    margin: 0;
    color: #7a7eed;
    text-shadow: #fff 1px 0px, #fff -1px 0px, #fff 0px 1px, #fff 0px -1px;
    text-decoration: none;
    line-height: 34px;
}

.stamp-grid {
    display:grid;
    grid-template-columns: repeat(3, 200px);
    gap:20px;
    padding: 20px;
}


.stamp-grid img {
    width: 100%;
    max-width: 200px;
    margin: auto;
    image-rendering: auto;
    
    position: relative;
}

.tooltip-stamp {
    display: none;
    position: absolute;

    bottom:calc(100% + 10px);
    left:0;

    transform:translateX(-50%);

    width:250px;
    background-color: #fff8fc;
    background-image:
        linear-gradient(#f3c9df 1px, transparent 1px),
        linear-gradient(90deg, #f3c9df 1px, transparent 1px);
    background-size: 25px 25px;
    border: 3px dotted #e7abe1;
    box-shadow: 4px 4px 0 #bb7dbe;
    padding: 20px;
}

.stamp-grid img:hover .tooltip-stamp {
    display: block;
}

.minecraft h1{
    font-family: "Minecraft";
}

.minecraft h2 {
    font-family: "Minecraft", sans-serif;
}

.nostalgi-grid {
    columns: 3;
    column-gap: 15px;
}

.nostalgi-grid img {
    width: 100%;
    margin-bottom: 15px;
    break-inside: avoid;
    display: block;
}


.nostalgi-grid img:hover {
    transform:scale(1.03);
    box-shadow:5px 5px 15px #777;
}

.image-stack {
    position: relative;
    width: 100%;
}

.stack-images img {
    width:100%;
    display:none;
}
.stack-images img.active {
    display:block;
}

.image-stack button {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);
    z-index: 5;

    opacity: 0;
    transition: opacity 0.2s;

    background: white;
    border: 2px dotted pink;

    font-size: 25px;
    
}

.image-stack:hover button {
    opacity: 1;
}

.prev {
    left: 5px;
}

.next {
    right: 5px;
}

/*MOBILE*/

@media (max-width: 767px) {

    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }

    body {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }

    nav ul {
        padding: 0;
    }

    #site {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin: 0;
        justify-content: center;
        align-items: center;
    }

    header {
        width: 90%;
    }

    header h1 {
        font-size: 3em;
    }

    nav {
        width: 90%;
        display: flex;
        flex-direction: column;
        height: auto;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: center;
  }
  
  nav ul li {
    width: 90%;
    text-align: center;
  }

  main {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    width: 90%;
  }

  aside {
    width: 100%;
    order: 5;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  section {
    width: 100%;
    order: 3;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  footer {
    width: 90%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
}