@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700;100&display=swap');
* {
  margin: 0;
  user-select: none;
  padding: 0;
  /* color: rgb(255, 237, 215); */
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  }
::-webkit-scrollbar {
  width: 0;
}
html,
body {
    color: rgb(255, 237, 215);
    max-width: 100%;
}
body{
    background-image: linear-gradient(rgba(4, 9, 10, 0.5), rgba(4, 9, 10, 0.5)) , url("../images/bg.png");
    transform: scale(1, 1);
}
.main{
  width: 75vw;
  height: 75vh;
  border-radius: 22px;
  background-color: rgba(31, 18, 8, 56);
  margin: 7% auto 7% auto;
}
.container{
  display: flex;
}
.main .guidelines{
  height: 100%;
}
.main .guidelines h1{
  font-size: 50px;
  padding: 50px 10px 10px 100px;
}
.main .guidelines p{
  font-size: 25px;
  font-weight: 100;
  padding: 20px 0px 10px 100px;
}
.line{
  width: 4.5rem;
  margin: 20px 10px 10px 100px;
  height: 1px;
  background-color: rgb(255, 237, 215);
}
#eventname{
  margin: 10px 10px 100px 100px;
  color: rgb(255, 237, 215);
  border: rgb(255, 237, 215) 1px solid;
  background-color: transparent;
  border-radius: 6px;
  padding: 10px;
  font-size: 15px;
  border: none;
}
#eventname:focus{
  border: none;
}
#eventname::selection{
  border: none;
}
option{
  background: rgba(31, 18, 8, 56);
  color: rgb(255, 237, 215);
  border: none;
}
.guidelines button{
  font-size: 15px;
  border: none;
  padding: 10px;
  border-radius: 6px;
  color: rgb(255, 237, 215);
  border: rgb(255, 237, 215) 1px solid;
  background-color: transparent;
  transition: .4s;
}
.guidelines button:hover{
  cursor: pointer;
  background-color: rgb(255, 237, 215);
  color: rgba(31, 18, 8, 56);
  transition: .4s;
}
.guidelines button{
  border: none;
}
.guidelines button:focus{
  border: none;
}
.guidelines button::selection{
  border: none;
}
.event{
  margin-top: 10%;
  width: 587px;
}
.event h3{
  text-align: center;
  margin: 11%;
  font-size: 25px;
}
.inactive{
  display: none;
}
.active{
  display: block;
}
.onestudent{
  text-align: center;
  width: 100%;
  margin: 10px auto;
}
form .txt_field{
  position: relative;
  border-bottom: 2px solid rgb(255, 237, 215);
  margin: 30px auto 0;
}
.txt_field{
  width: 50%;
}
.txt_field input{
  padding: 0 5px;
  height: 40px;
  font-size: 16px;
  border: none;
  background: none;
  outline: none;
  color: rgb(255, 237, 215);
}
.txt_field label{
  position: absolute;
  top: 80%;
  left: 5px;
  color: rgb(255, 237, 215);
  transform: translateY(-50%);
  font-size: 19px;
  pointer-events: none;
  transition: .5s;
}
.txt_field span::before{
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  width: 0%;
  height: 2px;
  background: rgb(255, 237, 215);
  transition: .5s;
}
.txt_field input:focus ~ label,
.txt_field input:valid ~ label{
  top: -5px;
  color: rgb(255, 224, 203);
}
.txt_field input:focus ~ span::before,
.txt_field input:valid ~ span::before{
  width: 100%;
}
.final{
  text-decoration: none;
  color: rgb(255, 237, 215);
  text-align: center;
  background-color: rgba(31, 18, 8, 56);
  font-size: 17px;
  font-family: "Roboto";
  border: 2px solid rgb(255, 237, 215);
  padding: 10px 20px;
  border-radius: 22px;
  font-weight: 100;
  transition: .4s;
  margin: 40px 40% 0;
}
.final:hover{
  background-color: rgb(255, 237, 215);
  color: rgba(31, 18, 8, 56);
  cursor: pointer;
}
/* #region gohome */
  .phonewarning{
    /* display: none; */
    width: 60%;
    margin: 30vh auto;
    text-align: center;
  }
  .phonewarning h1{
    /* padding: 0 20%; */
    font-size: 4vw;
    margin-bottom: 20px;
  }
  .phonewarning h3{
    font-weight: 100;
    padding-bottom: 5%;
    font-size: 2vw;
  }
  .phonewarning a{
    text-decoration: none;
    color: rgb(255, 237, 215);
    font-size: 12px;
    font-family: "Roboto";
    border: 2px solid rgb(255, 237, 215);
    padding: 10px 20px;
    font-size: 1vw;
    border-radius: 22px;
    font-weight: 100;
    transition: .4s;
  }
  .phonewarning a:hover{
    background-color: rgb(255, 237, 215);
    color: rgba(31, 18, 8, 56);
  }
  @media (max-width: 1200px){
    .main{
      height: 0;
      width: 0;
      display: none;
    }
    .phonewarning{
      display: block;
    }
  }
/* #endregion */
