* {
    margin: 0;
    padding: 0;
}

body{
    background-color: rgb(27, 27, 27);
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    color: rgb(238, 176, 5);
}

header{
    width: 60%;
    margin: 0.5rem auto 2px;
    display: flex;
    text-align: center;
    justify-content: center;
    font-size: 40px;
    background-color: rgb(50, 51, 95);
    border: 2px solid black;
    border-radius: 10px;
    padding: 10px;
}

a {
    color-scheme: inherit;
    text-decoration: inherit;
    color: rgb(238, 176, 5);
}

section {
    display: flex;
    justify-content: space-between;
    padding-top: 5px;
    width: 100%;
}

button {
    width: 100%;
    height: 2rem;
    margin-top: 4px;
    background-color: #ffa500;
    color: black;
    border: none;
    font-weight: bold;
    border-radius: 4px;
    font-size: 1.5rem;
    text-align: center;
    justify-content: center;
}

button:hover {
    background-color: #ffc353;
}

.sidebar {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    width: 20%;
    height: fit-content;
}

.video-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0.5rem;
}

.video-title {
    font-size: 1rem;
    color: rgb(238, 176, 5);
    font-weight: bold;
    text-align: center;
}

.thumbnail {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.2s ease;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.video-display {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58%;
    height: fit-content;
    flex: 1;
    padding: 0.5rem;
}

.video-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#main-video {
    width: 100%;
    height: auto;
    max-height: 100%;
    border-radius: 8px;
}

#styl {
    background-color: rgb(50, 51, 95);
    border: 2px solid black;
    border-radius: 5px;
}

#styl2 {
    background-color: rgb(27, 28, 59);
    border: 2px solid black;
    border-radius: 5px;
}

.title {
    display: flex;
    font-weight: bolder;
    justify-content: center;
    background-color: rgb(34, 35, 73);
    padding: 5px;
    border-radius: 5px;
    width: 90%;
    margin: 10px auto;
    outline: 2px solid black;
}

.video-description {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1rem;
    padding: 5px;
    text-align: left;
}

.tabs {
    display: flex;
    justify-content: space-between;
    background-color: transparent;
}

.tab {
    width: 15%;
    padding: 10px 20px;
    margin-right: 5px;
    text-align: center;
    cursor: pointer;
    background-color: rgb(43, 43, 82);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    transition: background-color 0.2s ease;
    transition: width 0.2s ease;
}

.tab:hover {
    background-color: rgb(60, 60, 114);
    width: 20%;
}

.tab:last-child {
    margin-right: 0;
}

.tab.active {
    font-weight: bold;
    border-bottom: none;
    z-index: 1;
    background-color: rgb(34, 35, 73);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.tab.active:hover{
    width: 15%;
}

.content {
    padding: 20px;
    display: none;
    background-color: rgb(43, 43, 82);
    border-radius: 5px;
}

.content.active {
    display: block;
    background-color: rgb(34, 35, 73);
    border-radius: 5px;
}
h1{
    font-family: 'Courier New', Courier, monospace;
}