@import "./reset.css";

#bg-video {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  object-fit: cover;
}

html {
  min-height: 100vh;
}

body {
  font-family: "Rubik", sans-serif;

  display: grid;
  place-items: center;

  align-content: center;

  margin: 0;
  padding: 0;
  background: url("../img/background.jpg") no-repeat center center;
  background-size: 100% 100%;
  background-attachment: fixed;
  min-height: 100vh;
}

/* Для мобильных устройств */

@media (max-width: 768px) {
  body {
    background-attachment: scroll; /* Убираем фиксацию на мобильных */
  }
}

/*-----------------container------------------*/

.container {
  display: grid;
  place-items: center;

  grid-template-rows: 1fr 1fr;

  border: 0.1px solid yellow;
  border-radius: 10px;
}

/*------------------------header-------------------------*/

.header {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 10px 15px;

  /* background: linear-gradient(
    90deg,
    rgba(42, 123, 155, 1) 0%,
    rgba(87, 199, 133, 1) 50%,
    rgba(237, 221, 83, 1) 100%
  ); */

  color: white;
  font-size: 18px;
  font-weight: 600;
}
.title {
  font-weight: 600;
  font-size: 44px;
  line-height: 1.1;
  text-align: center;

  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-image: linear-gradient(165deg, yellowgreen, cyan, mediumpurple);

  margin-bottom: 20px;
}
.form {
  padding: 10px;
  background: #ffffff3d;
  border-radius: 6px;
}
.input {
  padding: 5px;
}

.input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.btn {
  margin-top: 10px;

  border: 1px solid blue;
  border-radius: 6px;
  padding: 12px;

  font-size: 20px;
  font-weight: 500;

  transition: all 0.6s ease-in;
}

.btn:hover {
  background: rgba(153, 205, 50, 0.423);
  color: black;
  border: 1px solid black;
}

/*---------------------------------card-----------------------------*/

.card {
  padding: 10px;
  color: yellow;
}
.card-city {
  font-weight: 500;
  font-size: 28px;
  line-height: 33px;
}

.card-city span {
  display: inline-block;
  vertical-align: text-top;

  padding: 3px 5px;

  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  background: #e5464f;
  border-radius: 6px;
}

.card-wether {
  display: flex;
  align-items: center;
  gap: 20px;
}
.card-value {
  font-weight: 500;
  font-size: 48px;
}
.card-img {
  width: 128px;
  height: 101px;
}
.card-description {
  font-weight: 500;
  font-size: 28px;
}

.footer {
  padding: 7px;
}

.footer a {
  font-size: 18px;
  color: yellowgreen;
  font-weight: 200;
}

footer a:hover {
  color: blue;
}
