body {
    background: #141414;
    color: #f1f1f1;
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

a {
    text-decoration: none;
}

.form-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

/* ------------ content ------------ */

.return_to_main {
    position: absolute;
    top: 20px;
    left: 20px;
    border-color: #cfcfcf;
    background-color: #141414;
    color: #f1f1f1;
    font-weight: bold;
    font-size: 14px;
    border-style: solid;
    border-radius: 7px;
    border-width: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    height: 35px;
    width: 103px;
    transition: 0.3s;
}

.main_content {
    text-align: center;
    display: grid;
    padding: 50px;
    border-color: #cfcfcf;
    border-style: solid;
    border-width: 3px;
    border-radius: 8px;
    box-shadow: 0 0 70px;
}

.attention {
    color: rgb(255, 196, 0);
    font-weight: bold;
    font-size: small;
}

/* ------------ inputs ------------ */

.inputs {
    display: grid;
    gap: 20px;
}

.name_input {
    border-color: #cfcfcf;
    color: #f1f1f1;
    border-style: solid;
    border-radius: 7px;
    border-width: 3px;
    height: 35px;
    width: 270px;
    background-color: #141414;
    transition: 0.3s;
    padding: 0 10px; 
    font-size: 16px;
}

.surename_input {
    border-color: #cfcfcf;
    color: #f1f1f1;
    border-style: solid;
    border-radius: 7px;
    border-width: 3px;
    height: 35px;
    width: 270px;
    background-color: #141414;
    transition: 0.3s;
    padding: 0 10px; 
    font-size: 16px;
}

.email_input {
    border-color: #cfcfcf;
    color: #f1f1f1;
    border-style: solid;
    border-radius: 7px;
    border-width: 3px;
    height: 35px;
    width: 270px;
    background-color: #141414;
    transition: 0.3s;
    padding: 0 10px; 
    font-size: 16px;
}

.password_input {
    border-color: #cfcfcf;
    color: #f1f1f1;
    border-style: solid;
    border-radius: 7px;
    border-width: 3px;
    height: 35px;
    width: 270px;
    background-color: #141414;
    transition: 0.3s;
    padding: 0 10px;
    font-size: 16px;
}

.nickname_input {
    border-color: #cfcfcf;
    color: #f1f1f1;
    border-style: solid;
    border-radius: 7px;
    border-width: 3px;
    height: 35px;
    width: 270px;
    background-color: #141414;
    transition: 0.3s;
    padding: 0 10px;
    font-size: 16px;
}

.password_repeat_input {
    border-color: #cfcfcf;
    color: #f1f1f1;
    border-style: solid;
    border-radius: 7px;
    border-width: 3px;
    height: 35px;
    width: 270px;
    background-color: #141414;
    transition: 0.3s;
    padding: 0 10px;
    font-size: 16px;
}

.birthdate_input {
    border-color: #cfcfcf;
    color: #f1f1f1;
    border-style: solid;
    border-radius: 7px;
    border-width: 3px;
    height: 35px;
    width: 270px;
    background-color: #141414;
    transition: 0.3s;
    padding: 0 10px;
    font-size: 16px;
}

/* ------------ buttons ------------ */

.confirm_button {
    background-color: #23c52b;
    border-color: #cfcfcf;
    color: #f1f1f1;
    font-weight: bold;
    border-style: solid;
    border-radius: 30px;
    border-width: 3px;
    height: 45px;
    width: 290px;
    transition: 0.3s;
    padding: 0 10px;
    box-sizing: border-box;
}

.google_login {
    border-color: #cfcfcf;
    background-color: #141414;
    color: #f1f1f1;
    font-weight: bold;
    font-size: 14px;
    border-style: solid;
    border-radius: 30px;
    border-width: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    height: 45px;
    width: 290px;
    transition: 0.3s;
    padding: 0 10px;
    box-sizing: border-box;
}

/* ------------ focus ------------ */

.name_input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.171), 0 0 30px rgba(76, 175, 80, 0.5);
    transition: 0.3s;
}

.surename_input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.171), 0 0 30px rgba(76, 175, 80, 0.5);
    transition: 0.3s;
}

.email_input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.171), 0 0 30px rgba(76, 175, 80, 0.5);
    transition: 0.3s;
}

.password_input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.171), 0 0 30px rgba(76, 175, 80, 0.5);
    transition: 0.3s;
}

.nickname_input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.171), 0 0 30px rgba(76, 175, 80, 0.5);
    transition: 0.3s;
}

.password_repeat_input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.171), 0 0 30px rgba(76, 175, 80, 0.5);
    transition: 0.3s;
}

.birthdate_input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.171), 0 0 30px rgba(76, 175, 80, 0.5);
    transition: 0.3s;
}

/* ------------ hovers ------------ */

.confirm_button:hover {
    cursor: pointer;
    background-color: #050505;
    border-color: #cfcfcf;
    color: #f1f1f1;
    border-style: solid;
    border-width: 3px;
    transition: 0.3s;
}

.google_login:hover {
    cursor: pointer;
    background-color: #4CAF50;
    color: #070707;
}

.return_to_main:hover {
    cursor: pointer;
    background-color: #4CAF50;
    color: #070707;
}


@media (max-width: 640px) {
    body {
        overflow-x: hidden;
    }
    
    .main_content {
        border: none;
        box-shadow: none;
        padding: 10px;
        margin-top: 20%;
    }

    .button-container {
        flex-direction: column;
        display: grid;
        gap: 20px;
        margin-bottom: 0;
    }

    .input-group {
        display: grid;
    }

    .form-row {
        display: grid;
    }

    .form-row:last-of-type {
        margin-bottom: 20px;
    }
}