/* COLORS */
:root {
    --rosa: #FF69B4;
    --rosa-scuro: #d63384;
    --nero-testo: #1a1a1a;
    --grigio-testo: #4a4a4a;
    --grigio-chiaro: #cac7c7;
    --sfuocatura-card: 10px;
    --box-shadow: 0 8px 20px rgba(255, 105, 180, 0.3);
}

/* ----------------------------------------------------------------------------------------------------------------------- */

/* BODY */
html, body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: white;
    color: var(--nero-testo);
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    height: 100%;
    align-items: center;
}

body::-webkit-scrollbar {
    display: none;
}

/* ----------------------------------------------------------------------------------------------------------------------- */

/* GENERAL DIVS */
.general-div {
    width: 100%;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    text-align: center;
    justify-items: center;
    display: grid;
    grid-template-rows: 18rem 6rem auto;
}

@media (min-width: 1024px) {
    .general-div {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

#la-nostra-missione{
    grid-template-rows: 14rem 6rem auto !important;
}

#account-question{
    grid-template-rows: 5rem 4rem auto !important;
}

.my-container {
    margin-top: 6rem;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    justify-items: center;
    z-index: 1 !important;
}

@media (min-width: 1024px) {
    .my-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}


/* ----------------------------------------------------------------------------------------------------------------------- */

/* PARAGRAPHS & TITLES*/
.current {
    color: var(--rosa-scuro) !important;
}

.title{
    font-size: 5rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
}

#title-paragraph{
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid var(--rosa-scuro);
    animation:
        typing 4s steps(26) forwards,
        blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from{
        width: 0;
    }
    to{
        width: 26ch;
    }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--rosa-scuro); }
}

.cursor-transparent {
    animation: none !important;
    border-right: none !important;
}

p{
    font-weight: 300;
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    text-align: justify; margin-bottom: 1rem !important;
}

p:hover, h1:hover, h2:hover, h3:hover, h4:hover, h5:hover {
    cursor: default;
}

.subtitle{
    font-size: 2.5rem !important;
    padding-top: 10rem;
}

h3{
    margin-top: 2.5rem !important;
    margin-bottom: 0.25rem !important;
}

.paragraph{
    font-weight: 200;
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    text-align: justify;
    padding: 0 4rem 0 4rem;
}

.topics-title {
    font-size: 11rem;
    font-weight: 700;
    color: var(--nero-testo);
    font-family: 'Borel', cursive;
    text-align: center;
    position: absolute;
    margin-top: 3.5rem !important;
    opacity: 0;
    display: block;
}

@media (min-width: 768px) {
    .topics-title {
        font-size: 9rem;
    }
}

.topics-title-animated {
    animation-name: fadeIn;
    animation-duration: 4s;
    animation-delay: 0s;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ----------------------------------------------------------------------------------------------------------------------- */

/* SVG */
.logo-nuthings {
    display: block;
    padding: 1rem !important;
    width: 75px;
}

/* ----------------------------------------------------------------------------------------------------------------------- */

/* EMOJI */
.emoji {
    width: 20rem;
}

/* ----------------------------------------------------------------------------------------------------------------------- */

/* BUTTONS */
.general-button{
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0.9rem !important;
    font-weight: 300;
}

.button-1 {
    background-color: var(--rosa);
    color: white;
    font-weight: 400;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    border-radius: 9999px;
    transition: all 0.3s ease-in-out;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    width: fit-content;
}

.button-1:hover {
    background-color:  #d63384;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.45);
}

.button-1:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(255, 105, 180, 0.2);
}

@media (min-width: 640px) {
    .button-1 {
        flex-direction: row;
    }
}

/* ----------------------------------------------------------------------------------------------------------------------- */

/* GENERAL ANIMATION FOR SCROLL */
.reveal-on-scroll {
    position: relative;
    z-index: 10;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.transition-all-ease {
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ----------------------------------------------------------------------------------------------------------------------- */

/* NAVBAR */
#main-header {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: saturate(5%) blur(20px);
    box-shadow: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}


#main-header.scrolled {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

.div-navbar {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 1024px) {
    .div-navbar {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}


nav ul{
    list-style: none;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    max-width: 1500.19px;
    display: contents;
}

nav ul li {
    padding: 8px 12px;
    position: relative;
    float: left;
    transition: 0.5s;
}

nav ul li:hover {
    cursor: pointer;
}

nav ul li:hover a {
    color: var(--rosa-scuro);
}

.navbar a {
    color: var(--grigio-testo);
    position: relative;
    padding: 5px 3px;
    display: block;
    font-weight: 500;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: color 0.3s, transform 0.5s;
}

.navbar a:hover{
    display: block;
    color: var(--rosa-scuro);
    background: none;
    transform: translateY(-2px);
}

nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
}

nav ul li:hover ul {
    display: block;
    width: 12rem;
    scale: 1;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    border-top: 1px solid rgb(204, 204, 204);
    box-shadow: 0 4px 10px rgba(101, 33, 65, 0.3);
    margin-top: 0;
    padding: 0.75rem;
    animation: ul_animation 0.62s;
}

@keyframes ul_animation {
    0% {
        scale: 0.925;
    }
    70% {
        scale: 1;
        transform: translateY(0);
    }
}

nav ul li:hover ul li{
    padding: 0 !important;
}

nav ul li:hover ul a {
    text-shadow: none;
    color: rgb(32, 32, 32);
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 300;
    padding: 0.5rem 0.25rem 0.25rem !important;
}

nav ul li:hover ul a:hover {
    transform: translateX(6px) !important;
    color: var(--rosa-scuro);
    text-shadow: 0 0 25px rgb(255, 255, 255);
}

nav ul li div ul{
    width: 7.5rem !important;
    justify-items: center;
    display: flex !important;
    flex-direction: column !important;
    color: white;
    margin-top: 0.5rem !important;
    opacity: 0;
    transition: 0.5s;
}

nav ul li div ul li a{
    display: none;
}

nav ul li div:hover ul li a{
    text-shadow: none;
    opacity: 0;
    color: rgb(32, 32, 32);
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 300;
    padding: 0.5rem 0.25rem 0.25rem !important;
}

nav ul li div i:hover ul li a:hover{
    transform: translateY(-3px) !important;
    color: var(--rosa-scuro);
    text-shadow: 0 0 25px rgb(255, 255, 255);
}

.get-started{
    text-align: center;
    align-items: center;
    justify-items: center;
    justify-content: center;
    background: none;
    border-radius: 25px;
    transition: 0.3s;
    padding: 0 !important;
    width: min-content;
}

.get-started + ul {
    width: 7.5rem !important;
    justify-items: center;
    margin-left: -2rem !important;
}

.get-started + ul li{
    width: 7.5rem !important;
    justify-items: center;
    display: flex !important;
    flex-direction: column !important;
}

.get-started a:hover {
    color: #d63384;
    transform: translateY(-1px);
    text-shadow: transparent 0 0 !important;
}

.get-started:hover {
    color: #d63384;
}

/* ----------------------------------------------------------------------------------------------------------------------- */

/* CARD SUBJECTS */
.div-cards {
    margin: 1rem auto 5rem;
    border-radius: 3rem;
    width: 95%;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .div-cards {
        padding-left: 0.2rem; /* lg:px-8 */
        padding-right: 0.2rem;
    }
}

.card {
    display: grid;
    padding: 10px;
    border-radius: 2rem;
    transform: scale(1);
    transition: 0.5s;
    justify-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(1.5px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    justify-content: center;
}

.card:hover {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.93);
    transform: translateY(-12px);
}

.card h3{
    margin-top: 0   ;
}

.glass-div{
    border-radius: 2rem;
    align-items: center;
    justify-items: center;
    display: flex;
    flex-direction: column;
}

/* ----------------------------------------------------------------------------------------------------------------------- */

/* SIGN UP INVITE */
.general-div ul {
    padding-bottom: 2rem;
}

.general-div ul li {
    font-weight: 200;
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    text-align: justify;
    padding-left: 0.5rem;
    list-style-type: disc;
}

/* FOOTER & SOCIALS */
.discord {
    color: white;
    position: relative;
    display: inline-flex;
}

.telegram{
    color: white;
    position: relative;
    display: inline-flex;
}

.whatsapp {
    color: white;
    position: relative;
    display: inline-flex;
}

.social{
    width: 20%;
    height:70px;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: center;
    justify-items: center;
    position: absolute;
    right: 0.5%;
    margin-top: 20px;
    padding: 25px 25px;
}

.social a i {
    font-size: 26px !important;
}

.site_footer_copyright {
    width: 100%;
    position: relative;
}

.footer {
    padding-top: 65px !important;
    padding-bottom: 40px !important;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgb(17 24 39 / 1);
    backdrop-filter: blur(15px);
    z-index: 2;
    align-content: center;
    align-items: center;
    justify-items: center;
    box-shadow: 0 0 29px 15px rgb(126 88 88 / 42%);
    gap: 30%;
}

.footer:hover {
    cursor: default;
}

.footer a {
    width: min-content;
    padding: 0 1rem !important;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

#logo-footer {
     width: 3% !important;
     padding: 0 !important;
     margin-left: 6rem;
     margin-right: 2rem;
 }

#logo-footer:hover {
    transform: none !important;
}

.footer_rights {
    margin-top: 10px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: center;
    justify-items: center;
    gap: 45%;
}

.footer_social {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 87.5%;
    position: relative;
}

.footer_social h1 {
    width: 50%;
    text-align: left;
    font-size: 50px;
    letter-spacing: 1px;
    font-weight: 700;
    position: absolute;
    left: 10rem;
    color: #fcf3ed;
}

.footer a span {
    color: white;
    text-align: center;
    opacity: 0;
    transition: 0.5s;
}

.footer a:hover {
    transform: translateY(-10px);
}

.footer a:hover span {
    opacity: 1;
}

.rights {
    color: var(--grigio-chiaro) !important;
    font-size: 1rem;
}

.br_rights {
    display: none;
}

.footer_divider {
    margin-top: 2rem;
    margin-bottom: 0.25rem;
    width: 95%;
    border: var(--grigio-chiaro) 0.5px solid;
}

/* ----------------------------------------------------------------------------------------------------------------------- */

/* EXPLORE */
#explore-path {
    height: fit-content;
    width: fit-content;
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 1.25rem;
    padding: 8.5px 9.5px 4.25px;
    justify-content: left;
    background: rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

#explore-path:hover {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.93);
    transform: none !important;
}

#explore-path a {
    font-size: 1rem;
    width: 100%;
    font-weight: 200;
    margin-bottom: 0.25rem;
}

#explore-path a:hover {
    cursor: pointer;
}

aside a {
    margin-bottom: 0 !important;
}

#folders-div {
    position: absolute;
    max-height: 0;
    min-width: 0;
    opacity: 0;
    overflow-x: hidden;
}

.folders-div{
    flex-direction: column;
    transition: opacity 1s ease;
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1.75rem;
}

#folders-div::-webkit-scrollbar {
    width: 8px;
    border-radius: 10px;
}

#folders-div::-webkit-scrollbar-track {
    border-radius: 10px;
    margin-right: 1rem;
    background-color: transparent;
}

#folders-div::-webkit-scrollbar-thumb {
    background: var(--grigio-testo);
    border-radius: 10px;
}

.a-folder {
    border-radius: 0.5rem;
    margin-bottom: 10px;
    margin-top: 10px;
    text-decoration: none;
    font-size: 25px;
    background: none;
    border: none;
    text-align: justify !important;
    transition: 0.5s;
    width: 100% !important;
    margin-left: 0.75rem;
    display: flex;
    gap: 0.5rem;
}

.drop-down_folders{
    width: 70% !important;
    display: flex !important;
    flex-direction: column;
    height: fit-content !important;
    opacity: 1 !important;
    gap: 0.25rem;
    margin-left: 1.25rem;
}

.drop-down_folders a{
    font-size: 15px !important;
    padding-left: 0.5rem !important;
    margin-bottom: 0 !important;
    opacity: 1 !important;
}

.main-explore{
    width: 100%;
    height: 100%;
    background: #1a1a1a;
}

.div-search-input{
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    box-shadow: none !important;
    transform: none !important;
    height: 2.5rem !important;
}

.div-search-input:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.93);
    transform: none !important;
}

#span-search-input{
    position: absolute;
    max-height: 0;
    min-width: 0;
    opacity: 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.search-input{
    backdrop-filter: none !important;
    border: none !important;
    transform: none !important;
    background: transparent !important;
    color: var(--grigio-testo);
    caret-color: var(--rosa-scuro);
    height: 1rem;
}

.search-input:hover{
    cursor: text;
    box-shadow: none !important;
    background: transparent !important;
}

.search-input::-webkit-input-placeholder {
    color: var(--grigio-testo);
}

.search-input::-moz-placeholder {
    color: var(--grigio-testo);
}

.search-input:focus {
    outline: none !important;
    color: var(--grigio-testo);
    caret-color: var(--rosa-scuro);
    -webkit-text-fill-color: var(--grigio-testo);
}

.div-search-input:has(.search-input:focus) {
    box-shadow: 0 4px 10px rgba(101, 33, 65, 0.3);
}

.search-input:focus + #delete-button {
    opacity: 1 !important;
}

.fa-magnifying-glass:hover{
    cursor: pointer !important;
}

.search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.filters-div {
    display: flex;
    flex-direction: row;
    justify-items: center;
    max-height: 0;
    max-width: 0;
    margin-left: 19.5rem;
    gap: 0.5rem;
    position: absolute;
}

.filters{
    opacity: 0;
    padding: 4.5px 11px 4.5px;
    display: inline-block;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    transform: scale(1) !important;
}

.filters:hover {
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.filters:active {
    transform: scale(1.1) !important;
}

.filters.clicked {
    background: #df61d3 !important;
    color: white !important;
}

.div-search-input span {
    color: black;
    position: absolute;
    text-align: center;
    opacity: 0;
    transition: 0s ease;
}

.div-search-input:hover span {
    position: relative;
    opacity: 1;
    transition: opacity 1s ease;
}

#div-settings {
    height: fit-content;
    width: fit-content;
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 1.25rem;
    padding: 6px 15px 6px;
    justify-content: left;
    background: rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

#div-settings:hover {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.93);
    transform: none !important;
}

#div-settings a {
    font-size: 1rem;
    width: 100%;
    font-weight: 200;
    margin-bottom: 0.25rem;
}

#div-settings a:hover {
    cursor: pointer;
}

.div-settings{
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    transform: none !important;
}

.div-settings:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.93);
    transform: none !important;
}

#folders-settings-div {
    position: absolute;
    max-height: 0;
    min-width: 0;
    opacity: 0;
    overflow-x: hidden;
    margin-bottom: 0 !important;
}

#folders-settings-div::-webkit-scrollbar {
    width: 8px;
    border-radius: 10px;
}

#folders-settings-div::-webkit-scrollbar-track {
    border-radius: 10px;
    margin-right: 1rem;
    background-color: transparent;
}

#folders-settings-div::-webkit-scrollbar-thumb {
    background: var(--grigio-testo);
    border-radius: 10px;
}

#a-settings-button{
    display: flex;
    flex-direction: row;
    justify-content: right;
}

#title-explore{
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid var(--rosa-scuro);
    animation:
            typing_2 2s steps(12) forwards,
            blink-caret 0.75s step-end infinite;
}

@keyframes typing_2 {
    from{
        width: 0;
    }
    to{
        width: 11.25ch;
    }
}

.grid-1 {
    padding-top: 5ch;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 3rem; /* spazio tra le sezioni */
    width: 80vw;
    height: auto;
    color: white !important;
}

.articles {
    max-height: 100%;
    padding: 0.75rem;
}

.articles:hover {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(1.5px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    transform: translateY(0) scale(1.1) !important;
}

.grid-1 .get-started i {
    background: transparent;
    transition: 0.5s ease;
}

.grid-1 .get-started:hover {
    color: white !important;
}

.grid-1 .get-started:hover i {
    border-radius: 9999px;
    background: var(--rosa-scuro);
}

.attached {
    border-radius: 2rem;
    max-width: 50%;
    min-width: 30%;
    max-height: 15rem;
}

.social-button {
    scale: 1;
}

.social-button:active {
    transform: scale(1.2);
}

.clicked-2 {
    color: #df61d3 !important;
    background: transparent !important;
}

.social-div {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    width: 100%;
    justify-content: center;
    padding-top: 0.25rem;
}

.blur-div {
    position: absolute;
    z-index: 2000;
    top: 0;
    right: 0;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    justify-content: center;
    transition: opacity 1s ease;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(2.5px);
}

.comment-input {
    border-radius: 2rem;
    width: 25rem;
    background: transparent;
    color: white;
}

.comment-input:focus {
    outline: none;
}

#comments::-webkit-scrollbar {
    width: 8px;
    z-index: 0;
    border-radius: 10px;
}

#comments::-webkit-scrollbar-track {
    border-radius: 10px;
    margin-right: 1rem;
    background-color: transparent;
}

#comments::-webkit-scrollbar-thumb {
    background: var(--grigio-testo);
    border-radius: 10px;
}




