@font-face {
    font-family: 'Mario';
    src: url('fonts/Mario/SuperMario256.ttf') format('ttf');
    src: url('fonts/Mario/SuperMario256.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
    
@font-face {
        font-family: 'OswaldBold';
        src: url('fonts/Oswald/Oswald-Bold.ttf') format('ttf');
        src: url('fonts/Oswald/Oswald-Bold.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
}
    
@font-face {
            font-family: 'OswaldMedium';
            src: url('fonts/Oswald/Oswald-Medium.ttf') format('ttf');
            src: url('fonts/Oswald/Oswald-Medium.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
}

@font-face {
    font-family: 'OpenSansRegular';
    src: url('fonts/OpenSans/OpenSans-Regular.ttf') format('ttf');
    src: url('fonts/OpenSans/OpenSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSansBold';
    src: url('fonts/OpenSans/OpenSans-Bold.ttf') format('ttf');
    src: url('fonts/OpenSans/OpenSans-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
            
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    display: flex;
    flex-direction: column;
}

header {
    height: 70px;
    background-color: #202020;
    color: #f7f7f7;
    padding: 10px;
    text-align: center;
}

#commanderButton{
    background-color: #9E1A27;
    padding: 5% 10% 5% 10%;
    border-radius: 100px;
    transition: 0.2s ;
}

#commanderButton:hover{
    background-color: #4B70B7;
}

header ul {
    list-style: none;
    display: flex;
    gap: 50px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 100px 10px 100px;
    border-bottom: 0px solid #ddd;
}

#logoPizzaBross{
    width: 150px;
    height: auto;
}

a {
    text-decoration: none;
    margin: 12px 0;
}

header a{
    font-family: 'OswaldMedium', Arial, Helvetica, sans-serif;
    color: #f7f7f7;
    text-decoration: none;
    font-size: 24px;
}

.navlink {
    font-size: 24px;
    font-family: 'OswaldMedium', Arial, Helvetica, sans-serif;
    color: #f7f7f7;
    position: relative;
    outline: none !important;
    transition: 0.2s;
  }

.navlink::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    transition: 0.2s;
}

.navlink:hover::after{
  background-color: #f7f7f7;
  width: 100%;
}

body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1{
    font-family: 'OswaldBold', Arial, Helvetica, sans-serif;
    font-size: 50px;
    margin: 0px;
}

p{
    font-family: 'OswaldMedium', Arial, Helvetica, sans-serif;
    font-size: 20px;
}


#imgTop{
    position: relative;
    z-index: 0;
    width: 900px;
    height: auto;
    /* margin-right: -500px; */
}

#top{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 200px;
    margin-bottom: -10px;
}

#barre{
    position: relative;
    z-index: 1;
    background-color: #9E1A27;
    width: 100%;
    height: 120px;
    gap: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
}

.menuButton {
    display: flex;
    gap: 10px;
    background-color: #9E1A27;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;  
    box-shadow: 0 5px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.menuButton img {
    width: 40px;
    height: 40px;
}

.menuButton:hover {
    background-color: #8b1824;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1); 
    transform: translateY(2px);
    cursor: pointer;
}

.menuButton:active {
    transform: translateY(4px);  
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.menuButton img{
    width: auto;
    height: 60px;
}

.menuButton h2{
    margin: 5px;
    font-size: 25px;
    color: #f7f7f7; 
    font-family: "OswaldBold", Arial, Helvetica, sans-serif;
}

#policeMario{
    font-family: 'Mario', Arial, Helvetica, sans-serif;
    letter-spacing: 3px;
}

#top #policeMario{
    font-size: 50px;
}

.blue { color: #4B70B7; }
.yellow { color: #FDD12A; }
.red { color: #9E1A27; }
.green { color: #96A25A; }

.center{
    text-align: center;
}

.justForYou{
    margin: 50px 0px 25px;
}

.cards{
    display: flex;
    align-items: start;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
}

.cardTitle{
    display: flex;
    align-items: center;
    margin-top: 10px;
    gap: 10px;
}

.cardTitle img{
    width: auto;
    height: 20px;
}

.cardTitle h1{
    font-family: 'OswaldBold', Arial, Helvetica, sans-serif;
    font-size: 28px;
    color: #202020;
    text-align: center;
}

.card{
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 360px; 
    height: 600px;
    border: 0px solid; 
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden; 
    margin: 20px; 
    font-family: Arial, sans-serif; 
}

.cardIMG{
    width: 70%; 
    height: auto;
}

.cardText p {
font-family: 'OpenSansRegular' ,Arial, Helvetica, sans-serif;
    font-size: 17px; 
    margin: 10px 15px;
    color: #202020;
    text-align: center;
    width: 350px;
    height: auto;
    margin: 20px 20px 10px 20px;
}

.cardText p span{
    font-family: 'OpenSansBold' ,Arial, Helvetica, sans-serif;
    }

.cardPrice p{
    font-family: "OswaldBold", Arial, Helvetica, sans-serif;
    color: #4B70B7;
    font-size: 32px;
    margin: 10px;
}

.cardCommand{
    background-color: #9E1A27;
    padding: 2% 5% 2% 5%;
    border-radius: 100px;
    color: #f7f7f7;
    font-family: "OswaldBold", Arial, Helvetica, sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    margin: 10px 0px 20px 0px;
}

.cardCommand:hover{
    background-color: #4B70B7;
    cursor: pointer;
}

.livraison{
    margin: 50px 0px 50px 0px;
    background-color: #202020;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    gap: 100px;
}

.livraisonSecond{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
}

.livraisonTitle{
    color: #f7f7f7;
}

.livraisonText P{
    width: 800px;
    /* text-align: center; */
    line-height: 40px;
    height: auto;
    font-size: 20px;
    color: #f7f7f7;
    font-family: "OswaldRegular", Arial, Helvetica, sans-serif;
}

.livraisonButton{
    display: flex;
    gap: 50px;
}

.livraisonButtonOne{
    color: #f7f7f7;
    font-family: "OswaldBold", Arial, Helvetica, sans-serif;
    background-color: #9E1A27;
    border-radius: 100px;
    padding: 10px 20px 10px 20px;
    margin-top: 20px;
}

.livraisonButtonOne:hover{
    background-color: #4B70B7;
    cursor: pointer;
}

.livraisonButtonTwo{
    color: #96A25A;
    font-family: "OswaldBold", Arial, Helvetica, sans-serif;
    background-color: #f7f7f7;
    border-radius: 100px;
    padding: 10px 20px 10px 20px;
    margin-top: 20px;
}

.livraisonButtonTwo:hover{
    background-color: #96A25A;
    color: #f7f7f7;
    cursor: pointer;
}

h2{
    font-family: "OswaldBold", Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 32px;
}

.contact{
    display: flex;
}

.contact p{
    color: #f7f7f7;
    margin-left: 10px;
}

.rs{
    display: flex;
    gap: 50px;
    margin-top: 20px;
}

.rs img{
    width: 25px;
    height: auto;
    background-color: #9E1A27;
    padding: 10px;
    border-radius: 7px;
}

.contactIMG{
    align-self: center;
}

.carouselbutton{
    display: flex;
    width: auto;
    height: 100px;
    margin: 50px;
}

.carouselbutton:hover{
    display: flex;
    z-index: 0;
    scale: 1.05;
    cursor: pointer;
}

.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    overflow: hidden; /* Cache les cartes hors de la vue */
    position: relative;
    width: 100%; /* Ajuste si nécessaire */
}

.cardd{
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 360px; 
    height: 430px;
    border: 0px solid; 
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    overflow: hidden; 
    margin: 20px; 
    font-family: Arial, sans-serif; 
     flex: 0 0 360px; /* Largeur fixe de chaque carte */
}

.cardss{
    display: flex;
    overflow: hidden; /* Cache les cartes hors de la vue */
    width: calc(390px * 3 + 40px); /* Ajuste à la largeur totale des 3 cartes */
    align-items: start;
    position: relative;
    justify-content: center;
    z-index: 1;
}

.note{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.noteContent{
    display: flex;
    width: 25%;
    gap: 50px;
    border: 0px solid; 
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 40px 20px 40px;
    margin-bottom: 50px;
}

.noteContent h1{
    font-family: "OpenSansBold";
    font-size: 28px;
}

.noteIMG{
    width: 100px;
    height: auto;

}

.noteText{
    font-family: "OpenSansRegular", Arial, Helvetica, sans-serif;
    font-size: 20px;
    width: auto;
    margin: 0px;
}

.noteSecond{
    display: flex;
    justify-content: center;
    gap: 50px;
}

.footerContent{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #202020;
    padding: 30px 0px 10px 0px;
    margin-top: 50px;
}

.footerContent img{
    width: 200px;
    height: auto;
}

.footerContent p{
    font-family: "OswaldMedium", Arial, Helvetica, sans-serif;
    color: #f7f7f7;
}

.footerRs{
    display: flex   ;
    gap: 20px;
}

.footerRs img{
    margin-top: 20px;
    width: 50px;
}

.equipeText p{
    font-family: "OpenSansRegular", Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 16px;
    padding: 0px 20px 10px 20px;
}

.equipeIMG{
    align-self: center;
    width: 50%;
    height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

.toTheTop{
    z-index: 10;
    position: fixed;
    background-color: #202020;
    opacity: 0.5;
    padding: 10px;
    border-radius: 100%;
    bottom: 10px;
    right: 10px;
}

.toTheTop img{

}