@charset "UTF-8";

body {
    background: linear-gradient(180deg, #44417e 0%, rgba(30, 29, 79, 0.8) 100%);
    overflow: hidden;
}

.banner {
    width: 100%;
    height: 100vh;
    text-align: center;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner .slider {
    position: absolute;
    width: 150px;
    height: 200px;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    animation: autoRun 20s linear infinite;
}

@keyframes autoRun {
    from {
        transform: perspective(1000px) rotateY(0deg);
    } to{
        transform: perspective(1000px) rotateY(360deg);
    }
}

.banner .slider .item {
    position: absolute;
    inset: 0 0 0 0;
    transform:
        rotateY(calc((var(--position) - 1) * (360deg / var(--quantity))))
        translateZ(500px);

}

.banner .slider .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.banner .content {
    color: rgb(255, 217, 0);
}

.banner .home {
    position: absolute;
    bottom: 50px; /* Distância do fundo */
    left: 50%;
    transform: translateX(-50%);
    background-color: #faf730;
    width: 120px;
    height: 40px;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: none;
    z-index: 100;
}

.banner .home a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #252525;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}