@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#container {
    height: 100vh;
    width: 100%;
    background: linear-gradient(90deg, hsla(217, 100%, 50%, 1) 0%, #61efff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

#cadastro_form {
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    padding: 30px 40px;
    border-radius: 8px;
    gap: 30px;
    box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.336);
    height: fit-content;
    animation: dark-to-light 0.3s ease-in-out;
}

#form_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#form_header h1 {
    font-size: 40px;
    position: relative;
}

#form_header h1::before {
    position: absolute;
    content: '';
    width: 40%;
    background-color: #47b7c4;
    height: 3px;
    bottom: 10px;
    border-radius: 5px;
}
#mode_icon {
    cursor: pointer;
    font-size: 20px;
}

#social_midia {
    display: flex;
    justify-content: space-around;
}

#social_midia img {
    width: 35px;
}

#social_midia img:hover {
    transform: scale(1.2);
}

#inputs {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.input-box label {
    font-size: 14px;
    color: #797984;
}

.input-field {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 3px;
    cursor: text;
    border-bottom: 1px solid #61efff;
}

.input-field i {
    font-size: 18px;
    color: #000;
}

.input-field input {
    border: none;
    background-color: transparent;
    width: 260px;
    font-size: 18px;
    padding: 0px 5px;
}

.input-field input:focus {
    outline: none;
}

#cadastro_button {
    border: none;
    background: linear-gradient(90deg, hsla(217, 100%, 50%, 1) 0%, #61efff 100%);
    color: white;
    padding: 7px;
    font-size: 18px;
    border-radius: 3px;
    font-weight: bold;
}

#cadastro_button:hover {
    transform: scale(1.05);
}

.dark#cadastro_form {
    color: white;
    background-color: #312d37;
    animation: light-to-dark 0.3s ease-in-out;
}

.dark#cadastro_form .input-field input,
.dark#cadastro_form .input-field i{
    color: white;
}

@keyframes dack-to-light {
    0% {
        background-color: #312d37;
    }

    100% {
        background-color: white;
    }
}

@keyframes light-to-dack {
    0% {
        background-color: white;
    }

    100% {
        background-color: #312d37;
    }
}