@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css");
*, ::before, ::after {
    box-sizing: border-box;
    margin: 0;
}

body {
    font-family: Arial;
}

.section {
    max-width: 1342px;
    margin-left: auto;
    margin-right: auto;
}

table {
    width: 90%;
}
.nav {
    display: flex;
    justify-content: space-evenly;
    /* border: 1px solid green; */
}

.nav > a {
    text-decoration: none;
    color: black;
    padding: 10px;
}

.flex-container {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}
.flex-center {
    align-items: center;
}

td, tr {
    border: 1px solid #333;
    text-align: left;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #ccc;
}

/* New Design */

.search-container {
    margin-top: 40px;
    margin-bottom: 40px;
}

.gap {
    height: 200px;
}

.icon {
    height: 100px;
    width: 100px;
    background-color: purple;
}

.container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1342px;
}

.justify-content_flex_start {
    justify-content: flex-start;
}

.justify-content_center {
    justify-content: center;
}

.justify-content_spaceevenly {
    justify-content: space-evenly;
}

.justify-content_spacearound {
    justify-content: space-around
}

.justify-content_spacebetween {
    justify-content: space-between;
}

.align-items_center{
    align-items: center;
}

/* Search Bar Stuff: */
/* Most parts unabashedly copied from w3schools.com */

#chanSearch {
    /* background-image: url('/search.svg');
    background-position: 10px 12px;
    background-repeat: no-repeat; */
    width: 90%;
    font-size: 16px;
    padding: 12px 12px 12px 12px;
    border: 1px solid #ddd;
    margin-bottom: 12px;
    border-radius: .5rem;
}

/* List Stuff: */
.list-group {
    margin: 0 auto;
    width: 50%;
}

.list-header {
    margin: 0 auto;
    width: 50%;

    border: 1px solid #dfdfdf;

    padding: 0.75rem 1.25rem 0.75rem 1.25rem; 

    font-weight: 700;
    font-size: 1.25rem;
    text-align: center;
}


.list-item {
    padding: 0.75rem 1.25rem 0.75rem 1.25rem;
    border: 1px solid #dfdfdf;
    width: 100%;
}


.list-item:hover {
    background-color: #eee;
}

.channel_info {
    font-size: 0.8rem;
}

/* next two are not workign for some reason. will get back to this later. */
div[class="list-group"]:first-child {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.list-group:last-child {
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.badge {
    /* line-height: 1.5; */
    font-weight: 600;
    font-size: 0.6rem;
    padding: 4px;
    border-radius: 3px;
}

.type-badge {
    margin-right: 3px;
}

.sd-badge {
    background-color: grey;
    color: #fff;
}

.hd-badge {
    background-color: #f00;
    color: #fff;
}

.freec-badge {
    background-color: grey;
    color: #fff;
}

.paidc-badge {
    background-color: #0777b8;
    color: #fff;
}


.btn {
    border: 1px solid transparent;
    border-radius: 0.2rem;
    padding: 0.25rem 0.5rem;
    line-height: 1.5;
    font-size: 0.875rem;
}

.subscribed-btn {
    background-color: #0da115;
    color: white;
}

.unsubscribed-btn {
    background-color: grey;
    color: white;
}
@media screen and (max-width: 768px) {

    input {
        width: 80%;
    }

    .list-header {
        width: 95%;
    }
    .list-group {
        width: 95%;
        margin: 0 auto;
    }

    .list-item {
        padding: .5rem;
    }

    .icon {
        height: 50px;
        width: 50px;
    }

    .badge {
        font-size: 0.5rem;
        font-weight: 700;
    }

}