@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    font-family: "Space Grotesk", sans-serif;
}

header {
    padding: 50px 50px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

header h1 {
    font-size: 2rem;
}

button {
    appearance: none;
    background: transparent;
    border: none;
    cursor: pointer;
    isolation: isolate;
}

.btn-telecharger {
    --_fg: #FFFF;
    --_bg: #5e83b6;
    --_y: -4px;
    color: #5e83b6;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    border-radius: 15px;
    background: var(--_bg);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: 2px solid transparent;
    outline-offset: 2px;

    &::after {
        content: attr(aria-label);
        color: var(--_bg);
        padding: 12px 48px;
        border-radius: inherit;
        background: var(--_fg);
        border: 2px solid var(--_bg);
        transform: translateY(var(--_y));
        transition: 200ms ease-out;
    }

    &:hover {
        --_y: -3px;
    }

    &:active {
        --_y: -1px;

        &::after {
            transition: 50ms ease-out;
        }
    }

    &:focus-visible {
        outline-color: #5e83b6;
    }
}

.home {
    padding: 0px 50px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.left {
    flex: 1;
}

.left h2 {
    font-size: 2.5rem;
    color: #5e83b6;
}

.left h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

footer {
    text-align: center;
    margin-top: 30px;
}

.eula-btn {
    font-size: 1rem;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .home {
        flex-direction: column;
    }

    .left,
    .right {
        text-align: left;
    }

    header {
        padding: 10px 10px 0;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .btn-telecharger {
        font-size: 0.9rem;
    }

    .home .right {
        align-items: center;
        width: 100%;
        display: flex;
    }
}





/* carrousel image */
.carrousel {
    position: relative;
    width: 70vh;
    height: 70vh;
    overflow: hidden;
    margin: auto;
    border-radius: 8px;
}

.carrousel-track {
    display: flex;
    width: 100%;
    height: 100%;
}

.carrousel-track img {
    width: 70vh;
    height: 70vh;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.6s ease;
}

button.prev,
button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 10;
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}


.hashtags {
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hashtags-track {
    display: flex;
    gap: 2rem;
    font-size: 2rem;
    white-space: nowrap;
    padding: 0 2rem;
}

.hashtags-track span {
    background-color: #fff;
    border: solid 1px #5e83b6;
    padding: 15px 10px;
    font-weight: 500;
    border-radius: 15px;
    color: #5e83b6;
    transition: .2s ease-in-out all;
}

.hashtags-track span:hover {
    color: #fff;
    background-color: #5e83b6;
}

.change {
    height: 5vh;
}