* {
    box-sizing: border-box;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
}

/* __________________________________MENU ____________________________*/
@keyframes logotourne {

    0%,
    100% {
        transform: translateY(-5px) scaleY(1) rotateY(0);
    }

    25%,
    75% {
        transform: translateY(-20px) scaleY(0.9) rotateY(-90deg);
    }

    50% {
        transform: translateY(-5px) scaleY(1) rotateY(-180deg);
    }
}

.nav-logo {
    width: 40px;
    height: 40px;
    animation: logotourne 2.75s ease-in-out infinite;
    position: absolute;
    left: 7%;
    top: 20px;
}

nav {
    max-width: inherit;
    background-color: #fff;
    padding: 0 20px;
    margin-right: 1rem;
    margin-left: 1rem;
    margin-bottom: 50px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(159, 162, 177, .8);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    overflow-x: auto;
    position: relative;
}

.nav-item {
    color: #83818c;
    font-family: arial, sans-serif;
    padding: 20px;
    margin: 0 6px;
    position: relative;
}

.nav-item:before {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    background-color: #dfe2ea;
    height: 5px;
    width: 100%;
    border-radius: 8px 8px 0 0;
    transition: .5s;
}

.nav-item:hover:before {
    bottom: 0;
    left: 0;
}

.nav-item:hover {
    color: #333;
}

.nav-indicator {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 5px;
    transition: .4s;
    border-radius: 8px 8px 0 0;
}

.boutonmenu {
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

/*______________________Menu responsive________________________*/

.boutondumenu {
    display: none;
    height: 0;
    background: rgb(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    overflow: hidden;
    transition: height 0.5s cubic-bezier(0.175, 0.885, 0.2, 1.275);
}

.boutondumenu a {
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.boutondumenu.open {
    height: 450px;
}

@media (max-width: 1100px) {
    .nav-logo {
        display: none;
    }

    .nav-item {
        display: none;
    }

    .boutondumenu {
        display: block;
    }

    .boutonmenu {
        display: block;
        padding: 20px;
        position: absolute;
        right: 0;
        top: 0;
    }

    .navbar {
        height: 70px;
        width: auto;
        justify-content: flex-end;
        /* Align hamburger to right */
    }
}

/*_________________________________________Footer effet____________________________________________*/

.piedpage {
    padding: 0 20px;
    margin-right: 1rem;
    margin-left: 1rem;
    margin-bottom: 10px;
    width: auto;
    height: 250px;
    background-color: rgb(31, 31, 31);
    position: relative;
    border-radius: 40px;
}

.piedpage::before,
.piedpage::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, #ff0000, #00f0f0, #0f5132, #0000ff, #ff0000, #00f0f0, #0000ff, #f00f0f);
    width: 100%;
    height: 100%;
    border-radius: 40px;
    transform: scale(1.01);
    z-index: -1;
    background-size: 500%;
    animation: arcenciel 20s infinite;
}

.piedpage::after {
    filter: blur(5px);
}

.piedpage::before {
    filter: blur(5px);
}

@keyframes arcenciel {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 300% 0;
    }

    100% {
        background-position: 0 0;
    }
}

/*_________________________________________Footer contenu____________________________________________*/

.container {
    margin: auto;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
}

ul {
    list-style: none;
}

.footer-col {
    width: 25%;
    padding: 0 15px;
}

.footer-col h4 {
    font-size: 18px;
    color: #ffffff;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #e91e63;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 16px;
    text-transform: capitalize;
    text-decoration: none;
    font-weight: 300;
    color: #bbbbbb;
    display: block;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 8px;
}

.footer-col .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
    color: #24262b;
    background-color: #ffffff;
}

/*responsive*/
@media (max-width: 767px) {
    .footer-col {
        width: 50%;
        margin-bottom: 30px;
    }

    .piedpage {
        height: max-content;
    }
}

@media (max-width: 574px) {
    .footer-col {
        width: 100%;
    }
}

/*_________________________________mention légals__________________*/
.mentionlegal {
    text-align: center;
    margin: 1.5rem;
    border-radius: 40px;
    box-shadow: 0 10px 40px rgba(159, 162, 177, .8);
    overflow-x: auto;
}

@media (max-width: 768px) {
    .mentionlegal {
        margin: 0.5rem;
        padding: 10px;
    }
}

.mentionlegal p,
.mentionlegal h1,
.mentionlegal h3 {
    margin: 1.5rem auto;
    padding: 1.5rem;
}


/*________________inscription___________________*/

.forminscription {
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
    width: 90%;
    max-width: 600px;
    padding: 1.5rem;
    margin: 5% auto;
    border-radius: 40px;
    box-shadow: 0 10px 40px rgba(159, 162, 177, .8);
}

@media (max-width: 768px) {
    .forminscription {
        width: 95%;
        padding: 1rem;
    }

    input {
        width: 100%;
        /* Full width inputs on mobile */
        box-sizing: border-box;
    }
}

label {
    display: block;
    margin-top: 10px;
    padding: 5px 10px;
}

input {
    padding: 13px;
    margin-top: 15px;
    border-radius: 20px;
}

input.submit {
    width: 100%;
    padding: 10px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

/*____________________________________admin_____________________________________________*/

.formadmin {
    margin: 1.5rem;
    padding: 20px;
    position: relative;
    display: inline-block;
    justify-content: center;
    text-align: center;
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 10px 40px rgba(159, 162, 177, .8);
}

.boutonadmin {
    background-color: #333;
    color: #fff;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.boutonreset {
    text-align: center;
    margin: 1.5rem;
    padding: 20px;
    position: relative;
    display: block;
    width: 90%;
    border-radius: 40px;
    background-color: rgba(133, 9, 9, 0.86);
    box-shadow: 0 10px 40px rgba(159, 162, 177, .8);

}


.blur-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.blur-wrapper img {
    width: 100%;
    height: auto;
    filter: blur(8px);
}

.login-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.pageadmin {
    position: relative;
    max-width: 90%;
    display: inline-block;
    justify-content: center;
}