/* ---------------- Fonts ---------------- */
@font-face {
    font-family: 'Raleway';
    src: url('raleway/Raleway-ExtraBold.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: 'Raleway';
    src: url('raleway/Raleway-SemiBold.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: 'Raleway-Light';
    src: url('raleway/Raleway-Light.ttf') format('truetype');
    font-weight: normal;
}

/* ---------------- Global Styles ---------------- */
body {
    background-color: #f3f3f3;
    font-family: Raleway;
    font-weight: lighter;
    margin: 0px;
    display: flex;
    flex-direction: column;
}

main {
    margin-left: 30px;
}

.center {
    text-align: center;
}

h1 {
    font-size: 30px;
    font-weight: bold;
}

h2 {
    font-size: 18px;
    font-weight: normal;
}

h3 {
    font-size: 16px;
    font-weight: bold;
}

a {
    text-decoration: none;
    color: black;
}

/* ---------------- Navigation Bar ---------------- */
.navbar {
    font-family: 'Raleway-Light';
    display: flex;
    font-size: 20px;
    justify-content: space-between;
    padding: 13px 15px;
    background-color: black;
    color: white;
}

.navbar .bar {
    display: flex;
    gap: 5px;
}

.navbar .bar a {
    color: white;
    transition: all 0.1s linear;
}

.navbar .bar a:hover {
    color: orangered;
}

.navbar .bar div {
    display: fixed;
    transition: all 0.2s ease-out;
}

.navbar .bar div:hover {
    font-weight: bold;
    text-decoration: underline;
    color: orangered;
    transform: scale(1.05);
}

.navbar .bar div .selected {
    color: orangered;
    font-family: 'Raleway';
}

.navbar .account .inscription {
    background-color: white;
    border-radius: 5px;
    color: black;
    padding: 3px 5px;
    font-family: 'Raleway';
}

.navbar .account {
    display: flex;
    gap: 5px;
}

.navbar .account a {
    color: white;
}

.navbar .account div {
    display: fixed;
    transition: all 0.2s ease-out;
}

.navbar .account div:hover {
    font-weight: bold;
    text-decoration: underline;
    transform: scale(1.05);
}

/* ---------------- Tree Structure ---------------- */
.tree {
    font-size: 17px;
    border-radius: 10px;
    margin: 10px;
    padding: 10px 15px;
    background-color: #E8ECEF;
}

.tree .selected {
    color: black;
}

.tree a {
    color: lightskyblue;
}

.tree a:hover {
    text-decoration: underline;
}

/* ---------------- Footer ---------------- */
.footer {
    background-color: black;
    font-style: italic;
    color: white;
    margin-top: 50px;
    font-size: 0.8em;
    padding: 30px 10px;
}

.footer a {
    color: white;
    text-decoration: underline;
}

.footer a:hover {
    color: orangered;
}

/* ---------------- Categories ---------------- */
.category ul {
    list-style: none;
    display: flex;
    gap: 5px;
}

.category li a {
    color: black;
}

.category li:not(:last-child)::after {
    content: " -";
}

/* ---------------- Articles Table ---------------- */
.articles thead {
    background-color: black;
    color: white;
}

.articles th,
.articles td {
    border-spacing: 0px;
    padding: 10px;
    text-align: left;
}

.articles tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.articles tbody tr:nth-child(even) {
    background-color: #dddddd;
}

/* ---------------- Containers ---------------- */
.container {
    display: flex;
}

.bloc1, .bloc2 {
    display: flex;
    flex-direction: column;
    padding: 10px;
    border: solid black 2px;
    margin: 10px;
    font-size: 1em;
}

.bloc1 {
    width: 50%;
}

/* ---------------- Text Styles ---------------- */
.small {
    font-family: 'Raleway-Light';
    font-size: 15px;
    color: gray;
}

.smaller {
    font-family: 'Raleway-Light';
    font-style: italic;
    font-size: 12px;
    color: gray;
}

.specifications {
    margin: 1px;
    font-family: 'Raleway-Light';
    font-size: 12px;
    color: black;
}

.clickable {
    margin-top: 20px;
    padding: 5px;
    width: 300px;
    transition: all 0.3s ease-out;
    border: solid 2px black;
    border-radius: 10px;
}

.clickable:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/* ---------------- Information Section ---------------- */
.infos .list {
    display: flex;
    gap: 10px;
}

.infos .list span {
    font-size: 15px;
    padding: 5px;
    background-color: white;
    border: solid black 1px;
    border-radius: 5px;
    box-shadow: 2px 2px 4px rgb(173, 173, 173);
}


.offers {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.offer {
    width: 350px;
    box-shadow: 2px 2px 4px rgb(173, 173, 173);
}

.postuler {
    background-color: orangered;
    font-weight: bold;
    text-align: center;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 2px 2px 4px rgb(173, 173, 173);
}