/* MAIN */
body {
    font-family: 'Roboto', sans-serif;
    color: #222;
}

h1 {
    margin-block-start: 0;
    margin-block-end: 0;
    padding: 20px;
    white-space: nowrap;
}

h3 {
    margin-block-start: 0;
    margin-block-end: 0;
}

p {
    margin-block-start: 0;
    margin-block-end: 1.5em;
}

.mellanrum {
    padding: 20px;
}

#navbar {
    height: 100%;
    width: 160px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #222;
    overflow-x: hidden;
    color: white;
    transition: 0.5s;
}

.navigation-title {
    /*font-size: 1.5em;*/
    padding-left: 20px;
}

.navigation-items {
    white-space: nowrap;
    list-style-type: none;
    padding-inline-start: 0;
}

.navigation-items > li {
    padding: 10px 10px 10px 20px;
}

.navigation-items > li:hover {
    background: #444;
}

#menu-button {
    position: fixed;
    z-index: 2;
    top: 20px;
    left: 145px;  
    width: 30px;  
    transition: 0.5s;
}

#menu-button:hover {
    cursor: pointer;
}

#main {
    margin-left: 180px;
    transition: margin-left .5s;
    background: #FFF;
}

#content-title {
    z-index: 1;
    text-overflow: ellipsis;
    position: fixed;
    top: 0;
    width: 100%;
    background: #FFF;
}

#content {
    max-width: 1000px;
    margin-top: 80px;
    padding: 20px;
}

.link:hover {
    cursor: pointer;
}

.hidden-content {
    display: none;
}


/* FLEX */

.flex-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: flex-start;
    justify-content: flex-start;
}

.flex-container-nowrap {
    flex-wrap: nowrap;
}

.flex-item {
    flex-grow: 1;
    align-self: flex-end;
}

.flex-lg-25 { flex-basis: 25%; }
.flex-lg-33 { flex-basis: 33%; }
.flex-lg-50 { flex-basis: 50%; }
.flex-lg-100 { flex-basis: 100%; }

@media screen and (max-width: 1000px) {
    .flex-md-25 { flex-basis: 25%; }
    .flex-md-33 { flex-basis: 33%; }
    .flex-md-50 { flex-basis: 50%; }
    .flex-md-100 { flex-basis: 100%; }
}

@media screen and (max-width: 600px) {
    .flex-sm-25 { flex-basis: 25%; }
    .flex-sm-33 { flex-basis: 33%; }
    .flex-sm-50 { flex-basis: 50%; }
    .flex-sm-100 { flex-basis: 100%; }
}

/* PORTFOLIO */
.portfolio-item {
    padding: 40px;
    text-align: center;
}

.portfolio-item-caption {
    padding-top: 20px;
    font-weight: 700;
}

.portfolio-item:hover {
    background: #EEE;
    cursor: pointer;
}

.video {
    width: 100%;
}

.audio {
    width: 100%;
}

.image {
    max-width: 100%;
}

.image-caption {
    font-style: italic;
    font-size: 0.9em;
    text-align: center;
    padding-top: 10px;
}