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

html {
  block-size: 100%;
}

.page {
  display: flex;
  align-items: center;
  justify-content: center;
  inline-size: 1200px;
  block-size: 100%;
  margin: auto;
  color: #fff;
  font-family: 'Fira Sans Condensed', sans-serif;
  font-size: 18px;
  background-color: #1b1919;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
li,
blockquote,
fieldset {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

.visually-hidden {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

fieldset {
  border: none;
}

.title {
  font-size: 75px;
  font-weight: 700;
  line-height: 70px;
  text-transform: uppercase;
  font-family: Oswald, sans-serif;
  margin-block-end: 26px;
}

.content__accent {
  color: #545050;
}

.content {
  display: flex;
  gap: 30px;
  align-items: flex-end;
}

.content__list {
  position: relative;
  min-inline-size: 394px;
  block-size: 298px;
  overflow: auto;
}

.content__list-item {
  inline-size: 394px;
  min-block-size: 107px;
}

.content__list-item:not(:last-child) {
  margin-block-end: 30px;
}

.content__video-card {
  display: flex;
  justify-content: space-between;
}

.content__video-card-thumbnail {
  max-inline-size: 194px;
  max-block-size: 103px;
  object-fit: cover;
  object-position: center;
}

.content__card-link {
  display: block;
  text-decoration: none;
  color: white;
  margin: 2px;
}

.content__card-link:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.content__card-link_current {
  background-color: #545050;
}

.content__card-link:active {
  background-color: #545050;
}

.content__card-link:focus {
  outline: none;
}

.content__card-link:focus-visible {
  outline: 1px solid white;
}

.content__video-card-description-container {
  padding-left: 2px;
}

.content__video-card-title {
  max-inline-size: 200px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-size: 30px;
  font-weight: 700;
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
}

.result__video-container {
  position: relative;
  inline-size: 711px;
  block-size: 386px;
  margin-block-end: 16px;
}

.result__video {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.search-form {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.search-form__fieldset-title {
  font-size: inherit;
  font-weight: inherit;
  margin-block-end: 5px;
}

.search-form__textfield {
  min-inline-size: 225px;
  min-block-size: 27px;
  font-size: inherit;
  font-family: inherit;
  background-color: transparent;
  color: white;
  border: none;
  border-block-start: 1px solid currentColor;
  border-block-end: 1px solid currentColor;
  outline: none;
  appearance: none;
}

.search-form__textfield:active {
  outline: 1px solid white;
  outline-offset: 0;
}

.search-form__label {
  cursor: pointer;
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
}

.search-form__label:focus {
  outline: none;
}

.search-form__label:has(:focus-visible) {
  outline: 1px solid white;
  outline-offset: 2px;
}

.search-form__label:active {
  outline: none;
}

.search-form__label:hover .search-form__label-text {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.search-form__checkbox-list {
  display: flex;
  gap: 15px;
}

.search-form__pseudo-checkbox {
  display: flex;
  justify-content: center;
  align-items: center;
  inline-size: 19px;
  block-size: 19px;
  border: 1px solid white;
  background-color: transparent;
}

.search-form__checkbox:checked + .search-form__pseudo-checkbox::after {
  content: '';
  inline-size: 15px;
  block-size: 15px;
  background-color: white;
}

button {
  cursor: pointer;
  background-color: transparent;
  color: white;
  font-size: inherit;
  font-weight: 700;
  font-family: inherit;
  text-align: center;
  border: 1px solid currentColor;
  text-underline-offset: 3px;
}

button:active {
  background-color: #545050;
}

button:hover {
  text-decoration: underline;
}

button:focus {
  outline: none;
}

button:focus-visible {
  outline: 1px solid white;
  outline-offset: 2px;
}

.search-form__submit-button {
  min-inline-size: 194px;
  min-block-size: 34px;
  align-self: flex-end;
}

.more-button {
  min-inline-size: 399px;
  min-block-size: 34px;
}
