* {
    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: grey;
}

/*TD*/

table {
    border-radius: 22px;
    background: white;
    caption-side: bottom;
    box-shadow: 5px 5px 5px red;
}

table thead {
    color: white;
}

table thead tr th {
    text-align: center;
    padding: 10px;
    background-color: salmon;
}

table thead tr th:first-child {
    border-radius: 20px 0px 0px 0px;
}

table thead tr th:last-child {
    border-radius: 0px 20px 0px 0px;
}


table thead tr th::first-letter {
    color: #fffdd0;
}


table tbody tr td {
    padding: 10px;
}


table tbody tr td:first-child {
    font-weight: bold;
}

table tbody tr td:first-child::first-letter {
    color: red;
}

table tbody tr td:nth-child(2) {
    font-style: italic;
}

table tbody tr td:last-child:before {
    content: "✆ ";
    color: sandybrown;
}

table tbody tr td:nth-child(3n) {
    text-align: center;
}


table tbody tr:nth-child(2n+1) {
    background-color: lightgoldenrodyellow;
}

table tbody tr:nth-child(2n) {
    background-color: #F6F0BC;
}

.test {
    border-radius: 0px 0px 22px 0px;
}

.test1 {
    border-radius: 0px 0px 0px 22px;
}

caption {
    color: darkred;
    padding-top: 20px;
}

code {
    background-color: #1d1f21;
    color: white;
    padding: 2px;
    border-radius: 4px;
}

fieldset {

    display: block;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 5px 5px 5px gray;
    width: 50%;
    background-color: white;
}

button {
    display: block;
    margin: 0 auto;
    margin-top: 10px;
    background-color: royalblue;
    border-color: white;
    border-radius: 10px;
    color: white;
    font-size: 70%;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

label span {
    color: royalblue;
    font-size: 20px;
}

input,
textarea {
    background-color: lightgray;
    border-radius: 5px;
    border-top-width: medium;
    border-left-width: medium;
    border-bottom-width: thin;
    border-right-width: thin;
    width: 100%;
    height: 20px;
}

input {
    margin-bottom: 15px;

    border-color: gainsboro;
}

textarea {
    border-color: gray;
    height: 100px;
}

label:after {
    color: gray;
    content: " (*)";
}

input[type=range] {
    -webkit-appearance: none;
    background: grey;
    height: 3px;
    width: 90%;
    
}

