html, body {
    height: 100%;
    margin: 0;
    scroll-behavior: smooth;
    font-family: 'Ubuntu Mono', monospace;
    -webkit-font-smoothing: antialiased; /* For webkit browsers */
    -moz-osx-font-smoothing: grayscale; /* For Firefox on macOS */
    background-color: #001427;
    color: lightgrey;
    font-size: 100%;
}


nav {
    z-index: 1000;
    position: fixed;
}

#nav {
    color: white;
}

#nav-brand {
    color: white;
    font-style: bold;
    font-size: 130%;
}

.red, .intro a {
    color: #ff8098;
}

.yellow {
    color: #F2C94C;
}

.blue, .card-body a {
    color: #2F80ED;
}

.green, .list-group-item a {
    color: #84E296;
}

.coral {
    color: #FF7F50;
}


.cv {
    position: fixed;
    top: 8%;
    right: 5%;
    background-color: #112940;
    padding: 0.75%;
    font-size: 125%;
    font-weight: bold;
    z-index: 1000;
    text-align: center;
    border-radius: 15px;
    border-style: solid;
    border-width: 2px;
    color: white;
}

h1, h2 {
    color: white;
}


h2 {
    margin-bottom: 1em;
    display: inherit;
}


.intro {
    text-align: left;
}

.redevelopment {
    display: inline-block; /* Ensures it only takes up the width of its content */

}

.redevelopment b {
    background-color: white;
    color: black;
    padding: 0.1em;
}

.date {
    font-style: italic;
}

#profile_picture {
    height: 15%;
    width: 15%;
    margin: 1%;
    border-radius: 55%;
    border-style: solid;
}

.icon-size {
    font-size: 1.5rem;
    color: lightgrey;
}

.link-icon {
    color: white;
    padding: 0;
    size: 75%;
}

#nav-brand:hover {
    color: lightgray;
}

.icon-size:hover {
    color: #f6f6f6;
}

.tool-icons .fa-brands:hover, .tool-icons .fa-database:hover {
    color: #f6f6f6;
}

.scroll-container {
    height: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

.section {
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
}

.section .container {
    max-height: 90vh;
    overflow-y: auto;
}

.section-1 {
    display: flex;
    position: relative;

}

.section-2 {
    height: 100%;
    color: #fffafa;
}


.section-3 {
    height: 100%;
}

.section-3 .row {

}

.table-custom {
    border-collapse: collapse;
    width: 15%;
    margin: 0 auto;
    text-align: center;
}


/* timeline */

* {
    box-sizing: border-box;
}

#timeline-icon {
    height: 50px; /* Adjust the height as needed */
    width: 50px; /* Adjust the width as needed */
    border-radius: 15%;
    margin-right: 15px; /* Add some space between the logo and text */
}


/* The actual timeline (the vertical ruler) */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 90%;
    padding-top: 2%;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #112940;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

/* Container around content */
.bubble-container {
    padding: 5px 20px;
    position: relative;
    width: 50%;
    transition: transform 0.3s;
}

.bubble-container:hover {
    transform: translateY(-5px);
}

/* The circles on the timeline */
.bubble-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: #112940;
    border: 4px solid #223F59;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

/* Place the container to the left */
.left {
    left: 0;
}

/* Place the container to the right */
.right {
    left: 50%;
}

/* Fix the circle for containers on the right side */
.right::after {
    left: -2%;
}

/* Fix the circle for containers on the left side */
.left::after {
    left: 98%;
}

/* The actual content */
.content {
    padding: 15px 15px;
    background-color: #112940;
    position: relative;
    border-radius: 20px;
    width: 100%;
    align-items: center;
    color: #F2C94C;
}


.section-4 .card {
    background-color: #112940;
    margin: 0.75em;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
    overflow: hidden;
}

.section-4 .card:hover {
    transform: translateY(-5px);
}

.section-4 .card-text {
    font-size: 75%;
}

.section-4 .card-body .link-icon {
    float: right;
}

.section-4 .card-title:hover {
    text-decoration: underline;
}

.list-group-item{
    background-color: #112940;
}

.list-group-item img {
    height: 30px;
}

@media screen and (max-width: 600px) {

    nav{
        background-color: #001427;
    }

    .cv {
        top: 10%;
        padding: 2%;
        font-size: 125%;
        font-weight: bold;
        z-index: 1000;
        text-align: center;
        border-radius: 15%;
        border-style: solid;
        border-width: 2px;
        color: white;
    }

    .section {
        scroll-snap-align: start;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100vh;
        /*overflow: unset;*/
    }

    .section .container {
        max-height: 100vh;
        /*overflow-y: unset;*/
    }

    #nav-brand {
        font-size: 150%;
    }

    .navbar-collapse {
        background-color: #001427;
    }

    .navbar-toggler-icon i {
        font-size: 2rem;
        color: white;
    }

    #profile_picture {
        height: 50%;
        width: 50%;
    }

    .table-custom {
        width: 75%;
    }

    .text-center {
        font-size: 75%;
    }

    .text-center h5 {
        width: 85%;
        align-content: center;
        display: inline-block;
    }

    .scroll-container {
        scroll-snap-type: none;
    }

    /* Place the timelime to the left */
    .timeline::after {
        left: 31px;
    }

    /* Full-width containers */
    .bubble-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    /* Make sure that all arrows are pointing leftwards */
    .bubble-container::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    /* Make sure all circles are at the same spot */
    .left::after, .right::after {
        left: 19px;
    }

    /* Make all right containers behave like the left ones */
    .right {
        left: 0%;
    }
}