html {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
    margin: 0;
}

/**
 * For question 1
 */

#q1-container {
    width: 100vw;
    height: 100vh;
    transition: background-color ease 0.5s;
    background-color: #ccc;
}

#q1-spine {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.q1-btn {
    width: 50px;
    height: 50px;
    margin: 20px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
    border-radius: 20%;
    border: 5px solid rgba(255, 255, 255, 0.2);
    transition: transform ease 0.2s;
}

.q1-btn:hover {
    transform: scale(1.2);
}

#q1-btn-red {
    background: #EF476F;
}

#q1-btn-yellow {
    background: #FFD166;
}

#q1-btn-green {
    background: #06D6A0;
}

#q1-btn-lightblue {
    background: #118AB2;
}

#q1-btn-blue {
    background: #073B4C;
}

/**
 * Question 2
 */

#pictures {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 680px;
    margin: auto;
    text-align: center;
}
#pictures img {
    width: 200px;
    margin: 0 10px;
    transition: 0.3s;
}
#pictures img:hover {
    cursor: pointer;
    opacity: 0.8;
}
.hidden {
    display: none;
}
#lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.lightbox {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
}
.lightbox img {
    width: 100%;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}
.lightbox .caption {
    box-sizing: border-box;
    width: 100%;
    padding: 20px;
    background: white;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

/**
 * Miscellaneous things
 */

a {
    color: inherit;
    text-decoration: none;
}

.question {
    box-shadow: 0 1px 2px rgba(0,0,0,0.12);
    background: white;
    padding: 18px;
    font-size: 12px;
    margin-bottom: 6px;
    border-radius: 2px;
    text-align: center;
    font-weight: 700;
    color: #4a4a4a;
    cursor: pointer;
    transition: 0.2s;
}

.question:hover {
    opacity: 0.8;
    box-shadow: 0 2px 4px rgba(0,0,0,0.16);
}

#index {
    width: 240px;
    position: absolute;
    left: calc(50% - 120px);
    top: calc(50% - 206px);
}
