* {
    box-sizing: border-box;
}

@font-face {
    font-family: 'nt_josefinebold';
    src: url('../font/nt_josefine_only_personal_use-webfont.woff2') format('woff2'),
        url('../font/nt_josefine_only_personal_use-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'original_factoryregular';
    src: url('../font/original_factory-webfont.woff2') format('woff2'),
        url('../font/original_factory-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

body {
    --col: rgba(255, 50, 0, .25);
    background-color: antiquewhite;
    background-image: radial-gradient(var(--col), var(--col) 20%, transparent 22%, transparent);
    background-size: 50px 50px;
}


main {
    width: 80%;
    min-width: 500px;
    max-width: 1000px;
    margin-left: max(20px, 10%);
    margin-right: max(20px, 10%);
}


p {
    padding: 2px;
    margin: 10px;
}

h1 {

    border-color: rgb(40, 200, 100);
    border-style: solid;
    text-align: center;
    border-width: 1px;
    border-style: dotted;
    border-color: black;

    font-family: 'original_factoryregular';
}


h2 {
    background: yellow;
    margin-top: 40px;
    margin-bottom: 10px;
    text-decoration: underline;
    font-family: 'nt_josefinebold';
}



}




hr {
    color: darkblue;
}





/*MENU DEROULANT*/

.bouton {
    background-color: royalblue;
    padding: 15px;
    font-size: 15px;
    color: white;
    border: none;
    border-radius: 0% 0% 25% 10%;
}

.boutonap {
    background-color: orange;
    padding: 15px;
    font-size: 15px;
    color: white;
    border: none;
    border-radius: 0% 0% 25% 10%;

}

.menu {
    position: relative;
    float: right;
    display: inline-block;
    margin-left: 0.4em;
}

.menu-ct {
    display: none;
    position: absolute;
    min-width: 160px;
    background-color: skyblue;
    box-shadow: 0px 10px 10px 0px rgba(0, 0, 255, 0.3);
}

.menu-ct a {
    color: white;
    padding: 12px 16px;
    display: block;
    text-decoration: none;
}

.menu-ct a:hover {
    background-color: orange;
}

.menu:hover .menu-ct {
    display: block;
}


.menu:hover .bouton {
    border-radius: 0% 0% 0% 0%;
    background-color: orangered;
}

.menu:hover .boutonap {
    background-color: red;
}

.ap {
    text-decoration: none;
    color: white;
}

hr {
    position: absolute;
    width: 100%;
}

.hr {

    margin: 0px;
    padding-top: 6px;
    background-color: darkgray;
}

code {
    background-color: #1d1f21;
    color: white;
    padding: 2px;
    border-radius: 4px;
}

/*td*/

/*voiture*/


#car1 {
    position: relative;
    overflow: hidden;

    height: 200px;
    background-color: darkgray;

}

#car2 {
    background-color: white;
    padding: 10px;
}

#voiture {

    width: 200px;
    flex-direction: column;
    left: 30%;

    position: relative;
}

/* The top of the car*/
#haut {
    position: relative;
    left: 20px;
    width: 115px;
    background-image: linear-gradient(-45deg, black, darkblue 85%);
    border: green solid;
    border-width: medium;
    border-width: 3px 0 0 3px;
    border-radius: 16px 16px 0 0;
    transform: skew(12deg);
    display: flex;
    justify-content: space-around;
    flex-direction: row;
}

#haut div {
    width: 8px;
    height: 30px;
    background: green;
}


/* The bottom of the car*/
#bas {
    width: 200px;
    height: 40px;
    background-image: linear-gradient(green, black 20%, white 17%, gold 27%, green 37%, black 90%);
    border-radius: 16px 30px 8px 5px;
}

/* The general style for the wheel*/
.roue {
    background-color: transparent;
    justify-content: center;
    align-items: center;
    position: absolute;
    background-image: radial-gradient(violet, violet 45%, black 55%, black 65%, transparent 75%);
    width: 40px;
    height: 40px;
    top: 60px;
    display: flex;
}

#footerCar {
    height: 55px;
    border-bottom: dashed white 6px;
}

#r1 {
    left: 25px;
}

#r2 {
    left: 145px;
}

