/* reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: aliceblue;
    font-size: 40px;
}

/* styles */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url(../images/sunny.png);
    background-size: cover;
}

main {
    /* padding: 80px; */
    max-width: 800px;
    /* border: 2px solid rgb(0, 0, 0); */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    border-radius: 5px;
    /* background-color: aqua; */
}

div {
    background-image: url(../images/skrull.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    margin: 0 15px;
    height: 100%;
    background-color: rgb(0, 0, 0);
    border-radius: 5px;
    transition: all 1s;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: space-between;
}

div:hover {
    background-color: azure;
    cursor: url(../images/skrull.png), auto;
}

img {
    border-radius: 5px;
    display: none;
}

div,
img {
    aspect-ratio: 3/4;
    border: 2px solid rgba(245, 245, 245, 0.541);
    max-height: 120px;
}

.rotate {
    transform: rotateY(180deg);
}


@media screen and (max-width:530px) {
    div {
        margin: 15px;
        padding: 10px;
    }

    div,
    img {
        max-height: 90px;
    }  
}
@media screen and (max-width:724px) {
    div {
        margin: 15px;
        padding: 10px;
    }

    div,
    img {
        max-height: 80px;
    }  
}