html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    font-size: 18px;
}

h1,
h2 {
    color: #1B4965;
    margin-block: 1em;
    vertical-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-icon {
    font-size: .9em
}

.highlight {
    margin-left: .2em;
    color: #5FA8D3;
}

main {
    
    padding: 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}
button:disabled{
    cursor: not-allowed;
    opacity: .8;
    filter: grayscale(1) 
}
.top-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
}
.channel-results{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap:1em;
}
.btn-toggle-channel{
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #1B4965;
    border: 1px solid #1B4965;
    background: white;
    border-radius: 4px;
    display: flex;
    cursor: pointer;
}
.btn-toggle-channel.add{
    color: #1Bee65;
}
.btn-toggle-channel.remove{
    color: red;
}
.no-video-found{
    text-align: center;
}
.channel-result{
    position:relative;
    display:flex;
    flex-direction:column;
    width: 150px;
    padding: 10px;
    border-radius: 10px;
    border: 2px solid rgba(27, 73, 101, .6);
    box-shadow: 4px 2px 4px rgba(27, 73, 101, .4),4px 4px 6px rgba(27, 73, 101, .1);
    align-items: center;
}
.channel-result>img{
    border-radius: 50%;
    width: 100px;
}
.channel-result>span{
    text-align: center;
}
.search-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .4em;
    justify-content: center;
    margin-bottom: .5em;
}
.channel-search-bar{
    display: flex;
    gap: .2em;
 
}
.channel-select{
    /* margin-bottom: .5em; */
    background: white;
    border-radius: 0;
    padding: .6em;
}
.search-btn {
    background: #5FA8D3;
    color: white;
    display: grid;
    place-content: center;
}

.search-btn,
.channel-select,
input {
    padding: .4em;
    border: 2px solid #1B4965;

}
.search-channel-input{
}
.searchbar-right{
    display:flex;
    flex-direction:row;
    gap:.2em;
}
.results-container,.channel-results {
    width: 100%;
    max-width: 90rem;
    
}

.default-message {
    text-align: center;
    margin-top: 2em;
    color:#5FA8D3;
}

.hidden {
    display: none;
    visibility: hidden;
    width: 0px;
    height: 0px;
    color: rgba(0, 0, 0, 0)
}

div#videos {
    display: grid;
    justify-items: center;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    row-gap: 1em;
    column-gap: 2em;
    width: 100%;
    max-width: 90rem;
    /* margin: 1em; */
    /* font-weight: bold; */
}

#videos img {
    width: 100%;
    min-width: 220px;
    max-width: 320px;
    border-radius: .5em
}

#videos a {
    text-decoration: none;
    color: #1b1b1b;
    font-size: 1em;
}
.video-title{
    display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}
.video-item{
    max-width: 320px;
}