/* pagina iniziale */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body{
    background-image:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)), url(back2.jfif);
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100vh;
}
nav{
    padding: 50px;
}
.logo{
    float: left;
    padding-left: 15px;
    padding-top: 15px;
}
.logo img {
    height: 100px;
    width: auto;
}
nav ul{
    float: right;
}
nav ul li{
    display: inline-block;
}
nav ul li:not(:first-child){
    margin-left: 48px;
}
nav ul li:last-child{
    margin-right: 28px;
}
nav ul li a{
    display: inline-block;
    color: #B8B8B8;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding-right: 15px;
    padding-top: 25px;
}
nav .items li a:hover{
    color: #ffffff;
}
.heading{
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    width: 100%;
}
.heading p{
    color: #B8B8B8;
    letter-spacing: 2px;
}
.heading h2{
    color: #fff;
    font-size: 4em;
    word-spacing: 7px;
    letter-spacing: 10px;
    text-transform: uppercase;
}
.heading h2 span{
    font-weight: 100;
}
@media only screen and (max-width: 864px){
nav .items li a:hover{
    color: #acacac;
    text-decoration: none;
}
nav{
    padding: 30px 10px;
}
.nav-wrapper{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: -1;
    opacity: 0;
    transition: all 0.2s ease;

}
.nav-wrapper ul{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}
.nav-wrapper ul li{
    display: block;
    width: 100%;
    float: none;
    text-align: right;
    margin-bottom: 10px;
}
.nav-wrapper ul li:nth-child(1) a{
    transition-delay: 0.2s;
}
.nav-wrapper ul li:nth-child(2) a{
    transition-delay: 0.3s;
}
.nav-wrapper ul li:nth-child(3) a{
    transition-delay: 0.4s;
}
.nav-wrapper ul li:nth-child(4) a{
    transition-delay: 0.5s;
}
nav ul li:not(:first-child){
    margin-left: 0;
}
.nav-wrapper ul li a{
    padding: 10px 22px;
    color: #000;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1.2px;
    opacity: 0;
    transform: translateX(-20px);
    transition:all 0.2s ease;
}
.nav-btn{
    position: fixed;
    right: 10px;
    top: 10px;
    width: 48px;
    height: 48px;
    display: block;
    cursor: pointer;
    z-index: 9999;
    border-radius: 50%;
}
.nav-btn i{
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    margin-left: 14px;
}
.nav-btn i:nth-child(1){
    margin-top: 24px;  
}
.nav-btn i:nth-child(2){
    margin-top: 4px;  
    opacity: 1;
}
.nav-btn i:nth-child(3){
    margin-top: 4px;  

}
#nav:checked + .nav-btn{
    transform: rotate(45deg);
}
#nav:checked + .nav-btn i{
    background: #000;
    transition: all 0.2s ease;
}
#nav:checked + .nav-btn i:nth-child(1){
    transform: translateY(6px) rotate(180deg);
}
#nav:checked + .nav-btn i:nth-child(2){
    opacity: 0;
}
#nav:checked + .nav-btn i:nth-child(3){
    transform: translateY(-6px) rotate(90deg);
}
#nav:checked ~ .nav-wrapper{
    z-index: 9990;
    opacity: 1;
}
#nav:checked ~ .nav-wrapper ul li a{
    opacity: 1;
    transform: translateX(0);
}

}
.hidden{
    display: none;
}
.btn{
    border: 1px solid #ffecb3;
    background: none;
    padding: 10px 20px;
    font-size: 20;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    cursor: pointer;
    margin: 10px;
    transition: 0.8s;
    position: relative;
    overflow: hidden;
}
.btn1{
    color:   #fff2cc;
}
.btn1:hover{
    color: #fff;
}
.btn::before{
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 0%;
    background:   #fff2cc;
    z-index: -1;
    transition: 0.8s;
}
.btn1::before{
    top: 0;
    border-radius: 0 0 50% 50%;
}
.btn1:hover::before{
    height: 180%;
}
.btn a{
    text-decoration: none;
    color: #ffecb3;
}
.btn1:hover a {
    color: black;
}