*, 
*::before, 
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

:root {
    --size: 200px;
}

html {
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
    font-family: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    min-height: 100%;  
    display: grid;
    place-items: center;
    background: black; 
}
 
.wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 8rem;
}

.btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    width: 100%;
}

.btn {
    background: rgb(0, 17, 255);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.btn:hover {
    opacity: .7;
}

.image-container {
    position: relative;   
    width: var(--size);
    height: var(--size);
    transform-style: preserve-3d;
    transform: perspective(1000px);
    transition: transform 0.5s ease-in-out;
  }

.image-container span {
    --angle: calc(var(--i) * 45deg);
    position: absolute;
    inset: 0; 
    transform: rotateY(var(--angle)) translateZ(400px);
}

.image-container span img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

@media (max-width:500px){
    :root {
        --size:150px;
    }

    .image-container span {
        transform: rotateY(var(--angle)) translateZ(300px);
    }
}