@font-face {
    font-family: "FrutigerLTPro-Roman";
    src: url("fonts/FrutigerLTPro-Roman.ttf") format("truetype"), /* Safari, Android, iOS */
    url("fonts/FrutigerLTPro-Roman.woff") format("woff"), /* Modern Browsers */
    url("fonts/FrutigerLTPro-Roman.woff2") format("woff2"); /* Modern Browsers */
    font-weight: normal;
    font-style: normal;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "FrutigerLTPro-Roman", sans-serif;
}

.absolute-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.hidden {
    display: none !important;
}

.screen-container {
    background: #c2e5f0 url("../images/background.jpg") 0 0/100% 100% no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    overflow-y: auto;
}

.o2-logo {
    height: 6.5vh;
    width: auto;
    margin: max(20px, 4.1vh) 0 max(7px, 1.5vh) 0;
    min-height: 32px;
}

.epic-logo {
    height: 19vh;
    width: auto;
    margin: max(6px, 1.1vh) 0 max(16px, 3vh) 0;
    min-height: 95px;
}

.samsung-logo {
    height: 6vh;
    width: auto;
    margin: max(17px, 3.1vh) 0;
    min-height: 30px;
}

.content-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    width: 100%;
    border-bottom: 0.14em solid #ffffff;
}

.content-container > div {
    width: 80%;
    max-width: 400px;
    text-align: center;
    margin-top: max(-23px, -4.2vh);
}

.content-container > div p {
    font-size: calc(1rem + 1vh);
}

.content-container > div h2 {
    font-size: calc(1.5rem + 1vh);
}

.content-container > div div:first-of-type {
    font-size: calc(0.8rem + 1vh);
    margin-bottom: max(16px, 2.9vh);
}

.answer, input {
    font-size: calc(0.75rem + 0.9vh);
    height: max(24px, 5.5vh);
    min-height: 28px;
    width: 100%;
    border: 0.14em solid #ffffff;
    border-radius: 5px;
    box-sizing: border-box;
    margin: max(6px, 1.35vh) 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    color: #ffffff;
}
.answer:active, .selected-answer {
    background: #80c29e;
}

.answer-submitted .answer, .answer-submitted button {
    opacity: 0.6;
}

input::placeholder {
    color: rgba(255,255,255,0.5);
}

label {
    font-size: calc(0.75rem + 0.9vh);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: max(6px, 1.35vh) 0;
    padding: 4px 0;
}

button {
    font-size: calc(0.75rem + 0.9vh);
    height: 5.4vh;
    min-height: 28px;
    padding: 5px 25%;
    border: 0.14em solid #ffffff;
    border-radius: 3vh;
    box-sizing: border-box;
    background: transparent;
    color: #ffffff;
    margin-top: max(12px, 2.4vh);
    outline: none;
    cursor: pointer;
}
button:hover, button:active {
    background: #80c29e;
}

input[type='checkbox'] {
    height: 25px;
    width: 25px;
    min-height: 24px;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    border: 0.14em solid #ffffff;
    border-radius: 5px;
    outline: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    display: inline-block;
    margin: -4px 10px 0 0;
}
input[type='checkbox']:checked:before {
    content: '\2713';
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    font-size: 0.8em;
}

.spin {
    width: 100px;
    height: auto;
    animation: spin 1.1s cubic-bezier(0.785, 0.135, 0.150, 0.860) infinite both;
}

@keyframes spin {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}