@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    height: 100vh;
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

content-position {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100vh;
    gap: 45px;
}

content-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

content-title {
    top: 0;
    position: absolute;
    font-size: 20px;
    color: rgb(255, 255, 255);
}

hyper-globe {
    max-width: 40%;
    --globe-scale: .90;
    /*--globe-damping: 0.1;*/
    --map-density: 1;
    --map-height: 0;
    --point-size: 0.6;
    --point-color: rgb(255, 255, 255);
    --backside-opacity: 0.9;
    --backside-transition: 1;
    --marker-size: 0.4;
    --marker-image: url(/dot.svg);
    --text-color: #ffc839;
    --text-size: 0.8;
    --line-color: rgb(17 24 39);
    --line-width: 1;
    --line-offset: 0;
    --animation: position;
    --animation-intensity: 0.1;
    --animation-scale: 0;
    --animation-speed: 0.68;
    --preview-color: rgb(17 24 39);
    --backside-color: rgb(17 24 39);
    --title-position: 0 -1;
    --title-padding: 1;
    --text-padding: 1;
    --text-height: 1;
    --line-thickness: 1;
    --point-opacity: url(/globe.jpg);
    --point-edge-opacity: url(/globe.jpg);
    --point-opacity-map: url(/globe.jpg);
    --point-color-blend: average;
    --overlay-depth: 0.5;
    --globe-background: url(/globe.svg);
    --text-depth: 0.26;
    --text-offset: 0.5;
    --text-outline: rgb(17 24 39);
    --autorotate: true;
    --autorotate-speed: 0.5;
    --islands: true;
    --antarctica: true;
    --point-color-map: url(/bg-map.jpg);
}

.small-text {
    --text-size: 0.7;
    --text-offset: 0.4;
    opacity: 0.8;
    padding: 5px;
}


/* text outline with low opacity */

.globe-text {
    --text-outline: unset !important;
}

/* Media query per tablet (schermi oltre 600px fino a 900px) */
@media (min-width: 601px) and (max-width: 900px) {
    content-title {
        padding-top: 15px;
        font-size: 35px;
    }

    content-position {
        gap: 5px;
    }
}

/* Media query per desktop (schermi oltre 900px fino a 1200px) */
@media (min-width: 901px) and (max-width: 1200px) {
    content-title {
        padding-top: 15px;
        font-size: 35px;
    }

    content-position {
        gap: 5px;
    }
}

/* Media query per TV (schermi oltre 1200px) */
@media (min-width: 1201px) {
    content-title {
        padding-top: 15px;
        font-size: 35px;
    }

    content-position {
        gap: 5px;
    }
}

@keyframes cambiaGradiente {
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

.animazione-gradiente {
    background-size: 200% 200%;
    animation: cambiaGradiente 10s ease infinite;
}
