/* style_journal.css */
/* 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: 'Ubuntu', 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 */
}


/* Blok bovenaan waarin staat wie we ook alweer zijn. */
/* Blok bovenaan waarin staat wie we ook alweer zijn. */
.intro {
    display: none; /* tijdelijk weg van home-page */
    max-width: 700px;
    margin: 35px auto;
    font-family: 'Ubuntu', sans-serif;
    color: #777;
    font-size: 14px;
    background: linear-gradient(to right, rgba(90, 0, 102, 0.08), rgba(179, 89, 0, 0.08), rgba(27, 0, 102, 0.08), rgba(0, 0, 139, 0.08));
    /* Zachte pastelgradient */
    padding: 7px 15px;
    text-align: center;
    border-radius: 7px;
    position: relative;
    z-index: 0;
}

.intro::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px; /* Dikte van de border */
    background: linear-gradient(45deg, #5a0066, #b35900, #1b0066, #00008b);
    border-radius: 9px; /* Iets groter dan de .intro border-radius voor mooi effect */
    -webkit-mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}


/* 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: 50%;
    display: inline-block;
    margin-right: 8px;
    background-color: #f0f0f0;
    /* Lichtgrijze binnenkant */
    border: 3px solid;
    /* Border wordt per item apart gekleurd */
}

/* Pseudo-element voor de gradient border */
.intro::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 9px;
    /* Moet iets groter zijn dan de .intro border-radius */
    background: linear-gradient(to right top, purple, pink, lightblue, blue);
    z-index: -1;
}

/* Extra layer om de border achter de achtergrond te houden */
.intro::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 7px;
    background: #f3f3f3;
    /* Dezelfde achtergrondkleur als de originele box */
    z-index: -1;
}

.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: 50%;
    object-fit: cover;
    border: 4px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    margin-left: auto;
}

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

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

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

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

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

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

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

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

.journal-content {
    font-family: 'Ubuntu', 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-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;
    }
}

/* Auto */
.car {
    position: absolute;
    bottom: 50px;
    left: -80px;
    /* Start buiten het scherm */
    width: 60px;
    height: 30px;
    background-color: orange;
    border-radius: 8px;
}

.window {
    position: absolute;
    top: 4px;
    left: 15px;
    width: 30px;
    height: 15px;
    background-color: lightblue;
    border-radius: 4px;
}

.wheel {
    position: absolute;
    bottom: -8px;
    width: 10px;
    height: 10px;
    background-color: black;
    border-radius: 50%;
}

.wheel-left {
    left: 7px;
}

.wheel-right {
    right: 7px;
}
