/*
couleur utilisé:
      - bleu clair #83b8e7
      - bleu foncé #156C9E
      - bleu normal #6793B8
      - écriture #063C5C  
      - vert clair #1DAD07
      - vert foncé #095717
      - gris clair #C5D3DB
      - gris foncé #ACB8BF
*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    height: 100%;
}

body{
    display: flex;
    width: 100%;
    min-height: 100vh;
    background: radial-gradient(circle, #7EADD6, #6793B8, #156C9E);
    justify-content: start;
    align-items: center;
    flex-direction: column;
    gap: 50px;
    color: #063C5C;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    background: linear-gradient(94deg,#83b8e7 0%, #6793B8 100%);/*linear-gradient(#D5DDE3, #ACB8BF)*/
    color: #D5DDE3;
    height: 50px;
    width: 100vw;
    border-bottom: solid 2px #156C9E;
}

footer{
    display: flex;
    background: #063C5C;/*linear-gradient(#D5DDE3, #ACB8BF)*/
    justify-content: center;
    color: #ffffff;
    margin-top: 80px;
    min-height: 100px;
    width: 100vw;
    border-top: solid 2px #156C9E;
    flex-wrap: wrap;
    align-content: center
}

h1{
    font-size: 60px;
    font-weight: 800;
    color: #ffffff;
}

h2{
   font-size: 45px; 
}

button{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    border: solid 1px #6793B8;
    border-radius: 5px;
    color: #D5DDE3;
    background: linear-gradient(90deg, #1DAD07, #095717)no-repeat;
    background-size: 100%;
    background-position: left center;
    padding: 10px;
    box-shadow:0 0 0 0 transparent;
    animation: pulse 2.0s infinite;
    transition: background-position 0.5s ease, background-size 0.5s ease;
    cursor: pointer;
}

button:hover{
    background-size: 320%;
    background-position: right center;
}

hr{
    height: 1px;
    background: #156C9E;
    width: 50%;
    margin-top: 20px;
    margin-bottom: 20px;
}

.centrage{
    display: flex;
    justify-content: center;
    align-items: center;
}

.espace{
    display: flex;
    flex-direction: column;
    gap: 20px
}

.input-text{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    color: #156C9E;
    border: solid 1px #6793B8;
    border-radius: 5px;
    width: 80%;
    box-shadow:0 5px 10px #83b8e7;
}

.cont-principal{
    display: flex;
    gap:35px;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex: 1;
}

.cont-secondaire{
    display: flex;
    gap:30px;
    width: 45vw;
    height: 650px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: radial-gradient(#ffffff, #D5DDE3, #ACB8BF);
    padding: 20px;
    border-radius: 8px;
    box-shadow:0px 5px 20px #ffffff;
}

.cont-scroll{
    display: flex;
    background: radial-gradient( #ACB8BF, #D5DDE3);
    padding-bottom: 50px;
    padding-top: 50px;
    align-items: center;
    flex-direction: column;
    gap:15px;
    height: 100%;
    width: 100%;
    overflow-y: auto;
    border-radius: 5px 0px 0px 5px;
}

.cont-qrcode{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: auto;
    border-radius: 5px;
}

.btn-telechargement{
    display:inline-flex;
    box-shadow:0 0 0 0 transparent;
    animation: pulse 2.0s infinite;
    border-radius: 5px;
}

.btn-telechargement button{
    animation: none;
    border-radius: 8px 0px 0px 8px;
}

.btn-telechargement select{
    border-radius: 0px 5px 5px 0px;
    border: solid 1px #6793B8;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    color: #063C5C; 
}

.input-couleur{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    transition: all 0.5seconde;
}

.input-color{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    border: solid 1px #6793B8;
    border-radius: 5px;
    box-shadow:0 5px 10px #83b8e7;
}

#couleur{
    border: solid 1px #6793B8;
    border-radius: 5px;
    box-shadow:0 5px 10px #83b8e7;
}

#forme, #lang{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    color: #156C9E;
    border: solid 1px #6793B8;
    border-radius: 5px;
    box-shadow:0 5px 10px #83b8e7;
}

#couleur2-principal{
    display: none;
}

body:has(#couleur-gradient-principal:checked) #couleur2-principal{
    display: inline-block;
}

#couleur2-secondaire{
    display: none;
}

body:has(#couleur-gradient-secondaire:checked) #couleur2-secondaire{
    display: inline-block;
}

#couleur2-fond{
    display: none;
}

body:has(#couleur-gradient-fond:checked) #couleur2-fond{
    display: inline-block;
}

input[type="file"]{
    width: 95%;
}

.centrage-bouton{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}


@keyframes pulse {
    0%   { box-shadow: 0 0 0 #83b8e7; }
    50%  { box-shadow: 0 5px 20px #83b8e7; }
    100% { box-shadow: 0 0 0 #83b8e7; }
}

@media screen and (max-width: 768px){
    h1{
        text-align: center;
        font-size: 50px;
    }

    h2{
        font-size: 40px;
    }
    .cont-principal{
        width: 100%;
        flex-direction: column;
    }

    .cont-secondaire{
        width: 95%;
        padding: 10px;
    }

    button{
        font-size: 18px;
        padding: 8px;
    }

    .cont-scroll{
        gap: 10px;
    }

    .centrage-bouton{
        gap: 5px;
    }

}

.espace-pub{
    height: 100px;
    width: 80%;
    border:#063C5C solid 1px;
    background: white;
    display: none;
}

.lien-mentions{
    margin-top: auto;
    padding: 5px;
}

.lien-mentions a{
    color: #83b8e7;
}

.place-explication{
    padding: 5px;
    display: flex;
    align-items: center;
    flex-direction: column;
    min-height: 80vw;
    color: #ffffff;
    gap: 20px;
}

[data-i18n] {
    white-space: pre-line;
}

.aide {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;

    width: 18px;
    height: 18px;

    border-radius: 50%;
    background: #2a4655;
    color: white;

    font-size: 12px;
    cursor: help;
}

.explication-url {

    display: none;
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    padding: 15px;
    border-radius: 10px;
    background: white;
    color: black;
    box-shadow: 0 5px 15px rgba(0,0,0,.2);
}

.aide:hover .explication-url {
    display: block;
}

.url-container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 80%;
}

.logo-link {
    display: flex;
    align-items: center;
    color: inherit;
}

.logo {
    height: 40px;
    width: auto;
}

.title {
    text-decoration: none;
    color: #063C5C;    
}