html {
    background: #031708;
}

header {
    position: absolute;
    top: 0;
    padding: 1rem;
    z-index: 100;
    height: 5rem;
    width: 100%;
}

header img {
    height: 100%;
}

.header__home-links {
    top: 2rem;
    right: 1rem;
    position: absolute;
    width: 100%;
    padding-left: 6rem;
}

#search-input {
    margin-right: auto;
    background: rgba(0, 0, 0, 0);
    border: none;
    color: #4cb1ff;
    border-bottom: 1px solid #f0f0f0;
}

#search-input:active,
#search-input:focus {
    border-bottom: 1px solid #4cb1ff;
    outline: none;
}

.container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #031708;
}

#canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

#info {
    position: absolute;
    background: #4cb1ff;
    padding: 2rem;
    opacity: 0;
    transition: 500ms opacity;
    bottom: 0;
    right: 0;
    color: #000000;
    width: 100%;
    max-width: 56rem;
    height: min-content;
    z-index: 100;
}

.info__inner {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}


#info img {
    max-width: 12rem;
    width: max-content;
}

#info h4 {
    font-weight: 400;
    font-size: 1.25rem;
    margin: 0;
}

#info__links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

#info__categories {
    font-size: 0.75rem;
    columns: 3;
    margin: 0;
}

#info__categories a {
    display: block;
    margin-bottom: 0.125rem;
}

#info__close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    background: rgba(0, 0, 0, 0);
    border: none;
    cursor: pointer;
    font-size: 2rem;
    color: #000;
}

#log {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1rem;
    z-index: 100;
}

#log:hover {
    z-index: 100;
}

#log p {
    user-select: none;
    font-size: 0.75rem;
    margin: 0;
    display: flex;
    gap: 0.25rem;
}

#log p a {
    color: inherit;
}

#log p a:hover {
    text-decoration: none;
}

header a,
#log p:last-child,
#log p:hover {
    color: #4cb1ff;
}

.info__img-container {
    padding-right: 1rem;
}

@media screen and (max-width: 776px) {
    body {
        overflow: hidden;
    }
    #info {
        max-height: 90vh;
        overflow: auto;
    }

    #info img {
        max-width: 6rem;
        max-height: 5rem;
    }

    #info p {
        font-size: 0.875rem;
    }

    #info h3 {
        max-width: calc(100% - 9rem);
    }

    #info__categories {
        columns: 1;
    }

    .info__inner {
        display: block;
    }

    .info__img-container {
        position: absolute;
        top: 2rem;
        right: 4rem;
        padding: 0;
    }
}