@import url('https://fonts.googleapis.com/css2?family=Rubik+Scribble&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&display=swap');

:root {
    --image: url("../ecaille.jpg");
    --paysImg: url("../paysImg/france.jpg");
    --fgImg: url("../ecaille.jpg");
    --background: linear-gradient(90deg, rgba(8, 203, 47, 0.5) 0%, rgba(10, 173, 43, 0.6) 30%, rgb(15, 111, 34) 56%, rgb(21, 130, 32) 100%);
}

* {
    border: none;
    overflow: hidden;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

body {
    background: var(--image);
    background-size: contain;
    background-repeat: repeat-y;
    font-family: 'Noto Sans JP', sans-serif;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

body::before {
    content: '';
    background: var(--background);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    padding-right: 20px;
    padding-left: 20px;
    padding-top: 5px;
    text-transform: uppercase;
}

.privacy {
    font-size: 25px;
    transition: all 0.2s;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
}

.paysPrivacy {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.privacy:hover {
    transform: scale(1.05);
}

small {
    font-family: Arial, Helvetica, sans-serif;
    font-size: larger;
}

.containerLogo {
    padding: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: auto;
    float: left;
    margin-right: auto;
    font-family: 'Rubik Scribble', system-ui;
}

.hrLogo {
    border: none;
    border-left: 2px solid rgb(255, 255, 255, 0.5);
    height: 55%;
    width: 2px;
    border-radius: 2px;
}

#textLogo {
    font-size: 25px;
    transition: all 0.2s;
    letter-spacing: 2px;
}

#textLogo:hover {
    transform: scale(1.1);
}

.containerLogo #logo {
    width: 40px;
    height: auto;
    margin-right: 10px;
    padding: 2px;
    transition: all 0.5s;
}

.containerLogo:hover #logo {
    transform: scale(1.1);
    animation: rotate 2s infinite;
}

.rotate {
    transform: scale(1.1);
    animation: rotate 2s infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

.pays {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    margin-right: 20px;
}
.fa-circle-question{
    cursor: pointer;
}
.box {
    width: auto;
    height: auto;
    border: 1px solid #999;
    font-size: 25px;
    color: transparent;
    border-radius: 5px;
    background-image: var(--paysImg);
    background-size: cover;
    font-family: 'Black Han Sans', sans-serif;
    font-weight: 900;
}

.box option {
    background-color: #888;
    color: rgba(0, 0, 0, 0.7);
}

.box:focus {
    border: 1px dashed #333;
}

#privacyMenu {
    display: block;
    position: absolute;
    top: 10%;
    width: 100%;
    height: 0;
    background-color: #ffffff;
    box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.1);
    transition: all .3s ease;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: none;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    text-align: justify;
    z-index: 999;
}

#privacyMenu p {
    margin-bottom: 10px;
}

#privacyMenu li {
    list-style-type: none;
    margin-bottom: 8px;
}

.closePrivacy {
    position: fixed;
    visibility: hidden;
    transition: all 0.3s;
    right: 20px;
    font-size: 40px;
    bottom: 5%;
    cursor: pointer;
    color: black;
    z-index: 1000;
}


.closePrivacy:hover {
    transform: scale(1.05);
}

.closePrivacy:active {
    transform: scale(0.9);
}

#privacyMenu.afficher {
    height: 100%;
    padding: 10px;
    overflow-y: visible;
}

.closePrivacy.afficher {
    visibility: visible;
}

.arrowMore.turn {
    transform: rotate(-90deg);
}

.arrowMore {
    transition: all 0.25s ease-in;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
}

.placeImg {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    margin: auto;
    z-index: 10;
}

#randomPhrases {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    transition: all 0.2s;
    display: none;
}

#verdictContainer {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 25px;
    z-index: 999;
}

#verdict {
    letter-spacing: 1pt;
}

#finalVerdict {
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 800;
    display: none;
    font-family: 'Rubik Scribble', system-ui;
}

#randomPhrases:hover {
    font-size: 25px;
}

#randomPhrases:active {
    font-size: 20px;
}

.placeImg h1:hover,
.placeImg h2:hover {
    transform: scale(1.05);
}

.placeImg h1:active,
.placeImg h2:active {
    transform: scale(0.9);
}

.placeImg h1,
.placeImg h2 {
    transition: all 0.2s;
    padding-left: 20px;
    padding-right: 20px;
}

.placeImg h1 {
    font-family: 'Rubik Scribble', system-ui;
}

.btn {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

svg:hover {
    animation: attente 0.75s infinite;
}

@keyframes attente {
    from {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(1.05);
    }

    to {
        transform: scaleY(1);
    }
}

.text {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-font-smoothing: subpixel-antialiased;
    text-rendering: optimizeLegibility;
    font-family: 'Rubik Scribble', system-ui;
    font-size: 4.5px;
    font-weight: bold;
}

.subCircle {
    pointer-events: none;
}

.strokeW {
    -webkit-animation: strokeW 0.6s forwards;
    animation: strokeW 0.6s forwards;
}

@-webkit-keyframes strokeW {
    to {
        stroke-width: 1.16;
    }
}

@keyframes strokeW {
    to {
        stroke-width: 1.16;
    }
}

.drag {
    background: rgba(42, 39, 39, 0.5);
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    cursor: pointer;
    z-index: 1000;
    display: none;
}

.deposerTitle {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 55px;
    transform: translate(-50%, -50%);
    text-align: center;
}

#bloc {
    position: relative;
    width: 95%;
    height: 95%;
    padding: 6px;
    z-index: 1003;
}

#bloc .tl,
#bloc .tr,
#bloc .bl,
#bloc .br {
    position: absolute;
    width: 150px;
    height: 150px;
    display: block;
    overflow: hidden;
    border: 20px solid #0d9021;
}

#bloc .tl {
    top: 0;
    left: 0;
    border-right: 0;
    border-bottom: 0;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
}

#bloc .tr {
    top: 0;
    right: 0;
    border-bottom: 0;
    border-left: 0;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 10px;
}

#bloc .bl {
    bottom: 0;
    left: 0;
    border-top: 0;
    border-right: 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 10px;
}

#bloc .br {
    bottom: 0;
    right: 0;
    border-left: 0;
    border-top: 0;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
}

.ou {
    margin: none;
    font-size: 30px;
    font-weight: bold;
}

.takePhoto {
    background-color: transparent;
    color: white;
    padding: 3px 10px 3px 3px;
    font-size: 18px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 2px 2px 5px #2d5c3958;
    border: 3px #2d5c39 solid;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    font-weight: bold;
    margin: none;
}

.verifButton {
    background-color: transparent;
    color: white;
    padding: 10px;
    font-size: 35px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    border: 3px #2d5c39 solid;
    font-weight: bold;
    margin: none;
}
.eye{
    animation: comeSee 1.2s;
}
@keyframes comeSee {
    from{
        transform: scale(1.2);
    }
    50%{
        transform: scale(0.9);
    }
    to{
        transform: scale(1.2);
    }
}
.takePhoto:hover i {
    transform: scale(1.11);
}

.takePhoto:hover p {
    transform: scale(1.05);
}

.takePhoto:active i {
    transform: scale(0.9);
}

.takePhoto:active p {
    transform: scale(0.9);
}

.takePhoto i {
    font-size: 30px;
    background-color: #2d5c39;
    padding: 20px 20px;
    border-radius: 50%;
    margin: auto;
    margin-right: 5px;
    transition: all 0.3s;
}

.takePhoto p {
    transition: all 0.3s;
}

#cameraContainer {
    position: fixed;
    top: -100vh;
    left: 50%;
    transform: translate(-50%, 0%);
    max-width: 90%;
    height: 65vh;
    background: rgb(15, 111, 34, 0.99);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: top 0.5s ease-out;
    z-index: 999;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    padding: 10px;
    justify-content: space-evenly;
}

.button {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 85%;
}

.button button {
    background-color: transparent;
    color: white;
    padding: 5px;
    font-size: 25px;
    border: none;
    cursor: pointer;
    align-items: center;
    font-weight: bold;
    margin: none;
    transition: all 0.3s;
}

.button button:hover {
    transform: scale(1.2);
}

#cameraVideo {
    max-width: 85%;
    max-height: 85%;
    border-radius: 25px;
}

.sortirAppareil {
    display: none;
    width: 100%;
    height: 100%;
    z-index: 950;
    position: absolute;
    top: 0;
    left: 0;
}

.center,
.content {
    top: 0px;
    left: 0px;
    position: absolute;
}

.bar {
    width: 100%;
    height: 5px;
    padding: 0;
    background-color: rgba(24, 158, 17, 0.5);
    border: none;
    border-bottom-right-radius: 10px;
}

.bar .loader {
    width: 5%;
    height: 5px;
    background-image: linear-gradient(to right, rgba(13, 91, 9, 0.3), rgb(14, 70, 11), rgba(19, 97, 14, 0.3));
    animation: slide infinite 2.5s linear;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
}

@keyframes slide {
    from {
        margin-left: -20px;
    }

    to {
        margin-left: 105%;
    }
}