body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

form, h2 {
    color: #fff;
}

h2{
    text-align: center;
    font-size: 68px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: start;
    max-width: 600px;
}

.element {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-block: 15px;
    padding: 5px;
}

input {
    background-color: rgba(90, 90, 90, 0.2);
    outline: 2px solid rgba(90, 90, 90, 0.3);
    /* backdrop-filter: blur(300px); */
    color: white;
    border: none;
    padding: 15px;
    font-size: 18px;
    border-radius: 25px;
}

input:focus {
    box-shadow: 0 10px 20px rgba(123, 233, 164, 0.3);
    background-color: rgb(123, 233, 164);
    outline: 2px solid rgb(123, 233, 164);
    color: #000;
}

label {
    font-size: 24px;
    color: #fff;
    margin: 0 0 5px 5px;
}

.agree {
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

#agree {
    accent-color: rgb(123, 233, 164);
}

#agree:checked {
    background-color: rgb(123, 233, 164);
}

.agree label a:hover {
    text-decoration: underline;
}

.buttons {
    width: 100%;
    display: flex;
    justify-content: center;
}

.buttons button {
    margin-inline: 5px;
}

.btn {
    display: flex;
    align-items: center;
}


.file-wrapper input[type="file"],
input[type="file"].file {
    background-color: rgba(90, 90, 90, 0.2);
    outline: 2px solid rgba(90, 90, 90, 0.3);
    /* backdrop-filter: blur(300px); */
    color: white;
    border: none;
    padding: 15px;
    font-size: 18px;
    border-radius: 25px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-wrapper input[type="file"]:hover,
input[type="file"].file:hover {
    outline: 2px solid rgba(123, 233, 164, 0.5);
    background-color: rgba(123, 233, 164, 0.1);
}

.file-wrapper input[type="file"]:focus,
input[type="file"].file:focus {
    box-shadow: 0 10px 20px rgba(123, 233, 164, 0.3);
    background-color: rgb(123, 233, 164);
    outline: 2px solid rgb(123, 233, 164);
    color: #000;
}

.file-wrapper input[type="file"]::file-selector-button,
input[type="file"].file::file-selector-button {
    background-color: rgba(123, 233, 164, 0.3);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 15px;
    cursor: pointer;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.file-wrapper input[type="file"]::file-selector-button:hover,
input[type="file"].file::file-selector-button:hover {
    background-color: rgb(123, 233, 164);
    color: #000;
}

.signup_form {
    display: flex;
    align-items: center;
}

.avatar-upload-container {
    position: relative;
    display: flex;
    justify-content: center;
    cursor: pointer;
    margin: 20px auto;
    width: 100%;
}

.avatar-upload-container input[type="file"] {
    display: none;
}

.avatar_container_big {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(123, 233, 164, 0.5);
    position: relative;
    transition: all 0.3s ease;
}

.avatar-upload-container:hover .avatar_container_big {
    border-color: rgb(123, 233, 164);
    box-shadow: 0 5px 20px rgba(123, 233, 164, 0.4);
}

.avatar_container_big img.talker {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(145%);
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: rgb(123, 233, 164);
}

.avatar-upload-container:hover .avatar-overlay {
    opacity: 1;
}

.avatar-overlay span {
    font-size: 14px;
    font-weight: 600;
}
