html, body {
    font-family: "Open Sans", sans-serif;
    background-color: #f2f2f2;
    color: #333;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    color: #4CAF50;
}

p {
    line-height: 1.5;
    font-size: 16px;
    margin-bottom: 1em;
}

a {
    color: #4CAF50;
}

.hidden {
    display: none !important;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1em;
}

/* Navigation */

.nav {
    display: flex;
    background-color: #333;
    color: white;
}
.nav__items {
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 0;
}
.nav__item {
    display: flex;
    justify-content: space-around;
}
.nav__item__label {
    display: none;
}

.nav a {
    color: white;
}

/* Button */

.btn {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin: 3px 6px 6px 3px;
    text-align: center;
    text-decoration: none;
}

.btn button {
    all: unset;
}

.btn:hover {
    background-color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn:active {
    background-color: #333;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transform: translateY(1px);
}

.btn-primary {
    background-color: #4CAF50;
}

.btn-secondary {
    background-color: #333;
}

.btn-danger {
    background-color: #FF7043;
}

.btns {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

/* Table */

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

td, th {
    border: 1px solid #ccc;
    padding: 12px;
}

th {
    background-color: #4CAF50;
    color: white;
}

/* Form */
.form-control {
    padding-top: 10px;
    padding-bottom: 10px;
}

.form-label {
    display: block;
    padding-bottom: 10px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 12px 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-delete {
    all: unset;
}

form ul {
    padding: 0;
}

form ul li {
    list-style: none;
}

/* Pagination */

.navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.navigation a {
    text-decoration: none;
}

.pagination {
    display: inline-block;
}

.pagination .page, .pagination .current {
    padding: 4px 8px;
    text-decoration: none;
    color: #333;
    border-radius: 5px;
}

.pagination .current {
    background-color: #4CAF50;
    color: white;
}
  
.pagination .page:hover {background-color: #ddd;}

.floating-button__icon {
    display: none;
}

@media screen and (max-width: 600px) {

    /* Table */

    .table-responsive thead {
        display: none;
    }

    .table-responsive tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }

    .table-responsive td {
        border-bottom: 1px solid #ddd;
        display: block;
        text-align: right;
        padding: .625em;
    }

    .table-responsive td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    .table-responsive td:last-child {
        border-bottom: 0;
    }

    .table-responsive .btns {
        /* width: 90%; */
        display: inline-block;
    }

    /* Floating Button */

    .floating-button {
        position: fixed;
        width: 50px;
        height: 60px;
        bottom: 30px;
        right: 20px;
        background-color: #4CAF50;
        color: #FFF;
        border-radius: 50px;
        text-align: center;
        box-shadow: 2px 2px 3px #333;
        display: flex;
    }

    .floating-button__label {
        display: none;
    }

    .floating-button__icon {
        display: block;
    }
}

@media screen and (min-width: 600px) {

    /* Navigation */

    .nav {
        padding: 10px;
    }
    .nav__items {
        justify-content: flex-end;
        flex-direction: row;
    }
    .nav__item__link {
        text-decoration: none;
        font-size: 1.5em;
        display: flex;
        align-items: center;
        margin-left: 20px;
    }
    .nav__item__label {
        display: inline;
        margin-left: 3px;
    }

    /* Button */

    .btns {
        flex-direction: row;
    }
}

.alert {
    padding: 20px;
    background-color: #4CAF50;
    color: white;
    margin-bottom: 15px;
}

.alert--success {
    background-color: #4CAF50;
}

.alert--danger {
    background-color: #FF7043;
}
  
.alert__closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}
  
.alert__closebtn:hover {
    color: black;
}

/* Loader */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
  
.rotate {
    animation: spin 2s linear infinite;
}

.loading {
    z-index: 1;
    position: absolute;
    width: 20%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    margin-top: auto;
}

[data-loading] {
    display: none;
}

.flex {
    display: flex;
    justify-content: space-between;
}
.flex > * {
    width: 100%;
    margin-left: 10px;
}
.right-align {
    float: right;
}

h2:contains("Poussé") {
    background-color: blue;
    font-size: 100px;
}
