*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/Roboto-VariableFont_wdth\,wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

html,
body {
  width: 99vw;
  height: 100vh;
  font-family: "Roboto", sans-serif;
  background-color: #0f0f0f;
  color: #ffffff;
}

header {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  height: 5%;
  position: sticky;
  padding: 0 2rem;
}

main {
  display: flex;
  flex-direction: row;
}

button {
  cursor: pointer;
}

button.subscribe {
  width: 7rem;
  border: none;
  border-radius: 15rem;
  color: #0f0f0f;
  background-color: #ffffff;
  margin-left: 0.5rem;
}

button.action {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #303030;
  color: #fff;
  border: none;
  padding: 0.5rem 0.875rem;
  gap: 0.45rem;
  border-radius: 1.25rem;
  font-size: 0.95rem;
  transition: background-color 0.2s;
}

button.action {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #303030;
  color: #fff;
  border: none;
  padding: 0.5rem 0.875rem;
  gap: 0.45rem;
  border-radius: 1.25rem;
  font-size: 0.95rem;
}

.navigation-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.icons-images {
  width: 28px;
  height: 28px;
}

.small-icons-images {
  width: 18px;
  height: 18px;
}

.start-bar {
  display: flex;
  width: auto;
  height: 100%;
  gap: 1.25rem;
}

.youtube-logo-img {
  width: 7.25rem;
  height: auto;
}

.search-bar {
  display: flex;
  width: 100%;
  max-width: 38.75rem;
  border-radius: 1.5rem;
  border: 1px solid #505050;
  background-color: #181818;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.search-bar input {
  width: 100%;
  max-width: 38.75rem;
  padding: 0.62rem 0.75rem;
  border: #303030;
  border-radius: 1.5rem 0 0 1.5rem;
  background-color: #121212;
  color: #ffffff;
  font-size: 1rem;
  outline: none;
}
.search-bar button {
  background-color: #303030;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 0 50% 50% 0;
  transition: background-color 0.3s;
}

.search-bar button:hover {
  background-color: #333;
}

.navbar-profile {
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 100%;
  gap: 1rem;
}

.notifications-button {
  width: 2.75rem;
  height: 2.75rem;
  background-color: transparent;
  border: none;
}

.notifications-button:hover {
  background-color: #303030;
  border-radius: 50%;
}

.avatar {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background-image: url("assets/images/user-profile.jpg");
  background-size: cover;
  cursor: pointer;
}

.avatar-user:active {
  border: 1px solid #33adff;
}

.page-video {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 75%;
  height: 88rem;
  margin: 1rem 0 0 9rem;
  padding: 0 2rem 0 0;
}

.video-simulation {
  width: 100%;
  height: auto;
  border-radius: 1%;
}

.page-video .video-title {
  font-size: 1.3rem;
  margin-top: 0.65rem;
}

.video-meta-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.video-meta {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 0.25rem;
}

.video-channel {
  display: flex;
  flex-direction: row;
  margin-top: 0.5rem;
  gap: 0.75rem;
  flex: 0 0 auto;
}

.channel-info {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.channel-info h2 {
  font-size: 1.1rem;
  font-weight: 500;
}

.channel-info p {
  font-size: 0.9rem;
  color: #aaa;
}

.video-actions {
  display: flex;
  flex-direction: row;
  flex: 0 0 auto;
  gap: 0.85rem;
}

.action-like {
  display: flex;
  flex-direction: row;
  gap: 0.45rem;
}

.action-deslike {
  display: flex;
  flex-direction: row;
  gap: 0.45rem;
}

.video-description {
  width: 100%;
  height: auto;
  background-color: #303030;
  border: none;
  border-radius: 0.4rem;
  margin-top: 1rem;
  padding: 0.8rem 0.9rem 0.8rem;
  box-sizing: border-box;
}

.video-description p.views-and-data {
  font-size: 0.96rem;
  font-weight: 500;
  margin: 0;
}

.video-description p {
  font-size: 0.95rem;
  margin-top: 0.6rem;
  margin-bottom: 1rem;
}

.recommended-videos {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  width: 32rem;
  gap: 1rem;
  padding: 1.6rem;
  background-color: #181818;
  color: #fff;
}

.recommended-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.video-card {
  display: flex;
  gap: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s;
  border-radius: 0.8rem;
  padding: 0.8rem;
}

.video-card:hover {
  background-color: #2a2a2a;
}

.thumbnail {
  width: 12rem;
  border-radius: 0.8rem;
}

.video-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 0.2rem;
}

.video-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
  color: #fff;
}

.channel-name,
.views {
  font-size: 0.85rem;
  color: #aaa;
  margin: 0.4rem 0 0;
}
