@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");

:root {
  --white-color: hsl(0, 0%, 100%);
  --black-color: hsl(0, 0%, 0%);

  --body-font: "Poppins", sans-serif;
  --h1-font-size: 1.75rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.813rem;

  --font-medium: 500;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body,
input,
button {
  font-size: var(--normal-font-size);
  font-family: var(--body-font);
  background: black;
}

body {
  color: var(--white-color);
}

input,
button {
  border: none;
  outline: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}
video {
  object-fit: cover;
  position: absolute;
  width: fit-content;
  height: 115%;
  position: absolute;
  z-index: -1;
  opacity: 0.5;
}
audio {
  opacity: 0.5;
  right: 40%;
  top: 85%;
  position: absolute;
}

.login {
  position: relative;
  height: 100vh;
  display: grid;
  align-items: center;
}
.img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.form {
  position: relative;
  background-color: hsla(0, 0%, 10%, 0.1);
  border: 2px solid var(--white-color);
  margin-inline: 1.5rem;
  padding: 2.5rem 1.5rem;
  border-radius: 1rem;
  backdrop-filter: blur(8px);
}
.head {
  text-align: center;
  font-size: var(--h1-font-size);
  font-weight: var(--font-medium);
  margin-bottom: 2rem;
}
.content,
.box {
  display: grid;
}
.content {
  row-gap: 1.75rem;
  margin-bottom: 1.5rem;
}
.box {
  grid-template-columns: max-content 1fr;
  align-items: center;
  column-gap: 0.75rem;
  border-bottom: 2px solid var(--white-color);
}
.login__icon,
.login__eye {
  font-size: 1.25rem;
}
.input {
  width: 100%;
  padding-block: 0.8rem;
  background: none;
  color: var(--white-color);
  position: relative;
  z-index: 1;
}
.box-input {
  position: relative;
}
.login__label {
  position: absolute;
  left: 0;
  top: 13px;
  font-weight: var(--font-medium);
  transition: top 0.3s, font-size 0.3s;
}
.login__eye {
  position: absolute;
  right: 0;
  top: 18px;
  z-index: 10;
  cursor: pointer;
}
.box:nth-child(2) input {
  padding-right: 1.8rem;
}
.tick,
.tick-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tick {
  margin-bottom: 1.5rem;
}
.tick-label,
.forgot,
.register {
  font-size: var(--small-font-size);
}
.tick-group {
  column-gap: 0.5rem;
}
.tick-input {
  width: 16px;
  height: 16px;
}
.forgot {
  color: var(--white-color);
}
.forgot:hover {
  text-decoration: underline;
}
.button {
  width: 100%;
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: transparent;
  border: 1px solid var(--white-color);
  font-weight: var(--font-medium);
  cursor: pointer;
  margin-bottom: 2rem;
  color: white;
}
.register {
  text-align: center;
}
.register a {
  color: var(--white-color);
  font-weight: var(--font-medium);
}
.register a:hover {
  text-decoration: underline;
}

/* Input focus move up label */
.input:focus + .login__label {
  top: -12px;
  font-size: var(--small-font-size);
}

.input:not(:placeholder-shown).input:not(:focus) + .login__label {
  top: -12px;
  font-size: var(--small-font-size);
}

@media screen and (min-width: 576px) {
  .login {
    justify-content: center;
  }
  .form {
    width: 432px;
    padding: 4rem 3rem 3.5rem;
    border-radius: 1.5rem;
  }
  .head {
    font-size: 2rem;
  }
}

header .left-head nav .button {
  display: none;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 60px;
  padding: 0 5rem;
}

header .menu {
  display: none;
}

header .left-head {
  display: flex;
  align-items: center;
}

header .left-head .logo {
  height: 40px;
  display: flex;
  align-items: center;
}

header .left-head .logo img {
  height: 100%;
}

header .left-head nav .close {
  display: none;
}

header .left-head nav .menu-bar {
  margin-top: 20px;
  margin-left: 2rem;
  font-size: 1.4rem;
     
}
#icon{
  margin-left: -10%;
  margin-bottom: -10%;
  width: 150px;
  height: 60px;
}
header .left-head nav .menu-bar ul {
  display: flex;
  gap: 3rem;
}

header .left-head nav .menu-bar li {
  list-style: none;
}


header .left-head nav a {
  color: white;
  font-weight: 400;
  font-weight: bolder;
}

header .left-head nav a:hover {
  color: #f9532d;
  text-decoration: underline;
}

header .right-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 20px;
}

header .right-head a {
  color: white;
  font-weight: 600;
  font-size: 1.4rem;
}

header .right-head a:last-child {
  background: white;
  padding: .7rem 1rem;
  font-size: 1.1rem;
  color: #1F252E;
  font-weight: 400;
  border-radius: .6rem;
}

header .right-head a:hover {
  color: #f9532d
}
header .right-head a:last-child:hover {
  background: #f9532d;
  color: white;
}
.copyright {
  padding: 1.5rem;
  font-size: 1.3rem;
  color: #fff;
  text-align: center;
 margin-top: -5%;
}
.copyright .bx{
  color: rgb(255, 0, 43);
}
@media (max-width: 780px) {
  header {
      padding: 0 2rem;
  }

  nav {
      display: none;
  }

  header .right-head {
      display: none;
  }

  header .menu {
      height: 30px;
      margin-top: 20px;
      display: block;
      cursor: pointer;
  }

  header .menu img {
      height: 100%;
  }

  header .left-head nav.active {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      z-index: 10;
      display: block;
      background: rgba(0, 0, 0, .5);
      backdrop-filter: blur(5px);
      animation: navigation .3s ease-out;
  }

  @keyframes navigation {
      0% {
          transform: translate(0, -90rem);
      }

      100% {
          transform: translate(0, 0);
      }
  }

  header .left-head nav .close {
      display: block;
      padding: 2rem ;
      cursor: pointer;
  }

  header .left-head nav .close img {
      float: right;
      height: 35px;
  }

  header .left-head nav .close img:hover {
      background: #f9532d;
      padding: .5rem;
      border-radius: 5px;
  }

  header .left-head nav .menu-bar {
      width: 100%;
      margin-top: 1rem;
      display: flex;
      justify-content: center;
  }

  header .left-head nav .menu-bar ul {
      text-align: center;
      display: block;
      gap: 3rem;
  }

  header .left-head nav .menu-bar ul li {
      margin: 2rem;
  }
  header .left-head nav .menu-bar ul li a {
      font-size: 2rem;
      color: white;
  }

  header .left-head nav .menu-bar ul li a:hover {
      color: #f9532d;
  }

  nav .button .main-button {
      width: 100%;
      display: block;
      gap: 1rem;
      flex-wrap: nowrap;
  }

  header .left-head nav .button{
      position: absolute;
      bottom: 2rem;
      width: 100%;
      display: flex;
      justify-content: space-between;
      gap: 2rem;
      flex-wrap: wrap;
      padding: 2rem;
  }

  header .left-head nav .button a {
      display: none;
  }

  .login-button{
      background: transparent;
      width: 100%;
      flex: 220px;
      padding: 1.5rem;
      border: 2px solid white;
  }
  .create-button {
      background: transparent;
      width: 100%;
      flex: 220px;
      padding: 1.5rem;
      border: 2px solid white;
  }

  header .left-head nav .button .login-button {
      background: transparent;
      border: 2px solid white;
  }

  header .left-head nav .button .login-button a {
      color: white;
  }

  header .left-head nav .button .login-button a,header .left-head nav .button .create-button a {
      display: block;
      font-size: 1.4rem;
      text-align: center;
      font-weight: 500;
  }

  header .left-head nav .button .login-button:hover {
      background:#f9532d;
  }

  header .left-head nav .button .create-button:hover {
      background:#f9532d;
      color: white;
     
  }

  header .left-head nav .button .login-button:hover a {
      color: white;
  }

  header .left-head nav .button .create-button:hover a {
      color: white;
  }

  
  .home .home-image .home-text h1 {
      font-size: 4em;
  }

  .home .home-image .home-text p {
      margin: 0;
      margin-bottom: 3rem;
  }

  .home-bottom {
      padding: 0rem;
  }

  .container {
      transform: translate(0);
      margin-top: 4rem;
  }

  .container .box a {
      float: none;
  }

  .convenience .video {
      height: 50vh;
  }

  .property .de-box {
      grid-template-columns: 1fr 1fr;
  }

  .footer {
      padding: 1rem 4rem;
      padding-bottom: 0;
  }

  .footer .footer-box {
      grid-template-columns: auto;
      gap: 5rem;
  }

  .footer .footer-box .box:nth-child(2), .footer .footer-box .box:nth-child(3),.footer .footer-box .box:nth-child(4) {
      grid-row: auto;
      
  }

 
}
