html {
    font-family: "Inter", system-ui, sans-serif;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    background: #dddcd3;
}

section {
    padding: 10px;
    border-top: 3px solid black;
}

section.yellow {
    background: #ffffcc;
    /* background: tomato; */
}

section.yellow h2 {
    background: #ffff33; 
}

section.blue {
    background: #ccddff;
}

section.blue h2 {
    background: #3581FF;
    color: white;
}


section.green {
    background: #aaffaa;
}

section p {
    font-weight: 300;
    color: dimgrey;
}

p.description {
    font-size: 14px;
    font-style: italic;
    margin-top:5px;
}

.section-wrapper {
    margin: auto;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title-wrapper{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}


select {
    padding: 2px;
    transform: translateY(-5px);
    background-color: transparent;
    border-radius: 4px;
    border: 2px solid #fffc32;
}

h1 {
    font-weight: 600;
}


h2 {
    font-size: 18px;
    font-weight: 500;
    text-align: left;
    padding: 5px 2px;
}

p {
    color: dimgrey;
    font-weight: 300;
}

h1 span {
    color: #fffc32;
}

.and-you-are {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.github-link {
    overflow: hidden;
    width: 50px;
    height: 50px;
    display: block;
                /* style="overflow:hidden; width:30px;" */
}

.github-link:hover {

    background: blue;
}


.underlines {
    display: flex;
    flex-direction: row;
    pointer-events: none;
    bottom: -7px;
    left: 0;
    overflow: hidden;
    width: 30px;
}

details summary {
    background: #dddcd3;
}

details summary:hover {
    background: yellow;
}

details[open] summary {
  background: yellow;
}


details {
    background: yellow;
}

details div {
}

/* details svg {
    stroke-dasharray: 12px;
    animation: dash 3s linear infinite;
} */

.stripe {
    stroke-dasharray: 12px;
    animation: dash 3s linear infinite;
}

/* Weird way to create step animation instead of just adjusting the ease of the animation. */
@keyframes dash {
    1% {
        stroke-dashoffset: 0;
    }
    10% {
        stroke-dashoffset: 0;
    }
    11% {
        stroke-dashoffset: 10;
    }
    20% {
        stroke-dashoffset: 10;
    }
    21% {
        stroke-dashoffset: 20;
    }
    30% {
        stroke-dashoffset: 20;
    }
    31% {
        stroke-dashoffset: 30;
    }
    40% {
        stroke-dashoffset: 30;
    }
    41% {
        stroke-dashoffset: 40;
    }
    50% {
        stroke-dashoffset: 40;
    }
    51% {
        stroke-dashoffset: 50;
    }
    60% {
        stroke-dashoffset: 50;
    }
    61% {
        stroke-dashoffset: 60;
    }
    70% {
        stroke-dashoffset: 60;
    }
    71% {
        stroke-dashoffset: 70;
    }
    80% {
        stroke-dashoffset: 70;
    }
    81% {
        stroke-dashoffset: 80;
    }
    90% {
        stroke-dashoffset: 80;
    }
    91% {
        stroke-dashoffset: 90;
    }
    100% {
        stroke-dashoffset: 90;
    }
}


.card {
    border-radius: 4px;
    border: 2px solid black;
    padding: 10px;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.card-yellow {
    background: #ffffaa;
}

section img {
    object-fit: contain;
    border: 2px solid black;
    /* border-radius: 4px; */
}

section video {
    border: 2px solid black;
    object-fit: cover;
    /* border-radius: 4px; */
}


.card .texts {
    display: flex;
    flex-direction: column;
}

.card h3 {
    font-size: 18px;
    margin: 0;
    font-weight: 500;
    margin-bottom: 4px;
}

.card p {
    font-size: 14px;
    margin: 0;
    flex: 1;
}

.card .link-wrapper {
    text-align: right;
}

.card .link-wrapper-yellow a {
    color: yellow;
}

.card a {
    font-size: 22px;
    background: black;
    color: #dddcd3;
    text-decoration: none;
    border: 2px solid black;
    padding: 0 10px;
}
