/* ========================= */
/* Style général */
/* ========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background-image:url("fond.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;

    min-height:100vh;

    display:flex;
    flex-direction:column;
    align-items:center;

    padding:20px;
}

/* ========================= */
/* Logo */
/* ========================= */

.logo{
    position:fixed;
    top:20px;
    left:20px;
    width:90px;
    height:auto;
    z-index:1000;
}

/* ========================= */
/* Formulaire */
/* ========================= */

.container{

    width:100%;
    max-width:500px;

    margin-top:120px;
    margin-bottom:50px;

    padding:30px;

    background:rgba(255,255,255,.18);
    backdrop-filter:blur(10px);

    border-radius:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.30);

}

h2{

    text-align:center;
    color:#000;
    font-size:34px;
    margin-bottom:15px;

}

.description{

    text-align:center;
    color:#000;
    font-size:18px;
    margin-bottom:25px;

}

.language{

    text-align:right;
    margin-bottom:20px;

}

.language select{

    padding:8px 12px;
    border-radius:8px;
    border:none;
    cursor:pointer;

}

label{

    display:block;
    margin-top:18px;
    margin-bottom:8px;

    font-size:18px;
    font-weight:bold;

}

input,
textarea{

    width:100%;

    padding:14px;

    border:2px solid #87CEEB;
    border-radius:10px;

    background:#DFF6FF;

    font-size:17px;

    outline:none;

    transition:.3s;

}

input:focus,
textarea:focus{

    background:#CDEFFF;

    border-color:#1E90FF;

    box-shadow:0 0 10px rgba(30,144,255,.40);

}

textarea{

    resize:vertical;
    min-height:150px;

}

button{

    width:100%;

    margin-top:25px;

    padding:15px;

    border:none;

    border-radius:10px;

    background:#007BFF;

    color:white;

    font-size:20px;

    cursor:pointer;

    transition:.3s;

}

button:hover{

    background:#005ec4;

}

#success{

    display:none;

    color:limegreen;

    text-align:center;

    font-weight:bold;

    margin-top:20px;

    font-size:18px;

}

.copyright{

    width:100%;

    text-align:center;

    color:white;

    padding:20px;

    font-size:14px;

}

/* ========================= */
/* Version téléphone */
/* ========================= */

@media screen and (max-width:768px){

    body{

        padding:15px;

    }

    .logo{

        position:static;

        display:block;

        width:75px;

        margin:10px auto 20px auto;

    }

    .container{

        width:100%;

        max-width:420px;

        margin:0 auto 30px auto;

        padding:20px;

    }

    h2{

        font-size:28px;

    }

    .description{

        font-size:16px;

    }

    label{

        font-size:17px;

    }

    input,
    textarea,
    button{

        font-size:16px;

    }

}

/* ========================= */
/* Très petits téléphones */
/* ========================= */

@media screen and (max-width:480px){

    .container{

        padding:18px;

    }

    h2{

        font-size:24px;

    }

    .description{

        font-size:15px;

    }

    button{

        font-size:18px;

    }

}