main {
    width: 100%;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: radial-gradient(var(--secondary), var(--highlight));
}

h1, a {
    display: flex;
    color: var(--headline);
    margin: 0;
    text-align: center;
    justify-content: center;
}

.infinite {
    position: relative;
    width: 48rem;
    height: 16rem;
    background: #525252;
    transform-origin: bottom;
    transform-style: preserve-3d;
    transform: perspective(500px) rotateX(30deg);
    margin: 8rem 0;
}

.infinite:before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    height: 0.5rem;
    background: linear-gradient(90deg, #fff 0%, #fff 60%, #525252 60%, #525252 100%);
    background-size: 8rem;
    animation: animate 2s linear infinite;
}

@keyframes animate {
    0% {
        background-position: 0;
    }

    100% {
        background-position: -8rem;
    }
}

.infinite:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2rem;
    background: #333;
    bottom: -2rem;
    transform-origin: top;
    transform: perspective(500px) rotateX(-25deg);
}

.shadow {
    position: absolute;
    bottom: -99px;
    left: 50%;
    transform: translateX(-50%);
    width: 94.5%;
    height: 4rem;
    background: linear-gradient(#000, transparent);
    opacity: 0.5;
}

.global-container {
    margin: 4rem 8rem;
}

@media screen and (max-width: 600px) {
    .infinite {
        width: 90vw;
        height: 45vw;
    }

    .global-container {
        margin: 15vw 5vw;
    }
}

/* Attributes */

.attributes div {
    text-align: center;
}

.attributes i {
    color: var(--highlight);
    font-size: 3rem;
}

.attributes p {
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Interactive map */

.interactive-map-container {
    height: 75vh;
    background-image: url("../resources/carto-neuf/map-example.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.interactive-map-container div {
    height: 75vh;
    background-color: var(--main-opacity);
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-evenly;
    align-items: center;
}

.basic-button {
    font-size: 1.5rem;
}