/* UTILITIES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 15px;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}


/* NAVBAR STYLING STARTS */
.navbar {
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #971b81;
    color: #fff;
}

.nav-links a {
    color: #fff;
}

/* LOGO */
.logo {
    font-size: 25px;
}

/* NAVBAR MENU */
.menu {
    display: flex;
    gap: 1em;
    font-size: 12px;
}

.menu li:hover {
    border-radius: 3px;
    transition: 0.3s ease;
    background-color: #a15c95;
}

.menu li {
    padding: 2px 7px;
}

/* DROPDOWN MENU */
.services,
.services2 {
    position: relative;
}

.dropdown,
.dropdown2 {
    background-color: #971b81;
    padding: 1em 0;
    position: absolute;
    /*WITH RESPECT TO PARENT*/
    display: none;
    border-radius: 5px;
}

.areduire{
    display:flex;
}

.dropdown {
    top: 20px;
}

.dropdown2 {
    top: 27px;
    left: 54px;
}

.dropdown li+li,
.dropdown2 li+li {
    margin-top: 10px;
}

.dropdown li,
.dropdown2 li {
    padding: 0.5em 1em;
    width: 14.6em;
}

.dropdown li:hover,
.dropdown2 li:hover {
    background-color: #a15c95;
}

.services:hover .dropdown,
.services2:hover .dropdown2 {
    display: block;
}


/* RESPONSIVE NAVBAR MENU STARTS */

/* CHECKBOX HACK */

input[type=checkbox] {
    display: none;
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    font-size: 24px;
    user-select: none;
}

/* APPLYING MEDIA QUERIES */
@media (max-width: 768px) {
    .menu {
        display: none;
        position: absolute;
        background-color: #971b81;
        right: 0;
        left: 0;
        text-align: center;
        padding: 10px 0;
    }
    img#achanger{
        display:none;
    }
    
    .areduire{
        display:block;
    }

    .menu li:hover {
        display: inline-block;
        background-color: #a15c95;
        transition: 0.3s ease;
    }

    .menu li+li {
        margin-top: 12px;
    }

    input[type=checkbox]:checked~.menu {
        display: block;
    }

    .hamburger {
        display: block;
    }

    .dropdown {
        top: 10px;
        left: 50%;
        z-index: 2;
        transform: translateX(35%);
    }

    .dropdown li:hover {
        background-color: #a15c95;
    }
}

.main {
    padding: 0 55px;
}

.navigation {
    padding: 20px;
    border-left: 1px solid #999;
    border-right: 1px solid #999;
    border-bottom: 1px solid #999;
}

.navigation a {
    color: #971b81;
}

.archive,
.volume,
.editorial,
.article {
    padding-top: 10px;
    padding-left: 10px;
}

.archive,
.volume,
.editorial,
.article,
.auteur,
.donnees,
.text,
.images {
    border-left: 1px solid #999;
    border-right: 1px solid #999;
}

.archive a,
.archive p,
.volume a,
.volume p,
.editorial a,
.editorial p,
.article a,
.article p,
.auteur a,
.auteur p,
.donnees a,
.donnees p {
    padding: 10px;
    color: black;
}

.volume>p:last-child {
    color: #999;
}

.editorial>a,
.article>a {
    color: #971b81;
    margin-bottom: -10px;
}

.editorial>p:nth-child(3),
.article>p:nth-child(3),
.donnees>p:nth-child(2) {
    padding: 2px;
    margin-left: 15px;
    width: fit-content;
    border-radius: 5px;
    margin-bottom: 12px;
    border: 1px solid #999;
}

.articles>p:nth-child(2),
.articles>p:nth-child(4) {
    padding-left: 18px;
    padding-bottom: 10px;
    border-left: 1px solid #999;
    border-right: 1px solid #999;
}

.articles>p:nth-child(2),
.articles>p:nth-child(4),
.article>p:first-child {
    color: #999;
    border-bottom: 1px solid #999;
}

.auteur>h2,
.auteur>h3,
.text>p,
.text>h2,
.text>h4,
.text>h3,
.text>h5 {
    margin-top: 15px;
    margin-left: 18px;
    margin-bottom: 20px;
}

.donnees {
    border-left: none;
}

.text {
    border-right: none;
}

.donnees p {
    border-bottom: 1px solid #999;
}

.donnees>p:nth-child(1) {
    margin-top: 45px;
    text-align: center;
}

.donnees>p:nth-child(3) {
    border-top: 1px solid #999;
}

.donnees>p:last-child {
    border-bottom: none;
}

table {
    border-collapse: collapse;
    border: 1px solid black;
}

td {
    padding: 05px;
    border: 1px solid black;
}
