/* Importing Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

/* Resetting default styles */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Setting background color for the body */
body {
    background: #e4e9f7;
    padding: auto;
}

/* Container for centering the form box */
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
}

/* Styling the form box */
.box {
    background: #fdfdfd;
    display: flex;
    flex-direction: column;
    margin-bottom: 100px;
    margin-left: 100px;
    padding: 25px 25px;
    box-shadow: 0 0 128px 0 rgba(0, 0, 0, 0.1),
                0 32px 64px -48px rgba(0, 0, 0, 0.5);
}

/* Styling the form box for specific width */
.form-box {
    width: 450px;
    margin: 0px 10px;
}

/* Styling the header of the form box */
.form-box header {
    font-size: 25px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 10px;
}

/* Styling the form fields */
.form-box form .field {
    display: flex;
    margin-bottom: 10px;
    flex-direction: column;
}

/* Styling the input fields */
.form-box form .input input {
    height: 40px;
    width: 100%;
    font-size: 16px;
    padding: 0 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    outline: none;
}

/* Styling the submit button */
.btn {
    height: 35px;
    background: rgba(76, 68, 182, 0.808);
    border: 0;
    border-radius: 5px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: all .3s;
    margin-top: 10px;
    padding: 0px 10px;
}

/* Styling the submit button on hover */
.btn:hover {
    opacity: 0.82;
}

/* Styling the submit button for full width */
.submit {
    width: 100%;
}

/* Styling the links */
.links {
    margin-bottom: 15px;
}

/********* Home *****************/

/* Styling the navigation bar */
.nav {
    background: #682c2c;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    line-height: 60px;
    z-index: 100;
}

/* Styling the logo */
.logo {
    font-size: 25px;
    font-weight: 900;
}

/* Styling the logo link */
.logo a {
    text-decoration: none;
    color: #000;
}

/* Styling the right links */
.right-links a {
    padding: 0 10px;
}

/* Styling the main content */
main {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
}

section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
}

/* Styling the main box */
.main-box {
    display: flex;
    flex-direction: column;
    width: 70%;
    margin-left: 100px;
}

/* Styling the top section of the main box */
.main-box .top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 20%;
    margin-bottom: 100px;
}

/* Styling the bottom section of the main box */
.bottom {
    width: 100%;
    margin-top: 20px;
}

/* Styling the layout for screens with a maximum width of 840px */
@media only screen and (max-width: 840px) {
    .main-box .top {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .top .box {
        margin: 10px 10px;
    }

    .bottom {
        margin-top: 0;
    }
}

/* Styling the message box */
.message {
    text-align: center;
    background: #f9eded;
    padding: 15px 0px;
    border: 1px solid #699053;
    border-radius: 5px;
    margin-bottom: 10px;
    color: red;
}
.result-item {
    background-size: cover;
    background-position: center;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    position: relative;
    width: 80%;
}

.result-item::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}
