@import url(https://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300ita‌​lic,400italic,500,500italic,700,700italic,900italic,900);

html {
    height: 100%;
}

body {
    height: 100%;
    background: conic-gradient(rgb(71, 86, 166), rgb(46, 75, 148), rgb(16, 138, 88), rgb(38, 175, 74), rgb(95, 189, 128), rgb(144, 210, 192), rgb(103, 167, 217), rgb(93, 119, 186), rgb(71, 86, 166));
    background-attachment: fixed;
    font-family: 'Roboto', sans-serif;
}

* {
    margin: 0;

    &[lang=fr] {
        display: none;
    }
}

a {
    color: darkblue;
}

a:visited {
    color: #500050;
}

#wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
}

.language-picker {
    position: absolute;
    right: 0;
    top: 0;
    margin-top: 8px;
    margin-right: 8px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 2px;
    box-shadow: inset 0px 0.5px 2px rgba(0, 0, 0, 0.5);
}

.language {
    padding: 4px 8px;
}

.active-language {
    border-radius: 6px;
    background-color: rgb(65, 175, 70);
    box-shadow: 0px 0.5px 2px rgba(0, 0, 0, 0.5);
}

.tooltip .tooltiptext {
    visibility: hidden;
    background-color: #555;
    color: white;
    text-align: center;
    padding: 6px 12px;
    border-radius: 6px;

    position: absolute;
    z-index: 1;
    top: 42px;
    right: 0px;

    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

a.language {
    text-decoration: none;
}

.inactive-language {
    opacity: 0.5;
}

.flex-small {
    flex: 1;
}

.padding {
    padding: 2vw;
}

.padding-top {
    padding-top: 2vw;
}

.column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

h1, p {
    color: white;
}

.row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-big {
    flex: 4;
}

.cover {
    max-width: 100%;
    height: auto;
}

.outer-card {
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 16px;
}

.wrap {
    flex-wrap: wrap;
    column-gap: 16px;
    row-gap: 6px;
}

.button-link {
    text-decoration: none;
}

.button {
    margin-top: 12px;
    padding: 16px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: larger;
    transition: 0.3s;
}

.button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.5);
}

.clues-title {
    padding: 8px 0px;
}

.clue-button-logo {
    padding-right: 8px;
}

#legal {
    font-size: x-small;
    text-align: center;
}

.outer-card > p {
    color: black;
}

@media (prefers-color-scheme: dark) {
    body {
        background: conic-gradient(rgb(36, 43, 83), rgb(23, 38, 74), rgb(8, 69, 44), rgb(19, 88, 37), rgb(48, 95, 64), rgb(72, 105, 96), rgb(52, 84, 109), rgb(47, 60, 93), rgb(36, 43, 83));
        background-attachment: fixed;
    }

    a {
        color: lightblue;
    }

    a:visited {
        color: #d0b0d0;
    }

    .language-picker {
        background-color: rgba(0, 0, 0, 0.3);
    }
    
    .outer-card {
        background-color: rgba(0, 0, 0, 0.3);
    }

    .button {
        background-color: rgba(0, 0, 0, 0.1);
    }

    .button:hover {
        background-color: rgba(0, 0, 0, 0.3);
    }

    .outer-card > p {
        color: white;
    }
}
