@import url('https://fonts.googleapis.com/css2?family=Paprika&family=Roboto+Slab&display=swap');

body{
  margin: 0;
  padding: 0;
  display: flex;
  width: 100vw;
  height: 100vh;
  font-family: "Roboto Slab", sans-serif;
  overflow-x: hidden;
}
/* Left of page, image with title*/

.background-image{
  width: 40vw;
  background-image:url("./background.jpg");
  background-position: center;
  background-size: auto;
  background-repeat: no-repeat;
}

.title-wrapper{
  display: flex;
  width: auto;
  height: 100%;
}

.title{
  display: flex;
  width: 100%;
  justify-content: center;
  height: fit-content;
  background: rgba(0, 0, 0,0.4);
  margin-top: 25vh;
  gap: 10px;
}

.logo{
  width: 65px;
}

.title > span{
  font-family: 'Paprika',sans-serif;
  font-size: 5rem;
}

/* Right side, form and header */

.content-wrapper{
  display: flex;
  width: 60vw;
  background: rgb(25, 26, 25);
}

.content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  width: 100%;
  height: 100%;
}

.form-header{
  display: flex;
  flex-direction: column;
  height: fit-content;
  padding: 0px 10px 0px 40px;
  max-width: 625px;
  font-size: 1.4rem;
  justify-content: center;
  align-items: left;
}

.signup{
  display: flex;
  width: 100%;
  background-color: rgb(40, 40, 40);
  padding: 20px 0px 20px 0px;
  box-shadow: 5px 5px 10px 0px black;
}

.form-wrapper{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
}

.row{
  display: flex;
  gap: 200px;
}

.row > * {
  display: flex;
  width: 250px;
  gap: 8px;
  flex-direction: column;
}


form{
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 14px;
  padding-left: 40px;
}

label{
  font-size: 1.4rem;
}

span,label{
  color: rgba(200, 200, 200);
}

.error-msg{
  display: flex;
  gap: 4px;
}

input{
  appearance: none;
  border: 0px;
  outline: 2px solid gray;
  padding: 5px;
  border-radius: 10px;
  font-size: 1rem;
  height: 30px;
  width: 200px;
  background-color: rgba(200, 200, 200);
}

input:focus{
  outline: 3px solid rgb(150, 114, 72);
  box-shadow: 0px 7px 10px 4px rgb(0, 0, 0);
}

button[type="submit"]{
  font-size: 1.1rem;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background-color: rgb(150, 114, 72);
  width: 150px;
}

button[type="submit"]:hover{
  background-color: rgba(150, 114, 72,0.8);
}
button[type="submit"]:active{
  background-color: rgba(150, 114, 72,0.7);
}

.create-account{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.create-account > span{
  font-size: 1.1rem;
}

a{
  text-decoration: none;
  color: rgb(150, 114, 72);
}

a:active{
  color: rgba(150, 114, 72,0.7);
}

@media screen and (max-width: 1234px){
  .row{
    gap: 50px;
  }
}

@media screen and (max-width: 1000px){
  .row{
    gap: 0px;
  }
}

@media screen and (max-width: 875px){
  body{
    flex-direction: column;
  }
  .background-image,.content-wrapper{
    width: 100vw;
  }
  .background-image{
    height: 30vh;
  }
  .title-wrapper,.content{
    align-items: center;
  }
  .title{
    margin-top: 0;
  }

  .form-header{
    padding: 0;
  }

  .content-wrapper{
    height: 70vh;
  }

  .content{
    gap: 0;
    justify-content: start;
  }

  .form-header{
    padding: 20px 10px 20px 10px;
    text-align: center;
    align-items: center;
    gap: 20px;
  }

  form,.form-wrapper{
    align-items: center;
  }

  form{
    padding: 0px;
    gap: 30px;
  }

  .row{
    gap: 50px;
  }

  .row > *{
    width: fit-content;
  }



  .create-account{
    align-items: center;
  }
}

@media screen and (max-width:540px){

  .form-header{
    padding: 20px 20px 20px 20px;
  }
  .row{
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .row > *{
    width: fit-content;
  }
}

@media screen and (max-width:445px){
  .title > span{
    font-size: 4rem;
  }
}

@media screen and (max-width:325px){

  .title{
    align-items: center;
  }
  .title > span{
    font-size: 3rem;
  }
  .logo{
    width: 40px;
  }
}