body {
    background-image: url("../img/fondologin.webp");
    background-size: cover;
    background-position: 50% 60%;
    background-repeat: no-repeat;
    position: relative;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-position: 50% 60%;
    background-size: cover;
    filter: blur(5px);
    z-index: -1;
}

.user {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 115px;
    border: 6px solid rgba(25,135,148,255);
    border-radius: 100px;
    background-color: rgba(236,238,237,255);
    z-index: 1;
}

.add {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 430px;
    height: 380px;
    padding: 30px;
    background-color: rgba(236,238,237,255);
    border-radius: 35px;
    border: 6px solid rgba(25,135,148,255);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    justify-content: center;
    position: relative;
}

.add form {
    margin-top: 15%;
    display: flex;
    flex-direction: column;
}

.add .title {
    font-size: 25px;
    color: #333;
    text-align: center;
    font-weight: bold;
    width: 100%;
}
.label-up {
    top: -10px !important;
    left: 10px !important;
    background-color: rgba(236,238,237,255);
    padding: 0 5px;
    color: black !important;
}
.input-group {
    width: 100%;
    margin-bottom: 35px;
    margin-left: 11%;
    position: relative;
}
.input-group label {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    font-size: 14px;
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
}

.add input[type="email"],
.add input[type="password"] {
    margin-top: 2%;
    border: 2px solid black;
    width: 77%;
    padding: 12px;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.add input[type="email"]:focus,
.add input[type="password"]:focus {
    outline: none;
    border-color: rgba(0,152,153,255);
    box-shadow: 0 0 0 2px rgba(0,152,153,0.2);
}

.add input[type="submit"] {
    width: 55%;
    margin: 10px auto 0;
    margin-top: 12%;
    padding: 12px;
    background-color: rgba(0,152,153,255);
    color: white;
    border: 2px solid black;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
    font-weight: bold;
}

.add input[type="submit"]:hover {
    background-color: rgb(0, 130, 130);
}

.add input[type="submit"]:active {
    transform: scale(0.98);
}

@media (max-width: 768px) {
    .add {
        left: 47%;
        height: auto;
        padding: 20px 10px;
    }
    .user {
        width: 90px;
        height: 90px;
        border-width: 4px;
        top: -45px;
    }
    .add .title {
        font-size: 20px;
    }
    .add input[type="email"],
    .add input[type="password"] {
        width: 90%;
        font-size: 15px;
        padding: 10px;
    }
    .input-group {
        margin-left: 0;
        margin-bottom: 25px;
    }
    .add input[type="submit"] {
        width: 80%;
        font-size: 17px;
        padding: 13px;
        margin-top: 8%;
    }
}

@media (max-width: 600px) {
    body {
        background-position: center;
        background-size: cover;
    }
    .add {
        width: 80%  ;
        max-width: 100%;
        min-width: unset;
        height: auto;
        padding: 10px 2vw 30px 2vw;
        border-radius: 18px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    }
    .user {
        width: 65px;
        height: 65px;
        border-width: 3px;
        top: -32px;
    }
    .add .title {
        font-size: 17px;
    }
    .add input[type="email"],
    .add input[type="password"] {
        width: 96%;
        font-size: 14px;
        padding: 9px;
    }
    .input-group {
        margin-left: 0;
        margin-bottom: 18px;
    }
    .add input[type="submit"] {
        width: 100%;
        font-size: 16px;
        padding: 11px;
        margin-top: 7%;
    }
}