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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    width: 100%;
    background-image: url(./images/bg.jpg);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

h1 {
    letter-spacing: 2px;
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    margin-top: 10px;
}

.form-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(1rem);
    border-radius: 1rem;
    text-align: center;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

input {
    width: 90%;
    padding: 1rem;
    font-size: 1.6rem;
    outline: 0;
    border: none;
    border-radius: 0.3rem;
    margin: 20px 0px;
    color: rgb(19, 19, 19);
}

input:hover {
    border: 4px solid #FDC963;
}

.result {
    font-size: 25px;
    text-align: center;
    padding: 25px 0px;
    border-radius: 5px;
    margin-top: 10px;
    margin: 10px 32px;
    background-color: #FDC963;
    font-weight: 600;
}

button {
    margin-top: 3rem;
    padding: 1.3rem;
    border: none;
    border-radius: 5px;
    font-size: 1.3rem;
    background-color: black;
    color: #fff;
    cursor: pointer;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
    transition: 0.6s;
}

button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border: 3px solid white;
    border-radius: 5px;
    color: white;

}

p {
    margin-top: 20px;
    letter-spacing: 10px;
    color: #fff;
    font-weight: 500;
    text-shadow: 1px 1px 5px black;
}


/* for mobile devices */
@media screen and (max-width: 500px) {
    .form-container {
        padding: 10px;
        margin: 10px;
    }

    input {
        width: 80%;
        padding: 1rem;
        font-size: 1.6rem;
        outline: 0;
        border: none;
        border-radius: 0.3rem;
        margin: 20px 0px;
        color: rgb(19, 19, 19);
    }

    .result {
        font-size: 20px;
        padding: 25px 0px;
        margin: 0px 35px;
        border-radius: 5px;
        margin-top: 10px;
        background-color: #FDC963;
        font-weight: 600;
    }

    button {
        margin-top: 2rem;
        padding: 1rem;
        width: 80%;
        border: none;
        border-radius: 5px;
        font-size: 1.6rem;
        background-color: black;
        color: #fff;
        cursor: pointer;
        box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
        transition: 0.6s;
    }
}

/* for tablets devices */
@media screen and (max-width: 1000px) {
    .form-container {
        padding: 20px;
    }
}