html{
    min-width: 300px; 
    overflow-x: hidden;

}
body {
    /*background-color: #1b334b;*/
    background-image: linear-gradient(rgba(39, 34, 34, 0.5), rgba(39, 34, 34, 0.5)),url("hatter.jpg");
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat; 
    background-attachment: fixed;
    color: #ffffff;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content{
    width: 90%;
    margin: 10px;
}

.navbar {
    background-color: #0d4f91;
    padding: 0.5rem;
    border-radius: 5px;
    list-style-type: none;
    margin: 3px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.nav-item {
    font-size: 1rem;
    font-weight: bold;
    color: #ffc107;
    text-align: center;
    margin: 5px;
    padding: 1px;
}

.nav-item a {
    text-decoration: none;
    color: #ffc107;
    padding: 4px 12px;
    display: block;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.nav-item a:hover {
    color: #ffbb00;
    background-color: rgba(255, 255, 255, 0.2);
}

h1,h2{
    margin-left: 10px;
    padding: 5px;
    font-size: clamp(18px, 3vw, 48px);
}

.filtertitle{
    background-color: #13304e;
    border-radius: 5px;
    padding: 2px;
    margin: 3px;
}

form {
    background-color: #5586b8;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

form label {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    color: #ced4da;
}

form input {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: none;
    border-radius: 5px;
    background-color: #164e74;
    color: #ffffff;
}

form button {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    background-color: #ffc107;
    color: #212529;
    font-weight: bold;
    cursor: pointer;
}

form button:hover {
    background-color: #e0a800;
}

.card {
    border: none;
    border-radius: 10px;
    background-color: #89CFF0;
    box-shadow: 0px 4px 6px 4px rgb(25 117 183 / 38%);
    width: 100%;
    height: 100%;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    justify-content: center;
}

.card-title a {
    text-decoration: none;
    color: #094fa0;
    
}

.card-title a:hover {
    text-decoration: underline;
}

.card-footer {
    background-color: #04386d;
    border-top: none;
    text-align: right;
    font-size: 0.85rem;
}

.card:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease-in-out;
}

.card-footer small {
    color: #ffffff;
}

footer {
    background-color: #0e3b75;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 5px 0;
    width: 100%;
    margin-top: auto;
    margin-bottom: 0%;
    position: relative;
}

@media (max-width: 768px) {
    .content {
        padding: 1rem;
    }

    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-item a {
        width: 100%;
        padding: 2px;
        font-size: 1.1rem;
    }


    form {
        padding: 1rem;
    }
}
