html,
.igem_root {
    background-color: #1e1e1e;
}

#attributions_root {
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 100vh;
    max-height: 100vh;
}

#big_galaxy_container {
    animation: rotate_big_galaxy 60s infinite linear;
    -webkit-animation: rotate_big_galaxy 60s infinite linear;
    width: 100vw;
    margin: 10vw;
    position: relative;
}

.sollar_system_minimized {
    width: 8%;
    aspect-ratio: 1;
    transform-origin: center;
    animation: rotate_solar_system 60s infinite linear;
    -webkit-animation: rotate_solar_system 60s infinite linear;
    position: absolute;
    z-index: 1000;
    cursor: pointer;
}

.sollar_system_minimized:hover {
    scale: 1.2;
}

.sollar_system_minimized:active {
    scale: 1;
}

@keyframes rotate_big_galaxy {
    0% {
        transform: rotate(0deg);
    }
    25% {
        rtransform: rotate(90deg);
    }
    50% {
        transform: rotate(180deg);
    }
    75% {
        transform: rotate(270deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotate_solar_system {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-90deg);
    }
    50% {
        transform: rotate(-180deg);
    }
    75% {
        transform: rotate(-270deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

/* tooltip */

.solar_system_tooltip_text {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 10000;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.solar_system_tooltip_text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 10000;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.solar_system_tooltip:hover .solar_system_tooltip_text {
    visibility: visible;
    opacity: 1;
    z-index: 10000;
}
.solar_system_tooltip:hover {
    transform: rotate(0deg);

    animation-name: rotate_solar_system;
    animation-duration: 60s !important;
    animation-direction: normal !important;
    -webkit-animation-name: rotate_solar_system;
    -webkit-animation-duration: 60s !important;
    -webkit-animation-direction: normal !important;
    animation-timing-function: linear;
    -webkit-animation-timing-function: linear;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}

/* tooltip */

#attribution-container {
    background: transparent;
    padding-left: 5vw;
    padding-right: 5vw;
    padding-top: 5vw;
    width: 100%;
    height: 100%;
    padding-bottom: 20vh;
    background-repeat: no-repeat;
}

#attribution-info {
    width: 100%;
    height: 100%;
    border: #5e91f7 4px solid;
    border-radius: 3vw;
    background: transparent;
    display: flex;
}

#attribution-description {
    width: 25%;
    height: 100%;
    border: #5e91f7 4px solid;
    border-radius: 2.7vw;
    background: transparent;
    padding: 10px;
    padding-top: 5vh;
    padding-bottom: 5vh;
}

#attributions-people-container {
    background: transparent;
    width: 75%;
    display: flex;
    flex-direction: column;
}

#attribution-buttons-container {
    margin-top: 5px;
    margin-right: 3vw;
    margin-left: 1.5vw;
    display: flex;
    justify-content: space-between;
}

#attribution-title {
    color: white;
    font-size: 2vw;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3vh;
}
#attribution-description-text {
    color: white;
    font-size: 1vw;
    text-align: center;
}

.other-attr-button {
    margin-right: 0.5vw;
    min-width: fit-content;
    margin-bottom: 10px;
    background-color: #1e1e1e;
}

#other-attributions {
    max-width: 85%;
    display: inline-flex;
    overflow-x: scroll;
    margin-bottom: 15px;
    border-top-right-radius: 1vw;
    border-bottom-right-radius: 2vw;
}

#other-attributions::-webkit-scrollbar {
    height: 8px;
}
#other-attributions::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px #6e60f4;
    height: 8px;
    border-radius: 50%;
}
#other-attributions::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    outline: 1px solid slategrey;
    height: 8px;
    border-radius: 3px;
    margin-left: 10%;
}

#attributions-people-and-sun {
    height: 60%;
    display: flex;
    align-items: center;
    margin-left: 5%;
    margin-right: 5%;
    padding-top: 10%;
}

#people-description-container {
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 5%;
    height: 40%;
    display: flex;
    align-items: center;
    display: none;
}
#people-nickname {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-orientation: mixed;
    color: white;
    font-weight: bold;
    text-align: center;
    display: block;
    height: 75%;
    font-size: 1.2vw;
}

#people-description {
    padding: 2%;
    margin: 0 2%;
    color: white;
    width: 100%;
    height: 75%;
    border: #5e91f7 4px solid;
    border-radius: 2vw;
    text-align: center;
    align-items: center;
    display: flex;
}

#person-description-text {
    text-align: center;
    font-size: 1.1vw;
}

#attribution-sun {
    aspect-ratio: 1;
    width: 20%;
    border-radius: 50%;
    background-color: #fcf8e6;
    display: flex;
    align-items: center;
    box-shadow: 0px 3px 60px #fcf8e6;
}

#attribution-sun-text {
    color: #828282;
    font-size: 1.3vw;
    font-weight: bold;
    text-align: center;
    padding: 10%;
    width: 100%;
}

#attribution-people-images {
    width: 80%;
    padding: 10% 5%;
    padding-right: 0;
    display: flex;
    align-items: flex-start;
    flex-flow: wrap;
    justify-content: center;
}

.attr-person-image-container {
    margin-right: 2.5%;
    margin-left: 2.5%;
    cursor: pointer;
}

.attr-person-image-container > img {
    aspect-ratio: 1;
    border-radius: 50%;
}
.attr-person-image-container > span {
    color: white;
    text-align: center;
    opacity: 0;
    font-size: 0.9vw;
    font-weight: bold;
    word-break: normal;
    display: none;
}

.attr-person-image-container:hover > span {
    color: white;
    text-align: center;
    opacity: 1;
    display: block;
}

.attr-person-image-container:hover {
    translate: 0 -20px;
}
