/*
    Theme Name: Eterea Entertainment
    Version: 1.2
    Author: Mario Nastro
*/


/*
 *
 *  COMMONS
 *
*/

html, body {
    scroll-behavior: smooth;
}

.light-bg {
    /*background-color: #FFF8E6;*/
    /*background-color: #f3f0ec;*/
    background-color: #FAFAFA;
}

.lighest-bg {
    background-color: #f6f4f0;
}

.dark-bg {
    /*background-color: #1E1E1E;*/
    background-color: #1A1A1A;
}

.darkest-bg {
    /*background-color: #262626;*/
    /*background-color: #080808;*/
    background-color: #111111;
}

p i {
    font-family: 'IvyOra Display', serif;
    font-weight: 400;
    font-style: italic;
}

h1, h2, h3 {
    font-family: 'IvyOra Display', serif;
    font-weight: 300;
}

p, button {
    font-family: "Inter", serif;
    font-weight: 400;
}

.light {
    color: white;
}

.dark {
    color: black;
}

.dark
.arrow-button::after {
    filter: invert(100%);
}

.arrow-button {
    font-size: 1.5em;
    transition: all 2s;
}

@media screen and (max-width: 1024px) {
    .arrow-button {
        font-size: 1.25em;
    }
}

.arrow-button:hover {
    text-decoration: underline;
    cursor: pointer;
}

.arrow-button::after {
    content: url("img/button_arrow.svg");
    padding-left: .5em;
}

/*
 *
 *  CAROUSEL
 *
*/

.carousel-item {
    flex-shrink: 0;
    height: 100%;
    width: 45vh;
    transition: border 0.4s;
    box-sizing: border-box;
    border-color: #111111;
    border-style: solid;
    border-width: 0px;
}

.carousel-track {
    display: flex;
    width: max-content; /* Importante: dice alla pista di allungarsi quanto serve */    
    animation: carousel-scroll 25s linear infinite;    
}

.carousel-track:hover,
.carousel-track:active {
    animation-play-state: paused;
    cursor: pointer;
}

.carousel-item:hover,
.carousel-item:active {
    border-width: 16px;
    cursor: pointer;
}

@keyframes carousel-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); 
    }
}

.contact-button
span {
    display: grid;
    grid-template-columns: 0fr;
    transition: all 2s;
    overflow: hidden;
}

.contact-button:hover
span {
    grid-template-columns: 1fr;
}