@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
/*font-family: "Lato", sans-serif; font-family: "Montserrat", sans-serif;*/
:root{
    --primary: #00465C;
    --primaryLight: #006E90;
    --secondary: #FFFFFF;
    --titleColor: rgba(255, 255, 255, 0.384);
    --placeHolder: #7A7A7A;
    --textDark: #000000;
    --textLight: #FFFFFF;
    --title: "Montserrat", sans-serif;
    --text: "Lato", sans-serif;
}
h1,h2,h3,h4,h5,h6{
    margin: 0px;
}
h1{
    font-family: var(--title);
    font-size: 56px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--titleColor);
}
h2{
    font-family: var(--title);
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--titleColor);
}
h3{
    font-family: var(--title);
    font-size: 46px;
    font-weight: bold;
    color: var(--textLight);

}
h4{
    font-family: var(--title);
    font-size: 24px;
    font-weight: bold;
    color: var(--textLight);

}
h5{
    font-family: var(--text);
    font-size: 24px;
    font-weight: 500;
    color: var(--textLight);

}
p{
    font-family: var(--text);
    font-size: 16px;
    font-weight: normal;
    color: var(--textLight);
    margin: 0px;
}
.footerText{
    font-size: 14px;
    color: var(--textLight);
}
.titoloCard{
    font-family: var(--title);
    font-size: 16px;
    font-weight: bold;
    color: var(--textDark);
}
.testoCard{
    font-family: var(--text);
    font-size: 14px;
    font-weight: normal;
    color: var(--textDark);

}
a{
    text-decoration: none;
}
.secondaryFill{
    padding: 10px 24px;
    background-color: var(--secondary);
    border-radius: 6px;
    font-family: var(--text);
    font-weight: bold;
    font-size: 16px;
    color: var(--primary);
    text-transform: uppercase;
}
.secondaryGhost{
    padding: 10px 24px;
    border-radius: 6px;
    font-family: var(--text);
    font-weight: bold;
    font-size: 16px;
    color: var(--primary);
    text-transform: uppercase;
}
.primaryFill{
    padding: 10px 24px;
    background-color: var(--primary);
    border-radius: 6px;
    font-family: var(--text);
    font-weight: bold;
    font-size: 16px;
    color: var(--secondary);
    text-transform: uppercase;
}
.primaryGhost{
    padding: 10px 24px;
    border-radius: 6px;
    font-family: var(--text);
    font-weight: bold;
    font-size: 16px;
    color: var(--secondary);
    text-transform: uppercase;
}
.cardBianca{
    width: 238px;
    height: auto;
    min-height: 357px;
    border-radius: 4px;
    border: 5px solid black;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color:#DFDFDF ;
}
.cardBiancaSection{
    width: 100%;
    padding: 10px;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cardBiancaSection img{
    width: 25px;
}
.cardBiancaSection2{
    width: 100%;
    padding: 10px;
    background-color: white;
}
.cardArtefatto{
    width: 238px;
    height: auto;
    min-height: 357px;
    border-radius: 4px;
    border: 5px solid black;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color:#C0C0C0 ;
}
.cardArtefattoSection{
    width: 100%;
    padding: 10px;
    background-color: #DFDFDF;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cardArtefattoSection img{
    width: 25px;
}
.cardArtefattoSection2{
    width: 100%;
    padding: 10px;
    background-color: #DFDFDF;
}
.cardSkills{
    width: 238px;
    height: auto;
    min-height: 357px;
    border-radius: 4px;
    border: 5px solid black;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color:#8FC2FF ;
}
.cardSkillsSection{
    width: 100%;
    padding: 10px;
    background-color: #DAEAFC;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cardSkillsSection img{
    width: 25px;
}
.cardSkillsSection2{
    width: 100%;
    padding: 10px;
    background-color: #DAEAFC;
}
.cardLavori{
    width: 238px;
    height: auto;
    min-height: 357px;
    border-radius: 4px;
    border: 5px solid black;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color:#9FDBED ;
}
.cardLavoriSection{
    width: 100%;
    padding: 10px;
    background-color: #D7F6FF;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cardSkillsLavori img{
    width: 25px;
}
.cardLavoriSection2{
    width: 100%;
    padding: 10px;
    background-color: #D7F6FF;
}
.cardPassione{
    width: 238px;
    height: auto;
    min-height: 357px;
    border-radius: 4px;
    border: 5px solid black;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color:#54AEC9 ;
}
.cardPassioneSection{
    width: 100%;
    padding: 10px;
    background-color: #90DAF1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cardPassioneLavori img{
    width: 25px;
}
.cardPassioneSection2{
    width: 100%;
    padding: 10px;
    background-color: #90DAF1;
}
.cardAtt{
    width: 238px;
    height: auto;
    min-height: 357px;
    border-radius: 4px;
    border: 5px solid black;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color:#9FDBED ;
}
.cardAttSection{
    width: 100%;
    padding: 10px;
    background-color: #D7F6FF;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cardAttSection img{
    width: 25px;
}
.cardAttSection2{
    width: 100%;
    padding: 10px;
    background-color: #D7F6FF;
}


.immagineCard{
    width: 100%;
    height: 156px;
}
.img100{
    width: 100%;
    height: 100%;
}
.imgH100{
    height: 100%;
    margin-left: 50%;
    transform: translateX(-50%);
}

#sfondo{
    background: rgb(0,70,92);
    background: linear-gradient(164deg, rgba(0,70,92,1) 0%, rgba(0,109,143,1) 31%, rgba(0,148,194,1) 69%, rgba(235,235,235,1) 100%);
    z-index: -1;
    height: 100vh;
    width: 100%;
    position:fixed;
}
#headerMobile{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    background-color: var(--primary);
    padding: 10px 16px;
    width: 100%;
    height: 80px;
}
#hamMenu{
    width: 35px;
    height: 30px;
    position: relative;
}
#hamMenu span{
    width: 100%;
    height: 4px;
    background-color: var(--secondary);
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 6px;
    transform-origin: left;
    transition: all ease-in .3s .1s;
}
#hamMenu span:nth-of-type(2){
    top: 10px;
}
#hamMenu span:nth-of-type(3){
    top: 20px;
}
#hamMenu.open span:nth-last-of-type(2){
	left:-100%;
	opacity: 0;
}
#hamMenu.open span:nth-last-of-type(1){
	transform: rotate(-45deg);
}
#hamMenu.open span:nth-last-of-type(3){
	transform: rotate(45deg);
    top: -5px;
}
#menuMobile{
    background-color: var(--primary);
    width: 100%;
    height: 100vh;
    position: fixed;
    transition: all ease-in-out .3s .1s;
    margin-top: 80px;
    top: 0;
    right: 0;
    bottom: 0;
    left: -100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-top: 50%;
}
@keyframes comparsa{
    0%{transform: rotatex(0deg); left: -250%;}
    100%{transform: rotatex(360deg); left: 0%;}
}
.comparsa{
    animation: comparsa 1.8s .1s  ease-out normal;
    position: relative;
}
#headerDesk{
    padding: 16px 32px;
}

#heroContainer{
    display: flex;
    align-items: center;
    justify-content: center;

}
#hero{
    margin-top: 80px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 10px;
}
#heroIcons{
    max-width: 360px;
    display: flex;
    justify-content: space-evenly;
}
#heroIcons img{
    width: 60px;
}
.testoAncora{
    position: relative;
    width: 100%;
}
.testoSovrapposto{
    position: absolute;
    top: 60%;
}
.mtTestoHero{
    margin-top: 80px;
}
#chiSono{
    padding: 60px 10px;
}
#skills{
    padding: 60px 10px;
}
#portfolio{
    padding: 60px 10px;
}
#portfolio button{
    margin-top: 120px;
}
.swiper{
    width: 100%;
    height: 400px;
}
.swiper-slide{
    width: 100%;
    height: 100%;
}

#footerMain{
    padding: 32px 8px;
    width: 100%;
    background-color: var(--primary);
}
#footerMain h4{
    padding-left: 18%;
    padding-top: 6%;
}
#footerMain h6{
    color: var(--textLight);
}
#footerMain a{
    display: flex;
    align-items: center;
    gap: 6px;
}
#formFoot{
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
    padding: 16px;
    border-radius: 6px;
    background-color: var(--primaryLight);
    display: flex;
    flex-direction: column;
    align-items: center;
}
#nomeF{
    width: 100%;
    border-radius: 6px;
    background-color: var(--secondary);
    padding: 8px;
    border: 2px solid var(--primary);
    margin-bottom: 8px;
}
#emailF{
    width: 100%;
    border-radius: 6px;
    background-color: var(--secondary);
    padding: 8px;
    border: 2px solid var(--primary);
    margin-bottom: 8px;
}
#messaggioF{
    width: 100%;
    border-radius: 6px;
    background-color: var(--secondary);
    padding: 8px;
    border: 2px solid var(--primary);
    margin-bottom: 8px;
}
#accettazioneF{
    width: 100%;
    padding: 8px;
}

#subFooter{
    background-color: var(--primaryLight);
    width: 100%;
    padding: 16px  0px;
}

/* inizio della pagina chi sono */
#heroChiSono{
    padding: 60px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
}
#about{
    padding: 60px 10px;
}
#hobby{
    padding: 60px 10px;
}

/* inizio della pagina skills */
#heroSkills{
    padding: 60px 10px;
    margin-top: 80px;
}
#linguaggiWebMobile{
    padding: 60px 10px;
}
#linguaggiWebDesk{
    display: none;
}
#softwareMobile{
    padding: 60px 10px;
}
#softwareDesk{
    display: none;
}
#attestatiMobile{
    padding: 60px 10px;
}
#attestatiDesk{
    display: none;
}

/* inizio della pagina portfolio */
#lavoriDesign{
    margin-top: 80px;
    padding: 60px 10px;
}
#titoloDesign{
    padding: 50px 0px;
}
#lavoriDesign .swiper{
    height: 900px;
    max-width: 320px;
}
#lavoriCodice{
    padding: 60px 10px;
}
#titoloCodice{
    padding: 50px 0px;
}
#lavoriCodice .swiper{
    height: 900px;
    max-width: 320px;
}

/* inizio della pagina grazie */
#graziePag{
    padding: 0px 20px;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#errorPag{
    padding: 0px 20px;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


@media(min-width:576px){
    h1{
        font-size: 96px;
    }
    h2{
        font-size: 48px;
    }
    h3{
        font-size: 64px;
    }
    h4{
        font-size: 32px;
    }
    h5{
        font-size: 32px;
    }
    p{
        font-size: 16px;
    }
    
    .footerText{
        font-size: 14px;
    }
    #menuMobile{
        padding-top: 25%;
    }
    #heroContainer{
        width: 100%;
        height: 100vh;
        padding:0px 10%;
    }
    #hero{
        margin-top: 80px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 60px 32px;
    }
    #chiSono{
        margin: 100px 80px;
    }
    #skills{
        margin: 100px 80px;
    }
    #portfolio{
        margin: 100px 80px;
    }
    #footerMain h4{
        padding-left: 18%;
        padding-top: 1%;
    }

    #heroChiSono{
        padding: 100px 32px;
    }
    #about{
        padding: 100px 80px;
    }
    #hobby{
        padding: 100px 80px;
    }

    #heroSkills{
        padding: 100px 32px;
    }
    #linguaggiWebMobile{
        padding: 100px 32px;
    }

    #lavoriDesign{
        margin-top: 80px;
        padding: 100px 80px;
    }
    #titoloDesign{
        padding: 50px 0px;
    }
    #lavoriDesign .swiper{
        height: 900px;
        max-width: 400px;
    }
    #lavoriCodice{
        padding: 100px 80px;
    }
    #titoloCodice{
        padding: 50px 0px;
    }
    #lavoriCodice .swiper{
        height: 900px;
        max-width: 400px;
    }
    #graziePag{
        padding: 0px 80px;
    }
    #errorPag{
        padding: 0px 80px;
    }
}
@media(min-width:768px){}
@media(min-width:992px){
    h1{
        font-size: 160px; /*hero title*/
    }
    h2{
        font-size: 48px; /*titolo section*/
    }
    h3{
        font-size: 80px; /*hero*/
    }
    h4{
        font-size: 32px; /*title section*/
    }
    h5{
        font-size: 32px; /*hero subtitle*/
    }
    p{
        font-size: 18px;
    }
    .titoloCard{
        font-size: 20px;
    }
    .testoCard{
        font-size: 16px;
    }
    .footerText{
        font-size: 16px;
    }
    #heroContainer{
        width: 100%;
        height: 100vh;
        padding-left: 20%;
    }
    #hero{
        margin-top: 0px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 0px 0px;
    }
    #heroIcons{
        max-width: 400px;
    }
    #heroIcons img{
        width: 80px;
    }
    .testoSovrapposto{
        top: 60%;
    }
    .mtTestoHero{
        margin-top: 40px;
    }
    .cardBianca{
        width: 300px;
        min-height: 450px;
        padding: 16px;
        gap: 20px;
    }
    .cardBiancaSection img{
        width: 30px;
    }
    .immagineCard{
        width: 100%;
        height: 200px;
    }
    .cardArtefatto{
        width: 300px;
        min-height: 450px;
        padding: 16px;
        gap: 20px;
    }
    .cardArtefattoSection img{
        width: 30px;
    }
    .cardSkills{
        width: 300px;
        min-height: 450px;
        padding: 16px;
        gap: 20px;
    }
    .cardSkillsSection img{
        width: 30px;
    }
    .cardLavori{
        width: 300px;
        min-height: 450px;
        padding: 16px;
        gap: 20px;
    }
    .cardLavoriSection img{
        width: 30px;
    }
    .cardPassione{
        width: 300px;
        min-height: 450px;
        padding: 16px;
        gap: 20px;
    }
    .cardPassioneSection img{
        width: 30px;
    }
    .cardAtt{
        width: 300px;
        min-height: 450px;
        padding: 16px;
        gap: 20px;
    }
    .cardAttSection img{
        width: 30px;
    }
    #chiSono{
        height: 100vh;
        margin: 0px;
        display: flex;
        align-items: center;
    }
    #skills{
        height: 100vh;
        margin: 0px;
        display: flex;
        align-items: center;
    }
    #portfolio{
        height: 100vh;
        margin: 120px 0px;
    }
    #portfolio button{
        margin-top: 80px;
    }
    .swiper{
        width: 1000px;
        height: 600px;
    }
    .swiper-slide{
        width: 100%;
        height: 100%;
    }
    #footerMain{
        padding-bottom: 50px;
        margin-top: 250px;
    }
    #footerMain h6{
        color: var(--textLight);
        font-size: 24px;
    }
    #formFoot{
        max-width: 700px;
    }
    #heroChiSono{
        padding: 0px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0px;
        height: 100vh;
    }
    #testoHeroChiSono{
        max-width: 1200px;
    }
    #about{
        padding: 120px 0px;
    }
    #hobby{
        padding: 120px 0px;
    }

    #heroSkills{
        padding: 0px;
        margin-top: 0px;
        height: 100vh;
        display: flex;
        align-items: center; 
    }
    #linguaggiWebMobile{
        display: none;
    }
    #linguaggiWebDesk{
        display: block;
        width: 100%;
        padding: 120px 70px;
    }
    #softwareMobile{
        display: none;
    }
    #softwareDesk{
        display: block;
        width: 100%;
        padding: 120px 70px;
    }
    #attestatiMobile{
        display: none;
    }
    #attestatiDesk{
        display: block;
        width: 100%;
        padding: 120px 70px;
    }

    #lavoriDesign{
        margin-top: 0px;
        padding: 100px 80px;
    }
    #titoloDesign{
        padding: 50px 0px;
    }
    #lavoriDesign .swiper{
        height: 900px;
        max-width: 400px;
    }
    #lavoriCodice{
        padding: 100px 80px;
    }
    #titoloCodice{
        padding: 50px 0px;
    }
    #lavoriCodice .swiper{
        height: 900px;
        max-width: 400px;
    }
}
@media(min-width:1200px){
}