


*{
  box-sizing: border-box;
}

body{
  background-color: #100034;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.back{
	font-size:100px;
	text-decoration:none;
    font-size: 50px;
    font-weight: bold;
    color: black;
    text-decoration: none;

}

.container{
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: white;
  width: 1000px;
  max-width: 95%;
  padding: 40px;
  border-radius: 20px;
}

form{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

form p.signrel {
  width: 100%;
  text-align: center;
  align-self: center;
}

.signrel {
  align-self: center;
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
}


.signrel a {
    color: #0f0029;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.signrel a:hover {
    color: #1a003d;
}

input, select{
  width: 100%;
  height: 35px;
  border-radius: 5px;
  border: 1px solid #ccc;
  padding: 5px 10px;
}

.first_layer,
.second_layer,
.fifth_layer{
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.third_layer{
  display: flex;
  gap:50px;
}

.fourth_layer{
  display: flex;
  justify-content: center;
}

.textnlabel{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  flex: 1;
}

.sign_up{
  display: flex;
  justify-content: center;
}

.sign_up input{
  width: 60%;
  height: 40px;
  background-color: #100034;
  color: white;
  border: none;
  cursor: pointer;
}

.upper_text{
  display: flex;
  justify-content: center;
}












@media screen and (max-width: 768px) {

  .container{
    padding: 30px;
  }

  .first_layer,
  .second_layer,
  .third_layer,
  .fifth_layer{
    flex-direction: column;
    gap: 15px;
  }

  .sign_up input{
    width: 80%;
  }
}


@media screen and (max-width: 480px) {

  body{
    padding: 10px;
  }

  .container{
    padding: 20px;
    border-radius: 15px;
  }

  h1{
    font-size: 24px;
  }

  input,
  select{
    height: 40px;
  }

  .sign_up input{
    width: 100%;
  }
}

.msg {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
}

.msg.error {
    background-color: #ffe5e5;   
    color: #cc0000;              
    border: 1px solid #cc0000;  
}
