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

.bacoground {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url("assets/background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

body {
    overflow: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: auto;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    color: #121212;
    transition: background-color 0.3s, color 0.3s;
}

.content {
    margin: 10px;
    line-height: 1.2;
    width: 100%;
}

.container {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.container p {
    display: inline-block;
    margin: 20px;
    padding: 15px;
    text-decoration: none;
    color: rgb(255,240,154);
    background-color: rgb(13,48,100);
    border-radius: 5px;
    border: none;
    transition: background-color 0.3s;
    font-family: inherit;
    font-size: inherit;
    appearance: none;
}

.container a,
.container button,
.container select {
    display: inline-block;
    /* Align select box with buttons and anchors */
    margin: 20px;
    padding: 15px;
    text-decoration: none;
    color: white;
    background-color: rgb(0, 154, 226);
    border-radius: 5px;
    border: none;
    /* Remove default borders */
    transition: background-color 0.3s;
    font-family: inherit;
    /* Consistent font style */
    font-size: inherit;
    /* Consistent font size */
    cursor: pointer;
    appearance: none;
    /* Remove the default arrow for consistency */
}

.container a:hover,
.container button:hover,
.container select:hover {
    color: white;
    background-color: #0056b3;
    /* Darken color on hover */
    text-decoration: none;
}

.container select {
    padding-right: 30px;
    /* Space for custom dropdown arrow */
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="white" d="M7 10l5 5 5-5z"/></svg>');
    /* Custom arrow */
    background-position: right 10px center;
    /* Position the custom arrow */
    background-repeat: no-repeat;
    background-size: 12px;
    /* Adjust arrow size */
}

.container select:hover {
    background-color: #0056b3;
    /* Matching hover color */
}

/* Highlight dropdown options properly */
.container select:focus {
    outline: none;
    /* Remove the default focus outline */
    background-color: #0056b3;
    /* Change background on focus to match hover */
    color: white;
    /* Ensure text remains visible */
}

.container option {
    color: black;
    /* Default color for options to ensure visibility */
    background-color: white;
    /* Set background for options */
}

.container option:checked {
    background-color: rgb(0, 154, 226);
    /* Background color for selected option */
    color: white;
    /* Text color for selected option */
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: #f0f0f0;
    }
}

/* make content width suitable for Desktop */

@media (min-width: 768px) {
    .content {
        width: 45%;
    }
}