:root {}

html,
body {
    margin: 0;
    min-height: 100%;
    padding: 0;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #000;
}

body {
    -webkit-tap-highlight-color: transparent;
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial,
        "Noto Sans",
        sans-serif,
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Segoe UI Symbol",
        "Noto Color Emoji";
    line-height: 1.4;
}

strong,
h1,
h2,
h3,
h4,
h5,
h6 {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 600;
}

*,
:after,
:before {
    box-sizing: border-box;
}


a {
    color: #ddd;
}

#gif-container {
    display: flex;
    flex-wrap: wrap;
    --gap: 0px;
}

#gif-container img {
    width: calc((100% - var(--num-gifs) * var(--gap)) / var(--num-gifs));
    height: auto;
    object-fit: cover;
}

#badge {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 445px;
    height: 445px;

    background-color: #59F6A2;
    border-radius: 50%;

    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.5);
    z-index: 1000;

    transform-origin: center center;
}

#logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#logo_outside {
    position: absolute;
    transform-origin: center center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 60s infinite linear;
}


@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

#description {
    color: #ddd;
    position: fixed;
    bottom: 0;
    left: 20px;
    right: 20px;
    text-align: center;
    z-index: 1;
}

#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

@media only screen and (max-width: 600px) {
    #badge {
        transform: translate(-50%, -50%) scale(0.8, 0.8);
    }
  }