/* Importing Google Fonts */
@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');

/* Resetting default styles and setting font family */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* Styling for the html and body elements */
html,
body {
    display: grid;
    height: 100%;
    place-items: center;
}

/* Styling for the body, including background image */
body {
    background-image: url("images/Mount.jpg");
    background-size: cover;
    background-position: center;
}

/* Styling for the main form container */
.form_main {
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 30px;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.062);
    position: relative;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Styling for the decorative element before the form */
.form_main::before {
    position: absolute;
    content: "";
    width: 300px;
    height: 300px;
    background-color: #000;
    transform: rotate(45deg);
    left: -180px;
    bottom: 30px;
    border-radius: 30px;
    z-index: 1;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.082);
}

/* Styling for the heading text within the form */
.heading {
    font-size: 28px;
    font-weight: 600;
    color: #d9d9d9;
    margin: 5px 0 10px 0;
    z-index: 99;
}

/* Styling for the container of input fields */
.inputContainer {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Styling for icons within input containers */
.inputContainer i {
    position: absolute;
    left: 3px;
    color: rgb(120, 120, 120);
}

/* Styling for input fields */
.inputField {
    width: 100%;
    height: 30px;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid rgb(203, 203, 203);
    margin: 10px 0;
    color: rgb(155, 155, 155);
    font-size: 12px;
    font-weight: 500;
    padding-left: 30px;
    box-sizing: border-box;
    outline: none;
}

/* Styling for input fields when focused */
.inputField:focus {
    border-bottom: 2px solid rgb(246, 246, 246);
}

/* Styling for placeholder text within input fields */
.inputField::placeholder {
    color: rgb(120, 120, 120);
    font-size: 11px;
    font-weight: 500;
}

/* Styling for the submit button */
#button {
    z-index: 2;
    position: relative;
    width: 100%;
    border: none;
    background-color: rgb(227, 227, 227);
    height: 30px;
    color: rgb(8, 8, 8);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .5px;
    margin: 10px;
    cursor: pointer;
}

/* Styling for the submit button when hovered */
#button:hover {
    background-color: rgb(220, 220, 220);
}

/* Styling for the "Forgot your password?" link */
.forgotbutton {
    z-index: 2;
    font-size: 10px;
    font-weight: 500;
    color: rgb(152, 164, 255);
    text-decoration: none;
    padding: 8px 15px;
}