@import url("https://fonts.googleapis.com/css?family=Roboto");

:root {
    --theme-darker: #32516a;
    --theme-dark: #69a9d9;
    --theme-light: #98c5e9;
    --text-logo: #9cd0fa;
    --text-color: #333;
    --blue: #007bff;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--theme-dark);
    color: #333;
    letter-spacing: 0.4px;
    font-size: 125%;
    font-family: "Roboto", sans-serif;
}

.logo {
    max-height: 150px;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: calc(10px + 2vmin);
    color: white;
    margin-top: 1rem;
}

.header h1 {
    font-size: 2rem;
}

h1,
h2,
h3,
h4 {
    text-align: center;
    margin: 1rem 0;
}

.tournaments {
    text-align: center;
    margin: 0 auto 1rem auto;
}

.tournaments-tournament {
    display: inline-block;
    width: 110px;
    text-align: center;
    margin: 0 auto;
    cursor: pointer;
    border: 1px solid transparent;
}

.tournaments-tournament.active {
    background: var(--theme-light);
    border: 1px solid var(--theme-darker);
}

.tournaments-tournament img {
    height: 100px;
}

.matches {
    max-width: 600px;
    margin: 0 auto;
}

.match {
    border-bottom: 1px solid var(--theme-darker);
    margin: 0 1rem;
    padding: 1rem 0;
}

.match-info {
    display: flex;
    text-align: center;
    cursor: pointer;
}

.match:hover {
    background: #65a2d0;
}

.team-home {
    flex-grow: 1;
    flex-basis: 0;
}

.team-away {
    flex-grow: 1;
    flex-basis: 0;
}

.team-center {
    width: 1.5rem;
}

.team-info {
    display: flex;
    align-items: center;
}

.team-home .team-info {
    float: right;
}

.team-home .team-info-name {
    margin-right: 1rem;
}

.team-away .team-info-name {
    margin-left: 1rem;
}

.top-text {
    margin-bottom: 1rem;
    font-size: 70%;
}

.team-logo {
    max-height: 75px;
}

.questions-container {
    margin: 1rem 1rem 0 1rem;
}

.question {
    cursor: pointer;
    border: 1px solid var(--theme-darker);
    border-bottom: none;
    padding: 0.5rem;
}

.question:first-of-type {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.question:last-of-type {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom: 1px solid var(--theme-darker);
}

.question:hover {
    background: var(--theme-dark);
}

.question-category-title {
    font-weight: bold;
}

.question-category-body {
    margin-top: 0.5rem;
}

.answer-yes {
    color: var(--success);
    text-shadow: 1px 1px #0f3214;
}

.answer-no {
    color: var(--danger);
    text-shadow: 1px 1px #470b0b;
}

@media (max-width: 400px) {
    .tournaments-tournament {
        width: 80px;
    }

    .tournaments-tournament img {
        height: 70px;
    }

    .match {
        font-size: 70%;
    }

    .team-logo {
        max-width: 50px;
    }
}
