/* Universal Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Disable scrolling and ensure full viewport usage */
html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    overflow: hidden; /* Prevent scrolling */
    cursor: url('indexImages/cursorgdnv2.png') 16 16, auto;
}

/* Screen Resolution Container */
.screen-resolution {
    position: relative;
    width: 80%; /* Make the rectangle slightly smaller */
    max-width: 720px; /* Cap the size on large screens */
    aspect-ratio: 901 / 492; /* Maintain aspect ratio */
    transform-origin: center center; /* Scaling starts from the center */
}

/* Rectangle (Image) */
.positioned-crowdImage {
    position: absolute;
    width: 100%; /* Fill the container */
    height: 100%; /* Fill the container */
    object-fit: cover; /* Ensure the image scales without distortion */
    z-index: 1; /* Keep image behind the links */
}

/* General Link Styling */
.positioned-link {
    position: absolute;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: calc(1.5vw + 10px); /* Responsive font size */
    color: #000000;
    text-decoration: none;
    z-index: 10; /* Ensure links are above the image */
    text-align: center;
}

/* ARCHIVO Link */
.archivo {
    top: -10%; /* 10% from the top of the container */
    left: 0%; /* 10% from the left of the container */
}

/* TIENDA Link */
.tienda {
    top: -10%; /* 10% from the top of the container */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%);
}

/* LINKS Link */
.soundcloud {
    top: -10%; /* 10% from the top of the container */
    right: 0%; /* 10% from the right of the container */
}

/* EMAIL Link */
.email {
    bottom: -14%; /* 10% from the bottom of the container */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%);
    font-size: calc(1.2vw + 8px); /* Slightly smaller font size for the email */
}

/* Hover effect for links */
.positioned-link:hover {
    color: #007BFF;
    text-decoration: underline;
}

/* Responsive Scaling */
@media (max-width: 901px) {
    .screen-resolution {
        width: 90vw; /* Scale to 90% of viewport width */
        height: calc(90vw * (492 / 901)); /* Maintain aspect ratio */
    }
}

@media (max-height: 492px) {
    .screen-resolution {
        height: 90vh; /* Scale to 90% of viewport height */
        width: calc(90vh * (901 / 492)); /* Maintain aspect ratio */
    }
}

/* Ensure links remain proportional when zooming out */
html, body {
    transform-origin: center center;
    transform: scale(1); /* Prevent zoom affecting proportions */
}
