html {
    box-sizing: border-box;
    background: #cccccc;
    font-family: 'helvetica neue', sans-serif;
    font-size: 20px;
    font-weight: 200;
}

*, *:before, *:after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

.slides-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

#main-nav {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    margin: 0;
    width: 60px;
    height: 100vh;
    padding: 10px 6px;
    background-color: #1a53a1;
    color: #ffffff;
}

#main-nav a,
#main-nav a:visited,
#main-nav a:focus {
    display: block;
    margin: 20px auto;
    color: #ffffff;
    text-decoration: none;
    writing-mode: vertical-lr;
    text-orientation: upright;
}

#main-nav a + a {
    margin-top: 10px;
}

#main-nav a:hover {
    color: #f7f2d3;
}

#main-nav .nav-brand {
    font-size: 24px;
    font-weight: bold;
}

#main-nav .nav-title {
    display: block;
    margin: 20px auto;
    font-weight: bold;
    writing-mode: vertical-lr;
    text-orientation: upright;
}

.slides-wrapper article {
    display: block;
    width: calc(100vw - 60px);
    height: 100vh;
    border: none;
}

input {
    width: 100%;
    padding: 20px;
}

.search-form {
    max-width: 600px;
    margin: 50px auto;
}

input.search {
    position: relative;
    margin: 0;
    text-align: center;
    outline: 0;
    border: 10px solid #F7F7F7;
    width: 120%;
    left: -10%;
    top: 10px;
    z-index: 2;
    border-radius: 5px;
    font-size: 40px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.12), inset 0 0 2px rgba(0, 0, 0, 0.19);
}

.suggestions {
    position: relative;
    margin: 10px 0 0 0;
    padding: 0;
}

.suggestions li {
    display: flex;
    justify-content: space-between;
    background: white;
    list-style: none;
    border-bottom: 1px solid #D8D8D8;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.14);
    margin: 0;
    transition: background 0.2s;
}

/* perspective movement
.suggestions li:nth-child(even) {
    transform: perspective(200px) rotateX(3deg) translateY(2px) scale(1.001);
    background: linear-gradient(to bottom, #ffffff 0%, #EFEFEF 100%);
}

.suggestions li:nth-child(odd) {
    transform: perspective(200px) rotateX(-3deg) translateY(3px);
    background: linear-gradient(to top, #ffffff 0%, #EFEFEF 100%);
}
*/

.suggestions a, .suggestions a:visited, .suggestions a:focus {
    display: block;
    text-decoration: none;
    color: rgb(0, 0, 238);
    padding: 20px;
    width: 100%;
}

.suggestions a:hover .title {
    text-decoration: underline;
}

.suggestions a span {
    position: relative;
    display: block;
}

.suggestions .title {
    font-size: 24px;
}

.suggestions .description {
    margin-top: 6px;
    font-size: 16px;
    color: #292929;
}

.suggestions .author {
    margin-top: 6px;
    margin-left: 20px;
    font-size: 12px;
}

.suggestions .author:before {
    position: absolute;
    display: block;
    left: -20px;
    content: '—';
}
