* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}

.navbar {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    background-color: #222;
    color: white;
}

.brand-title {
    font-size: 1.5rem;
    margin: .5rem;
}

.navbar-links {
    height: 100%;
}

.navbar-links ul {
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar-links li {
    list-style: none;
}

.navbar-links li a {
    display: block;
    text-decoration: none;
    color: white;
    padding: 1rem;
}

.navbar-links li:hover {
    background-color: #555;
}

.toggle-button {
    position: absolute;
    top: .75rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.toggle-button .bar {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
}

@media (max-width: 800px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .toggle-button {
        display: flex;
    }

    .navbar-links {
        display: none;
        width: 100%;
    }

    .navbar-links ul {
        width: 100%;
        flex-direction: column;
    }

    .navbar-links ul li {
        text-align: center;
    }

    .navbar-links ul li a {
        padding: .5rem 1rem;
    }

    .navbar-links.active {
        display: flex;
    }
}

body, html{
    height:100%;
    margin:0;
    font-size:16px;
    font-weight: 400;
    line-height: 1.8em;
    color:#666;
}

.pimg1, .pimg2, .pimg3, .pimg4, .pimg5, .pimg6{
    position:relative;
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
    background-attachment:fixed;
    /* background-attachment:scroll; */
}

.pimg1{
    background-image:url('../images/7seg.jpg');
    width:100%;
    min-height:700px;
    opacity: 1.0;
}

.pimg2{
    background-image:url('../images/windows_code_small.jpg');
    max-width:100%;
    min-height:400px;
    opacity: 1.0;
}

.pimg3{
    background-image:url('../images/pcb_erwino.png');
    max-width:100%;
    min-height:400px;
    opacity:1;
}

.pimg4{
    background-image:url('../images/network.png');
    max-width:100%;
    min-height:400px;
    opacity:1.0;
}

.pimg5{
    background-image:url('../images/led_matrix_rgb.png');
    max-width:100%;
    min-height:400px;
    opacity:1.0;
}

.pimg6{
    background-image:url('../images/iamsterdam.jpg');
    max-width:100%;
    min-height:800px;
    opacity:1.0;
}

.section{
    text-align:center;
    padding:50px 80px;
}

.section-light{
    background-color:#f4f4f4;
    color:#444;
}

.section-dark{
    background-color:#222;
    color:#ddd;
}

.ptext{
    position:absolute;
    top:50%;
    width:100%;
    text-align:center;
    color:#222;
    font-size:20px;
    letter-spacing:8px;
    text-transform:capitalize;
}

.ptext .border{
    background-color:#222;
    color:#fff;
    padding:20px;
}

/*
@media(max-width:400px){
    .pimg1, .pimg2, .pimg3, .pimg4{
        background-attachment: scroll;
    }
}
*/