body,
html {
}

#allcontent {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 90%;
  max-width: 1700px;
  left: 50%;
  transform: translateX(-50%);
  position: relative;
}

#header {
  height: 50px;
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
#logo {
  height: 100%;
  margin-left: -10px;
}
#logo img {
  height: 100%;
}
#logo h1 {
  position: relative;
  top: -65px;
  left: 45px;
  color: rgb(255, 255, 255);
}
#searchbarwrap {
  display: flex;
  flex-direction: row;
  height: 32px;
  align-items: center;
  gap: 4px;
}
#searchbarwrap * {
  height: 100%;
  border: 1px solid gray;
  border-radius: 2px;
  padding: 4px;
  box-sizing: border-box;
}
#searchbarwrap button {
  color: blue;
  background: linear-gradient(to bottom, white, rgb(164, 164, 219));
  width: 70px;
}
#searchbarwrap button:hover:active,
#searchbarwrap button:active {
  background: linear-gradient(to top, white, rgb(217, 217, 233));
}
#searchbarwrap button:hover {
  background: linear-gradient(to bottom, white, rgb(175, 175, 209));
}
#searchbar {
  width: 450px;
}

#contentwrap {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

#leftbar {
  padding: 10px;
  width: 200px;
  /* background-color: red; */
  display: flex;
  flex-direction: column;
  border-right: 1px solid gray;
}
#subsdiv {
  display: flex;
  flex-direction: column;
}
#profilewrap {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}
#pfp {
  aspect-ratio: 1 / 1;
  height: 100%;
  border-radius: 50px;
  background-image: url(src/pictures/IMG_6807.jpg);
  background-size: contain;
  cursor: pointer;
}

#maincontent {
  flex: 1;
  width: 100%;
  padding: 10px;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  box-sizing: border-box;
  gap: 20px;
  font-family: Arial, Helvetica, sans-serif;
}
#maincontentmiddle {
  flex: 1;
  min-width: 0;
}
#maincontentleft {
  flex: 0 0 35%;
  box-sizing: border-box;
  padding: 10px;
}

#videoswrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}
.videowrap {
  width: auto;
  /* background-color: red; */
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
}
.thumbnail {
  aspect-ratio: 16 / 9;
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: black;
}
.thumbnail img {
  max-height: 100%;
}
.videowrap p {
  margin: 0;
  margin-top: 2px;
}
.videotitle {
  color: rgb(24, 53, 221);
}
.videocreator {
  color: rgb(24, 53, 221);
  font-size: 14px;
}
.videodate {
  color: gray;
  font-weight: normal;
  font-size: 14px;
}
.videowrap a {
  text-decoration: none;
}

#featuredvideo {
  display: flex;
  flex-direction: row;
}
#maincontentleft h1 {
  font-size: 20px;
  margin: 0;
  margin-top: 4px;
}
#featuredvideo p {
  font-size: 16px;
}
#featuredcreator {
  color: rgb(24, 53, 221);
  margin: 0;
}
#featuredtext {
  margin-left: auto;

  color: gray;
}
#featureddate {
  color: gray;
}
#creatordiv {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
#maincontentleft iframe {
  width: 100%;
  aspect-ratio: 16 / 11;
}
