/* Box sizing rules */
* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: black;
    color: white;
    font-family: "Agency FB";
    overflow-x: hidden;
}

.grid-container {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
}


.navbar {
    background-size: 50%;
    background-color: #00DAFF;
    padding: 20px;
    position: fixed;
    top: 0;
    right: 0;
    width: 30%;
    font-size: 150%;
    height: 100%;
}

.navbar ul {
    list-style-type: none;
    padding: 0;
}

.navbar li {
    margin-bottom: 10px;
}

.navbar a {
    text-decoration: none;
    color: #fff;
    display: block;
    padding: 10px;
}

.header {
    background-image: url(/technowire/img/TechnoWire_logo.png);
    padding: 10%;
    margin: 1%;
    background-repeat: no-repeat;
}

.text {
    text-align: left;
    padding-left: 20px;
    width: 50%;
}

h1 {
    font-size: 36px;
}

p {
    font-size: 120%;
}

a {
    background-color: #00BBFF;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

a:hover {
    background-color: #00DAFF;
}

.timeline {
    position: relative;
    max-width: 69%;
    margin-left: 2%;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #00BBFF;
    top: 0;
    bottom: 0;
    margin-left: -3px;
    z-index: -1;
    /* Zet de timeline achter de container */
}

.container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 80%;
}

.container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: #00DAFF;
    border: 4px solid #00BBFF;
    top: 15px;
    border-radius: 50%;
    z-index: 0;
    /* Zet de containers voor de timeline */
}

.right {
    left: 0;
}


.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 0;
    left: 30px;
    border: medium solid #00DAFF;
    border-width: 10px 10px 10px 0;
    border-color: transparent #00DAFF transparent transparent;
}

.right::after {
    left: -16px;
}

.content {
    padding: 20px 30px;
    background-color: #00DAFF;
    position: relative;
    border-radius: 6px;
}

@media screen and (max-width: 950px) {

    .navbar {
        position: relative;
        width: 100%;
        font-size: 100%;
    }

    .header {
        display: none;
    }

    .timeline {
        width: 100%;
        max-width: 100%;
    }

    .timeline::after {
        left: 31px;
    }

    .container {
        width: 80%;
        padding-left: 70px;

    }

    .container::before {
        left: 60px;
        border: medium solid #00DAFF;
        border-width: 10px 10px 10px 0;
        border-color: transparent #00DAFF transparent transparent;
    }


    .right::after {
        left: 15px;
    }

    .right {
        left: 0%;
    }
}

.content {
    color: black;
}

.container img {
    max-width: 35%;
    height: auto;
    display: block;
    margin: 10px 0;
    border-radius: 5%;
}