* {
  box-sizing: border-box;
}

:root {
  --background: #0f0f0f;
  --foreground: #fff;
  --foreground2: #b7b7b7;
  --secondary: #272727;
}

body,html,body {
  height: 100%;
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--background);
  color: var(--foreground)
}

a {
  color: unset;
  text-decoration: unset;
}

.center {
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.header {
  margin-top: 20px;
  display: flex;
  gap: 16px;
}
.round-button {
  height: 40px;
  padding: 0 20px;
  border-radius: 20px;
  border: 2px var(--foreground) solid;

  
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.round-button:hover {
  background-color: #fff8;
}

.playlists {
  padding: 2em;
  width: 100%;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.playlist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.name {
  font-weight: bold;
}

.videos {
  padding: 2em;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.thumb {
  aspect-ratio: 1.75;
  background-position: center;
  background-size: cover;
  border-radius: 8px;
}

.video {
  all: unset;

  height: 169px;
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: center;
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
}
.video * {
  cursor: pointer;
}
.video:hover{
  background-color: var(--secondary);
}

.idx {
  font-size: 200%;
  margin-right: 8px;
}

.description {
  width: 100%;
  overflow:hidden;
  text-overflow: ellipsis;
  color: var(--foreground2);
}

.video > .thumb {
  height: 100%;
}
.video > .info {
  align-self: flex-start;
  display:flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  overflow: hidden;
  height: 100%;
}

.under-name {
  font-size: 75%;
  color: var(--foreground2);
}

.creator:hover{
  color: var(--foreground);
}
