/*----------- HEADER -----------*/
.contenitore-principale{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--clr-body-light);
}

.nav-bar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-bar .logo{
    height: 125px;
    width: fit-content ;
    align-self: center;
}

.contenitore-menu a.active{
    text-decoration: underline;
    color: var(--clr-menu-hover)
}

.nav-bar ul{
    display: flex;
    margin: 0;
    list-style: none;
    padding: 0;
}

.nav-bar ul li{
    justify-content: center;
    align-items: center;
    display: flex;
    width: fit-content;
    padding: 0 16px;
}

.nav-bar ul li a{
    color: var(--clr-menu);
    display: block;
    font-size: 14px;
    transition: color 0.6s ease;
}

.nav-bar ul li a:hover{
    color: var(--clr-menu-hover)
}
/*----------- COVER -----------*/
.home{
    background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0)),url(../img/cover/cover_orizzontale.jpg);
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center;
    margin-top: 125px;
}

.home__image,
.home__description,
.home__scroll-box{
    visibility:hidden;
}

.home__container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 20px;
    /*height: 616px; /* Modificato per farlo vedere bene*/
    height: 735px; /* Modificato per farlo vedere bene*/
}

.home__image{
    width: 400px;
}

.home__description{
    display: grid;
    text-align: center;
    justify-items: center;
    color: #ffffff;
    margin-bottom: 2rem;
    font-size: var(--font-cover-dkt);
    font-family: lobster;
    font-weight: 400;
}

.noto{
    font-family: Noto Serif Vithkuqi;
    font-size: var(--font-cover-dkt);
}
/*----------- SCROLL -----------*/
.home__scroll {
    display: block;
    width: max-content;
    margin: 0 auto;
}

.home__scroll-text{
    display: none;
}

.home__scroll-box{
    margin-top: 15px;
    background-color: var(--main-color);
    color: white;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    font-size: 1rem;
    cursor: pointer;
    overflow: hidden;
    transition: background-color .4s;
}

.home__scroll-box i{
    animation: scroll-down 3s infinite;
}
/*----------- ANIMAZIONE SCROLL -----------*/
@keyframes scroll-down{
    0%{
        transform: translateY(-1rem);
        opacity: 0;
    }
    50%{
        transform: translateY(0);
        opacity: 1;
    }
    100%{
        transform: translateY(.6rem);
        opacity: 0;
    }
}
/*----------- SMARTPHONE/TABLET -----------*/
@media screen and (min-width: 1921px) {
    .home__container{
        height: 1090px; /* Modificato per farlo vedere bene*/
    }
}
@media screen and (max-width: 1120px) {
    .home__image{
        width: 290px;
    }

    .home__description{
        font-size: var(--font-cover-tbt);
    }
    
    .noto{
        font-family: Noto Serif Vithkuqi;
        font-size: var(--font-cover-tbt);
    }
    .home__container{
        height: 597px; /* Modificato per farlo vedere bene*/
    }   
}
@media screen and (max-width: 768px) {
    .home{
        background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0)),url(../img/cover/cover_verticale.jpg);
        background-repeat: no-repeat;
        background-size:contain;
        background-position: center;
        margin-top: 125px;
    }

    .home__container{
        height: 393px; /* Modificato per farlo vedere bene*/
    }

    .home__image{
        width: 210px;
    }

    .home__description{
        font-size: var(--font-cover-mb);
    }
    
    .noto{
        font-family: Noto Serif Vithkuqi;
        font-size: var(--font-cover-mb);
    }

    .home__scroll-box{
        margin-top: 75px;
    }
}
@media screen and (max-width: 375px) {
    .home{
        background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0)),url(../img/cover/cover_verticale.jpg);
        background-repeat: no-repeat;
        background-size:contain;
        background-position: center;
        margin-top: 125px;
    }

    .home__container{
        height: 375px /* Modificato per farlo vedere bene*/
    }

    .home__image{
        width: 210px;
    }

    .home__description{
        font-size: var(--font-cover-mb);
    }
    
    .noto{
        font-family: Noto Serif Vithkuqi;
        font-size: var(--font-cover-mb);
    }
}