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

html {
  block-size: 100%;
}

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

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

ul,
ol {
  list-style: none;
}

.content {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: 30px;
  max-width: 1140px;
}

.search-form {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}

.content__list {
  position: relative;
  width: 399px;
  height: 298px;
  overflow-y: auto;
}

.content__details {
  display: flex;
  flex-direction: column;
  align-content: stretch;
  gap: 26px;
}

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

.result__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

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

.content__video-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.content__video-card-thumbnail {
  width: 194px;
  height: 103px;
  object-fit: cover;
  object-position: center;
}

.content__video-card-description-container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-content: stretch;
}

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

.title {
  color: inherit;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 75px;
  line-height: 94%;
  text-transform: uppercase;
}

.content__accent {
  color: #545050;
}

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

.content__video-card-title {
  color: inherit;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 30px;
  text-transform: uppercase;
}

.content__video-card-description {
  line-height: 16.2px;
}

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

fieldset {
  border: none;
}

.search-form__label {
  display: flex;
  width: fit-content;
  cursor: pointer;
}

.search-form__checkbox-list {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.cards-list-item-template {
  cursor: pointer;
}

.search-form__textfield {
  min-width: 225px;
  min-height: 27px;
  border: 1px solid currentColor;
  border-right-style: none;
  border-left-style: none;
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  background-color: #1b1919;
  appearance: none;
}

.search-form__textfield::placeholder {
  opacity: 0.7;
  color: inherit;
}

.button {
  border: 1px solid currentColor;
  color: inherit;
  font-family: inherit;
  font-weight: 700;
  font-size: inherit;
  background-color: #1b1919;
  cursor: pointer;
}

.search-form__submit-button {
  align-self: flex-end;
  padding: 6px 73.5px;
}

.more-button {
  width: 100%;
  padding-block-start: 6px;
  padding-block-end: 6px;
}

.search-form__pseudo-checkbox {
  width: 19px;
  height: 19px;
  margin-inline-end: 5px;
  border: 1px solid currentColor;
}

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

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

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

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

.search-form__checkbox:checked + .search-form__pseudo-checkbox::after {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  margin: 1px;
  background-color: currentColor;
}

.search-form__checkbox:hover {
  text-decoration: underline;
}

.search-form__textfield:active {
  border-style: solid;
}

.search-form__checkbox-list .search-form__label:hover {
  text-decoration: underline;
}

.button:focus {
  outline: none;
}

.button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 1px;
}

.button:active {
  background: #545050;
}

.button:hover {
  text-decoration: underline;
}

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

.content__card-link_current {
  background: #545050;
}

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

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

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

::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

input,
button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
