body {
    background: url("https://64.media.tumblr.com/c088ebd8226492b1cee4c85521dd6d45/a07985190cd398e5-40/s640x960/dda0e49df0d1e24109799eb62fb16179db437b2c.jpg");
    font-family: arial;
    text-align: center;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    align-items: center; 
    overflow-x: hidden;
    position: relative; 
}

h1 {
    font-size: 40px;
    font-weight: bold;
}

footer {
    margin-top: 160px;
    margin-bottom: 40px;
}

.imac-container {
    position: relative;
    width: 80%;
    max-width: 1300px;
    height: auto; /* Keep auto for responsive height */
    aspect-ratio: 16 / 10; /* Adjust this based on your iMac frame image's aspect ratio (width / height) */
    /* Remove or adjust padding-top and padding-bottom here if they are breaking the aspect ratio */
    /* padding-top: 50px; */
    /* padding-bottom: 50px; */
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.imac-image {
    width: 100%;
    height: auto;
    display: block;
    z-index: 2; 
    position: relative;
    pointer-events: none;
}

.screen-content {
    position: absolute;
    background-image: url('https://64.media.tumblr.com/cc7abba50ccc260226b9684b8e5de24c/c2aa0270440ec45a-81/s400x600/7e1693b540cb66788e65765234a3f5b681f37bee.jpg');
    background-size: cover;
    background-repeat: no-repeat; 
    background-position: center; 
    width: 48%;
    height: 49%;
    top: 11%;
    left: 26%;
    z-index: 1; 
    overflow: hidden;
    box-sizing: border-box;
    padding: 15px 20px; 
    display: flex;
    flex-direction: column; 
    align-items: center;
    font-size: 14px;
    color: #333;
    text-align: center;
    pointer-events: auto; 
}

.screen-top-bar {
    background-color: #df9de7;
    color: white;
    font-weight: bold;
    padding: 10px 0;
    width: 92%; 
    margin-left: -20px; 
    margin-right: -20px;
    margin-top: -10px; 
    margin-bottom: -8px; 
    font-size: 13px;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.1);
    pointer-events: auto; 

}


.folder-grid-container {
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 0px;
    width: 100%; 
  
    padding: 25px; 
    box-sizing: border-box; 
}

.screen-folder-link {
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto; 
    transition: transform 0.2s ease-in-out; 
}

.screen-folder-link img {
    width: 50%; 
    height: auto;
    object-fit: contain;
}

.screen-folder-link:hover {
    transform: scale(1.2);
}



.body-box-link {
    position: absolute;
    display: block;
    width: 10%;
    height: 15%;
    z-index: 0; 
}

.body-box-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.body-box-1 { top: 15%; left: 10%; }
.body-box-2 { top: 40%; left: 13%; }
.body-box-3 { top: 58%; left: 5%; }
.body-box-4 { top: 15%; right: 10%; }
.body-box-5 { top: 35%; right: 13%; }
.body-box-6 { top: 55%; right: 5%; }
.body-box-7 { top: 72%; right: 10%; }
.body-box-8 { top: 80%; left: 5%; }

.heart-link {
    position: relative;
    margin-top: 40px;
    margin-bottom: 20px;
    z-index: 4;
}

.body-box-link {
    position: absolute;
    display: block;
    width: 10%;
    height: 15%;
    z-index: 5;
    transition: transform 0.3s ease-in-out;
}

.body-box-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.body-box-link:hover {
    transform: translateY(-20px);
}

@media (max-width: 768px) {
    .screen-content {
        /* Adjust percentages slightly if needed for better fit on small screens */
        /* width: 50%; */
        /* height: 51%; */
        /* top: 18%; */
        /* left: 25%; */
    }

    .imac-container {
        /* Adjust max-width or other properties if the min-width isn't sufficient */
    }
}

#cat-gif {
    position: absolute;
    top: -6%; /* Adjust this to move it up/down the iMac's side */
    right: 22%; /* Adjust this to move it left/right, positioning it on the edge */
    width: 15%; /* Adjust the size of the cat GIF relative to the iMac container */
    height: auto; /* Maintain aspect ratio */
    z-index: 6; /* Ensure it's above the iMac image and screen content */
}

/* Pop-up Ad Styles */
.popup-ad {
    position: absolute;
    background-color: #e0e0e0; /* Light gray for old ad look */
    border: 3px solid #FF69B4; /* Dark blue border */
    padding: 15px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000; /* High z-index to appear on top of everything on the screen */
    display: none; /* Hidden by default, JavaScript will make them visible */
    text-align: center;
    cursor: pointer; /* Indicates it's clickable */
    font-family: 'Comic Sans MS', sans-serif; /* 90s feel font */
    font-size: 14px;
    max-width: 70%; /* Adjust size as needed, relative to screen-content */
    height: auto;
    box-sizing: border-box; /* Include padding/border in width/height */
}

.popup-ad img {
    max-width: 90%;
    height: auto;
    margin-bottom: 10px;
    display: block; /* Ensures image behaves correctly */
    margin-left: auto;
    margin-right: auto;
}

.popup-ad p {
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: bold;
    color: #FF69B4; /* Red for warning messages */
}

.popup-ad button {
    background-color: #FF69B4; /* Green button */
    color: white;
    border: 2px outset #FF69B4; /* 90s button style */
    padding: 8px 15px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px; /* Slightly rounded corners */
}

.popup-ad button:active {
    border-style: inset; /* Simulates button press */
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.close-btn:hover {
    color: #f00;
}

/* Specific positioning for each pop-up (adjust as desired) */
#popup-ad-1 {
    top: 15%; /* Position from the top of the screen-content */
    left: 9%; /* Position from the left of the screen-content */
}

#popup-ad-2 {
    top: 35%; /* Position from the top of the screen-content */
    right: 9%; /* Position from the right of the screen-content */
}

/* NEW POP-UP AD POSITIONS START HERE */
#popup-ad-3 {
    top: 55%; /* Adjust as needed */
    left: 20%; /* Adjust as needed */
}

#popup-ad-4 {
    top: 25%; /* Adjust as needed */
    right: 15%; /* Adjust as needed */
}
/* NEW POP-UP AD POSITIONS END HERE */

/* Start https://www.cursors-4u.com */ * {cursor: url(https://cur.cursors-4u.net/anime/ani-1/ani196.ani), url(https://cur.cursors-4u.net/anime/ani-1/ani196.png), auto !important;} /* End https://www.cursors-4u.com */
