/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600&display=swap'); */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    opacity: 0.79;
}

/* The entire container */
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 110%;
    border-radius: 8px;
    padding: 4vw;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    border-color: #A6A6A6;
    border-style: solid;
    margin: 9% 1.07vw;
}

.hover-effect {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    /* Ensure it behaves like a block */
}

.hover-effect .item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-effect .item:hover {
    transform: scale(1.05);
    /* Slightly enlarge the div */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    /* Add a shadow */
}

/* the container holding the image */
.container .item-1 {
    display: flex;
    align-items: center;
    padding: 1.07vw 1.6vw;
}

/* Image inside the container */
.container .item-1 img {
    max-width: 97%;
    max-height: 18vw;
}

/* The container holding the form fields */
.container .item-2 {
    display: flex;
    align-items: center;
}

/* The labels or titles for each input box */
label {
    font-size: 0.96vw;
    font-weight: 500;
    color: #2e2e2e;
    padding: 0 0.53vw;
}

/* The input box */
input {
    outline: none;
    font-size: 0.65vw;
    font-weight: 400;
    color: #333;
    border-radius: 5px;
    border: 0.1vw solid #aaa;
    padding: 0 2.13vw;
    height: 2.24vw;
    margin: 0.53vw 0;
    width: 16.7vw;
}

input:is(:focus, :valid) {
    box-shadow: 0 3px 6px rgb(0, 0, 0, 0.50);
}

.form-input {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.icon {
    position: absolute;
    left: 0.8vw;
    top: 0;
    font-size: 1.33vw;
    color: #0F3464;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

button {
    margin: 0.27vw 0.53vw;
    /* margin: 5px 10px; */
    padding: 0.43vw 0.53vw;
    width: 16.7vw;
    font-size: 1.07vw;
    font-weight: 500;
    border: #fff;
    background-color: #0F3464;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
}

button:hover {
    font-size: 1.15vw;
    background: linear-gradient(to right, #6196db, #040839);
}

a {
    font-size: 0.96vw;
    font-weight: 500;
    color: #333;
    margin: 0.21vw 0 0 0.85vw;
    padding: 0 0.58vw;
}


/* Flash message container */
.flash-message {
    position: fixed;
    bottom: auto;
    left: -100%;
    background-color: #fff;
    border: 1px solid #dee2e685;
    padding: 0.53vw 1.33vw;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    animation: slideIn 0.5s forwards;
    font-size: 0.85vw;
    max-width: 32vw;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* Flash message close button */
.flash-message .close {
    position: absolute;
    top: 0.05vw;
    right: 0.27vw;
    cursor: pointer;
    font-size: 1.60vw;
    color: #353333;
    margin-left: 1.87vw;
}

/* Flash message close button on hover */
.flash-message .close:hover {
    color: #222121;
}

/* Success message */
.flash-message.success {
    background-color: #fff;
    border-color: #dee2e685;
    color: #040839;
}

/* Error message */
.flash-message.error {
    background-color: #fff;
    border-color: #dee2e685;
    color: #df1410;
}

/* Animation for sliding in the flash message */
@keyframes slideIn {
    from {
        left: -100%;
    }

    to {
        left: 20px;
        /* Adjust the final position as needed */
    }
}



/* ----------------------------------------------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------------------------------------------------- */

@media screen and (max-width: 1335px) {
    /* .container {
        margin-top: -160px
    } */
}

/* @media (max-width: 750px) {
    .container form {
        overflow-y: scroll;
    }

    .container .item-1 {
        display: none;
    }

    .container form::-webkit-scrollbar {
        display: none;
    }

    form .fields .input-fields {
        width: calc(100% / 1 - 15px);
    }

    .containerSignUp form {
        overflow-y: scroll;
    }

    .containerSignUp form::-webkit-scrollbar {
        display: none;
    }

    form .fields .input-field {
        width: calc(100% / 1 - 15px);
    }
} */