body {
    background: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-family: "Geist Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 15px;
}

#golBoard {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    z-index: -1;
}
#golBoard > div {
    border: solid 2px black;
}

#card {
    background: rgba(0, 0, 0, 0.8);
    text-shadow: 0px 0px 5px black;
    z-index: 1;
    position: absolute;
    backdrop-filter: blur(5px);
    border: solid 0.5px gray;
    border-radius: 20px;
    box-shadow: 0px 0px 20px black;
    padding: 10px;
    margin: 10px;
    width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 95dvh;
    overflow: scroll;
    justify-content: flex-start;
}

.container {
    display: flex;
    justify-content: center;
}

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

@media (max-width: 600px) {
    .projDiv {
        flex-direction: column;
    }

    iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        margin: 10px 0;
    }

    #contacts {
        flex-direction: column;
    }
}

iframe {
    height: 160px;
    width: 200px;
    border-radius: 5px;
    margin: 5px;
}

ul {
    font-size: 12px;
}

.container > div {
    border-radius: 5px;
    border: solid 0.5px gray;
    padding: 5px;
    margin: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.container > div > img {
    width: 20px;
}

a {
    color: white;
}

@keyframes alive {
    from {
        background-color: black;
    }
    to {
        background-color: white;
    }
}
.cellAlive {
    background: white;
    animation-name: alive;
    animation-duration: 1s;
}

@keyframes dead {
    from {
        background-color: white;
    }
    to {
        background-color: black;
    }
}
.cellDead {
    background: black;
    animation-name: dead;
    animation-duration: 1s;
}

@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.fadeIn {
    opacity: 1;
    animation-name: fade;
    animation-duration: 5s;
}
