* {
    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;
}

.gallerie {
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}


code {
    background-color: #1d1f21;
    color: white;
    padding: 2px;
    border-radius: 4px;
}


/*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: grey;
}
