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

body { 
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    font-family: sans-serif;
    background-color: rgb(167, 251, 251);
}

.scene-container {
    position: relative;
    width: 100vw;
    height: 100wh;
    max-width: 100vw;
    max-height: 100vh;
    aspect-ratio: 16 / 9;
}

.element {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
}

.island {
    width: 95%;
    height: 45%;
    bottom: 5%;
    left: 2.5%;
    background-image: url('raw_draw/SVG/Island.svg');
    z-index: 1;
}

.maxim-banner {
    width: 55%;
    height: 15%;
    top: 5%;
    right: 20%;
    background-image: url('raw_draw/SVG/Maxim.svg');
    z-index: 2;
    animation: float 1s ease-in-out infinite alternate;
}

.rock {
    width: 16%;
    height: 35%;
    bottom: 44%;
    left: 15%;
    background-image: url('raw_draw/SVG/Hand.svg');
    z-index: 2;
}

.github-sign {
    width: 13%;
    height: 17%;
    bottom: 73%;
    left: 15%;
    background-image: url('raw_draw/SVG/github.svg');
    z-index: 3;
    cursor: pointer;
    transition: transform 0.2s ease, background-image 0.2s ease;
}

.github-sign:hover {
    background-image: url('raw_draw/SVG/github_hower.svg'); 
    transform: translateY(-5px) scale(1.10);
}

.techstack-building {
    width: 28%;
    height: 32%;
    bottom: 38%;
    left: 45%;
    z-index: 2;
    cursor: pointer;
    position: absolute;
    transition: transform 0.2s ease;
}

.techstack-base {
    width: 100%;
    height: 100%;
    display: block;
}

.techstack-hover-text {
    position: absolute;
    top: 12%;            
    left: 20%;           
    width: 10%;          
    height: 42%;         
    object-fit: contain; 
    max-width: 47%;      
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.techstack-building:hover {
    transform: scale(1.03);
}

.techstack-building:hover .techstack-hover-text {
    opacity: 1;
}


.contact-me {
    width: 20%;
    height: 32%;
    bottom: 40%;
    left: 28%; 
    z-index: 1;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.contact-me:hover {
    transform: scale(1.05); 
}


.about-me {
    width: 15%;
    height: 55%; 
    bottom: 35%;
    right: 18%;
    z-index: 2;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.about-me:hover {
    transform: scale(1.03);
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-30px); }
}