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

:root {
    --color-1: #30323D;
    --color-2: #4D5061;
    --color-3: #E8C547;
    --color-4: #F26419;
    --color-5: #D8572A;
}

body {
    width: 100vw;
    height: 100vh;
    background-color: var(--color-1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
}

main {
    width: 700px;
    padding: 50px;
    background-color: var(--color-2);
    border-radius: 15px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

        /* title */

.section-title h1{
    font-size: 2.3rem;
    text-align: center;
    color: var(--color-3);
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}

.section-title #line {
    width: 100%;
    height: 2px;
    background-color: var(--color-3);
    margin-top: 5px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}

        /* forms */


form {
    width: 100%;
    margin-top: 30px;
    padding: 0px 10px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 25px;
}

label {
    display: inline-block;
    width: 80px;
    text-transform: capitalize;
    margin-right: 5px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15);
}

.s-date-birth {
    display: flex;
    align-items: center;
}

.s-date-birth label {
    width: 100px;
    text-align: center;
}

input {
    width: 180px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    outline: none;
    border-radius: 5px;
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.1),
    1px 1px 4px rgba(0, 0, 0, 0.2);
    padding-left: 10px;
    color: white;
    margin-left: 0px;
}

.s-date-birth input {
   text-align: center;
}

.s-email {
    width: 100%;
}

.s-email #input-email {
    width: calc(100% - 90px);
}

.s-confirm-password label {
    width: auto;
}

.section-submit {
    display: flex;
    width: 100%;
    justify-content: end;
}

.section-submit #button-submit {
    padding: 8px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    text-transform: capitalize;
    font-weight: bold;
    background-color: var(--color-4);
    color: white;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
    transition: 0.25s;
}

.section-submit #button-submit:hover {
    cursor: pointer;
    background-color: var(--color-5);
    transform: scale(1.05);
}


        /* responsive */

@media (max-width: 700px) {
    body {
        padding: 0px 20px;
    }

    .section-title h1{
        font-size: 2rem;
    }

    main {
        padding: 50px 20px;
    }
}

@media (max-width: 658px) {

    .section-title h1{
        font-size: 1.8rem;
    }

    form section {
        width: 48%;
    }

    input {
        width: 100%;
        margin-top: 10px;
    }

    .s-last-name {
        width: 50%;
    }

    .s-date-birth {
        width: 50%;
        flex-wrap: wrap;
    }

    .s-date-birth input {
        width: 100%;
    }

    .s-email #input-email {
        width: 100%;
    }

    .s-confirm-password {
        width: 50%;
    }
}

@media (max-width: 480px) {
    body {
        height: auto;
        padding: 20px;
    }

    form {
        flex-direction: column;
    }

    form section {
        width: 100%;
    }

    .s-last-name {
        width: 100%;
    }

    .s-confirm-password {
        width: 100%;
    }
}

