body {
    justify-items: center;
    align-items: center;
    background-color: darkgray;
}

.main {
    position: relative;
    width: 753px;
    height: 925px;
}

.main img {
    position: absolute; 
    top: 0; 
    left: 0;
    object-fit: cover;
    justify-items: center;
}

.bgimg {
    width: 753px;
    height: 925px;
    z-index: 1;
}

.top {
    z-index: 3;
    opacity: 0;
}

.top:hover {
    opacity: 1;
}

    #attic {
        left: 105px;
        top: 25px;
    }
    #bedroom {
        left: 160px;
        top: 243px;
    }
    #guestroom {
        left: 435px;
        top: 280px;
    }
    #livingroom {
        left: 150px;
        top: 485px;
    }
    #door {
        left: 435px;
        top: 500px;
    }
    #mailbox {
        left: 635px;
        top: 690px;
    }

#birdie {
    position: absolute;
    left: 575px;
    top: 75px;
    z-index: 3;
    transform: rotate(0deg);
    height: 100px;
}

#birdie:hover {
    transform: rotate(-15deg) translateY(-10px);
    transition: transform 0.4s ease-in-out;
}

.title {
    position: absolute;
    pointer-events: none;
    left: 50px;
    bottom: 75px;
    z-index: 3;
    color: white;
    border: 2px solid white;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    line-height: 0.2;
}

footer {
    position: absolute; 
    z-index: 2; 
    bottom: 55px; 
    width: 100%; 
    height: 100px; 
    overflow: hidden; 
    white-space: nowrap;
    opacity: 0;
}

footer:hover {
    opacity: 1;
}

#awrrf {
    display: inline-block;
    position: absolute;
    z-index: 2;
    height: 100px;
    left: 0px;
    align-items: center;
    animation: scroll-right 15s linear infinite;
}

    @keyframes scroll-right {
        0% { left: -100px; }
        100% { left: 100%; }
    }