@font-face {
    font-family: 'navbar';
    src: url(fonts/VakonieRegular-2vAMl.otf);
}
@font-face {
    font-family: 'arrow';
    src: url(fonts/arrow.ttf);
}
@font-face {
    font-family: 'descrizioni';
    src: url(fonts/RclArvielDemoRegular-7OnMP.otf);
}
@font-face {
    font-family: 'title';
    src: url(fonts/Utorus-KV9n7.ttf);
}
html{
    scroll-behavior: smooth;
}
body{
    margin: 0;
    color: black;
    background-color: #F8F9FA;
}
.nav{
    list-style-type: none;
    display:inline-flex;
    padding: 0px;
} 
.spaces{
    height:80px;
}
a{
    text-decoration: none;
    color: #F8F9FA;
}
#navbar{
    display: flex;
    justify-content: center;
    height:180px;
    width:100%;
    background-image: linear-gradient(to top, rgba(8,16,198,0), rgba(8,16,198,1));
    margin-bottom: 30%;
}
.img-nav{
    width: 100%;
    height: 700px;
    position: absolute;
    object-fit: cover;
    z-index: -1;
}
.nav-item{
    margin-inline: 20px;
    margin-top: 80px;
    font-size:330%;
    font-family: 'navbar';
}
a:hover{
    color: #464cbd;
}
.logo{
    height:180px;
    width:180px;
    margin-inline: 20px;
    margin-top: 20px;
}
.language{
    margin-top: 30px;
    display: flex;
    align-items: end;
    margin-bottom: 30px;
    
}
#fr, #eng{
    height: 35px;
    border: #E9ECEF solid 2px;
}
#fr{
    display: none;
}


.title1{
    display: flex;
    justify-content: center;
    font-family: 'navbar' !important;
    font-size: 330% !important;
    margin-top: 100px !important;
    color: black !important;
}
.det-cont{
    width: 100%;
    display: flex;
    justify-content: center;
}
.details{
    width: 100%;
    height: auto;
    background-color: #E9ECEF;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 30px;
    margin:30px;
    margin-top: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.descrizione{
    flex: 30%; 
    background-color: #E9ECEF;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.description{
    display: flow-root;
    padding: 30px;
    text-align: justify;
    font-family: 'descrizioni';
    font-size: 18px;
    height: 300px; /*scroll*/
    overflow-x: auto; /*scroll*/
}
.description::-webkit-scrollbar { /*scroll*/
    width: 8px;
    height: 8px;
}
.description::-webkit-scrollbar-thumb { /*scroll*/
    background: #464cbd; 
    border-radius: 10px;
}
.description::-webkit-scrollbar-thumb:hover { /*scroll*/
    background: #353a91; 
}

.photo-des{
    float: right;
    width: 120px;
    height: 150px;
    padding: 10px;
}

.map{
    flex: 30%; 
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.rec-1{
    scroll-behavior: smooth;
    width: 500px;
    display: grid;
    grid-auto-flow: column;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem; 
    padding: 2rem;
    scroll-marker-group: after;
    &::scroll-marker-group{
        display: grid;
        grid-auto-flow: column;
        position: absolute;
        top: 82%;
        background-color: white;
        gap: 1rem;
    }
    
    &::-webkit-scrollbar {
        display: none;
    }
}
.l{
    scroll-snap-align: center;
    &::scroll-marker{
        content: "";
        display: block;
        width: 10px;
        height: 10px;
        background-color: white;
        border-radius: 50%;
        border: 1px solid black;
    }
    &::scroll-marker:hover{
        background-color: #464cbd;
    }
    &::scroll-marker:target-current{
        background-color: #0810c6;
    }
}
.img-rev{   
    width: 500px;
    height: 150px;
}



.contatti{
    flex: 30%; 
    background-color: #E9ECEF;
    font-size: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.a-col{
    color: #212529;
} 
.img-cont{
    width: 40px;
    height: 40px;
}
.conteiner{
    display: grid;
    grid-template-columns: 50px 60px;
}
.info{
    padding: 50px; 
    font-family: 'descrizioni';
    font-size: 20px; 
}


.tour{
    width: 100%;
    display: flex;
    justify-content: center;
}
.tour-cont{
    width: 100%;
    height: auto;
    background-color: #E9ECEF;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 30px;
    margin:30px;
    margin-top:10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.card{
    flex: 20%; 
    background-color: #E9ECEF;
    font-size: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.title{
    width:auto; 
    padding: 10px;
    background-color: #0810c6;
    color: #E9ECEF;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'title';
    font-weight: bolder;
}
#aboutus1{
    font-family: 'title' !important;
}
.card-cont{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'descrizioni';
    text-align: justify;
    position: relative;
}
.img-card{
    width: 100%;
    scroll-snap-align: center;
}
.card-cont:hover .btn-sx, .card-cont:hover .btn-dx  {
        display: block;
}
.btn-sx, .btn-dx{
    font-size: 90px;
    margin-inline: 20px;
    color: #c3c093;
    font-family: 'arrow';
    position: absolute;
    opacity: 40%;
    top: 40%;
}
.carous{
    position:relative; 
    width:50%;
}
.new-car{
    width: 100%;
    height: auto;
    background-color: #F8F9FA;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    display: flex;         
    overflow-x: auto;
    scroll-snap-type: x mandatory; 
    &::-webkit-scrollbar {
        display: none;
    }
}
.btnsx, .btndx{
    font-size: 90px;
    margin-inline: 20px;
    color: #c3c093;
    font-family: 'arrow';
    position: absolute;
    opacity: 40%;
    top: 50%;
}
.btndx{
    right: 0%;    
}
.btnsx:hover, .btndx:hover{
    color: #464cbd;
    opacity: 65%;
}


.btn-sx:hover, .btn-dx:hover{
    color: #464cbd;
    opacity: 65%;
}
.btn-sx{
    left: 0px;
}
.btn-dx{
    right: 0px;
}
.card-car-1, .card-car-2, .card-car-3{
    display: flex;         
    overflow-x: auto;      
    scroll-snap-type: x mandatory; 
    width: 100%;           
    gap: 0;
    &::-webkit-scrollbar {
        display: none;
    }
}
.text{
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.button-74 {
  background-color: #E9ECEF;
  border: 2px solid #0810c6;
  border-radius: 30px;
  box-shadow: #0810c6 4px 4px 0 0;
  color: #0810c6;
  cursor: pointer;
  display: inline-block;
  font-weight: 600;
  font-size: 18px;
  padding: 0 18px;
  line-height: 50px;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  margin-top: 10px;
}
.button-74:hover {
  background-color: #fff;
  color: #464cbd;
}


.grid-rece{
    background-color: #E9ECEF;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 30px;
    margin:30px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.recensione{
    width: 300px;
    height: 140px; 
    background-color: #E9ECEF;
    display: flex;
    flex: 30%;
    justify-content: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.img-prova{
    width: 80%;
    height: 80%;
    object-fit: cover; 
    object-position: center;
}

.cnt{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #E9ECEF;
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, white 10%,white 90%, transparent);
    mask: linear-gradient(90deg, transparent, white 10%,white 90%, transparent);
    
}
.rec-2, .rec-2-1{
    display: flex;
    gap: 2rem;
    padding: 2rem;
}
.rec-2 {
    animation: scroll 20s linear infinite;
}
.rec-2-1{
    animation: scrollr 20s linear infinite;
}
.l1{
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
@keyframes scroll{
    to{
        transform: translate(-10%);
    }
}
@keyframes scrollr{
    to{
        transform: translate(10%);
    }
}

.policy {
    width: 80%;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'title';
    font-weight: bolder;
    font-size: 30px;
    background-color: #E9ECEF;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.doc {
    width: 70%;
    height: 0px;
    text-align: justify;
    display: flex;
    flex-wrap: wrap;
    overflow-x: hidden;
    transition: 0.5s;
}

.cookie{
    background-color: #E9ECEF; 
}
.cookie-title{
    background-color: #0810c6; 
    padding: 10px; 
    display: flex; 
    justify-content: center; 
    color: #E9ECEF; 
    font-family: 'arrow'; 
    font-size: 30px;
}
.cookie-text{
    text-align: justify; 
    padding: 1%;
}

.footer{
    background-color: #212529;
    font-family: 'arrow';
    padding: 20px;
    color: aliceblue;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 15px;
}
.foo-copy{
    display: flex; 
    justify-content: start; 
    flex:33%;
}
.foo-social{
    display: flex; 
    justify-content: end; 
    flex:30%; 
    gap: 10px; 
    font-size: 20px;
}


@media (max-width:1700px) {
    .img-nav{
        height: 600px;
    }
}
@media (max-width:1350px) { 
    .img-nav{
        height: 500px;
    }
    .nav-item{
        margin-inline: 12px;
        font-size:260%;
    }
    #fr, #eng{
        height: 30px;
        margin-bottom: 10px;
    }
}
@media (max-width:1229px) {
    .card{
        flex: 60%;
    }  
    .recensione{
       flex: 40%;
    } 
    .img-nav{
        height: 400px;
    }
}
@media (max-width:1024px) {
    .nav-item{
        margin-inline: 8px;
        font-size:160%;
    }
    .logo{
        height:160px;
        width:160px;
        margin-inline: 15px;
    }
    #fr, #eng{
        height: 22px;
        margin-bottom: 25px;
    }
    
    .descrizione{
        flex: 40%;
    }
    .description{
        font-size: 15px;
    }

    .map{
        flex: 40%;
    }
    .contatti{
        flex: 100%;
    }

    .btnsx, .btndx{
        font-size: 50px;
    }

    .card{
        flex: 50%;
    }

   
    .footer{
        font-size: 12px;
    }
    .recensione{
        flex: 50%;
    }
}
@media (min-width: 768px) {
    .button-74 {
        min-width: 120px;
        padding: 0 25px;
    }   
}
@media (max-width: 768px) {
    .policy {
        font-size: 15px;
        
    }
    .cookie-title{
        font-size: 15px;
    }
    .carous{ 
        width:100%;
    }
}
@media (max-width:674px) {
    .img-nav{
        height: 300px;
    }
    .nav-item{
        margin-inline: 5px;
        margin-top: 60px;
        font-size:110%;
    }
    .logo{
        height:100px;
        width:100px;
        margin-inline: 9px;
    }
    #fr, #eng{
        height: 12px;
        margin-bottom: 55px;
    }
    
    .descrizione{
        flex: 100%;
    }
    .description{
        font-size: 13px;
    }
    .map{
        flex: 100%;
    }

    .img-rev{   
        width: 300px;
        height: 100px;
    }
    .rec-1{
        width: 300px;
    }
    .btn-sx, .btn-dx{
        font-size: 65px;
    }
    .btnsx, .btndx{
        font-size: 30px;
    }

    .card{
        font-size: 10px;
    }
    .title1{
        margin-top: 30px;
    }
    .footer{
        font-size: 10px;
    }
    .button-74 {
        min-width: 25px;
        padding: 0px 20px;
        font-size: 10px;
    }
}
@media (max-width:450px) {
    .img-nav{
        height: 270px;
    }
    .nav-item{
        margin-top: 60px;
        font-size:90%;
    }
    .logo{
        height:70px;
        width:70px;
        margin-top: 30px;
    }
    #fr, #eng{
        margin-bottom: 58px;
    }
    .photo-des{
        width: 90px;
        height: 120px;
        padding: 7px;
    }

    .descrizione{
        flex: 100%;
    }
    .description{
        font-size: 11px;
    }
    .map{
        flex: 100%;
    }
    .img-rev{   
        width: 260px;
        height: 80px;
    }
    .rec-1{
        width: 200px;
    }
    .l::scroll-marker{
        width: 5px;
        height: 5px;
    }
    .btn-sx, .btn-dx{
        font-size: 50px;
    }

    .contatti{
        flex: 100%;
    }
    .info{
        font-size: 10px;
    }
    .policy {
        height: 47px;
    }

    .cookie-title{
        font-size: 15px;
    }
    .cookie-text{
        font-size: 10px;
    }
    
    .foo-copy{
        justify-content: center; 
        flex:90%;
    }
    .foo-social{
        justify-content: center;
        flex:90%;
    }
    .footer{
        font-size: 15px;
    }
}
@media (max-width:420px) {
    .footer{
        font-size: 13px;
    }
    .foo-social{
        font-size: 15px;
    }
    .cookie-title{
        font-size: 12px;
    }
    .cookie-text{
        font-size: 8px;
    }
}