@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;700&display=swap');

body {
    background-color: white;
    font-family: 'IBM Plex Mono', monospace;
}

.intro {
    width: 100%;
    max-width: 800px;
    margin: 4rem auto;
    line-height: 1.5;
}

.sketch {
    background-color: rgb(80,80,80);
}

canvas {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #efefef;
}

.link {
    display: inline;
    text-align: center;
    color: black;
    font-size: 3rem;
    padding: 0.5rem 2rem;
}

.list {
    text-align: center;
    width: 100%;
    line-height: 1.8;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.list-item {
    display: inline-block;
}

.list img {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50vw;
    height: 50vw;
    max-width: 400px;
    max-height: 400px;
    z-index: -1;
}

.list-item img {
    opacity: 0;
    /*transition: opacity 200ms;*/
}

.list-item:hover img {
    opacity: 1;
}

.list-item:hover .link {
    background-color: black;
    color: white;
}




/*.sketches .list-item:nth-of-type(2) {
    display: none;
}*/

/*.sketches .list-item:nth-of-type(3) {
    display: none;
}*/

/*.sketches .list-item:nth-of-type(4) {
    display: none;
}*/

.sketches .list-item:nth-of-type(5) {
    display: none;
}



.sound-warning {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: rgba(0,0,0,0.8);
    pointer-events: none;
    font-size: 2rem;
    padding: 1rem;
    z-index: 2000;
}

.sound-warning.hidden {
    display: none;
}


.placeholder {
    display: none;
}


.footer {
    width: 100%;
    text-align: center;
    font-size: 12px;
    margin-bottom: 2rem;    
}

.footer a {
    color: black;
}



.profile {
    width: 100%;
    text-align: center;
    margin-top: 4rem;
}

.profile img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}


.back {
    background-image: url('./back.svg');
    width: 48px;
    height: 48px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    background-position: 0px 0;
    background-size: 100%;
    transition: all 250ms cubic-bezier(0.85, 0, 0.15, 1);
}

.back:hover {
    background-position: -48px 0;
}



@media only screen and (max-width: 600px) {
    .link { 
        font-size: 1.5rem;  
    }

    .list {
        line-height: 2;
    }
}




.sketch-description {
    position: fixed;
    background-color: rgba(0,0,0, 1);
    color: white;
    left: auto;
    top: auto;
    right: 1rem;
    bottom: 1rem;
    padding: 1rem;
    z-index: 200;
    font-size: 12px;
    max-width: 400px;
    transform: translateY(calc(100% + 1rem));
    overflow: visible;
    transition: transform 250ms;
    cursor: pointer;
}

.sketch-description:hover {
    transform: translateY(0);
}

.sketch-description:after {
    content: "Hinweis";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(-100%);
    color: white;
    background-color: black;
    padding: 1rem;
    font-size: 16px;
}