body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.container {
    position: relative;
    width: 80vw;
    max-width: 600px;
    height: auto;
    text-align: center;
    transform: rotate(-8deg);
    transform-origin: center center;
    animation: scaleDown 1.5s ease-out forwards;
}

.polaroid {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 0;
}

.main-image {
    width: 100%;
    height: auto;
}

.icons {
    position: absolute;
    bottom: 2%;
    right: 12%;
    display: flex;
    gap: 5px;
    z-index: 5; /* Ensure icons are above other elements */
}

.icon {
    width: 4vw;
    height: auto;
    max-width: 24px;
    transition: transform 0.3s ease;
}

@keyframes bounceGrow {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.1);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

.icon:hover {
    animation: bounceGrow 0.3s ease;
}

.icon1:hover {
    content: url('images/hoverinstagram.png');
}

.icon2:hover {
    content: url('images/hoverspotify.png');
}

.icon3:hover {
    content: url('images/hoverflickr.png');
}

.icon4:hover {
    content: url('images/hoverartstation.png');
}

.icon5:hover {
    content: url('images/hoveremail.png');
}

.quote-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 2;
}

.tape-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    animation: dropInAndBounce 1s ease forwards;
    animation-delay: 1.5s;
}

.tape-image {
    width: 100%;
    height: auto;
}

@keyframes scaleDown {
    0% {
        transform: rotate(-8deg) scale(2);
        transform-origin: center center;
    }
    100% {
        transform: rotate(-8deg) scale(1);
        transform-origin: center center;
    }
}

@keyframes dropInAndBounce {
    0% {
        transform: scale(1.5);
        opacity: 0;
        visibility: hidden;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
        visibility: visible;
    }
    100% {
        transform: scale(1);
        opacity: 1;
        visibility: visible;
    }
}