/*STILE GENERALE IN TUTTE LE PAGINE PER MENU E FOOTER*/
/*STILE BODY*/
body{
    margin:0px;
    background: url(../resources/sfondo5.jpg);
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center;
    font-family: Principal;
    overflow-x: hidden;
    box-sizing: border-box;
    background-attachment: fixed;
    -webkit-tap-highlight-color: transparent;
}
/*STILE LINK GENERALE*/
a{
    text-decoration: none;
    color: #744112;
    
      
}
body::-webkit-scrollbar{
    width: 10px;
    background:#FFFEEF;
}
body::-webkit-scrollbar-thumb{
    background: #7c4112 ;
   /* border-radius: 10px; */
}
.turnup{
    display: block;
    width: 40px;
    height: 40px;
    position: fixed;
    background-color: #7c4112;
    cursor: pointer;
    z-index: 10;
    left:auto;
    right: 0px;
    top: 90%;
}
.turnupImg{
    width: 28px;
    margin: auto;
    margin-top:6px;
    transform: rotate3d(0,1,0,10deg);
    display: block;
}
/*FONT GENERALE*/
@font-face{
    font-family: Principal;
    src: url(../resources/NanumMyeongjo-Regular.ttf);
}

/*ANIMAZIONE TITOLO*/
@keyframes startTitleAnimation{
    from{margin-top:0%;opacity: 0;}
    to{margin-top:-4%;opacity: 1;}
}
/*ANIMAZIONE TITOLO PER TELEFONI*/
@keyframes startTitleAnimationLittleMobile{
    from{margin-top:10%;opacity: 0;}
    to{margin-top:-15%;opacity: 1;}
}
/*ANIMAZIONE COMPARSA MENU*/
@keyframes blackanimationpos{
    from{opacity: 0;}
    to{opacity: 0.8;}
}
/*ANIMAZIONE SCOMPARSA MENU*/
@keyframes blackanimationneg{
    from{opacity: 0.9;}
    to{opacity: 0;}
}

/*ANIMAZIONE PER LE OPZIONI DEL MENU*/
@keyframes menuAnimation{
    from{margin-top: 6%;opacity: 0;}
    to{margin-top: 2%; opacity: 1;};
}
/*ANIMAZIONE PER LE OPZIONI DEL MENU PER TELEFONI*/
@keyframes menuAnimationLittleMobile{
    from{margin-top: 14%;opacity: 0;}
    to{margin-top: 10%; opacity: 1;};
}
@keyframes menuAnimationLittleMobileLand{
    from{margin-top: 10%;opacity: 0;}
    to{margin-top: 4%; opacity: 1;};
}
/*ANIMAZIONE PER LE OPZIONI DEL MENU PER TABLET*/
@keyframes menuAnimationBigMobile{
    from{margin-top: 20%;opacity: 0;}
    to{margin-top: 11%; opacity: 1;};
}
/*ANIMAZIONE COMPARSA LINEA SOTTO OPZIONI MENU*/
@keyframes changeLinesWidthAni{
    to{width:130px;}
}
/*ANIMAZIONE SCOMPARSA LINEA SOTTO OPZIONI MENU*/
@keyframes changeLinesWidthAnineg{
    from{width: 130px;}
    to{width:0px;}
}
/*STILE LINEE SOTTO OPZIONI MENU*/
.animationLines{
    width: 0px;
    color: #e7e4ca;
    margin: auto;
    margin-top: 10px;
}
/*CLASSE PER AZNIMAZIONE LINEE MENU(POS)*/
.changeLinesWidth{
    animation: changeLinesWidthAni 0.5s forwards;
}
/*CLASSE PER AZNIMAZIONE LINEE MENU(NEG)*/
.changeLinesWidthneg{
    animation: changeLinesWidthAnineg 0.5s forwards;
}
/*CLASSE PER AZNIMAZIONE MENU(POS)*/
.aniMenu{
    animation: blackanimationpos 1s forwards;
}
/*CLASSE PER AZNIMAZIONE MENU(NEG)*/
.aniMenuNeg{
    animation: blackanimationneg 1s forwards;
}
/* STILE CONTENITORE MENU IN ALTO*/
.fulltitle{
    width:300px;
    height: 30px;
    display: flex;
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translate(-50%,-50%);
    /* margin-top: -130px; 
    margin-left: -150px; */
    z-index: 3;
    /* animation: startTitleAnimation 1s forwards; */
    
}
.fulltitle:hover{
    opacity: 1;
}
/* STILE CONTENITORE SCRITTA TITOLO*/
.titleMenu{
    width:300px;
    height: 30px;
    margin:auto;
    background-color:  #F7F6F4;
    border-radius: 5px;
    flex:1;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
/* STILE SCRITTA TITOLO*/
.title{
    color: #744112;
    text-align: center;
    text-justify: center;
    font-size: 20px;
    margin-top:6px ;
}
/* STILE BOTTONE TITOLO*/
.menuButton{
    background: none;
    border: 0;
    width:0;
    height:30px;
    outline: none;
    flex:0.12;
    cursor:pointer;
    
}
.menuImage{
    width:30px;
    height: 30px;
}
/* STILE MENU APERTO */
.openMenu{
    width:100%;
    height: 100%;
    background-color: black;
    opacity: 0;
    /* border: solid white 20px; */
    position: fixed;
    left: 0;
    top:0;
    display: none;
    z-index: 9999;
    letter-spacing: 5px;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}
/* STILE LISTA OPZIONI ALL'INTERNO DEL MENU*/
.menuList,
.MenuList{
    text-align: center;
    color:white;
    text-decoration: none;
    margin-top: 7%;
    font-size: 35px;
    list-style: none ;
    padding: 0;
}
/* STILE OPZIONE SINGOLA*/
.linkMenu{
   display: block;
    text-decoration: none;
    color:grey;
    width: 200px;
    margin: auto;
    margin-top: 2%;
    animation: menuAnimation 1s forwards;
}
.linkMenu:hover{
    color:white;
}
.linkMenu:active{
    text-decoration: none;
}
.linkMenu:visited{
    text-decoration: none;
}
/* STILE BOTTONE CHIUSURA MENU*/
.xButton{
    float: right;
    background: none;
    width: 40px;
    height: 40px;
    margin-right: 20px;
    border: none;
    cursor: pointer;
    outline: 0;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10000;
}
.ximage{
    width: 30px;
    height: 30px;
}
/* STILE CONTAINER DEL FOOTER*/
.footerContainer{
    width: 100%;
    height: 60%;
    background:#F7F6F4;
    margin-top: 52px;
    padding-bottom: 30px;
}
/* STILE TITOLO FOOTER*/
.footertitle{
    text-align: center;
    color: #744112 ;
    padding-top: 20px;
}
/* STILE PARAGRAFI FOOTER*/
.footerP{
    color:#744112;
    text-align: center;
    padding-top: 10px ;
    letter-spacing: 5px;
}
/* STILE IMMAGINE CON FIRMA FOOTER*/
.footerSign{
    margin:auto;
    display: block;
    width:120px;
    height: 120px;
}
/* STILE BOTTONE NEL FOOTER*/
.footerBTN{
    width: 80px;
    height: 40px;
    display: block;
    border: solid #744112 1px ;
    color: #744112;
    background: none;
    margin: auto;
    overflow: hidden;
     cursor: pointer;
     transition: all 0.5s ease;
     padding-top: 5px;
     position: relative;
     box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
     border-radius: 10px;
     outline: 0;
}
.footerBTN:hover{
    background-color: #744112 ;
    color: #f7f6ed;
    box-shadow: none;
    outline: 0;
    cursor: pointer;
}
/* STILE LINEA FOOTER*/
.footerLine{
    width:70%;
    display: block;
    margin:auto;
}
/*STILI MOBILE*/
@media only screen and (max-width:600px){
    .turnup{
        display: none;
    }
    .fulltitle{
        left: 50%;
        transform: translate(-50%,-50%);
        z-index: 10;
        /* animation: startTitleAnimationLittleMobile 1s forwards; */
    }
    .footerContainer{
        width: 100%;
        height: 450px;
        
    }

    .menuList,
    .MenuList{
        font-size: 22px;
        margin-top: 80px;
        letter-spacing: 3px;
    }
    .openMenu{
        margin-top: 0;
        top: 0;
        height: 100vh;
    }
    .animationLines{
        display: none;
    }
    .linkMenu{
        animation: menuAnimationLittleMobile 1s forwards;
        margin-top: 10%;
        color: white;
    }
}

@media only screen and (min-width:601px) and (max-width:1024px){
    .fulltitle{
        left: 50%;
        transform: translate(-50%,-50%);
        z-index: 10;
    }
    .menuList,
    .MenuList{
        font-size: 32px;
        margin-top: 90px;
        letter-spacing: 4px;
    }
    .linkMenu{
        animation: menuAnimationBigMobile 1s forwards;
        color: white;
        width: 200px;
    }
    .animationLines{
        display: none;
    }
    .footerBTN{
        width:120px;
        height: 60px;
        font-size: 20px;
    }
    .footerP{
        font-size: 20px;
    }
    .footertitle{
        font-size: 30px;
    }

    .openMenu{
        margin-top: 0;
        top: 0;
        height: 100vh;
    }

}
@media only screen and (min-width:600px) and (max-width:1024px) and (orientation:landscape){
    .footerContainer{
        height: 600px;
        width: 100%;
    }
    .menuList,
    .MenuList{
        font-size: 22px;
    }

    .linkMenu{
        animation: menuAnimationLittleMobileLand 1s forwards;
        margin-top: 10%;
        color: white;
    }
   
}
