/* Import Albert Sans from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:wght@400;700&display=swap');

/* Body design */
body {
    font-family: 'Albert Sans', sans-serif;
    text-align: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0;
    background-color: #DFF9FF;
}

/* lo body design */
.lo {
    font-family: 'Albert Sans', sans-serif;
    text-align: left;
    max-width: 80%;
    height: 100vh;
    margin: 0;
    flex: 1;
    padding: 20px;
}

.header-title {
    position: fixed;
    top: 10px;
    left: 20px;
    width: 350px;
    background: #00667d;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    color: white;
}

.lo-title {
    width: 810px;
    background: #00667d;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin: 20px 0 0 300px;
    color: white;
}

.lo h1 {
    color: #e3f9ff;
    font-size: 25px;
}

.lo h2 {
    color: #e3f9ff;
    font-size: 25px;
}

.lo h3 {
    color: #00667d;
    font-size: 19px;
}

.lo h4 {
    color: #00667d;
    font-size: 35px;
}

.lo p {
    color: #003d4b;
    font-size: 15px;
}

/* lo-box design */
.lo-box {
    width: 800px;
    padding: 20px;
    margin: 20px 0 0 300px;
    background-color: #8dc5d1;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: visible;
}

/* Background Text Design */
.background-text {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 100px;
    color: #ADD8E6;
    font-weight: bold;
    display: none;
    z-index: -1;
}

/* Button design */
.round-button {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #2CD7FF;
    background-color: #DFF9FF;
    color: #000;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    outline: none;
    font-family: 'Albert Sans', sans-serif;
    transition: 0.3s ease-in-out;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

.round-button:hover {
    background-color: lightblue;
    transform: scale(1.1);
    box-shadow: 7px 7px 20px rgba(0, 0, 0, 0.5);
}

/* Rectangle container (Initially hidden) */
.rectangle-container {
    display: none;
    flex-direction: column;
    gap: 100px;
    margin-top: 20px;
    opacity: 0;
    position: absolute;
    align-items: center;
}

/* Box rows (1 & 2 on top, 3 & 4 beneath them) */
.rectangle-row1,
.rectangle-row2 {
    display: flex;
    gap: 200px;
}

.rectangle-row2 {
    gap: 500px;
}

/* Rectangle boxes */
.rectangle {
    width: 250px;
    height: 150px;
    background-color: #0029323b;
    border: 3px;
    color: #00667d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: bold;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.4);
    border-radius: 30px;
    transition: 0.3s ease-in-out;
    animation: none;
}

.rectangle:hover {
    background-color: #00667d;
    color: #DFF9FF;
    box-shadow: 7px 7px 20px rgba(0, 0, 0, 0.5);
}

.rectangle-link {
    text-decoration: none;
    color: inherit;
}

/* Index design */
.index {
    position: fixed;
    top: 125px;
    left: 20px;
    width: 350px;
    background: linear-gradient(#00667d, #3f9eb3);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.index a {
    text-decoration: none;
    color: #e3f9ff;
    font-weight: bold;
    font-size: 15px;
    transition: 0.3s ease-in-out;
    display: block;
    margin: 30px 0;
}

.index a:hover {
    color: lightblue;
}

.index2 {
    position: fixed;
    top: 495px;
    left: 20px;
    width: 350px;
    background: linear-gradient(#3f9eb3, #ADD8E6);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.index2 a {
    text-decoration: none;
    color: #e3f9ff;
    font-weight: bold;
    font-size: 15px;
    transition: 0.3s ease-in-out;
    display: block;
    margin: 20px 0;
}

.index ul, .index2 ul {
    color: #e3f9ff;
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.project-button {
    width: 200px;
    height: 40px;
    border-radius: 5px;
    background-color: #00667d;
    color: #DFF9FF;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    outline: none;
    transition: 0.3s ease-in-out;
    text-decoration: none;
}

.project-button:hover {
    background-color: lightblue;
    transform: scale(1.1);
    box-shadow: 7px 7px 20px rgba(0, 0, 0, 0.5);
}

/* Back button design */
.back {
    text-align: center;
    margin-top: auto;
    padding: 20px;
}

.back a {
    text-decoration: none;
    color: #2CD7FF;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s ease-in-out;
}

.back a:hover {
    color: lightblue;
}

/* PDF link design */
.pdf-link {
        text-decoration: none;
    color: #00667d;
    font-weight: bold;
    transition: 0.3s ease-in-out;

}

.pdf-link:hover {
    color: #e3f9ff;
}


/* Animation for rectangle boxes appearing */
@keyframes showBoxes {
    0% {
        transform: scale(0) translateY(20px);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) translateY(-10px);
        opacity: 0.7;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* === RESPONSIVE STIJLEN === */
@media (max-width: 1024px) {
    .header-title,
    .index,
    .index2 {
        width: 90%;
        left: 5%;
    }

    .lo-title,
    .lo-box,
    .button-container {
        width: 90%;
        margin: 20px auto;
    }

    .rectangle-row1,
    .rectangle-row2 {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .rectangle {
        width: 90%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .lo {
        max-width: 95%;
        padding: 10px;
    }

    .header-title {
        position: static;
        width: 100%;
        margin: 0 auto 20px auto;
    }

    .index,
    .index2 {
        position: static;
        width: 100%;
        margin: 10px auto;
    }

    .index a,
    .index2 a {
        font-size: 18px;
        margin: 15px 0;
    }

    .round-button {
        width: 120px;
        height: 120px;
        font-size: 16px;
    }

    .rectangle-container {
        gap: 50px;
    }

    .rectangle {
        font-size: 20px;
    }

    .back a {
        font-size: 24px;
    }

@media (max-width: 480px) {
    .lo h1 {
        font-size: 30px;
    }

    .lo h2 {
        font-size: 24px;
    }

    .lo p {
        font-size: 16px;
    }

    .project-button {
        width: 100%;
        font-size: 18px;
    }

    .round-button {
        width: 100px;
        height: 100px;
        font-size: 14px;
    }

    .rectangle {
        height: 120px;
    }

    .rectangle-container {
        position: static;
        opacity: 1;
    }
}
}

