body { /*no select */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
#preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 1000;
    transition: opacity 0.5s;
}

body.content-loaded #preloader {
    opacity: 0;
    pointer-events: none;
}

img {
    pointer-events: none;
}

#home-icon {
    position: absolute;
    display: block;
    top: 10px;
    left: 10px;
    pointer-events: auto;
}

.discord-container {
    position: relative;
}

#discord {
    position: absolute;
    top: 1vw;
    right: 1vw;
    width:4vw;
    max-width: 30px;
    filter:invert();
    transition: transform 0.3s ease;
    z-index: 5;
    pointer-events: auto;
}

#discord:hover {
    transform: scale(1.08);
    pointer-events: auto;
}

.tooltip {
    display: block;
    position: absolute;
    top: 70px; 
    right: 0; 
    background-color: black;
    color: whitesmoke;
    padding: 10px 20px;
    border-radius: 10px;
    z-index: 5;
    font-family: monospace;
    opacity: 0; 
    transition: opacity 0.3s ease; 
}

.tooltip.visible {
    opacity: 1; 
}
#home-icon img {
    width: vw;
    max-width: 60px;
    height: auto;
}

#navbar {
    padding: 20px 0;
    text-align: center;
}

#navbar a {
    margin: 0 50px;
    text-decoration: none;
    font-weight: bold;
    color: #333;
    font-family: "RefrigeratorDeluxe", sans-serif;
    font-weight: 200;
    font-size: 25px;
    padding: 12px 8px;
}

#navbar a:hover {
    color: #8f8f8f;
}

#navbar p {
    margin: 0 50px;
    text-decoration: none;
    font-weight: bold;
    color: #333;
    font-family: "RefrigeratorDeluxe", sans-serif;
    font-weight: 200;
    font-size: 25px;
    padding: 12px 8px;
}

.dropdown {
    position: relative;
    display: inline-block; 
    font-size: 15px;
    margin: 0;
    padding: 0;
}

.droptext {
    font-size: 5px;
    line-height: 1.1;
}

.dropdown-content {
    left: 0px;
    display: none; 
    position: absolute;
    background-color: #f9f9f9;
    min-width: 0; 
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1; 
    line-height: .7;
    animation-name: slideDown;
    animation-duration: 0.3s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

.dropdown-content a {
    color: black;
    margin:0;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.dropdown:hover .dropdown-content {
    display: block; 
}

#mobile-icon {
    display: none;
    position: absolute;
}

#sidebar {
    display: none;
    position: absolute;
}
#work {
    display: none;
    position: absolute;
}
#japanese {
    display: none;
    position: absolute;
}
#elsewhere {
    display: none;
    position: absolute;
}

#mobileLinks {
    position: absolute;
    display: none;
}

@media (max-width: 768px) {
    #navbar {
        display: none;
    }
    #home-icon {
        display: flex;
        justify-content: center;
        left: 50%;
        width: 32px;
        z-index: 500;
        transform: translateX(-50%);
    }
    #discord {
        display: none;
    }
    #sidebar {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        height: 120vh;
        width: 100vw;
        text-align: center;
        align-items: center;
        z-index: 20;
        background-color: white;
    }
    #work {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100vw;
        text-align: center;
        z-index: 30;
        background-color: white;
    }
    #japanese {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100vw;
        text-align: center;
        z-index: 30;
        background-color: white;
    }
    #elsewhere {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100vw;
        text-align: center;
        z-index: 30;
        background-color: white;
    }
    .animation {
        animation: slideUp .6s forwards;
    }
    .animation2 {
        animation: slideLeftMobile .4s forwards;
    }
    #mobile-icon {
        display: block;
        position: absolute;
        top: 10px;
        left: 10px;
        pointer-events: auto;
        max-width: 30px;
        height: auto;
        filter: invert(.5);
        z-index: 500;
    }

    #mobileLinks {
        display: block;
        position: relative;
        top: -15%;
        margin: 0 50px;
        text-decoration: none;
        font-weight: bold;
        color: #333;
        font-family: "RefrigeratorDeluxe", sans-serif;
        font-weight: 100;
        font-size: 10vw;
        padding: 12px 8px;
        line-height: 10vh;
        cursor: default;
    }

    .weblink {
        text-decoration: underline !important;
    }
}

@keyframes slideLeftMobile {
    0% {
        opacity: 0;
        transform: translateX(200px);
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(0);
    }
}
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@font-face {
    font-family: "RefrigeratorDeluxe";
    src: url("../Fonts/Refrigerator Deluxe Light.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

.container {
    display: flex;
    padding: 10px;
    width: 80vw;
    margin:auto;
}
@media (max-width: 768px) {
    .space {
        display: none;
    }
    .container {
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center vertically */
        align-items: center; /* Center horizontally */
        min-height: 50vh; /* Use at least the full viewport height */
        text-align: center;
    }
    .container2 {
        text-align: center;
    }
    .amyImage {
        display: none;
    }
    .amy {
        display: none;
    }
    .hobbies {
        font-weight: bold;
        color: #333;
        font-family: "RefrigeratorDeluxe", sans-serif;
        font-weight: 200;
        font-size: 25px;
        line-height: 2;
        animation: fadeInFromTop 1.5s forwards;
        text-align: center; 
    }
    .Text {
        font-weight: bold;
        color: #333;
        font-family: "RefrigeratorDeluxe", sans-serif;
        font-weight: 200;
        font-size: 25px;
        animation: fadeInFromLeft 2s forwards;
        line-height: 1.5;
    }
    .list {
        text-align: center;
    }
}

.container2 {
    width: 80vw;
    height: 100px;
    align-items: center;
    text-align: center;
    margin: auto;
}

.amy {
  flex: 1;
  padding: 10px;    
  height: 500px;
  width: 50vw;
  height: auto;
  position: relative;
  overflow: visible;
  align-items: right;
  align-content: right;
  display: inline-block;
  

}

.amyImage {
    opacity: 0;
    animation: fadeInFromTop 1s forwards;
    width: 50%;
    min-width: 350px;
    max-width: 493px;
    height: auto;
    filter: grayscale(60%);
    border-radius: 7px;
    position: absolute;
    right: 10px;
}

.aboutText {
    flex: 1;
    height: auto;
    padding: 10px;
    width: 100%;
}

.Text {
    font-weight: bold;
    color: #333;
    font-family: "RefrigeratorDeluxe", sans-serif;
    font-weight: 200;
    font-size: 25px;
    animation: fadeInFromLeft 2s forwards;
    line-height: 2.6vw;
}
@media (max-width: 1780px) {
    .Text {
        line-height: 1.9;
    }
}
@media (min-width: 2450px) {
    .Text {
        line-height: 2.6;
    }
}
.hobbies {
    font-weight: bold;
    color: #333;
    font-family: "RefrigeratorDeluxe", sans-serif;
    font-weight: 200;
    font-size: 25px;
    line-height: 0;
    text-decoration: underline;
    animation: fadeInFromTop 2s forwards;
}

.list {
    font-weight: bold;
    color: #333;
    font-family: "RefrigeratorDeluxe", sans-serif;
    font-weight: 200;
    font-size: 25px;
    line-height: 2;
    animation: fadeInFromTop 2s forwards;
}

@keyframes fadeInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    50% {
        transform: translateX(0);
    }
    100% {
        opacity: 1;
    }
}



