/* @font-face {
    font-family: 'Audiowide Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Audiowide Regular'), url('Audiowide-Regular.woff') format('woff');
} */

@font-face {
    font-family: 'Audi Type Extended Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Audi Type Extended Bold'), url('Font/AudiType-ExtendedBold_03.woff') format('woff');
    }

@font-face {
    font-family: 'Audi Type Normal';
    font-style: normal;
    font-weight: normal;
    src: local('Audi Type Normal'), url('Font/AudiType-Normal_03.ttf') format('woff');
    }
            
            
    
html {
    scroll-behavior: smooth;
}


body {
    padding: 0;
    margin: 0;
    overflow-x:hidden;
    font-family: 'Audi Type Extended Bold';
}
/************************************************************* NAVBAR************************************************************* */
ul {
    padding: 0;
    margin: 0; 
}

li {
    list-style: none;  
}

 nav a  {
    text-decoration: none;
    color: #fff;
    font-size: 1.1em;  
}

nav {
    text-align: right;
    overflow: hidden;
    position: fixed;
    width: 100%;
    padding: 25px 0;
}

 nav li {
    display: inline;
    padding: 10px 5px;
    margin-right: 15px; 
 }

 nav a:hover {
    opacity: 0.4;
    transition: 0.5s ease-in-out;
 }

 nav a:nth-child(1) {
    transition: 0.4s;
}
 nav a:nth-child(2) {
    transition: 0.4s;
}
 nav a:nth-child(3) {
    transition: 0.4s;
}
 nav a:nth-child(4) {
    transition: 0.4s;
}

 
 #border {
    border: 2px solid #fff;
    border-radius: 12px;
    padding-top:8px;
    padding-bottom:8px;
    padding-right:15px;
    padding-left: 15px;
 } 


 /************************************* MAIN CONTENT *************************************/
 #mainContent {
     margin-bottom: -3%;
 }

 #mainContent #bcImg {
    background: url(media/bc/bc-audi.jpg) no-repeat fixed 50% 50%;
    padding-top: 60px;
    background-size: cover;
    height: 832px;   
}


#mainContent h1 {
    text-align: right;
    margin-right: 5%;
    font-size: 4.5em;
    color: #fff;
    margin-top: 16%;
    text-transform: uppercase;
    font-weight: 400;
    font-family: 'Audiowide Regular';
}

#bcImg #slogan {
    text-align: right;
    margin-right: 5%;
    margin-top: -3%;
    font-style: italic;
    font-size: 1.2em;
    color: #fff;
}

#bcImg #slogan {
Animation-name: glissement;
Animation-delay : 0s ;
Animation-duration : 2.5s ;
Animation-direction: normal;
}

@keyframes glissement{
    
    from {
        margin-left: 10%;
        width: 100%;
        color:#3C4958;
    }
    to {
        margin-left: 10%;
        width: 85%;
        color: #fff;
    }
  } 

#bottom {
    color: #f50537;
    text-shadow: 0 0 5px #f50537, 0 0 10px #f50537, 0 0 20px #f50537, 0 0 30px #000000, 0 0 55px #000000, 0 0 75px;
}


/**************************** SECTION CAROUSEL *****************************/
.carousel {
    margin-bottom: 18%;
    margin-left: 1%;
}


.carousel img {
    width: 300px;
}

.carousel h2 {
    margin-top: 5%;
    /* text-align: center; */
    margin-bottom: -6px;
    font-size: 2.2em;
    text-transform: uppercase;
    font-family: 'Audiowide Regular';
}

.carousel h3 {
    font-family: 'Audiowide Regular';
    font-size: 1.1em;
}

.carousel #carousel-p {
    padding: 8px;
    /* text-align: center; */
    font-style: italic;
    background: linear-gradient(0.25turn, #666666 , #ffffff);
    color: #fff;
    font-size:0.9em;
    margin-bottom: 2%;
}

.carousel-items {
    display: flex;
    overflow-x: scroll;
    /* padding: 1rem 0; */
    scroll-snap-type: x mandatory;
}

.carousel-item {
    flex: 1 0 250px;
    margin-left: 1.3rem;
    scroll-snap-align: start;
}



/* .carousel #carousel-p {
    Animation-name: glissement;
    Animation-delay : 0s ;
    Animation-duration : 2.2s ;
    Animation-direction: normal;
    }
    
    @keyframes glissement{
        
        from {
            margin-left: 10%;
            width: 100%;
        }
        to {
            margin-right: 10%;
            width: 85%;
        }
      }  */
    
   

.carousel button:hover  {
   transition: ease-in-out 0.5s;
   opacity: 0.6;
}
.carousel button:nth-child(1) {
    transition: 0.4s;
}


::-webkit-scrollbar-track {
    background-color: #F5F5F5;
}

::-webkit-scrollbar {
    height: 8px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    background-color: #9999999f;
    border-radius: 3px;
}


/************************************ BOUTON ***********************************************/

.buttonn {
    display: flex;
    padding: 3px 0px;
    margin-bottom: 18%;
}

.cta {
    display: flex;
    padding-top:6px;
    padding-bottom:7px;
    padding-left:10px;
    padding-right: 10px;
    text-decoration: none;
    font-size: 0.9em;
    color: #fff;
    background: #999999 ;
    transition: 1s;
}   

@keyframes color_anim {
    0% {
        fill: white;
    }
    50% {
        fill: #474b4b;
    }
    100% {
        fill: white;
    }
}


 .cta:focus { 
     outline: none; 
}

.cta:hover {
    transition: 0.5s;
}

.cta span:nth-child(2) {
    transition: 0.5s;
    margin-right: 0px;
}

.cta:hover  span:nth-child(2) {
    transition: 0.5s;
    margin-right: 20px;
}



span:nth-child(2) {
    width: 20px;
    margin-left: 20px;
    position: relative;
}  
  
/**************SVG****************/

path.one {
    transition: 0.4s;
    transform: translateX(-60%);
   
}

path.two {
    transition: 0.5s;
    transform: translateX(-30%);
}

.cta:hover path.three {
    animation: color_anim 1s infinite 0.2s;
}

.cta:hover path.one {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.6s;
}

.cta:hover path.two {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.4s;
}  



  /* Rotation et dézoome */
.rotat {
    background-color: black;
}

.rotation {
    display:flex;
    justify-content:center;
}


.rotation div img {
    -webkit-transform: rotate(10deg) scale(1.25);
	transform: rotate(10deg) scale(1.25);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
    width: 80%; 
}

.rotation .middle img {
    -webkit-transform: rotate(10deg) scale(1.25);
	transform: rotate(0deg) scale(1.25);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
    margin-top: -20%;
}

.rotation .right img {
   margin-left: -5%;
}

.rotation .left img {
    -webkit-transform: rotate(10deg) scale(1.25);
	transform: rotate(-10deg) scale(1.25);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
    margin-left: 25%;
}

.rotation div:hover img {
	-webkit-transform: rotate(0) scale(1);
	transform: rotate(0) scale(1);
    opacity: 0.7;
 } 


 /**************************************************************** FOOTER************************************************************** */
 footer {
    position: relative;
    background-color: white;
    margin-top: -5%;
    padding: 22px 0px;
}

footer #pFooter {
    text-align: center;
    font-size: 1em;
}

footer .lineIndex {
    height: 1px;
    width: 20%;
    margin: 50px auto;
    background: #000;
    margin-top: -2px;
    margin-bottom: 15px;
}

 footer .mention  {
     margin-top: 15px;
    text-align: center;
    font-size: 1.1em;
}

footer .mention p:hover {
    opacity: 0.4;
    transition: 0.3s ease-in-out;
 }

 footer .mention p:nth-child(1) {
    transition: 0.5s;
 }

 .icons {
    width: 50px auto ;
    text-align: center;
    font-size: 1.1em;
}

.icons a {
    display: inline-block;
    margin: 0px 8px;
    font-size: 1.4em;
    color:black;
}


.icons a:hover {
    transition: 0.3s ease-in-out;
    opacity: 0.6;
}

.icons a:nth-child(1) {
    transition: 0.4s;
 }

.icons a:nth-child(2) {
    transition: 0.4s;
 }
.icons a:nth-child(3) {
    transition: 0.4s;
 }  


 .mention {
    margin-bottom: -22px;
    background-color: #000000;
    padding: 30px;
 }

.mention p {
    display: inline;
    margin-left: 30px;
    opacity: 0.7;
    font-size: 0.9em;
}

.mention a {
    text-decoration: none;
    color: #fff;
} 

.mention #ligne::before {
    content:"";
    opacity: 0.5;
    width: 1px;
    height: 22px;
    display: inline-block;
    background: #fff;
    position: absolute;
    margin-left: -1%;
}


/******************************************************* RS5 *********************************************************/
#menuRs5 nav {
    position: static;
    /* border-bottom: solid 2px; */
}


#menuRs5 a {
    color: black;
}

#borderRs5 {
    border: 2px solid #000;
    border-radius: 18px;
    padding-top:10px;
    padding-bottom:10px;
    padding-right:15px;
    padding-left: 15px;
 } 
 
.mainRs5 {
    margin-top: 3%;
    display: flex;
    flex-direction: column;

}

.mainRs5 .contentRs5 .card {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.mainRs5 .contentRs5 .card h1{
    font-size: 8em;
    font-family: 'Audiowide Regular';
    position: relative;
    left: 145px;
    top: 50px;
}

.mainRs5 .contentRs5 .card .rs5 {
    margin-top: -30px;
    position: relative;
    left: 130px;
    font-style: italic;
    color:#f50537;
    text-shadow: 16px 8px 10px black;

}

.mainRs5 .contentRs5 .lineRs5 {
    height: 2px;
    width: 25%;
    background-color: #000;
    margin-top: 1%;
    margin-left: ;
}

















 /* ANIMATION */
 /* h1{
    Animation-name : glissement ;
    Animation-delay : 0s ;
    Animation-duration : 2s ;
    Animation-iteration-count:10s;
    }

    @keyframes glissement {
        0% {
        margin-top: 0px;
        }
    } */


   




