.cloud {
    position: relative;
    width: 100%;
    height: clamp(300px, 80vh, 1200px);
    overflow: hidden;
}

.bubble {
    position: absolute;
    width: clamp(140px, 20vw, 400px);    
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(13px, 1.8vw, 32px);
    text-decoration: none;
    background-color: white;
    color: #000;
    text-align: center;
    padding: 20px;
    background-image: url('../content/round-invert.png');
    background-size: contain;
    background-position: center;
    box-sizing: border-box;
    cursor: pointer;
	transform: scale(1.0);
    font-weight: 600;
    user-select: none;
    transition: transform 0.3s, background-image 0.2s;
}

#svg {
    opacity: 0.6;
}

.bubble:hover {
	transform: scale(0.9);
}

.topborder::before {
    background: repeating-linear-gradient(to right, #ffffff 0 0px, transparent 15px 15px);
}

header:not(.black) .titre a, header:not(.black) .item.actif {
    color: white;
    -webkit-text-fill-color: white;
}

header.bold::after {
    background: repeating-linear-gradient(to right, #ffffff 0 0px, transparent 15px 15px);
}

footer.topborder::before {
    background: repeating-linear-gradient(to right, #000000 0 0px, transparent 15px 15px);
}

body[template="home"]::before {
    content: "";
    position: fixed;
    inset: -50%;
    z-index: -1;
    min-height: 130vw;
    min-width: 130vh;

    background: linear-gradient(
        10deg,
        var(--areas-color),
        var(--purposes-color),
        var(--legal-color),
        var(--families-color)
    );

    animation: spin 30s linear infinite;
    transform: rotate(var(--start-angle));
}

#scroll {
       position: absolute;
    right: 20px;
    bottom: 20px;
    display: none;
    gap: 10px;
    flex-direction: column;
    align-items: center;
}

#scroll img {
    width: 50px;
}

@keyframes spin {
    to {
        transform: rotate(calc(var(--start-angle) + 360deg));
    }
}

@supports (hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none) {
  .safari-only {
    display: flex;
  }
}

@media screen and (max-width: 980px) {

.cloud {
height: clamp(300px, 70vh, 1200px);    
}

#scroll {
   display: none !important;
}

}

@media screen and (min-width: 1921px) {

    #scroll {
        bottom: 40px;
    }
}