body {
    background-color: lightgray;
    background-image: url("resources/media/images/background.jpg");
    background-size: cover; /* Ensures the image covers the whole screen */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed;

    margin: 0;               /* Remove default body margin */

    font-family: sans-serif;
}

nav{
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #515151;
    height: 50px;
    position: fixed;
    width: 100%;
    a {
        color: white;
        text-decoration: none;
    }

    a:hover {
        color: orange;
    }
}

footer {
    justify-content: left;
    text-align: left;

    p {
        text-align: left;
        margin-left: 10px;
    }
}

div {
    text-align: center;
}

ul {
    text-align: left;
    ::marker{
        color:white;
    }
}

.main
{
    display: flex;
    flex-direction: column;
    margin-left: 20%;
    margin-right: 20%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3));
    padding: 2%;
    color: white;
    border: 2px solid red;
}

h1 {
    font-size: 4em;
    letter-spacing: 5px;
    margin-top: 1%;
}

img {
    max-width: 90%;
    margin-top: 10%;
}

a {
    color: orange;
}

a.visited {
    color: yellow;
}

a:hover {
    color: pink;
}

input {
    width:95%;
    height: 30px;
    background-color:grey;
    color:white;
    border-radius: 20px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.ai-area {
    background-color: #494949;
    margin-left: 10%;
    margin-right: 10%;
    border-radius: 15px;
    backdrop-filter: drop-shadow(0px 2px 10px rgba(0, 0, 0, 0.2));
}

.ai-response {
    padding: 10px 10px 10px 10px;
}

.ai-disclaimer {
    font-size: 0.6em;
    text-align: left;
    color: #b3b3b3;
    padding: 0px 0px 0px 40px;
}

.spinner {
    border: 4px solid #f3f3f3; /* Light gray */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.feedback {
    display: flex;
    flex-direction: column;

    background-color: #323232;
    border-radius: 15px;
    border: 1px solid black;
    margin-left: 25%;
    width:50%;
    padding: 20px;


    textarea {
        width: 95%;
        height: 200px;
        text-align: left;
        border-radius: 10px;
        background-color: #7f7f7f;
        border: 1px solid black;
        color: white;
        resize: vertical;
    }

    input {
        margin-top: 0px;
    }

    button {
        margin-top: 10px;
        width: 90%;
        height: 30px;
        border-radius: 15px;
        background-color: #028c02;
        color: white;
    }
}

.version {
    color: rgba(211, 211, 211, 0.8);
    font-size: 1em;
    text-align: center;
}