* {
    font-family: 'Lato', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
  background: linear-gradient(135deg, #a3f3af, #d1f141);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    opacity: 0.99;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

form {
    background-color: rgba(166, 244, 217, 0.95);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
}
h2 {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 10px;
}

input {
    padding: 15px 10px;
    margin: 10px 0;
    width: 100%;
    color: #666;
    border-radius: 3px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

button[type="submit"],
button[type="reset"] {
    padding: 10px;
    width: 48%;
    color: white;
    border-radius: 3px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
}

button[type="submit"] {
    background-color: rgb(34, 139, 34);
}

button[type="submit"]:hover {
    background-color: #57A639;
}

button[type="reset"] {
    background-color: #FFA420;
}

button[type="reset"]:hover {
    background-color: #FF7514;
}

button[type="reset"] {
    float: right;
}

p {
    text-align: center;
    font-size: 1rem;
    margin-top: 20px;
    color: rgba(0, 0, 0, 0.7);
}

a {
    color: rgba(7, 7, 248, 0.6);
    cursor: pointer;
    text-decoration: none;
}

a:hover {
    color: rgba(11, 11, 190, 0.6);
}

a:focus {
    color: rgba(3, 3, 85, 0.5);
}

/* Media Queries para hacer el diseño responsive */
@media (max-width: 768px) {
    body {
        background-size: cover;
        padding: 20px;
    }

    .container {
        width: 90%;
        max-width: 100%;
    }

    form {
        padding: 15px;
    }

    h1 {
        font-size: 1.8rem;
    }

    button[type="submit"],
    button[type="reset"] {
        width: 100%;
        margin-bottom: 10px;
    }

    button[type="reset"] {
        float: none;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    input {
        padding: 12px;
        font-size: 0.9rem;
    }

    button[type="submit"],
    button[type="reset"] {
        font-size: 0.9rem;
        padding: 8px;
    }
}

.footer {
  background-color: rgba(0, 0, 0, 0.7);
  font-size: 0.9rem;
  padding: 10px;
  position: relative;
  width: 100%;
}
