@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family:"LogoFont";
    src: url("../fonts/Negan\ DEMO.otf");
}
@font-face {
    font-family:"heroFont";
    src: url("../fonts/Quizlo\ DEMO.otf");
}
@font-face {
    font-family:"otherheroFont";
    src: url("../fonts/Nurma-Regular.otf");
}

:root{
    --logocolor:#ffff;
    --btnshade:#FFD2D2;
    --darkbtncolor:#FF9D9D;
}

.container {
  width: 1200px;
  height: 100%;
  margin: 0 auto;
  /* border: 2px solid red; */
  padding: 10px 20px;
}



body {
    background: linear-gradient(
        241deg,
        #FFB7B7 22%,
        #FFD2D2 47%,
        #FF9D9D 74%
    );
    background-attachment: fixed;
     -webkit-font-smoothing: antialiased;
}

.signup_image{
    width: 500px;
    height: 95vh;
    object-fit: cover;
}

.main_contianer{
    display: flex;
    gap: 60px;
    z-index: -2;
    /* position: relative; */
}

 /* .container{
    margin-top: 110px;
    border: 2px solid red;
} */


.card{
  /* border: 2px solid yellow; */
  flex-grow: 1;
  padding: 170px 10px;
  width: 50%;
}


.brand {
  position:absolute;
  top:20px;
  left: 700px;
  font-size: 3.5rem;
  font-weight: 500;
  color: white;
  z-index: 2;
   font-family: "LogoFont",sans-serif;
}

.title {
  /* margin-top: 20px; */
  width: 100%;
  /* border: 2px solid red; */
  text-align: center;
  font-size:3rem;
  color: white;
  font-weight: 400;
  font-family: "LogoFont",sans-serif;
}

.subtitle {
  width: 100%;
  text-align: center;
  color: white;
  margin: 20px 0px;
  font-size: 1.3rem;
  font-family: "Lexend",sans-serif;
}

form {
  width: 100%;
  border: none;
}

.row {
  display: flex;
  gap: 30px;
  margin-bottom: 15px;
   position: relative; 
  } 

 input::placeholder{
    position: absolute;
    font-size: 0.8rem;
    top: 8px;
     font-weight:500;
    color: #000;
    font-family: "Lexend",sans-serif;
    /* border: 2px solid red; */
} 

 input {
  width: 100%;
  height: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  outline: none;
  font-size: 14px;
  cursor:pointer;
  /* background-color: red; */
  z-index: 2;
  position: relative;
}

.input-width{
    display:flex;
    flex-direction: column;
    gap: 20px;
    margin-left: 40px;
}

.password_input,.email_input{
    width: 350px;
    /* border: 2px solid red; */
    margin: 0px 60px;
}

.password_input{
    margin-bottom: 20px;
}


.google-btn {
  width:230px;
  padding: 12px;
  background: white;
  border: none;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size:1.2rem;
  font-weight: 400;
  color: #000;
  margin: 20px 180px;
  height: 42px;
  font-family: "Lexend",sans-serif;
}

.google-btn img {
  width: 20px;
}

.submit-btn {
  width: 340px;
  padding: 14px;
  background-color: #ffafaf;
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  margin: 0px 120px;
  font-family: "Lexend",sans-serif;
}

.login-text {
  margin-top: 15px;
  font-size: 1.1rem;
  color: white;
  text-align: center;
  cursor: pointer;
  font-family: "Lexend",sans-serif;
}

.login-text a {
  color: white;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}



.error{
  position:absolute;
  top: -70px;
  left: 550px;
  width: 300px;
  height: 40px;
  background-color: red;
  border-radius: 10px;
  /* border: 2px solid red; */
  color: #ffff;
  font-size: 1.1rem;
  font-family: "Lexend",sans-serif;
  text-align: center;
  padding-top: 5px;
  transition: all 1s;
}


@media (max-width: 1300px) {
  .container {
    width: 90%;
  }
}
@media (max-width: 1200px) {
 .signup_image{
    width: 350px;
    height: 95vh;
    object-fit: cover;
}

.card{
  /* border: 2px solid green; */
  flex-grow: 1;
  padding: 170px 10px;
  width: 50%;
}

}
@media (max-width: 992px) {


.brand {
  position:absolute;
  top:20px;
  left: 45vw;
  font-size: 3.5rem;
  font-weight: 500;
  color: white;
  z-index: 2;
   font-family: "LogoFont",sans-serif;
}



  .password_input,.email_input{
    width: 300px;
    /* border: 2px solid red; */
    margin: 0px 20px;
}
.password_input{
    margin-bottom: 20px;
}


.google-btn {
  width:230px;
  margin: 20px 90px;
}


.submit-btn {
  width: 250px;
  margin: 0px 80px;
}

 
}




@media (max-width: 844px) {
.main_contianer{
    display: flex;
    gap: 60px;
  flex-direction: column;
}



 .signup_image{
    width:100%;
    height: 60vh;
    object-fit: cover;
}
.brand {
  position:absolute;
  top:20px;
  left: 59vw;
  font-size: 3.5rem;
  font-weight: 500;
  color: white;
  z-index: 2;
   font-family: "LogoFont",sans-serif;
}


.card{
  flex-grow: 1;
  padding: 40px 10px;
  width: 100%;
}

  .password_input,.email_input{
    width: 460px;
    /* border: 2px solid red; */
    margin: 0px 40px;
}

.password_input{
    margin-bottom: 20px;
}


.google-btn {
  width:300px;
  margin: 20px 180px;
}


.submit-btn {
  width: 370px;
  margin: 0px 140px;
}




}










@media (max-width: 768px) {
  
.main_contianer{
    display: flex;
    gap: 60px;
  flex-direction: column;
}

 .signup_image{
    width:100%;
    height: 60vh;
    object-fit: cover;
}
.brand {
  position:absolute;
  top:20px;
  left: 43vw;
  font-size: 3.5rem;
  font-weight: 500;
  color: white;
  z-index: 2;
   font-family: "LogoFont",sans-serif;
}


.card{
  flex-grow: 1;
  padding: 40px 10px;
  width: 100%;
}

  .password_input,.email_input{
    width: 340px;
    /* border: 2px solid red; */
    margin: 0px 40px;
}

.password_input{
    margin-bottom: 20px;
}

.google-btn {
  width:300px;
  margin: 20px 180px;
}


.submit-btn {
  width: 370px;
  margin: 0px 140px;
}

}



@media (max-width: 628px) {
 .google-btn {
  width:260px;
  margin: 20px 140px;
}


.submit-btn {
  width: 320px;
  margin: 0px 100px;
}

}
@media (max-width: 576px) {
  .container {
    width: 100%;
  }


}
 

@media (max-width: 480px) {
    .password_input,.email_input{
    width: 300px;
    /* border: 2px solid red; */
    margin: 0px -20px;
}
.password_input{
    margin-bottom: 20px;
}


.submit-btn {
  width: 250px;
  margin: 0px 60px;
}

.google-btn {
  width:230px;
  margin: 20px 70px;
}

.brand {
  left: 34vw;
}


}
@media (max-width: 375px) {
    .password_input,.email_input{
    width: 200px;
    /* border: 2px solid red; */
    margin: 0px 0px;
}
.password_input{
    margin-bottom: 20px;
}

.submit-btn {
  width: 200px;
  margin: 0px 20px;
}

.google-btn {
  width:200px;
  margin: 20px 20px;
}

.brand {
  left: 30vw;
   font-size: 2.8rem;
}
}
