
@font-face {
    font-family: 'Brown';
    src: url('font/Brown-Font/BrownLight\ Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Brown';
    src: url('font/Brown-Font/Brown\ Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Brown';
    src: url('font/Brown-Font/BrownMedium\ Regular.ttf') format('truetype');
    font-weight: medium;
    font-style: normal;
}

body {
    font-family: 'brown', sans-serif;
    margin: 50px;
    padding: 100px;
    background-color: rgb(247, 253, 252);
}

.main-box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 5px;
}

.signup {
    width: 60%;
    height: 60%;
}

.signup p {
    width: 70%;
    word-spacing: 5px;
    color:#737373;
    line-height: 20px;
}

.logo {
    position:relative;
    bottom: 270px;
    left: 25px;
    width: 50px;
    height: 50px;
}

.form-container {
    display: flex;
    justify-content: flex-end;
    background-color: white;
    border: 2px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    height: 80vh;
    width: 50%;
    margin-bottom: 100px;
    margin-right: 20px;
    padding: 20px;
}

.form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 20px;
    border: 10px;
}

.form-together {
    display: flex;
    gap: 20px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between; 
    margin-bottom: 20px;
}

.form-item {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-item label {
    margin-bottom: 5px;
    font-weight: bold; 
}

.form-item input, .form-item select {
    padding: 10px;
    border: 1px solid #ccc;
    font-size: 16px;
    font-weight: lighter;
    box-sizing: border-box;
    color: gray;
}

.terms {
    text-align: center;
}

.terms span {
    text-decoration: underline;
    color:#59b9bc;
}

.registration {
    text-align: center;
    font-weight: bold;
    background-color: #64cdd1; 
    color: white;
    padding: 3px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
}

.registration:hover {
    background-color: #59b9bc; 
}


/* Media query for tabs */
@media (min-width: 601px) and (max-width: 768px) {
  body {
    margin: 30px;
    padding: 20px;
  }

.main-box {
  flex-direction: column;
  align-items: center;
}

.signup {
  width: 100%;
  text-align: left;
  margin-bottom: 20px;
  margin-top: 30px;
}

.signup p {
  width: 90%;
}

.logo {
  position: relative;
  bottom: 20px;
  left: -220px;
  margin-bottom: 20px;
}

.form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  width: 90%;
  height: 40%;
  padding: 10px;
  box-shadow: none;
}

.form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.form-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  width: 100%;
}

.form-item label {
  font-size: 14px;
  margin-bottom: 5px;
}

.form-together {
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 10px;
width: 100%;
}

.form-item input[type="text"], .form-item input[type="date"], .form-item select {
width: 100%; 
padding: 20px;
border-radius: none;
font-size: 16px;
box-sizing: border-box; 
}
}

/* Media query for phones */
@media (max-width: 600px) {

  body {
    margin: 10px;
    padding: 10px;
  }

  .main-box {
    flex-direction: column;
    align-items: center;
  }

  .signup {
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
    margin-left: 10px;
  }

  .signup p {
    width: 100%;
    margin-bottom: 5px;
    word-spacing: normal;
  }

  .logo {
    position: relative;
    bottom: 0;
    left: -150px;
    margin-bottom: 100px;
  }

  .form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    width: 90%;
    height: 40%;
    padding: 20px;
    box-shadow: none;
  }

  .form {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .form-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    width: 100%;
  }

.form-item label {
    font-size: 14px;
    margin-bottom: 5px;
  }

.form-together {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
  width: 100%;
  }

  .form-item input[type="text"], .form-item input[type="date"], .form-item select {
  width: 100%; 
  padding: 20px;
  border-radius: none;
  font-size: 16px;
  box-sizing: border-box; 
  }
}