header {
    position: relative;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0;
    border: none;
}

body{
    line-height:1.3;
}

.site-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.site-card {
    width: 100px;
    height: 100px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.site-card:hover {
    transform: scale(1.05);
}

.site-name a {
    background-color: rgba(255, 255, 255, 0.8);
    width: 100%;
    padding: 5px 0;
    font-weight: bold;
    font-size: 14px;
    color: #333;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.add-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.add-button:hover {
    background-color: #45a049;
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
}

.site-button {
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    margin: 10px;
}

.site-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.site-background {
    width: 100px;
    height: 100px;
/*    background-color: #ddd; */
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto;
}

.site-background img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.no-background {
    width: 100%;
    height: 100px;
    background-color: #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

.site-name {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

/*.site-name:hover {
    color: #007BFF;
    text-decoration: underline;
}*/

.edit-icon {
    position: absolute;
    top: 4px;
    right: 4px;
    color: rgba(0, 0, 0, 0.4);
    font-size: 16px;
    text-decoration: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s, color 0.3s;
}

.site-button:hover .edit-icon {
    opacity: 1;
    color: rgba(0, 0, 0, 0.8);
}

.edit-icon:hover {
    color: #000;
}

.logout-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
}

.logout-icon form {
    margin: 0;
}

.logout-icon button {
    background: none;
    border: none;
    padding: 0;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.logout-icon button:hover {
    color: #FF4136; /* Rood bij hover voor duidelijke uitlog indicatie */
}

.add-website-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #ccc;
    color: #333;
    text-decoration: none;
    border-radius: 50%;
    font-size: 24px;
    transition: background-color 0.2s, color 0.2s;
    margin: 20px;
}

.add-website-button:hover {
    background-color: #bbb;
    color: #000;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: anchor-center;
    background-color: #f5f5f5;
    padding: 0px 20px;
    cursor: pointer;
    border-radius: 30px;
    margin: 3px;
    height: 60px;
}

/*.category-content {
    display: none;
}*/

.category-content.collapsed {
    display: none;
}

.toggle-icon {
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    color: #333;
}

.toggle-icon:hover {
    background-color: #999;
}
