@font-face {
    font-family: 'MMRecht';
    src: url('mmrecht.ttf') format('truetype');
  }
  
  @font-face {
    font-family: 'MMSchuin';
    src: url('mmschuin.ttf') format('truetype');
  }

body {
    font-family: MMRecht;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
}

.container {
    text-align: center;
    margin-top: 50px;
}

.department-container {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
}

.department {
    width: 20%;
    text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.container, .department {
    animation: fadeIn 0.5s ease-out;
}



.department h2 {
    font-size: 30px;
    color: #333;
}

.department-score {
    font-size: 150px;
    margin-top: 20px;
}

h1 {
    font-size: 60px;
    color: #333;
}

#nps-score {
    font-size: 500px;
    font-weight: bold;
    margin-top: -150px;
}

@keyframes changeColor {
    from {
        color: #007bff;
    }
    to {
        color: #ff5722;
    }
}

@keyframes slideFromLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideFromRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideFromTop {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideFromBottom {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}


/* Nieuwe regels voor maandelijkse NPS-scores */
.monthly-nps-container {
    text-align: center;
    margin-top: 30px;
    animation: fadeIn 0.5s ease-out;
}

.monthly-nps-container h2 {
    font-size: 40px;
    color: #333;
    font-family: MMSchuin;
}

#monthly-nps-scores {
    font-size: 30px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#monthly-nps-scores > div {
    margin-bottom: 10px;
}

/* Responsiveness: Als de schermgrootte klein is, pas de layout aan */
@media (max-width: 768px) {
    .department-container, #monthly-nps-scores {
        flex-direction: column;
        align-items: center;
    }

    .department {
        width: 80%;
        margin-bottom: 20px;
    }
}