/**** Reset ****/

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

input {
    outline: none;
    border: none;
}

/**** Style général de la page ****/

body {
    width: 100%;
    min-height: 100vh;
    background-color: #8bc6fa;
    font-family: sans-serif;
    font-size: 18px;
    display: flex;
    flex-direction: column;
}

h1 {
    text-align: center;
    font-size: 28px;
    text-transform: uppercase;
    font-style: italic;
    margin-top: 30px;
}

.main__content {
    flex-grow: 1;
    width: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    padding: 70px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.container {
    width: 45%;
}

input {
    width: 100%;
    height: 40px;
    border-radius: 8px;
    border: 2px solid #e0dfdf;
    margin-top: 8px;
    padding: 12px;
    appearance: none;
    -moz-appearance: textfield;
    /* Suppression des flèches de l'input number sur Mozilla */
}

/* Suppression des flèches de l'input number sur Chrome */
input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input:focus {
    border-color: #8bc6fa;
}

footer {
    position: absolute;
    bottom: 0;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/**** Responsive design ****/

@media screen and (max-width: 572px) {
    h1 {
        font-size: 25px;
        padding: 0 12px
    }

    .main__content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 95%;
    }

    .container {
        width: 100%;
    }

    input {
        margin-bottom: 12px;
    }
}