* {
    color: white;
    font-family: 'Questrial', sans-serif;
}

body {
    margin: 0;
    height: 100vh;
    background-color: #000;
    background-image: 
        radial-gradient(circle at 10% 90%, rgb(181, 116, 19) 0%, rgba(0, 0, 0, 0.95) 50%, transparent 100%),
        radial-gradient(circle at 90% 10%, rgba(0, 200, 255, 0.9) 0%, rgba(0, 0, 0, 0.95) 50%, transparent 100%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

/*per avere la parte in alto a destra celeste */
body::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 20%;
    width: 1000px;
    height: 1000px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    z-index: 0;
}

header, .topbar, #menu, .iconebarraalta {
    position: relative;
    z-index: 1;
}

header {
    padding: 20px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: center;
}

#titolo_generale {
    font-family: "ABeeZee", sans-serif !important;
    font-style: italic;
    font-size: 50px;
    margin: 0;
}

.iconebarraalta {
    position: absolute;
    left: 0;
    display: flex;
    gap: 20px;
    font-size: 50px;
}

.iconebarraalta img,
.icon img,
.bi-postcard,
.bi-linkedin,
.bi-github {
    width: 80px;
    height: auto;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.iconebarraalta img:hover,
.icon:hover img,
.bi-postcard:hover,
.bi-linkedin:hover,
.bi-github:hover {
    filter: brightness(70%);
    transform: scale(1.05);
}

#menu {
    list-style: none;
    padding: 0;
    margin-top: 200px;
}

#menu li {
    margin-bottom: 15px;
}

#menu a {
    text-decoration: none;
    font-size: 20px;
    transition: filter 0.3s ease, transform 0.3s ease;
}

#menu a:hover {
    filter: brightness(70%);
    transform: scale(1.05);
}

.menu-item {
    display: flex;
    align-items: center;
    font-size: 18px;
    text-decoration: none;
}

.icon {
    width: 80px;
    height: auto;
    margin-right: 10px;
}

@media (max-width: 600px) {
    .topbar {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }

    .iconebarraalta {
        position: static;
        justify-content: center;
        font-size: 40px;
    }

    #titolo_generale {
        font-size: 35px;
        text-align: center;
    }
}

