body {
  background-color: white;
  font-family: 'Roboto', sans-serif;
  line-height: 1.4;
  color: blue;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 0;
}

@media (max-width: 1200px) {
  .container {
    padding: 40px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 40px 20px;
  }
}

.btn {
  height: 50px;
  padding: 0 20px;
  border: none;
  border-radius: 4px;
  outline: none;
  font-size: 14px;
  font-weight: 700;
  color: white;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  transition: .3s;
}

.btn:hover {
  background-color: blue;
}

.btn-primary {
  background-color: rgb(0, 0, 0, .8);
  color: rgba(255, 255, 255, 0.5);
}

.btn-primary:hover {
  background-color: blue;
  color: white;
}

.the-loader {
  width: 30px;
  height: 30px;
  margin: 30px auto;
  border: 4px solid blue;
  border-top-color: transparent;
  border-radius: 50%;
  animation: loader 1s infinite linear;
}

.the-loader.hide {
  display: none;
}

@keyframes loader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.skeleton {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background-color: rgb(0, 0, 255, .8);
}

.skeleton::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-image: linear-gradient(270deg,
    rgba(255, 255, 255,0),
    rgb(0, 0, 0),
    rgba(255, 255, 255,0)
  );
  transform: translateX(-100%);
  animation: skeleton-loader 2s infinite;
}
@keyframes skeleton-loader {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

header {
  padding: 20px 40px;
  background-color: rgba(0, 0, 0, 0.9);
  position: sticky;
  top: 0;
  z-index: 9;
  display: flex;
  align-items: flex-end;
  gap: 40px;
}

header .logo {
  font-size: 20px;
  font-family: "0swald", sans-serif;
  color: rgb(255, 255, 255);
  text-decoration: none;
}

header .logo span{
  color:rgb(253, 192, 0);
}

header nav ul {
  display: flex;
  gap: 14px;
}

header nav ul li a {
  font-size: 14px;
  font-weight: 700;
  color: rgb(255, 255, 255, .5);
  text-decoration: none;
}

header nav ul li a:active {
  color: rgb(253, 192, 0);
}

header .user {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgb(28, 33, 46);
  cursor: pointer;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 40px;
  margin: auto;
  transition: .3s;
}

header .user:hover {
  transform: scale(1.2);
}

header .user img {
  width: 100%;
  border-radius: 50%;
}

@media (max-width: 600px) {
  header {
    padding: 14px 20px;
  }
  header nav {
    display: none;
  }
  header .user {
    right: 20px;
  }
}

footer {
  padding: 40px 40px 60px;
  text-align: center;
}

footer .logo {
  font-size: 20px;
  font-family: "0swald", sans-serif;
  color: black;
  text-decoration: none;
}

footer .logo span{ 
  color: rgb(253, 192, 0);
}
footer a {
  color: black;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.headline {
  margin-bottom: 40px;
}

.headline h1 {
  font-family: "Oswald", sans-serif;
  font-size: 80px;
  line-height: 1;
  margin-bottom: 40px;
}
.headline h1 span {
  color: rgb(253, 192, 0);
}

.headline p {
  color: rgba(0, 0, 1, 0.7);
}

@media (max-width: 600px) {
  .headline h1 {
    font-size: 60px;
  }
}

.search {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}
.search input {
  flex-grow: 1;
  height: 50px;
  padding: 0 20px;
  border-radius: 4px;
  border: none;
  outline: none;
  font-size: 14px;
  color: rgba(255,255,255);
  background-color: rgba(0, 0, 0, 0.8);
}
.search input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.search .btn {
  flex-grow: 1;
  max-width: 150px;
}

.movie-list {
  padding: 20px;
  border-radius: 4px;
  background-color:  rgba(0, 0, 0, 0.8);
}

.movie-list .message {
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
  text-align: center;
}

.movie-list .movies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.movies .movie {
  --width: 200px;
  width: var(--width);
  height: calc(var(--width) * 3 / 2);
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.5);
  background-size: cover;
  overflow: hidden;
  position: relative;
}

.movies .movie:hover::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border: 6px solid rgba(0, 0, 255, .8);
}

.movies .movie .info {
  width: 100%;
  padding: 14px;
  box-sizing: border-box;
  font-size: 14px;
  text-align: center;
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: rgba(14,17,27,.3);
  backdrop-filter:blur(10px);
}

.movies .movie .info .year {
  color: rgb(253, 192, 0);
}

.movies .movie .info .title {
  color: white;
}

.view-more {
  width: 100%;
  max-width: 300px;
  margin: 20px auto;
  display: block;
}

.view-more.hide {
  display: none;
}

.the-movie {
  color: black;
  display: flex;
  gap: 70px;
}

.the-movie .poster {
  flex-shrink: 0;
  --width: 500px;
  width: var(--width);
  height: calc(var(--width) * 3 / 2);
  border-radius: 10px;
  background-size: cover;
  background-color: rgb(0, 0, 255, .8);
}

.the-movie .specs {
  flex-grow: 1;
}

.the-movie .title {
  font-size: 70px;
  font-family: "0swald", sans-serif;
  line-height: 1;
  color: black;
  margin-bottom: 30px;
}

.the-movie .title.skeleton {
  height: 70px;
}

.the-movie .labels {
  color: rgb(253, 192, 0);
  margin-bottom: 20px;
}

.the-movie .labels.skeleton {
  height: 30px;
}

.the-movie .plot.skeleton {
  width: 80%;
  height: 400px;
}

.the-movie h3 {
  font-size: 20px;
  font-family: "Oswald", sans-serif;
  color: black;
  margin: 24px 0 6px;
}

@media (max-width: 1200px) {
  .the-movie {
    gap: 35px;
  }
  .the-movie .poster {
    --width: 300px;
  }
}

@media (max-width: 720px) {
  .the-movie {
    display: block;
  }
  .the-movie .title {
    font-size: 50px;
    margin-top: 50px;
  }
}

.about .photo {
  width: 230px;
  height: 230px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background-size: cover;
}

.about .name {
  font-size: 40px;
  font-family: "0swald", sans-serif;
  margin-bottom: 20px;
}

.about p {
  line-height: 1.5;
  text-align: center;
  margin-bottom: 4px;
}

.about a {
  color: white;
  text-decoration: none;
}

.about a:hover {
  text-decoration: underline;
}

.not-found h1 {
  font-size: 70px;
  font-weight: 700;
  color: rgba(255,255,255,.1);
  text-align: center;
}




