@font-face {
    font-family: "Poppins";
    src: url(Poppins-Regular.ttf) format("truetype");
}

*{
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
}
body {
    background: linear-gradient(rgba(14, 19, 31, 0.9), rgba(14, 19, 31, 0.9)), url(img/background.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 99%;
    height: 100vh;
    align-items: center;
    background-color: #0E131F;
}

header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 15%;
    background-color: #ffa987;
}

.logo{
    size: 20px;
    padding:0;
    margin: 0;
}

.navbar{
    display: flex;
}

.navbar a{
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    margin: 0 5px;
    color: #0E131F;
    transition: all .45s ease;
    border-radius: 5px;
}

.navbar a:hover{
    background:  #e54b4b;
}

#menu-icon{
    font-size: 30px;
    z-index: 100012;
    color: #0E131F;
    cursor: pointer;
    display: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffa987;
    width: calc(100% - 10px);
    border-radius: 5px;
    z-index: 1;
    top: calc(100% + 8px);
    left: 5px;
}

.dropdown-content.show {
    display: block;
}

.dropdown-warning {
    color: #a8321e;
    background: rgba(232, 75, 75, 0.1);
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid rgba(14, 19, 31, 0.2);
}

.dropbtn.active-parent {
    font-weight: 700;
}

.dropbtn.active,
.dropbtn.active-parent.active {
    background: #d04444;
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    margin: 0;
    border-radius: 0;
}

.dropdown-content a:last-child {
    border-radius: 0 0 5px 5px;
}

@media (max-width: 1530px){
    header{
        padding: 18px 3%;
        transition: .2s;
    }
}

@media (max-width: 1070px){
    header{
        padding: 18px 3%;
        transition: .2s;
    }

    body{
        width: 97%;
    }

    #menu-icon{
        display: block;
    }

    .navbar{
        position: absolute;
        top: -800%;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        background:#ffa987;
        transition: all .50s ease;
        text-align: left;
    }
    .navbar a{
        display: block;
        padding: 1rem;
        margin: 0.8rem;
    }
    .navbar.open{
        top: 100%;
    }

    .dropdown {
        display: block;
    }

    .navbar.open .dropdown-content.show {
        display: block;
        position: static;
        background: transparent;
        padding-left: 1rem;
    }

    .dropdown .dropbtn {
        display: block;
        padding: 1rem;
        margin: 0.8rem;
    }

    .dropdown-content a {
        padding: 0.8rem 1rem;
        margin: 0;
    }

    .dropdown-warning {
        color: #e54b4b;
        padding: 10px 16px;
        font-size: 13px;
        text-align: center;
        border-bottom: 1px solid rgba(14, 19, 31, 0.2);
    }
}


h2 {
    padding-left: 20px;
    padding-right: 20px;
    color: #F7EBE8;
    text-align: center;
}
  
p {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 30px;
    color: #F7EBE8;
}

table{
    font-size: 18px;
    color: #F7EBE8;
    margin-bottom: 25px;
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #F7EBE8;
    padding: 10px 15px;
}

th {
    background-color: rgba(247, 235, 232, 0.15);
    font-weight: 600;
}

tr:nth-child(even) {
    background-color: rgba(247, 235, 232, 0.05);
}

@media (max-width: 700px) {
    table,
    tbody,
    tr,
    td {
        display: block;
    }

    th,
    thead,
    tr:first-of-type {
        display: none;
    }

    table {
        width: auto !important;
    }

    tr {
        margin: 0 10px 16px;
        border: 1px solid #F7EBE8;
        border-radius: 6px;
        padding: 10px;
    }

    td {
        border: none;
        padding: 6px 4px;
    }

    td:nth-child(1)::before {
        content: "Nom: ";
        font-weight: 700;
    }

    td:nth-child(2)::before {
        content: "Description: ";
        font-weight: 700;
    }

    td:nth-child(3)::before {
        content: "Lien: ";
        font-weight: 700;
    }
}