@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@200;300;400;600;700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Titillium Web', sans-serif;
    text-decoration: none;
    list-style-type: none;
    outline: rgba(128, 128, 128, 0.308);
    transition: all .3s ease;
}

:root {
    --main-color: #00122D;
    --main-color-op: #00122d96;
    --btn-color: #39A7E5;
    --text-color: #000;
    --bg-color: #fff;
    --txt-white-op: #ffffff96;
    --bg-prop: #D8D8D8
}

::selection {
    background: var(--main-color);
    color: var(--bg-color);
}

body {
    position: relative;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to right, #00122df3, #00122ddc), url('../images/section_categories/jonathan-chng-3R4vPrSB1c4-unsplash.jpg') no-repeat center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.filigramme {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.726);
    z-index: 1;
    opacity: 1;
}

/* content joueur j1  */
.j1-content {
    position: absolute;
    top: 10%;
    left: 35%;
    background-color: white;
    border-radius: 8px;
    border: none;
    width: 600px;
    height: max-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    z-index: 3;
}

.j1-content .image, .victoire .image {
    width: 400px;
    height: 400px;
}

.j1-content .image img, .victoire .image img {
    width: 100%;
    height: 100%;
}

.id-first,
.id-second {
    margin-top: 2em;
    margin-bottom: 2em;
    width: 90%;
    margin: auto;
}

#id-j1,
#id-j2 {
    width: 100%;
    border: none;
    background: var(--bg-prop);
    border-radius: 8px;
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 10px;
    margin-top: 1em;
    margin-bottom: 1em;
}

.connect {
    background: var(--btn-color);
    padding: .7em 2em;
    border: none;
    border-radius: 20px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1em;
    margin-top: 1em;
}


/* victoire  */
.victoire{
    position: absolute;
    top: 10%;
    left: 35%;
    background-color: white;
    border-radius: 8px;
    border: none;
    width: 600px;
    height: max-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: -2;
    opacity: 0;
    animation: bouge 5s infinite;
}

@keyframes bouge {
    0%{
        top: 10%;
    }
    50%{
        top: 15%;
    }
    100%{
        top: 10%;
    }
}


.rep{
    display: flex;
    width: 90%;
    margin: auto;
    align-items: center;
    justify-content: space-between;
    margin-top: 1em;
    margin-bottom: 1em;
    position: relative;
}

.rep::before{
    position: absolute;
    content: '';
    top: 50%;
    left: 20%;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #39a6e560;
    z-index: -1;
    animation: beforeRep 5s infinite;
}

@keyframes beforeRep {
    0% {
        left: 20%;
    }

    50% {
        left: 30%;
    }

    100% {
        left: 20%;
    }
}

.rep::after{
    position: absolute;
    content: '';
    top: 10%;
    right: 20%;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #39a6e560;
    z-index: -1;
    animation: afterRep 5s infinite;
}
@keyframes afterRep {
    0% {
        top: 50%;
    }

    50% {
        top: 100%;
    }

    100% {
        top: 50%;
    }
}

.rep .bonne-rep{
    font-size: 18px;
    font-weight: 600;
    text-decoration: underline;
}

.victoire .winner-score{
    margin-top: 1em;
    margin-bottom: 1em;
}
.victoire .winner-score .score-label{
  font-weight: 600;
  font-size: 20px;
}

.link-accueil{
    margin-top: 1em;
    margin-bottom: 1em;
}
.link-result{
    margin-top: 1em;
    margin-bottom: 1em;
}

.score-value-win{
    font-size: 18px;
}


h1 {
    text-align: center;
    color: white;
    margin-top: 1em;
    margin-bottom: 1em;
    text-transform: uppercase;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 750px;
}

.container .contenu_div {
    position: relative;
    width: 100%;
    background: var(--btn-color);
    height: max-content;
    border-radius: 8px;
    box-shadow: 0px 0px 5px var(--btn-color);
    border: none;
}

.container .contenu_div .score {
    width: 100%;
    background: white;
    border-radius: 8px 8px 0 0;
    text-align: center;
    padding-top: 1em;
    padding-bottom: 1em;
    text-transform: uppercase;
    font-size: 22px;
}

.container .contenu_div .score .score-title {
    font-weight: 700;
    text-decoration: underline;
}

.container .contenu_div .question {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 175px;
    background: var(--main-color-op);
    width: 100%;
    margin-top: .5em;
    margin-bottom: 2em;
    color: white;
    font-size: 20px;
    font-weight: 550;
}

.container .contenu_div .propositions {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    margin: auto;
    justify-content: space-between;
    margin-top: 1em;
}

.container .contenu_div .propositions>div {
    background: var(--bg-prop);
    width: 45%;
    text-align: center;
    border-radius: 8px;
    border: none;
    padding-top: 2em;
    padding-bottom: 2em;
    color: black;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    margin-bottom: 2em;
}

.container .contenu_div .propositions>div:hover {
    background: #aca7a7;
}

.container .contenu_div .propositions>div:nth-child(3),
.container .contenu_div .propositions>div:nth-child(4) {
    margin-bottom: 7em;
}

.container .contenu_div .bas {
    margin-bottom: 7em;
}

.footer {
    border-radius: 0 0 8px 8px;
    border: none;
    position: absolute;
    width: 100%;
    background-color: white;
    bottom: 0;
    left: 0;
    height: auto;
}

.inner-footer {
    width: 90%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
}

.btn-debut {
    background: var(--btn-color);
    padding: .7em 2em;
    border: none;
    border-radius: 20px;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.number-question {
    font-weight: 600;
    font-size: 18px;
}

.time {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.timer{
    display: flex;
    font-size: 18px;
}