@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;
}


.container{
    margin: 30px;
    background-color: #E9ECEF;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    gap: 2rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.carous{
    position: relative; 
    width: 70%;
}
.margin{
    flex: 5%; 
}
.margin1{
    flex: 15%; 
}
.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;
    }
}
.btn-sx, .btn-dx{
    font-size: 90px;
    margin-inline: 20px;
    color: #c3c093;
    font-family: 'arrow';
    position: absolute;
    opacity: 40%;
    top: 50%;
}
.btn-dx{
    right: 0%;    
}
.btn-sx:hover, .btn-dx:hover{
    color: #464cbd;
    opacity: 65%;
}
.desc{
    width: 50%;
    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);
}
.img-card{
    width: 100%;
    height: auto;
    scroll-snap-align: center;
}
.description1{
    display: flow-root;
    padding: 50px;
    text-align: justify;
    font-family: 'descrizioni';
    font-size: 18px;
    height: 300px; 
    overflow-x: auto; 
}
.description1::-webkit-scrollbar { 
    width: 8px;
    height: 8px;
}
.description1::-webkit-scrollbar-thumb { 
    background: #464cbd; 
    border-radius: 10px;
}
.description1::-webkit-scrollbar-thumb:hover { 
    background: #353a91; 
}
.detail{
    font-family: 'arrow';
    color: #0810c6;
    font-size: 30px;
    display: flex;
    justify-content: center;
    margin-top: 15px;
}
.title{
    width:auto; 
    padding: 10px;
    background-color: #0810c6;
    color: #E9ECEF;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'title';
    font-weight: bolder;
}


.maps{
    width: 70%;
    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);
    height: 300px;
}
.social{
    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);
    width: 50%;
}
.conteiner{
    display: grid;
    grid-template-columns: 50px 60px;
    
}
.info{
    padding: 50px; 
    font-family: 'descrizioni';
    font-size: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.img-cont{
    width: 40px;
    height: 40px;
}
.a-col{
    color: #212529;
} 
.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;
}

.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;
    }
    .detail{
        font-size: 20px;
    }
}
@media (max-width:1350px) { 
    .img-nav{
       height: 500px;
    }
    .nav-item{
        margin-inline: 12px;
        font-size:260%;
    }
    #fr, #eng{
        height: 30px;
        margin-bottom: 10px;
    }
    .detail{
        font-size: 18px;
    }
}
@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;
    }
    .detail{
        font-size: 12px;
    }
    .description1{
        font-size: 12px;
        padding: 30px;
    }
    .btn-sx, .btn-dx{
        font-size: 50px;
    }
    .info{
        font-size: 15px;
    }


    .footer{
        font-size: 12px;
    }
}
@media (min-width: 768px) {
    .button-74 {
        min-width: 120px;
        padding: 0 25px;
    }
    
}
@media (max-width: 768px) {
    .button-74 {
        min-width: 120px;
        padding: 0 25px;
    }
    .cookie-title{
        font-size: 15px;
    }
}
@media (max-width: 800px) {
    .carous{
        width: 100%;
    }
    .maps{
        width: 100%;
        height: 150px;
    }
    .desc{
        width: 80%;
    }
    .social{
        width: 80%;
    }
}
@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;
    }
    .desc{
        width: 80%;
    }
    .social{
        width: 80%;
    }
    .description1{
        font-size: 15px;
        padding: 20px;
        height: 200px; 
    }
    .detail{
        font-size: 8px;
    }
    .btn-sx, .btn-dx{
        font-size: 30px;
    }
    .info{
        font-size: 10px;
        
    }
    .img-cont{
        width: 30px;
        height: 30px;
    }
    
    .footer{
        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;
    }
    .description1{
        font-size: 10px;
    }
    .detail{
        font-size: 10px;
    }
    .desc{
        width: 100%;
    }
    .social{
        width: 100%;
    }

    
    .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;
    }
    .button-74 {
        font-size: 10px;
    }
    .cookie-title{
        font-size: 12px;
    }
    .foo-social{
        font-size: 15px;
    }
    .cookie-text{
        font-size: 8px;
    }
}