/* Layout Styles */
.back-button {
    position: fixed;
    top: 3vh;
    left: 3%;
    font-size: 2.5vh;
    font-weight: 100;
    z-index: 20;
    text-decoration: none;
    color: #ececec;
}

.back-button:hover {
    color: #ffffff;
}

.footer-menu {
    position: absolute;
    bottom: 70%;
    left: 3%;
    display: flex;
    flex-direction: column;
    gap: 1vh;
    font-size: 2.3vh;
    font-weight: 200;
    padding: 0;
    margin: 0;
    line-height: 1.3;
    align-items: flex-start;
}

.footer-menu-bottom {
    position: absolute;
    bottom: 29%;
    left: 3%;
    display: flex;
    flex-direction: column;
    gap: 1vh;
    font-size: 2.3vh;
    font-weight: 200;
    padding: 0;
    margin: 0;
    line-height: 1.3;
    align-items: flex-start;
}

.footer-menu-bottom-btn {
    background: none;
    border: none;
    color: #171717;
    font-family: 'IBM Plex Sans Condensed', 'Arial Narrow', Arial, sans-serif;
    font-size: 2.3vh;
    font-weight: 200;
    cursor: pointer;
    padding: 0;
    margin: 0;
    text-align: left;
    transition: color 0.3s ease;
}

.footer-menu-bottom-btn:hover {
    color: #d6d6d6;
    font-weight: 300;
    background-color: #171717;
}

.footer-title {
    position: absolute;
    bottom: 89%;
    left: 3%;
    font-size: 10vh;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    text-align: left;
    padding: 0;
    margin: 0;
    z-index: 600;
    cursor: pointer;
}

.footer-subtitle {
    position: absolute;
    bottom: 87%;
    left: 3%;
    font-size: 2.5vh;
    font-weight: 200;
    text-align: left;
    padding: 0;
    margin: 0;
    z-index: 600;
}

.debug-info {
    position: fixed;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 10px;
    font-size: 12px;
    z-index: 1000;
    display: none;
}

/* Modifica al contenitore per ospitare l'icona CSS invece del testo */
.squares-container {
    position: fixed;
    z-index: 1000;
    top: 2.2vh; /* Portato leggermente più su per allinearlo */
    right: 2%;
    cursor: pointer;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    padding: 0 5px; /* Rimosso il padding verticale per alzarlo ulteriormente */
}

/* Primo rettangolo: alto e stretto, svuotato con outline */
.squares-container::before {
    content: '';
    display: block;
    width: 8px;
    height: 22px;
    background-color: transparent;
    border: 2px solid #171717;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

/* Secondo rettangolo: meno alto, svuotato con outline */
.squares-container::after {
    content: '';
    display: block;
    width: 8px;
    height: 14px;
    background-color: transparent;
    border: 2px solid #171717;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

/* Effetto hover opzionale: cambia colore al bordo */
.squares-container:hover::before,
.squares-container:hover::after {
    border-color: #777;
}

.about-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0; 
    left: auto; 
    width: 85vw;
    height: 100vh;
    background-color: #ececec;
    padding: 5vh 0vw;
    box-sizing: border-box;
    z-index: 100001;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: #171717;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
}

.about-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.about-panel h3 {
    margin-top: 0;
    font-size: 2.2vh;
    font-weight: 300;
    text-transform: lowercase;
    margin-bottom: 1.5vh;
    margin-right: 5vw;
}

.about-content {
    display: flex;
    flex-direction: row; 
    align-items: flex-end;
    justify-content: flex-start;
    gap: 3vw; 
    width: 100%;
}

.about-profile-image {
    width: 20vw; 
    height: auto;
    display: block;
    margin-bottom: 0; 
    border-radius: 2px;
}

.about-panel p {
    margin-top: 0;
    font-size: 2vh;
    font-weight: 200;
    line-height: 1.6;
    margin-right: 30vw; 
    flex: 1; 
}

