@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

/* 
--gray1: #9e9e9e;


--gray2: #202020; 
*/


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter" !important;
    font-weight: bold;
    color: #ffffff;

    /*********/

    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html,
body {
    height: 100%;
    width: 100%;
}

body {
    background-color: #000000;

    display: flex;
    flex-direction: column;

    font-weight: bold;

    overflow: hidden;
}


/**************************************************/


.flouPourMdp {
    position: absolute;
    z-index: 999;
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-color: #000000b2;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);

    color: #ffffff;
}

#form_loginEtMdp {
    height: 375px;
    width: 270px;

    background-color: #202020;
    border-radius: 12px;
    color: #ffffff;

    display: flex;
    flex-direction: column;
}

#form_loginEtMdp>label {
    margin-top: 35px;
    font-size: 2.2rem;

    margin-left: 12px;
    color: #ffffff;
}

#form_loginEtMdp>input {
    margin-top: 4px;
    margin-left: 12px;

    width: 230px;
    height: 40px;
    background-color: #3b3b3b !important;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: bold;
    padding-left: 4px;

    color: #ffffff !important;

    border: none;
}

#form_loginEtMdp>input:focus {
    margin-top: 4px;
    margin-left: 12px;

    width: 230px;
    height: 40px;
    background-color: #3b3b3b !important;
    border-radius: 12px;
    font-size: 1.5rem;
    padding-left: 4px;

    color: #ffffff !important;

    border: none;
    outline: none;
}

#form_loginEtMdp>.boutonLogin {
    margin-top: 32px;
    height: 50px;
    width: 240px;
    margin-left: 11px;

    background-color: #ffffff;
    border-radius: 12px;
    border: none;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 1.8rem;
    color: #000000;
    cursor: pointer;

    font-weight: bold;
}

.lienVersSignUp {
    color: #ffffff;
    width: 100%;
    height: 30px;
    margin-top: 8px;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 1.5rem;

    text-decoration: underline 1px;
}

.lienVersSignUp>span {
    cursor: pointer;
}







#form_signUp {
    height: 375px;
    width: 270px;

    background-color: #202020;
    border-radius: 12px;

    display: flex;
    flex-direction: column;

    color: #ffffff;
    box-shadow: #0000009a 0 0 16px;
}

#form_signUp>label {
    margin-top: 35px;
    font-size: 2.2rem;

    margin-left: 12px;
}

#form_signUp>input {
    margin-top: 4px;
    margin-left: 12px;

    width: 230px;
    height: 40px;

    border: none;
    background-color: #3b3b3b;
    border-radius: 12px;
    font-size: 1.5rem;
    padding-left: 4px;

    color: #ffffff !important;
}

#form_signUp>input:focus {
    margin-top: 4px;
    margin-left: 12px;

    width: 230px;
    height: 40px;

    border: none;
    background-color: #3b3b3b;
    border-radius: 12px;
    font-size: 1.5rem;
    padding-left: 4px;

    color: #ffffff !important;
    outline: none;
}

#form_signUp>.boutonSignUp {
    margin-top: 32px;
    height: 50px;
    width: 250px;
    margin-left: 10px;

    background-color: #ffffff;
    border-radius: 12px;
    border: none;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 1.8rem;

    cursor: pointer;

    color: #000000 !important;
}

.lienVersLogIn {
    width: 100%;
    height: 30px;
    margin-top: 8px;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 1.5rem;

    text-decoration: underline 1px;
}

.lienVersLogIn>span {
    cursor: pointer;
}

#messagePourConexion {
    position: absolute;
    width: 100%;
    height: 100px;

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 10000;
    transition: .3s;
    transform: translateY(-150px);
}

#messagePourConexion>div {
    width: 300px;
    height: 80px;

    border-radius: 12px;
    background-color: #1a1a1a;
    border: solid 1px #3b3b3b;
    font-size: 1.3rem;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding-left: 12px;
    padding-right: 12px;

    color: #ffffff;
}

header {
    height: 20px;
    width: 100%;

    text-align: center;

    font-size: 1.2rem;
}




/*************************************/

main {
    width: 100%;
    height: calc(100% - 20px - 35px);
}

main>div {
    height: 100%;
    width: 100%;

    display: none;
}

main>.pagePoste {
    display: none;
    justify-content: center;
    align-items: center;
}

main>.pagePoste>#formulairePourPhoto {
    height: 100%;
    width: 100%;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}


main>.pagePoste>#formulairePourPhoto>#inputPourPhoto {
    height: calc(100% - 170px - 100px);
    aspect-ratio: 3 / 5;

    background-color: #202020;
    padding: 20px;
    border-radius: 12px;

    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    cursor: pointer;

    font-size: 1.5rem;

    overflow: hidden;

    transition: .15s;
}

input[type=file] {
    position: absolute;
    width: 350px;
    max-width: 100%;
    color: transparent;
    padding: 8px;
    border-radius: 6px;

    height: 100%;
    width: 100%;

    cursor: pointer;
    opacity: 0;
}

input[type=file]::file-selector-button {
    margin-right: 8px;
    background: transparent;
    padding: 8px 12px;
    color: transparent;
    border-radius: 6px;
    border: none;
}

input[type="file"] {
    -webkit-appearance: none;
    /* Masque la prévisualisation sur Safari */
    appearance: none;
    /* Masque la prévisualisation sur Safari */
}

#containerTextareaForNewPhoto {
    height: 120px;
    width: 280px;

    position: relative;
    transition: .15s;
    border-radius: 12px;
}

#textareaForNewPhoto {
    transition: .15s;
    height: 100%;
    width: 100%;

    background-color: #202020;

    border-radius: 12px;
    resize: none;

    font-size: 1.1rem;
    padding: 7px;

    border: none;
}

#textareaForNewPhoto:focus {
    outline: none;
}

#compteurDeCaractere {
    position: absolute;
    height: 20px;
    width: 50px;

    top: calc(100% - 25px);
    left: calc(100% - 55px);
    font-size: .8rem;

    display: flex;
    justify-content: center;
    align-items: center;
}

.pagePoste>form>#boutonDePublicationPhoto {
    height: 50px;
    width: 280px;


    background-color: #ffffff;
    border-radius: 12px;
    color: #000000;

    resize: none;

    font-size: 1.4rem;
    padding: 7px;

    border: none;
    text-align: center;
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;
}

#logoChargement {
    height: 50%;
    aspect-ratio: 4 / 1;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dot {
    height:
        100%;
    aspect-ratio: 1 / 1;

    background-color: #000000;
    border-radius: 50%;
}

#dot1 {
    animation: animationChargement 1s infinite;
}

#dot2 {
    animation: animationChargement 1s infinite .33s;
}

#dot3 {
    animation: animationChargement 1s infinite .66s;
}


@keyframes animationChargement {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0);
    }
}

footer {
    width: 100%;
    height:35px;


    display: flex;
    justify-content: center;
    align-items: center;
    border-top: solid 2px #202020;
    padding: 0px;
}

footer>div {
    width: 33%;
    max-width: 200px;
    max-height: 35px;
    height: 35px;

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;

    opacity: .3;

    /* background-color: blue; */

}