body {
    background-color: white;
}


@media only screen and (max-width: 1000px) {
    .no-wrap {
        display: inline-block; /* Tratta il contenuto come un blocco unico */
        white-space: nowrap; /* Impedisce andare a capo all'interno del blocco */
    }
}

#text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}



#text1 {
    position: absolute;
    font-family: 'Roboto mono';
    font-size: 3vw;
    margin-top: -1%;
    margin-left: 5%;
}

#text2 {
    position: absolute;
    font-family: 'Roboto mono';
    font-size: 3vw;
    margin-top: -1%;
    margin-left: 30%;
}

#text3 {
    position: absolute;
    font-family: 'Roboto mono';
    font-size: 3vw;
    margin-top: -1%;
    margin-left: 55%;
}

#text4 {
    position: absolute;
    font-family: 'Roboto mono';
    font-size: 3vw;
    margin-top: -1%;
    margin-left: 80%;
}

div {
    font-family: 'roboto mono', serif;
    font-size: 200%;
}

.tooltipa1 input {
    display: none;
}

@media only screen and (min-width: 1000px) {
    #text1, #text2, #text3, #text4 {
        position: absolute;
        font-family: 'Roboto mono';
        font-size: 30px;
        margin-top: -1%;
    }

    #text1 {
        margin-left: 5%;
    }

    #text2 {
        margin-left: 30%;
    }

    #text3 {
        margin-left: 55%;
    }

    #text4 {
        margin-left: 80%;
    }

    #text-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        /* text-shadow: 1px 0.5px 2px rgba(0, 0, 0, 0.5); */
        z-index: 2;
    }

    #text-overlay div {
        margin: 0;
        line-height: 0;
        margin-left: -10%;
    }

    #text-overlay div:first-child b {
        font-size: 1.5rem;
        color: lightgreen;
        line-height: 2;
    }

    #text-overlay div:nth-child(2) b {
        font-size: 2rem;
        color: #3172F6;
        margin-top: 7rem;
        line-height: 2;
    }

    #text-overlay div:last-child {
        font-size: 1.5rem;
        color: lightgreen;
        line-height: 2;
    }
}

@media only screen and (max-width: 1000px) {

    #text-overlay {
        position: absolute;
        top: 50%;
        left: 530%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        z-index: 2;
        margin-top: -10%;
    }

    #text-overlay div {
        margin: 0;
        line-height: 0;
    }

    #text-overlay div:first-child b {
        font-size: 4vw;
        color: lightgreen;
        line-height: 2;
    }

    #text-overlay div:nth-child(2) b {
        font-size: 4vw;
        color: #3172F6;
        margin-top: 14rem;
        line-height: 2;
    }

    #text-overlay div:last-child {
        font-size: 4vw;
        color: lightgreen;
        line-height: 2;
    }

    #globe-wrapper {
        max-width: 200%;
        max-height: 200%;
    }

    #globe-container {
        justify-content: center;
        align-items: center;
        margin-left: -4000px;
        margin-top: -150px;
    }

    #globe-container svg {
        width: 100%;
        height: auto;
        display: block;
        margin: auto;
    }
}

@media only screen and (max-height: 550px) {
    #text-overlay {
        position: absolute;
        top: 40%;
        left: 530%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        z-index: 2;
        margin-top: -6%;
    }

    #text-overlay div {
        margin: 0;
        line-height: 0;
    }

    #text-overlay div:first-child b {
        font-size: 4vh;
        color: lightgreen;
        line-height: 2;
    }

    #text-overlay div:nth-child(2) b {
        font-size: 4vh;
        color: #3172F6;
        margin-top: 14rem;
        line-height: 2;
    }

    #text-overlay div:last-child {
        font-size: 4vh;
        color: lightgreen;
        line-height: 2;
    }

    #globe-wrapper {
        max-width: 200%;
        max-height: 200%;
    }

    #globe-container {
        justify-content: center;
        align-items: center;
        margin-left: -4000px;
        margin-top: -150px;
    }

    #globe-container svg {
        width: 100%;
        height: auto;
        display: block;
        margin: auto;
    }
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

#globe-wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#globe-container {
    width: 140vw;
    height: 70vw;
    max-width: 1000px;
    max-height: 500px;
    overflow: hidden;
}

#text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#section-container {
    position: relative;
    z-index: 3;
}

#search-bar {
    background-color: white;
    text-align: center;
    position: fixed;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 3px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    z-index: 2;
    margin-left: 1%;
}

#search-input {
    width: 350px;
    padding: 5px 5px 5px 5px;
    border: 1px solid #3172F6;
    border-radius: 5px;
    margin-right: 10px;
    font-family: 'Roboto mono';
    margin-bottom: 10px;
    color: #000; /* Added a default color value */
}

#search-input:focus {
    outline: none;
    border: 1px solid #3172F6;
    padding: 5px 5px 5px 5px;
}

#search-button {
    background-image: linear-gradient(to right, #2A5DB0, #3172F6);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-family: 'Roboto mono';
    transition: all 0.3s ease;
}

#search-button:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}
