@font-face {
    font-family: "header";
    src: url("../fonts/TimelessHorizon-Regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

.header-showcase{
    width: 85%;
    height: 20%;

    margin: 0vw auto;
    margin-top: 9.5vw;

    display: flex;
    flex-direction: column;
    justify-content: center;

    text-align: center;
    font-family: "header";
    font-size: 3vw;
}

.showcase{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: row;

    width: 100%;
    height: 25vw;

    margin-top: 1vw;
    border-radius: 3vw;

    background-color: rgb(245, 245, 245);
    box-shadow: 0 0.3vw 0.6vw rgba(0, 0, 0, 0.2);
}

.item-showcase{
    width: 23.5%;
    height: 100%;

    position: relative;
    overflow: hidden;
}

.item-showcase img{
    position: relative;
    object-fit: contain;

    width: auto;
    max-width: 20vw;
    height: 25vw;

    transition: transform 0.5s ease;
}

.image-element {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image-element img{
    position: absolute;
    top: 0;
    left: 0vw;

    object-fit: contain;

    width: 100%;
    height: 100%;
    z-index: 1;
}

.arrows{
    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
    top: 40%;

    background-color: black;
    color: white;

    border: none;
    border-radius: 50%;

    width: 2vw;
    height: 2vw;
    font-size: 1.5vw;

    cursor: pointer;
    z-index: 2;
    opacity: 0;

    transition: opacity 0.3s ease;
}

.item-showcase:hover .arrows{
    opacity: 1;
}

.arrows-left{
    left: 1vw;
}

.arrows-right{
    right: 1vw;
}

.arrows:hover{
    background-color: rgba(0, 0, 0, 0.8);
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%); /* Start off-screen to the left */
        opacity: 1; /* Start fully transparent */
    }
    to {
        transform: translateX(0); /* End at the original position */
        opacity: 1; /* Fully visible */
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%); /* Start off-screen to the right */
        opacity: 1; /* Start fully transparent */
    }
    to {
        transform: translateX(0); /* End at the original position */
        opacity: 1; /* Fully visible */
    }
}

@keyframes slideOutToLeft {
    from {
        transform: translateX(0); /* Start at the original position */
        opacity: 1; /* Fully visible */
    }
    to {
        transform: translateX(-100%); /* Move off-screen to the left */
        opacity: 1; /* Fully transparent */
    }
}

@keyframes slideOutToRight {
    from {
        transform: translateX(0); /* Start at the original position */
        opacity: 1; /* Fully visible */
    }
    to {
        transform: translateX(100%); /* Move off-screen to the right */
        opacity: 1; /* Fully transparent */
    }
}

.slide-in-left {
    animation: slideInFromLeft 0.5s ease-in-out;
    z-index: 2;
}

.slide-in-right {
    animation: slideInFromRight 0.5s ease-in-out;
    z-index: 2;
}

.slide-out-left {
    animation: slideOutToLeft 0.5s ease-in-out;
    z-index: 1;
}

.slide-out-right {
    animation: slideOutToRight 0.5s ease-in-out;
    z-index: 1;
}