@import url("project.css");
@import url("../palette/yoru bold.css");
@import url("../palette/yoru.css");

.proj-tags {
    width: 100%;
}

.pg-desc {
    margin-inline: 3em;
}

.channels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.5em;
    padding: 1em;
}

.channels > * {
    overflow: hidden;
}

.chan {
    display: grid;
    grid-template-columns: 25% 75%;
    gap: 1em;
    border-radius: 15px;
    padding: 3em;
}

.chan > p {
    margin-block: unset;
}

.chan > p > a {
    text-decoration: underline;
}

img.pfp {
    grid-row-start: 1;
    grid-row-end: 3;
    max-width: 100%;
    border-radius: 100%;
}

.chan-footer {
    grid-column-start: 1;
    grid-column-end: 3;
    display: flex;
    flex-direction: row-reverse;
    height: 100%;
    align-items: flex-end;
}

.yt-btn {
    display: flex;
    justify-content: flex-end;
    height: 5em;
    width: -webkit-fill-available;
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 5%;
    width: 20em;
    background-color: red;
}

.yt-btn > * { 
    border-radius: 15px;
    padding: 1em;
    gap: 10px;
}

.btn-content > i {
    font-size: 24px;
}

.btn-content > p {
    font-weight: bold;
    text-align: center;
}

#yoru.chan {
    grid-column-start: 1;
    grid-column-end: 3;
    background-color: var(--yoru-lawful-bold-surface0);
    color: var(--yoru-lawful-text);
}

#nekobu.chan {
    background-color: var(--yoru-chaotic-bold-surface0);
    color: var(--yoru-chaotic-text);
}

#supakidu.chan {
    background-color: #422121;
    color: #eeb4b4;
}

@media screen and (max-width:800px) {
    .pg-desc {
        margin-inline: 2em;
    }

    .channels, .chan {
        grid-template-columns: 1fr;
    }

    .channels {
        padding: 3%;
    }

    .chan {
        padding: 8%;
    }

    img.pfp {
        justify-self: center;
        width: 80%;
        max-width: 16em;
    }

    .chan-footer {
        align-items: unset;
        grid-column-end: initial;
    }

    .yt-btn {
        width: 100%;
        height: initial;
    }

    .yt-btn > * {
        padding: 1em;
        row-gap: unset;
        column-gap: 10px;
    }

    .btn-content {
        width: 100%;
        flex-wrap: wrap;
    }
    
    #yoru.chan {
        grid-column-end: initial;
    }
}
