@import url('https://fonts.googleapis.com/css?family=Open+Sans');

/* Base styles */
* {
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

 body {
    width: 100%;
    height: 100%;
    font-family: 'Open Sans', sans-serif;
    background-image: linear-gradient(to right top, #03004c, #042d80, #0066d5, #009bff, #000d29);
/*
    background: #092756;
    background: radial-gradient(ellipse at 0% 100%, rgba(104,128,138,0.4) 10%, rgba(138,114,76,0) 40%), 
                linear-gradient(to bottom, rgba(57,173,219,0.25) 0%, rgba(42,60,87,0.4) 100%), 
                linear-gradient(135deg, #670d10 0%, #092756 100%);
*/
}


  input::placeholder {
    color: #c6c6c6; /* remplace #999 par la couleur que tu veux */
  }



/* Input styles */
input {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(0,0,0,0.3);
    border-radius: 4px;
    outline: none;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
    box-shadow: inset 0 -5px 45px rgba(100,100,100,0.2), 0 1px 1px rgba(255,255,255,0.2);
    transition: box-shadow 0.5s ease;
}

input:focus {
    box-shadow: inset 0 -5px 45px rgba(100,100,100,0.4), 0 1px 1px rgba(255,255,255,0.2);
}

/* Image styles */
img {
    height: 100%;
    margin: auto;
    display: block;
    margin-left: 41px;
}


/* Button base styles */
.btn {
    display: inline-block;
    padding: 4px 10px;
    margin-bottom: 0;
    font-size: 13px;
    line-height: 18px;
    color: #333;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255,255,255,0.75);
    vertical-align: middle;
    background: linear-gradient(to bottom, #fff, #e6e6e6);
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    box-shadow: inset 0quest: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.05);
    cursor: pointer;
}



.btn-primary {
    color: #000000;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background: linear-gradient(to bottom, #b0de6e, #00bc09);
    border: 1px solid #29b200;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Primary button hover */
.btn-primary:hover {
    background: linear-gradient(to bottom, #00bc09, #b0de6e); /* Inverse le dégradé */
    border-color: #29b200;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 2px 4px rgba(0,0,0,0.6);
}

/* Primary button active */
.btn-primary:active {
    background: linear-gradient(to bottom, #6db800, #005c04);
    border: 1px solid #135100;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3); /* Effet enfoncé */
    transform: translateY(2px); /* Légère descente pour simuler un clic */
}

/* Button variants */
.btn-block {
    display: block;
    width: 100%;
}

.btn-large {
    padding: 9px 14px;
    font-size: 15px;
    line-height: normal;
    border-radius: 5px;
    margin-top: 1em;
}

.message {
    background-color: #ff9295;
    padding: 10px;
    margin: 0 auto;
    border-radius: 15px;
    text-align: center;
    color: #740000;
    font-size: 19px;
    font-weight: bold;
}



    input {
        padding: 0.9em;
        font-size: 15px;
        margin-bottom: 0.5rem;
    }

    .login {
        max-width: 430px;
        padding: 1em;
        margin: 0 auto;
    }
    .error {
        max-width: 430px;
        margin: 0 auto;
    }


@media (max-width: 998px) and (min-width: 630px) {
    .login {
        max-width: 90%;
        padding: 10px;
        margin: 0 auto;
    }
    .error {
        max-width: 80%;
        margin: 0 auto;
    }

    input {
        padding: 42px;
        font-size: 45px;
        margin-bottom: 25px;
    }

    .btn-large {
        padding: 45px 15px;
        font-size: 50px;
    }

    .message {
        background-color: #ff9295;
        padding: 15px;
        margin: 0 auto;
        border-radius: 15px;
        text-align: center;
        color: #740000;
        font-size: 50px;
        font-weight: bold;
        margin-top: 95px;
    }
    
    .input-top {
        margin-top: 75px;
    }
}


