@import url(https://fonts.googleapis.com/css2?family=Play:wght@100;200;300;400;500;600;700&display=swap);


* {
    font-family: 'Play', sans-serif;
    margin: 0;
    padding: 0;
    transition: .3s ease
}

body {
    background: linear-gradient(to right, #f5f5f5f5, #0505058e);
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    position: relative;
}

.filligramme {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.774);
    height: 100%;
    z-index: 2;
    display: grid;
    place-items: center;
    display: none;
    overflow-y: scroll;
}

.contenu {
    border: none;
    background: #f5f5f5f5;
    width: 500px;
    height: 300px;
    border-radius: 10px;
    box-shadow: 3px 3px 3px #f5f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    /* display: none; */
}

.icone i{
    font-size: 120px;
    color: rgb(32, 83, 87);
}

.texte{
    font-size: 2em;
    text-align: center;
    font-weight: 600;
}

.fin{
    margin-top: 1em;
    /* display: flex;
    align-items: center;
    justify-content: space-around; */
    /* width: 100%; */
    text-align: center;
}

.fin p{
    font-size: 1.1em;
}

.container {
    width: 80%;
    margin: auto;
    margin-top: 1em;
    /* border: 1px solid red; */
    padding: 0;
    /* height: 100%; */
}

h2 {
    text-transform: uppercase;
    text-align: center;
    font-weight: bolder;
    font-size: clamp(1em, 2.5em, 5em);
    letter-spacing: 5px;
}

.upperFiles {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 2em;
}

h3 {
    margin-bottom: 1em;
}

/* input{} */

#nbpar {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    font-size: 3em;
    margin-top: .5em;
}

#nbfil {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    font-size: 3em;
    margin-top: .5em;
}

.upperPersonnes {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 2em;
}

.divParrains {
    position: relative;
    display: grid;
    width: 30%;
    height: 400px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(to right, rgb(32, 83, 87), rgb(32, 78, 6));
    animation: moving 10s infinite;
}

.contentImg {
    width: 92%;
    height: 92%;
    margin: auto;
    background: white;
    border-radius: 8px;
}

.divFilleuils {
    position: relative;
    display: grid;
    width: 30%;
    height: 400px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(to right, rgb(32, 83, 87), rgb(32, 78, 6));
    animation: moving 10s infinite;
}

.img {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.img img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

#assign {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    border: none;
    width: max-content;
    padding-right: 2em;
    padding-left: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80px;
    border-radius: 8px;
    font-size: 1.5em;
    font-weight: 600;
    border: 1px solid rgb(43, 104, 8);
    cursor: pointer;
    transition: .5s ease;
}

#assign::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: auto;
    border-radius: 8px;
    width: 100%;
    height: 0;
    border: none;
    transition: all .5s ease;
}

#assign:hover {
    border: none;
}

#assign:hover b {
    color: white;
    z-index: 1;
}

#assign:hover::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgb(8, 66, 54), rgb(34, 83, 6));
}

.upperNoms {
    margin-top: 2em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.divNomP,
.divNomF {
    position: relative;
    display: grid;
    width: 30%;
    height: 80px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(to right, rgb(32, 83, 87), rgb(32, 78, 6));
    animation: moving 10s infinite;
}

.noms {
    width: 95%;
    height: 75%;
    margin: auto;
    background: white;
    border-radius: 8px;
    text-align: center;
    position: relative;
    /* display: grid;
    place-items: center; */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.noms p {
    font-weight: 600;
    text-transform: capitalize;
    font-size: 1.3em;
}

.title {
    font-size: 1.2em;
    font-weight: bold;
    border-bottom: 2px solid;
}

#result{
    border-collapse: collapse;
    width: 50%;
    margin: auto;
    margin-top: 1em;
    margin-bottom: 1em;
    background: #f5f5f5f5;
}

th{
    font-size: larger;
}

td, th{
    width: 300px;
    padding: .5em;
}


@keyframes moving {
    0% {
        background: linear-gradient(to right, rgb(32, 83, 87), rgb(32, 78, 6));
    }

    10% {
        background: linear-gradient(to right, rgb(75, 184, 192), rgb(78, 134, 46));
    }

    20% {
        background: linear-gradient(to right, rgb(99, 126, 128), rgb(58, 109, 28));
    }

    30% {
        background: linear-gradient(to right, rgb(35, 104, 109), rgb(43, 104, 8));
    }

    40% {
        background: linear-gradient(to right, rgb(11, 215, 230), rgb(92, 235, 9));
    }

    50% {
        background: linear-gradient(to right, rgb(13, 189, 159), rgb(111, 150, 6));
    }

    70% {
        background: linear-gradient(to right, rgb(32, 85, 88), rgb(94, 19, 165));
    }

    80% {
        background: linear-gradient(to right, rgb(156, 24, 46), rgb(173, 82, 7));
    }

    100% {
        background: linear-gradient(to right, rgb(158, 182, 26), rgb(122, 19, 71));
    }
}