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

a {
    color: #333;
}

a:visited {
    color: #333;
}

h2 {
    font-size: 1.7em;
}

body {
    background-color: #fefefe;
    font-family: Arial, sans-serif;
    color: #333;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.content {
    flex: 1;
}

header {
    background-color: #ffffff;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    height: 80px;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 100%;
    display: flex;
    justify-content: center;
    padding: 25px;
}
.logo img {
    width: 100%;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.centered-text {
    text-align: center;
    margin-bottom: 2rem;
}

.centered-text h1 {
    font-size: 2.5rem;
}

.centered-text p {
    margin: 20px auto;
    width: 80%;
}

.group {
    display: flex;
    flex-direction: column;
    row-gap: 24px;
    margin-bottom: 20px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.cards:only-child .card {
    grid-column: span 3;
}

.card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    min-width: 300px;
    }

.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.card h3 {
    margin-bottom: 1rem;
}

.card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

footer {
    background-color: #ffffff;
    padding: 16px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

footer p {
    font-size: 12px;
    color: #595a66;
}

.drawerBtn {
    font-size: 17px;
    cursor: pointer;
    padding: 25px;
    color: #4C49ED;
    border: none;
    border-radius: 0;
    background: transparent;
    text-decoration: underline;
}

/* Overlay and sidebar */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -500px;
    width: 500px;
    max-width: 90%;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 0px;
    overflow-y: auto;

    display: flex;
    flex-direction: column;
}

.sidebar.open {
    right: 0;
}

.sidebar-controls {
    margin: 15px;
    top: 0;
    position: sticky;
    background: #fff;
    z-index: 10;
}

.header-row {
    margin-bottom: 15px;
    margin-top: 10px;
}

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 5px;
}

.close-icon {
    font-size: 28px;
    line-height: 1;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #333;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 999;
}

.close-icon:hover {
    color: #000;
    background: transparent;
}

#changelogContainer {
    overflow-y: auto; /* scroll only the content */
    padding: 8px 15px;
}

.changelog-entry {
    margin-bottom: 30px;
}

.changelog-entry h3 {
    margin-bottom: 5px;
}

.changelog-entry small {
    display: block;
    margin-bottom: 10px;
    color: #666;
}

.changelog-entry ul {
    list-style: none;   
}

.changelog-entry li {
    margin-left: 0px;
    list-style: none;
    font-size: 14px;
    line-height: 1.2rem;
    margin-bottom: 5px;
    display: flex;
    align-items: flex-start;
}

.changelog-entry .emoji {
    flex: 0 0 24px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.changelog-entry .update-text {
    flex: 1;
}

#serviceFilter {
    flex: 1;

    appearance: none;
    -webkit-appearance: none; /* Safari */
    -moz-appearance: none; /* Firefox */

    width: 100%;
    padding: 6px 10px;
    font-size: 15px;
    font-family: inherit;
    color: #333;

    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;

    /* add a custom arrow */
    background-image: url("data:image/svg+xml;utf8,<svg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M7.29971 11.2818C7.69396 10.9009 8.32709 10.9069 8.71386 11.2951L16 18.6091L23.2861 11.2951C23.6729 10.9069 24.306 10.9009 24.7003 11.2818C25.0945 11.6626 25.1006 12.2861 24.7139 12.6744L16.7139 20.7049C16.5258 20.8936 16.2685 21 16 21C15.7315 21 15.4742 20.8936 15.2861 20.7049L7.28614 12.6744C6.89938 12.2861 6.90546 11.6626 7.29971 11.2818Z' fill='%231F1F1F'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;

    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#serviceFilter:hover {  
    border-color: #888; 
}

#serviceFilter:focus {
    outline: none;
    border-color: #0078d4;
    box-shadow: 0 0 0 2px rgba(0, 120, 212, 0.2);
}

@media (max-width: 1024px) {
    .cards {
        grid-template-columns: repeat(2, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .cards {
        grid-template-columns: repeat(1, minmax(300px, 1fr));
    }
}

footer .security-disclaimer {
    margin-top: 12px;
    font-size: 11px;
    color: #7a7a85;
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
}