@keyframes invertColor {
    0% {
        color: purple;
        background-color: rgb(255, 0, 0);
    }
    50% {
        color: rgb(0, 17, 255);
        background-color: black;
    }
    100% {
        color: rgb(255, 0, 0);
        background-color: rgb(255, 0, 230);
    }
}



a{
    font-size: 30px;
    font-family: cursive;
    margin: 50px;
}
a:hover {
    color: rgb(112, 211, 218);
}

a:link {color:#ff0000;}    /* unvisited link is red*/
#a1:hover {
    animation: invertColor 1s infinite;
}

#a1:hover{
    background-image: url('https://media.tenor.com/s0EGjVj1eP4AAAAM/lightning-strikes-sweet-dreams.gif');
}

.outside-link {
    position: fixed;
    bottom: 20px;
    right: 30px;
    color: rgb(255, 255, 255);
    font-family: 'Courier New', Courier, monospace;
}

.first-image{
    position: absolute;
    right:200px;
    top:100px;
    width: 400px;
}

.corridor-text{
    vertical-align: middle;
    text-align: center;
    margin: auto;
}

.p1{
    font-size: 65px;
    font-family: cursive;
    -webkit-text-stroke:4px black;
    -webkit-text-stroke-color: black;
    -webkit-text-stroke-width: 10%;
}

.corr_body{
    background-image: url("images/bg_corr.jpg");
    background-size: cover;
    background-position-y: -100px;
    background-position-x: -100px;
    background-size: 110%;
    cursor:url("https://cdn-icons-png.flaticon.com/512/7996/7996141.png"), auto;
}

.body_room1{
    background-image: url("images/door.jpg");
    background-size: 200%;
    background-position-y: -2200px;
    background-position-x: 2500px;
}

/* Transparent box with shadow */
.shadow-box {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 100px;  /* Size of the box */
    height: 100px;
    background-color: transparent;  /* Makes the box transparent */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); /* Adds shadow */
    border: 10px transparent black; /* Optional: Define the box’s boundaries */
    border-radius: 100px;
}

#condo{
    position: absolute;
    width: 25%;
    top: 175px;
    left: 550px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6); /* Adds shadow */
}

.shadow-box:hover{
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Adds shadow */
}

#locked{
    font-size: 90px;
    position: absolute;
    top:300px;
    left: 150px;
    font-family: cursive;
    margin: 50px;
}

.body_room2{
    background-image: url("images/bgroom.webp");
    background-size: 100%;
    background-position-y: -80px;
}

.music{
    position: absolute;
    bottom: 40px;
    filter: grayscale(0.7);
}