/*GENERAL*/
body {
    height: 90vh;
    width: 90vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #161618;
    overflow: auto;
    font-family: Courier, monospace;
    font-size: 16px;
}

#content {
    position: absolute;
    top: 100px;
    left: 0;
    width: 30%;
    margin: 20px; /* optional, adds some spacing around the text */
    color: #eeeeee;
}

#top-left-image {
    position: absolute;
    top: 30px;
    left: 20px;
    width: 150px; /* adjust this to change the size of your image */
    height: auto;
}

#footnote {
    position: fixed;
    bottom: 0;
    left: 0;
    margin: 20px; /* optional, adds some spacing around the text */
    color: #eeeeee;
    background-color: #161618; /* sets the background color to white */

}

/* Unvisited link */
a:link {
    color: #76cd26;
}
/* Visited link */
a:visited {
    color: #76cd26;
}
/* Mouse over link */
a:hover {
    color: #eeeeee;
}
/* Selected link */
a:active {
    color: #76cd26;
}

/*DRAGGABLE IMAGES*/
.draggable {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    padding: 0.5em;
    border: 1px solid #000000;
    background-color: #eeeeee;
    position: absolute;
    cursor: grab;
    box-shadow: 10px 10px 15px #000000;
    color: #161618; /* Changes the text color */
    text-align: center; /* Centers the text horizontally within the div */

    /* The below properties center the text vertically */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Stack the children vertically */
}

.draggable_image {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    padding: 0.5em;
    border: 1px solid #000000;
    background-color: #161618;
    position: absolute;
    cursor: grab;
    box-shadow: 10px 10px 15px #000000;
    color: #eeeeee; /* Changes the text color */

    display: flex;
    justify-content: center; 
    align-items: center;
    overflow: hidden;
}

.draggable_image img{
    width: 110%; /* Makes the image fill the width of the div */
    height: auto; /* Makes the image fill the height of the div */
    object-fit: cover; /* Resizes the image to cover the div while maintaining the aspect ratio  border-radius: 45%;*/
}


/* TYPING TEXT */
#typing-text {
    white-space: pre;
    overflow: hidden;
    margin: 0 auto;
    cursor: auto;


    position: fixed;
    top: 100px;
    left: 17px;
    width: 69%;
    margin: 20px; /* optional, adds some spacing around the text */
    color: #001650;
}

#typing-text::after {
    content: '_';  /* This is what creates the cursor */
    animation: blink 1s infinite;  /* This animates the cursor */
}

/* The @keyframes rule controls the intermediate steps in a CSS animation sequence */
@keyframes blink {
    0% { opacity: 1 }
    50% { opacity: 0 }
    100% { opacity: 1 }
}

#static-text {
    display: inline; /* this makes it so the typing text appears to the right, not below */
    /* add any other styles you want here */
    position: fixed;
    top: 100px;
    left: 0;
    width: 69%;
    margin: 20px; /* optional, adds some spacing around the text */
    color: #001650;
}

/* Add media query for mobile devices */
@media (max-width: 1000px) {
    #content {
        width: 90%;
    }
    .draggable {
        width: 130px;
        height: 130px;
    }
    .draggable_image {
        width: 300px;
        height: 300px;
    }
}