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

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    background: #000;
    background: linear-gradient(to bottom, #075f9e,#000);
   
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; 
}

.dashboard {
    display: flex;
    height: 100vh;
    z-index: 0;
    background-image: url('raster-groot.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.sidebar {
    width: 100px;
    margin: 30px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 50px 0;
}


.logo {
    width: 80px;
    height: 80px;
    background-color: #2860A1;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-group{
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;

}

.nav-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: black;
    padding: 35px 20px 35px 20px;
    border-radius: 25px;
}

.nav-items:hover {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: black;
    padding: 35px 20px 35px 20px;
    border-radius: 25px;
    box-shadow: 0 0px 20px  rgba(58, 101, 186, 0.536); 
    transition: ease-in-out .3s;
}

.card.large {
    height: 200px;
}


.nav-item {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 50%;
}

.nav-item:hover {
    width: 40px;
    height: 40px;
    background-color: #d0d0d0;
    border-radius: 50%;
    transition: ease-in-out .3s;
    cursor: pointer;
}


.nav-item.home {
    background-color: #2860A1;
}

.nav-item.home:hover {
    width: 40px;
    height: 40px;
    background-color: #2d3eb09f;
    border-radius: 50%;
    cursor: pointer;
}

.back-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #283F81;
    border-radius: 50%;
    transform: rotate(180deg);
}

.back-button:hover {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #152e71;
    border-radius: 50%;
    transform: rotate(180deg);
    cursor: pointer;
    transition: ease-in-out .2s; 
}



.content {
    flex: 1;
    padding: 20px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.top-bar h1 {
    color: white;
    font-weight: bold;
}

.user-info {
    color: white;
    padding: 10px;
    border-radius: 50%;
}

.main-content {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 9999;


}

.containerlinks{
    margin-right: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 80vh;
    width: 40vw;
    z-index: 9999;



}

.linksboven{
    display: flex;
    height: 25vh;
    width: 40vw;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.343); /* Semi-transparante witte achtergrond */
    backdrop-filter: blur(10px); /* Wazig glas effect */
    --webkit-backdrop-filter: blur(5px) /* Voor Safari ondersteuning */
}

.linksonder{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 52vh;
    width: 40vw;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.343); /* Semi-transparante witte achtergrond */
    backdrop-filter: blur(5px); /* Wazig glas effect */
    --webkit-backdrop-filter: blur(10px)
}

.containerrechts{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    width: 45vw;



}

.rechtsboven{
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45vh;
    width: 45vw;
    border-radius: 25px;
    background:  rgba(7, 128, 233, 0.768); 
    backdrop-filter: blur(10px);
    --webkit-backdrop-filter: blur(10px);
}

.rechtsonder{
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    height: 32vh;
    width: 45vw;
}


.half{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48%;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.343); /* Semi-transparante witte achtergrond */
    backdrop-filter: blur(5px); /* Wazig glas effect */
    --webkit-backdrop-filter: blur(5px);
    z-index:  9999;
}

.card {
    background-color: #333;
    border-radius: 10px;
}

.card.large {
    height: 200px;
}

.card.small {
    height: 400px;
}

.card.blue {
    background-color: #2860A1;
    height: 400px;
}

.name-group{
    display: flex;
    flex-direction: row;
    align-items: center;
    color: white;
    justify-content: center;
    gap: 10px;
}

.name-group h2{
    font-weight: 100;
}

.user-pic{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;

}


.tooltip {
    visibility: hidden;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Toon de pop-up wanneer je over het nav-item hovert */
.nav-item:hover .tooltip {
    visibility: visible;
    opacity: 1;
}


