* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
:root {
	--index: calc(1vw + 1vh);
	--text: #e7e7e0;
	--transition: transform .75s cubic-bezier(.075, .5, 0, 1);
}
@font-face {
	font-family: raleway_f;
	src: url(../fonts/raleway-regular.woff2);
}
@font-face {
	font-family: raleway_f;
	src: url(../fonts/raleway-black.woff2);
	font-weight: 900;
}
@keyframes fadeIn {
    to {
        transform: scale(1);
        opacity: 1;
    }
}
body {
	background-color: #010101;
	font-family: raleway_f, sans-serif;
	line-height: 1.55;
}
::-webkit-scrollbar {
	width: 0;
}
* {
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.main-header {
	position: relative;
}
.main-header::after {
	content: '';
	position: absolute;
	z-index: 100;
	width: 100%;
	height: calc(var(--index) * 10);
	background-image: url(../img/ground.webp);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	bottom: calc(var(--index) * -4.5);
}
.layers {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
	position: relative;
}
.layer {
	height: 100%;
	width: 100%;
	position: absolute;
	background-size: cover;
	background-position: center;
	will-change: transform;
	z-index: 2;
	transition: var(--transition);
}
.layers__base {
	transform: translate3d(0, calc(var(--scrollTop) / 1.6), 0);
	z-index: 0;
}
.layers__middle {
	transform: translate3d(0, calc(var(--scrollTop) / 2.5), 0);
}
.layers__front {
	transform: translate3d(0, calc(var(--scrollTop) / 5.7), 0);
}
.layer__header {
	z-index: 1;
	transform: translate3d(0, calc(var(--scrollTop) / 2), 0);
	transition: var(--transition);
	will-change: transform;
	text-transform: uppercase;
	font-weight: 900;
	color: var(--text);
	text-shadow: 0 0 20px #9d822b;
}
.layers__title {
	font-size: calc(var(--index) * 2.65);
	letter-spacing: calc(var(--index) / 2.25);
}
.layers__caption {
	font-size: calc(var(--index) / 1.175);
	letter-spacing: calc(var(--index) / 3.5);
	margin-top: calc(var(--index) * -.75);
}
.main-article {
	--main-article-transform: translate3d(0, calc(var(--scrollTop) / -7.5), 0);
	min-height: 100vh;
	background-size: cover;
	background-position: center;
	color: var(--text);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 40px;
	position: relative;
	text-align: center;
	text-shadow: 0 0 15px #9d822b;
	top: -1px;
	z-index: 10;
	padding: 60px 20px;
}
.main-article__header {
	text-transform: uppercase;
	font-size: calc(var(--index) * 1.8);
	letter-spacing: calc(var(--index) / 7.5);
	transform: var(--main-article-transform);
	transition: var(--transition);
	will-change: transform;
}
.main-article__paragraph {
	max-width: calc(var(--index) * 30);
	font-size: calc(var(--index) * .9);
	margin-top: calc(var(--index) / 2);
	transform: var(--main-article-transform);
	transition: var(--transition);
	will-change: transform;
}
.main-article__stream {
	width: 100%;
	display: flex;
	justify-content: center;
}
.main-article__stream iframe {
	display: block;
	background: transparent;
	opacity: 0;
	transition: opacity 0.4s ease;
}
.main-article__stream iframe.loaded {
	opacity: 1;
}
.content {
	will-change: transform;
}
form {
  max-width: 420px;
  width: 100%;
  position: relative;
  margin: 24px auto 0;
}

form .form-field {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  position: relative;
}

form .form-field::before {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-size: cover;
  background-repeat: no-repeat;
  content: "";
}

form .form-field.user::before {
  background-image: url(../img/user-icon.png);
}
form .form-field.password::before {
  background-image: url(../img/lock-icon.png);
}

form input {
  font-family: inherit;
  width: 100%;
  outline: none;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #ddd;
  padding: 0.9rem 0.7rem 0.9rem 50px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 17px;
  color: #4A4A4A;
  transition: border-color 0.3s, box-shadow 0.3s;
}

form input:focus {
  border-color: #4c6e2c;
  box-shadow: 0px 0px 6px rgba(76, 110, 44, 0.5);
}

form .btn {
  outline: none;
  border: none;
  cursor: pointer;
  display: inline-block;
  width: 100%;
  padding: 0.9rem 2.5rem;
  text-align: center;
  background-color: #4c6e2c;
  color: #fff;
  border-radius: 4px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  font-size: 17px;
  transition: background-color 0.3s;
}

form .btn:hover {
  background-color: #3b5623;
}

.container {
    position: relative;
    width: 400px;
    height: 105px;
    background: transparent;
    border: none;
    padding: 28px 32px;
    overflow: hidden;
    border-radius: 18px;
    font-family: 'Roboto', sans-serif;
    transition: 0.6s ease-out;
}
.container input,
.container input:focus,
.container input:active {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    background: transparent !important;
}
.search-box {
    width: 100%;
    height: min-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.search-box input {
    width: 80%;
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    background-color: transparent;
    border: none;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
    text-transform: uppercase;
    text-align: center;
    padding-left: 32px;
}
.search-box input:focus {
    outline: none;
    box-shadow: none;
    border: none;
}
.search-box input::placeholder {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    text-transform: capitalize;
    text-align: center;
}
.search-box button {
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 22px;
    transition: 0.4s ease;
}
.search-box button:hover{
	color: #fff;
	background: #06283d;
}
.search-box i {
    position: absolute;
    font-size: 28px;
    text-align: center;
}
.weather-box {
    text-align: center;
}
.weather-box img {
    width: 60%;
    margin-top: 30px;
}
.weather-box .temperature {
    position: relative;
    font-size: 4rem;
    font-weight: 800;
    margin-top: 30px;
    margin-left: -16px;
}
.weather-box .temperature span {
    position: absolute;
    margin-left: 4px;
    font-size: 1.5rem;
}
.weather-box .description {
    font-size: 22px;
    font-weight: 500;
	color: #fff;
    text-transform: capitalize;
}
.weather-details {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
.weather-details .humidity, .weather-details .wind {
    display: flex;
    align-items: center;
    width: 50%;
    height: 100px;
}
.weather-details .humidity {
    padding-left: 20px;
    justify-content: flex-start;
}
.weather-details .wind {
    padding-right: 20px;
    justify-content: flex-end;
}
.weather-details i {
    font-size: 26px;
    margin-right: 10px;
    margin-top: 6px;
}
.weather-details span {
    font-size: 22px;
    font-weight: 500;
}
.weather-details p {
    font-size: 14px;
    font-weight: 500;
}
.not-found {
    width: 100%;
    text-align: center;
    margin-top: 50px;
    transform: scale(0);
    opacity: 0;
    display: none;
}
.not-found img {
    width: 70%;
}
.not-found p {
    font-size: 22px;
    font-weight: 500;
    margin-top: 12px;
}
.weather-box, .weather-details {
    transform: scale(0);
    opacity: 0;
}
.fadeIn {
    animation: 0.5s fadeIn forwards;
    animation-delay: 0.5s;
}