/* -------------------------------------------------------------------------------- */
/* ! Settings */
/* -------------------------------------------------------------------------------- */
/*font*/
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "tussilago", sans-serif;
}

body {
    font-family: "fantabular-sans-mvb", mono;
    font-weight: 400;
    font-style: normal;
}

/*Tavolozza colore*/
:root {
    --primary: #e83b68;
    --secondary: #e4b7e5;
    --light: #faf0ca;
    --accent: #7ebdc2;
    --dark: #63458a;
}

/*Grid system*/
.grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    padding: 10px 20px;
}

/*reset*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.4em;
}

a {
    text-decoration: none;
    color: var(--dark);
    cursor: pointer;
}

a:hover {
    color: var(--accent);
    transform: scale(1.2, 1.2);
    /*non funzionaaa*/
    transition: 0.2s;
}

/*Utility*/
html {
    scroll-behavior: smooth;
}

/* .res {
    width: 100%;
} */

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.clippy {
    clip-path: circle(50% at 50% 50%);
}

/*animazione*/

@keyframes openPanel {
    0% {
        transform: translateY(-100);
    }

    100% {
        transform: translatey(0);
    }
}

/*animazione*/
.animated {
    opacity: 0;
    transform: translateY(80%);
    filter: blur(10px);
    transition: opacity 0.8s ease-out, transform 0.5s ease-out, filter 0.5s ease-out;
}

.animated.visible {
    opacity: 1;
    transform: translateY(0%);
    filter: blur(0);
}

body {
    background-color: #030c2f;
}

/* -------------------------------------------------------------------------------- */
/* ! Mobile first */
/* -------------------------------------------------------------------------------- */
p {
    font-size: 0.8em;
    line-height: 1em;
}

/*Header*/
header {
    height: auto;
    z-index: 3;
    width: 100%;
    height: 50px;
    display: grid;
    grid-column: 1/9;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

header::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    max-height: 100vh;
    top: 0;
    left: 0;
    background: linear-gradient(-45deg, #E83B68 50%, #63458a 100%);
    z-index: 2;
    background-size: 100%;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    animation: shrinkHeader 0.8s cubic-bezier(.42, .31, .52, .9) forwards;
    position: fixed;
    opacity: var(--header-opacity, 1);
    transition: opacity 0.2s;
}

@keyframes shrinkHeader {
    from {
        height: 100vh;
    }

    to {
        height: 50px;
    }
}

/*navigazione*/
.site-nav {
    align-items: center;
}

.site-nav__menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    background-color: var(--secondary);
    z-index: 6;
    position: fixed;
    top: 0;
    left: 0;
    max-height: 0;
    overflow: hidden;
    font-size: 2em;
    font-family: 'tussilago', sans-serif;
    transform: translateY(-100%);
    transition: transform 0.5s ease-in-out;
}

.open .site-nav__menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    max-height: 100vh;
    background-color: var(--secondary);
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: all .4s ease-in-out;
    max-height: 100vh;
    transform: translateY(0);

}

.site-nav>h4 {
    grid-column: 1/3;
    justify-content: left;
    color: white;
    z-index: 6;
    align-items: center;
    text-align: center;
    margin-top: 15px;
    font-size: 0.9em;
    font-weight: 400;
    top: 0;
    filter: drop-shadow(0 0 20px var(--accent));
    position: fixed;
}

.site-nav__lingua {
    grid-column: 9;
    justify-self: end;
    color: white;
    z-index: 6;
    align-items: center;
    text-align: center;
    margin-top: 15px;
    font-size: 0.9em;
    font-weight: 400;
    font-family: "tussilago", sans-serif;
    position: fixed;
    top: 0;
    right: 20px;
}

.site-nav__lingua>a {
    color: white;
}

.site-nav__hamburger {
    cursor: pointer;
    grid-column: 8/9;
    justify-self: end;
    z-index: 3;
    color: white;
    height: 10px;
    width: 30px;
    position: relative;
    transition: 0.25s;
    position: fixed;
    display: none;
}

.site-nav__hamburger span {
    background-color: white;
    height: 1.5px;
    width: 100%;
    position: absolute;
    left: 0;
    border-radius: 20px;
    transition: var(--micro);
    z-index: 3;
}

.site-nav__hamburger span:nth-child(1) {
    top: 0;
    width: 90%;
    /*se voglio sia più piccolo o grande rispetto alle altre*/
    opacity: 1;
}

.site-nav__hamburger span:nth-child(2) {
    top: 5px;
    width: 0%;
}

.site-nav__hamburger span:nth-child(3) {
    top: 5px;
    width: 90%;
    opacity: 1;
}

.site-nav__hamburger span:nth-child(4) {
    top: 10px;
    width: 90%;
    opacity: 1;
}

/*in open*/
.open .site-nav__hamburger {
    transform: rotate(180deg);
}

.open .site-nav__hamburger span:nth-child(1),
.open .site-nav__hamburger span:nth-child(4) {
    width: 0;
    opacity: 0.4;
}

.open .site-nav__hamburger span:nth-child(2) {
    transform: rotate(45deg);
    width: 80%;
    opacity: 1;
}

.open .site-nav__hamburger span:nth-child(3) {
    transform: rotate(-45deg);
    width: 80%;
}

#myBtn {
    display: none;
}

/*hero*/
#content-hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#content-hero>h1 {
    color: white;
    font-size: 2.5em;
    grid-column: 3/7;
    justify-self: center;
    text-align: center;
    font-weight: 500;
    letter-spacing: 2px;
    width: 100%;
    animation: 2s anim-lineUp ease-out 0.2s forwards;
}

@keyframes anim-lineUp {
    0% {
        opacity: 0;
        transform: translateY(80%);
        filter: blur(50px);
        color: white;
    }

    20% {
        opacity: 0;
        filter: blur(30px);
        color: var(--primary);
    }

    50% {
        opacity: 1;
        transform: translateY(0%);
        filter: blur(10px);
        color: var(--secondary);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
        filter: blur(0);
        color: white;
    }
}

#window-foto {
    background-color: var(--dark);
    border-radius: 15px;
    box-shadow: 0 0 20px black;
    grid-column: 3/9;
    justify-self: center;
    margin-top: -15px;
}

#window-foto:hover {
    transform: translate3D(5px, 15px, 10px);
    transition: 0.2s;
}


.window-body>img {
    max-width: 200px;
    border-radius: 15px;

}

.window-header {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background: #20172d;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.window-header-left {
    margin-right: auto;
}

.window-header-button {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 3px;
    border-radius: 8px;
    background: white;
}

.window-header-button.close {
    background: #ed1c6f;
}

.window-header-button.maximize {
    background: #e8e925;
}

.window-header-button.minimize {
    background: #74c54f;
}

.window-header-right {
    display: flex;
}

.window-header-ellipsis {
    width: 3px;
    height: 3px;
    margin-left: 2px;
    border-radius: 8px;
    background: var(--light);
}

.window-body {
    padding: 20px;
}


#citazione>p {
    color: white;
    grid-column: 3/7;
    justify-self: center;
    text-align: center;
    font-family: 'tussilago', sans-serif;
    font-weight: 400;
    font-style: thin;
    animation: 3s anim-lineUp ease-out 0.2s forwards;
    opacity: 0;
}

@keyframes anim-lineUp {
    0% {
        opacity: 0;
        transform: translateY(80%);
    }

    20% {
        opacity: 0;
    }

    50% {
        opacity: 1;
        transform: translateY(0%);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

section {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

#content-about {
    grid-column: 2/8;
    justify-self: center;
    color: white;
    text-align: center;
}

#education {
    width: 100%;
    display: flex;
    flex-direction: column;
}

#content-education,
#content-experience {
    grid-column: 2/8;
    justify-self: center;
}

#content-education h2,
#content-experience h2 {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0px 0px 20px 30px;
}

#content-education h3,
#content-experience h3 {
    font-weight: 400;
}

#content-education h4,
#content-experience h4 {
    font-weight: 500;
}

.content-education,
.content-experience {
    padding: 0px 30px;
    border-left: 2px solid #bababa;
}

#content-education,
#content-experience {
    padding: 10px;
}

#education-text {
    grid-column: 2/8;
    justify-self: center;
    color: white;
    text-align: center;
    height: auto;
    line-height: 1em;
    color: black;
    font-size: 1em;
}

p.degree {
    font-family: 'tussilago', sans-serif;
    font-weight: 500;
    color: var(--dark);
    float: left;
}

p.marks {
    font-size: 0.9em;
}

p.tasks {
    font-size: 0.9em;
}

.box {
    position: relative;
    padding: 20px;
    border: 1px solid #eaeaea;
    background-color: white;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-bottom: 20px;
    border-radius: 8px;
}


.box:hover {
    box-shadow: 0px 3px 12px 0px black;
    border: 1px solid transparent;
}

/* .box::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    left: -39px;
    top: -1px;
    background-color: var(--primary);
    box-shadow: 0 0 10px white;
} */
/* .box::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    left: -20px;
  
    top: calc(50% - 7.5px);
    background-color: var(--primary);
    box-shadow: 0 0 10px white;
    z-index: 4;

} */

.box>h4 {
    color: var(--primary);
    position: relative;
}

.box>h3 {
    font-size: 19px;
    padding: 10px 0px 6px;

}

.box>p {
    line-height: 1.2;
    font-size: 17px;
}

.box>p>span {
    font-weight: 500;
}

.more {
    font-family: 'tussilago', sans-serif;
    font-size: 1em;
    color: var(--dark);
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.more:hover {
    color: var(--accent);
    transform: translateX(5px);
    transition: 0.2s;
}

/*details*/
/* details {

    overflow: hidden;
}


.details-content {
    box-sizing: border-box;
    padding: 0 10px;
    max-height: 300px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: max-height 400ms ease-out, border 0ms 400ms linear;
}

details[open]+.details-content {
    max-height: 2000px;
    border-color: #888;
    transition: max-height 400ms ease-out, border 0ms linear;
} */
:has(> details) {
    /* the details wrapper */
    overflow: hidden;
    /* for when details opens immediate and the wrapper late */
    transition: height 0.3s ease-in-out;
    /* the smooth folding of the wrapper */
}

.slowMotion :has(> details) {
    /* to see how the eye is deceived */
    overflow: initial;
    transition: height 1.5s ease-in-out;
}

summary::marker {
    color: var(--dark);
}

details>p {
    padding: 0 10px;
    transition: height 0.3 ease-in-out;
    font-size: 1em;
    line-height: 1.3em;
}

details>ul {
    padding: 0 40px;
}


#stickynav {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: visible;
    /* Assicura che il contenitore principale abbia overflow visibile */
}

#navbar {
    background-color: white;
    width: 300px;
    height: 50px;
    border-radius: 32px;
    box-shadow: 0 5px 20px var(--accent);
    position: fixed;
    bottom: 30px;
    overflow: hidden;
    z-index: 10;
    transform: translateZ(0);
}

#item-list {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    text-align: center;
    align-items: center;
    height: 100%;
    cursor: pointer;
}

#item-list>.fa-solid {
    font-size: 1.15em;
}

#item-about,
#item-skill,
#item-port,
#item-mail {
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
}

#item-about a,
#item-skill a,
#item-port a,
#item-mail a {
    color: var(--primary);
    text-align: center;
}

#item-name {
    font-size: 0.6em;
    font-weight: lighter;
    transform: translate(0, 50px);
    transition: transform 0.5s ease, opacity 0.2s ease;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    text-align: center;
    position: absolute;
    opacity: 0;
}

#item-about:hover,
#item-skill:hover,
#item-port:hover,
#item-mail:hover {
    color: var(--accent);
    transform: translateY(-6px);
    transition: transform 0.2s ease, color 0.2s ease;
}

#item-about:hover #item-name {
    transform: translate(-8px, 0px);
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 1;
}

#item-skill:hover #item-name {
    transform: translate(-15px, 0px);
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 1;
}

#item-port:hover #item-name {
    transform: translate(-20px, 0px);
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 1;
}

#item-mail:hover #item-name {
    transform: translate(-17px, 0px);
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 1;
}

section {
    padding: 20px 0px;
}

#a-portfolio {
    grid-column: 3/7;
    justify-self: left;
    margin-top: 20px;
}

#a-portfolio>a {
    color: var(--light);
}

.the-arrow {
    width: 1px;
    transition: all 0.2s;
}

.the-arrow.-left {
    position: absolute;
    top: 60%;
    left: 0;
}

.the-arrow.-left>.shaft {
    width: 0;
    background-color: #4c4c4c;
}

.the-arrow.-left>.shaft:before,
.the-arrow.-left>.shaft:after {
    width: 0;
    background-color: #4c4c4c;
}

.the-arrow.-left>.shaft:before {
    transform: rotate(0);
}

.the-arrow.-left>.shaft:after {
    transform: rotate(0);
}

.the-arrow.-right {
    top: 3px;
    display: none;
}

.the-arrow.-right>.shaft {
    width: 1px;
    transition-delay: 0.2s;
}

.the-arrow.-right>.shaft:before,
.the-arrow.-right>.shaft:after {
    width: 8px;
    transition-delay: 0.3s;
    transition: all 0.5s;
}

.the-arrow.-right>.shaft:before {
    transform: rotate(40deg);
}

.the-arrow.-right>.shaft:after {
    transform: rotate(-40deg);
}

.the-arrow>.shaft {
    background-color: #4c4c4c;
    display: block;
    height: 1px;
    position: relative;
    transition: all 0.2s;
    transition-delay: 0;
    will-change: transform;
}

.the-arrow>.shaft:before,
.the-arrow>.shaft:after {
    background-color: #4c4c4c;
    content: "";
    display: block;
    height: 1px;
    position: absolute;
    top: 0;
    right: 0;
    transition: all 0.2s;
    transition-delay: 0;
}

.the-arrow>.shaft:before {
    transform-origin: top right;
}

.the-arrow>.shaft:after {
    transform-origin: bottom right;
}

.animated-arrow {
    display: inline-block;
    color: #4c4c4c;
    font-size: 1.25em;
    font-style: italic;
    text-decoration: none;
    position: relative;
    transition: all 0.2s;
}

.animated-arrow:hover {
    color: #808080;
}

.animated-arrow:hover>.the-arrow.-left>.shaft {
    width: 64px;
    transition-delay: 0.1s;
    background-color: #808080;
}

.animated-arrow:hover>.the-arrow.-left>.shaft:before,
.animated-arrow:hover>.the-arrow.-left>.shaft:after {
    width: 8px;
    transition-delay: 0.1s;
    background-color: #808080;
}

.animated-arrow:hover>.the-arrow.-left>.shaft:before {
    transform: rotate(40deg);
}

.animated-arrow:hover>.the-arrow.-left>.shaft:after {
    transform: rotate(-40deg);
}

.animated-arrow:hover>.main {
    transform: translateX(17px);
    transform: translateX(80px);
}

.animated-arrow:hover>.main>.the-arrow.-right>.shaft {
    width: 0;
    transform: translateX(200%);
    transition-delay: 0;
}

.animated-arrow:hover>.main>.the-arrow.-right>.shaft:before,
.animated-arrow:hover>.main>.the-arrow.-right>.shaft:after {
    width: 0;
    transition-delay: 0;
    transition: all 0.1s;
}

.animated-arrow:hover>.main>.the-arrow.-right>.shaft:before {
    transform: rotate(0);
}

.animated-arrow:hover>.main>.the-arrow.-right>.shaft:after {
    transform: rotate(0);
}

.animated-arrow>.main {
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.animated-arrow>.main>.text {
    margin: 0 16px 0 0;
    line-height: 1;
    font-family: "fantabular-sans-mvb", mono;
}

.animated-arrow>.main>.the-arrow {
    position: relative;
}

.screen {
    position: relative;
    background: var(--dark);
    border-radius: 15px;
    grid-column: 1/9;
    justify-self: center;
}

.screen:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    bottom: 0;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
    z-index: -1;
}

.screen-header {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background: #20172d;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.screen-header-left {
    margin-right: auto;
}

.screen-header-button {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 3px;
    border-radius: 8px;
    background: white;
}

.screen-header-button.close {
    background: #ed1c6f;
}

.screen-header-button.maximize {
    background: #e8e925;
}

.screen-header-button.minimize {
    background: #74c54f;
}

.screen-header-right {
    display: flex;
}

.screen-header-ellipsis {
    width: 3px;
    height: 3px;
    margin-left: 2px;
    border-radius: 8px;
    background: var(--light);
}

.screen-body {
    display: flex;
}

.screen-body-item {
    flex: 1;
    padding: 50px;
}

.screen-body-item.left {
    display: flex;
    flex-direction: column;
}

.app-title {
    display: flex;
    flex-direction: column;
    position: relative;
    color: var(--primary);
    font-size: 26px;
    font-family: 'tussilago', sans-serif;
}

.app-title:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 25px;
    height: 4px;
    background: #ea1d6f;
}

.app-contact {
    margin-top: auto;
    font-size: 8px;
    color: white;

}

.privacy {
    margin-top: auto;
    font-size: 8px;
    color: white;

}

.privacy {
    margin-top: auto;
    font-size: 8px;
    color: white;

    display: flex;
    align-items: center;
}

.privacy input[type="checkbox"] {
    margin-right: 5px;
    /* Spazio tra il checkbox e il testo del label */
}

#a-privacy {
    color: var(--accent);
}

.app-form-group {
    margin-bottom: 15px;
}

.app-form-group.message {
    margin-top: 40px;
}

.app-form-group.buttons {
    margin-bottom: 0;
    text-align: right;
}

.app-form-control {
    width: 100%;
    padding: 10px 0;
    background: none;
    border: none;
    border-bottom: 1px solid var(--light);
    color: var(--light);
    font-size: 14px;
    text-transform: uppercase;
    outline: none;
    transition: border-color .2s;
}

.app-form-control::placeholder {
    color: white;

}

.app-form-control:focus {
    border-bottom-color: var(--light);
}

.app-form-button {
    background: none;
    border: none;
    color: #ea1d6f;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    font-family: 'tussilago', sans-serif;
}

.app-form-button:hover {
    color: #b9134f;
}

@media screen and (max-width: 768px) {
    .screen-body {
        flex-direction: column;
    }

    .screen-body-item.left {
        margin-bottom: 30px;
    }

    .app-title {
        flex-direction: row;
    }

    .app-title span {
        margin-right: 12px;
    }

    .app-title:after {
        display: none;
    }
}

@media screen and (max-width: 992px) {
    .screen-body {
        padding: 40px;
    }

    .screen-body-item {
        padding: 0;
    }
}

#mail {
    margin-bottom: 30px;
}

footer {
    background-color: #010514;
    display: flex;
    flex-direction: column;
    text-align: center;
    color: white;
    width: 100%;
}

footer>h4 {
    grid-column: 2/8;
    justify-self: center;
    padding: 20px 0px;
}

#footer-left,
#footer-mappa,
#footer-legal,
#footer-3,
#footer-4 {
    grid-column: 1/9;
    text-align: center;
    padding: 20px 0px;
}

#footer-contacts {
    text-align: start;
}

#text-footer {
    color: white;
    font-size: 0.7em;
    line-height: 0.5em;
}

#footer-corso {
    text-align: center;
    font-size: 0.9em;
    line-height: 1.5em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#logo-isia {
    margin-top: 10px;
    filter: invert(1);
    width: 150px;
    text-align: end;
}

#corso-text {
    text-align: start;
    margin-top: 10px;
}

#footer-mappa {
    text-align: center;
}

#footer-legal {
    text-align: center;
}

#footer-mappa>ul,
#footer-legal>ul,
#footer-3>ul,
#footer-4>ul {
    list-style-type: none;
}

#footer-3 {
    text-align: center;
}

#footer-4 {
    text-align: center;
    margin-bottom: 70px;
}

#a-footer {
    color: white;
    font-size: 0.8em;
    line-height: 0.75em;
}

#a-footer:hover {
    color: var(--accent);
}

/* -------------------------------------------------------------------------------- */
/* ! Dispositivi medi */
/* -------------------------------------------------------------------------------- */
@media(min-width:769px) {

    /*sticky nav*/
    #navbar {
        width: 350px;
        height: 55px;
    }

    #item-list {
        transform: translateY(-3px);
    }

    #myBtn {
        position: fixed;
        bottom: 40px;
        right: 30px;
        z-index: 3;
        border: none;
        outline: none;
        background-color: var(--primary);
        color: white;
        cursor: pointer;
        padding: 15px;
        border-radius: 50%;
        font-size: 15px;
        text-align: center;
        width: 55px;
        height: 55px;
    }


    .carosello {
        width: 600px;
        max-width: 750px;
        grid-column: 1/9;
        justify-self: center;
        perspective: none;
        transform-style: flat;
        margin: 0;
        margin-top: -30px;
    }

    .carosello .box {
        width: 600px;
        align-self: center;
    }

    #a-portfolio {
        margin-top: 0;
        grid-column: 1/9;
        justify-self: center;
    }

    #footer-4 {
        margin-bottom: 80px;
    }
}

/* -------------------------------------------------------------------------------- */
/* ! Dispositivi large */
/* -------------------------------------------------------------------------------- */
@media(min-width: 992px) {
    p {
        font-size: 1em;
        line-height: 1.2em;
    }

    header {
        z-index: 2;
        height: 70px;
    }

    @keyframes shrinkHeader {
        from {
            height: 100vh;
        }

        to {
            height: 70px;
        }
    }


    .site-nav>h4 {
        grid-column: 1/3;
        justify-self: left;
        color: white;

        font-weight: 400;
        top: 0;
        filter: drop-shadow(0 0 20px var(--accent));
        position: fixed;


        border: none;
        text-align: left;
        font-size: 1.1em;
        margin-top: 20px;
        z-index: 7;
    }

    .site-nav__lingua {
        display: none;
    }

    .site-nav__hamburger {
        display: block;
        cursor: pointer;
        grid-column: 8/9;
        justify-self: end;
        z-index: 3;
        color: white;
        height: 30px;
        width: 50px;
        position: relative;
        transition: 0.25s;
        position: fixed;
        top: 25px;
    }

    .site-nav__hamburger span {
        background-color: white;
        height: 1.5px;
        width: 100%;
        position: absolute;
        left: 0;
        border-radius: 20px;
        transition: var(--micro);
        z-index: 3;
    }

    .site-nav__hamburger span:nth-child(1) {
        top: 0;
        width: 90%;
        opacity: 1;
    }

    .site-nav__hamburger span:nth-child(2) {
        top: 5px;
        width: 0%;
    }

    .site-nav__hamburger span:nth-child(3) {
        top: 5px;
        width: 90%;
        opacity: 1;
    }

    .site-nav__hamburger span:nth-child(4) {
        top: 10px;
        width: 90%;
        opacity: 1;
    }

    /*in open*/
    .open .site-nav__hamburger {
        transform: rotate(180deg);
        top: 10px;
    }

    .open .site-nav__hamburger span:nth-child(1),
    .open .site-nav__hamburger span:nth-child(4) {
        width: 0;
        opacity: 0.4;
    }

    .open .site-nav__hamburger span:nth-child(2) {
        transform: rotate(45deg);
        width: 80%;
        opacity: 1;
    }

    .open .site-nav__hamburger span:nth-child(3) {
        transform: rotate(-45deg);
        width: 80%;
    }

    .open .site-nav__menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        max-height: 100vh;
        background-color: var(--secondary);
        width: 100%;
        height: 100%;
        z-index: 2;
        transition: all .5s ease-in-out;
    }


    #stickynav {
        display: none;
    }

    #myBtn {
        display: none;
        position: fixed;
        bottom: 20px;
        right: 30px;
        z-index: 2;
        border: none;
        outline: none;
        background-color: var(--primary);
        color: white;
        cursor: pointer;
        padding: 15px;
        border-radius: 50%;
        font-size: 18px;
        text-align: center;
        width: 70px;
        height: 70px;
    }

    #myBtn:hover {
        background-color: var(--dark);
        box-shadow: 0 0 10px black;
        font-size: 20px;
    }

    #BtnLang {
        display: none;
        position: fixed;
        bottom: 20px;
        left: 30px;
        z-index: 2;
        border: none;
        outline: none;
        background-color: var(--primary);
        color: white;
        cursor: pointer;
        padding: 15px;
        border-radius: 50%;
        font-size: 18px;
        text-align: center;
        width: 70px;
        height: 70px;
    }

    #education {
        width: 100%;
        display: grid;
    }

    #content-education {
        grid-column: 1/5;
        justify-self: left;
    }

    #content-experience {
        grid-column: 5/9;
        justify-self: end;
    }

    p {
        font-size: 1em;
        line-height: 1.3em;
    }

    #a-portfolio {
        grid-column: 1/9;
        justify-self: center;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    #mail {
        padding: 20vh 0;
    }

    footer {
        display: inline-block;
    }

    footer>h4 {
        font-size: 1.3em;
        grid-column: 1/9;
        justify-self: center;
    }

    #footer-left {
        grid-column: 1/5;
        justify-self: start;
        padding-left: 20px;
    }

    #footer-contacts {
        text-align: start;
    }

    #text-footer {
        color: white;
        font-size: 0.75em;
    }

    #footer-corso {
        margin-top: 10px;
    }

    #footer-corso>p {
        font-size: .75em;
        line-height: 1.5em;
    }

    #logo-isia {
        margin-top: 10px;
        filter: invert(1);
        width: 150px;
    }


    #footer-mappa {
        grid-column: 5/6;
        justify-self: center;
        text-align: start;
    }

    #footer-legal {
        grid-column: 6/7;
        justify-self: center;
        text-align: start;
    }

    #footer-mappa>ul,
    #footer-legal>ul,
    #footer-3,
    #footer-4 {
        list-style-type: none;
    }

    #footer-3 {
        grid-column: 7/8;
        justify-self: center;
        text-align: start;
    }

    #footer-4 {
        grid-column: 8/9;
        justify-self: center;
        text-align: start;
    }

    #a-footer {
        color: white;
        font-size: 0.8em;
        line-height: 0.75em;
    }

    #a-footer:hover {
        color: var(--accent);
    }
}