/* css voor de "home"pagina van het journal */
.container {
    max-width: 700px;
    margin: 0 auto;
}

a {
    color: #4692df;
    text-decoration: none;
}

a:hover {
    color: #66b2ff;
}

.btn-custom {
    /* de buttons bovenaan voor faq en contact */
    color: #6c757d;
    background-color: #fff;
    border: 1px solid #6c757d;
    transition: background-color 0.3s, color 0.3s;
}

.btn-custom:hover {
    border: 1px solid #495057;
    background-color: #eee;
    color: #495057;
}

.page-title {
    font-family: 'arial', sans-serif;
    font-weight: 300;
    font-size: 24px;
    text-align: center;
    color: #66b2ff;
    margin-bottom: 24px;
}

/* FAQ link met driehoekje, bovenaan */
/* FAQ link met driehoekje, bovenaan */
.faq {
    font-size: 12px;
    color: #aaa;
    margin-top: -24px;
    text-align: center;
}

.faq a {
    color: #333;
    text-decoration: none;
    position: relative;
    /* Nodig voor het plaatsen van het driehoekje */
}

.faq a:hover {
    color: #66b2ff;
}

.faq a::before {
    /* Het blauwe driehoekje voor de link */
    content: '';
    position: absolute;
    left: -17px;
    /* Posisitie van de driehoek ten opzichte van de link */
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #66b2ff;
    /* Driehoekje naar rechts */
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    transition: left 0.3s ease-in-out;
    /* Voeg de overgang toe */
}

.faq a:hover::before {
    left: -12px;
    /* Verschuif de driehoek 5px naar rechts bij hover */
}

/* Legenda bovenaan */
/* Legenda bovenaan */
.legend-container {
    max-width: 700px;
    margin: 30px auto;
}

.legend-item {
    font-size: 13px;
    display: flex;
    align-items: center;
    margin: 0 10px 0 10px;
}

.legend-circle {
    width: 17px;
    height: 17px;
    border-radius: 4px;
    display: inline-block;
    margin-right: 8px;
    background-color: #f0f0f0;
    /* Lichtgrijze binnenkant */
    border: 3px solid;
    /* Border wordt per item apart gekleurd */
}

.journal-entry {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

/* Afbeeldingen, rond, met gekleurde rand, evt. gestippeld */
.journal-img {
    width: 170px;
    height: 170px;
    border-radius: 7px;
    object-fit: cover;
    border: 2px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    margin-left: auto;
    padding: 3px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
    .journal-img {
        width: 120px;
        height: 120px;
        border: 3px solid #ccc;
    }
}

.border-purple {
    border-color: #1A4A8E;
}

.border-orange {
    border-color: orange;
}

.border-green {
    border-color: #8E1A27;
}

.journal-text {
    flex: 1;
    padding-left: 20px;
}

.dotted-border {
    border-style: dotted;
}

/*Tekst van het bericht */
.journal-title {
    font-family: 'arial', sans-serif;
    font-weight: bold;
    font-size: 17px;
}

.journal-date {
    font-size: 11px;
    color: #555;
    margin-bottom: 11px;
}

.journal-content {
    font-family: 'arial', sans-serif;
    font-size: 14px;
}

/* blauwe lijn tussen toekomstige en verleden blogs */
.dotted-line-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 20px 0;
}

.dotted-line {
    width: 100%;
    height: 2px;
    background-color: #66b2ff;
    /* border-top: 2px dotted #66b2ff; */
    margin-bottom: 10px;
}

.dotted-line-text {
    font-size: 12px;
    font-weight: normal;
    text-align: right;
}

.dotted-line-text.future {
    color: green;
}

.dotted-line-text.past {
    color: gray;
    margin-top: -10px;
}

/* EINDE stippellijn tussen toekomstige en verleden blogs */

/* triangle OBSOLETE ??????? */
.triangle-container {
    display: inline-block;
    padding: 5px;
}

.triangle {
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    /* Bovenkant is transparant */
    border-bottom: 7px solid transparent;
    /* Onderkant is transparant */
    border-left: 14px solid #66b2ff;
    /* Basis aan de rechterkant, kleur van de driehoek */
    margin-top: 5px;
    cursor: pointer;
    transition: transform 0.5s ease-in-out;
    /* Voeg overgang toe voor de verschuiving */
}

.triangle:hover {
    transform: translateX(5px);
    /* Beweeg het driehoekje 12px naar rechts bij hover */
}


/* Button to Top */
#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #888;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 20px;
    display: none;
    /* Verbergen totdat er gescrolld wordt */
    transition: opacity 0.3s ease-in-out;
}

#scrollTopBtn:hover {
    background-color: #555;
}

/* Helemaal uitschakelen op mobiel */
@media (max-width: 768px) {
    #scrollTopBtn {
        display: none !important;
    }
}
