*, *:before, *:after {
    box-sizing: border-box;
}


html, body {
    background-color: #1f1f1f;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: white;
}

#header-block {
    width: fit-content;
    margin: auto;
}

#footer-block {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
    line-height: 18px;
    font-size: 14px;
}

#page-title {
    font-size: 40px;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0px;
}

#page-subtitle {
    font-size: 16px;
    text-align: center;
    margin-top: 6px;
    margin-bottom: 10px;
}

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1250px) {
    .container {
        width: 1230px;
    }
}

#intro-description {
    margin-top: 30px;
}

.files-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0px;
    border: 1px solid white;
    --border-radius: 8px;
    border-radius: var(--border-radius);
}

.files-table>thead>tr>th,
.files-table>tbody>tr:not(:last-child)>td {
    border-bottom: 1px solid white;
}

.files-table th:not(:last-child),
.files-table td:not(:last-child) {
    border-right: 1px solid white;
}

.files-table th, .files-table td {
    padding: 8px;
    text-align: left;
}

.files-table th {
    background-color: #2f2f2f;
}

.files-table th:first-child {
    border-top-left-radius: var(--border-radius);
}

.files-table th:last-child {
    border-top-right-radius: var(--border-radius);
}

@media (max-width: 500px) {
    #titles {
        margin-top: 35px;
    }

    #logo {
        max-width: 70%;
        margin-left: 15%;
    }
}

@media (min-width: 500px) {
    #titles {
        display: inline-block;
    }

    #logo {
        height: 100px;
        vertical-align: bottom;
    }

    #intro-description {
        margin-top: 80px;
    }
}

.files-table .code-column {
    min-width: 70px;
    width: 70px;
}

.files-table .code-column::before {
    content: "Code";
}

.files-table .desc-column {
    min-width: 270px;
}

.files-table .desc-column::before {
    content: "Description des exercices proposés";
}

.files-table .example-column {
    min-width: 180px;
    width: fit-content;
}

.files-table .example-column::before {
    content: "Exemple";
}

.files-table .dl-column {
    min-width: 170px;
    width: 170px;
}

.files-table .dl-column::before {
    content: "Téléchargement";
}

.files-table td:first-child, .files-table th:first-child {
    text-align: center;
}

.table-container {
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 15px;
}

.table-title {
    margin-top: 20px;
    margin-bottom: 10px;
}

.files-table .dl {
    position: relative;
    padding-left: 25px;
}

.files-table .dl::before {
    content: "";
    background: url("/assets/download.png") no-repeat;
    background-size: 100%;
    width: 19px;
    height: 19px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

#contact-block {
    margin-top: 10px;
}

#contact-block a {
    color: white !important;
}