:root {
    --main-color:#FF4F00;
}
.signup-btn {
  text-decoration: none;
  padding: 10px 28px;
  display: inline-block;
  background-color: white;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  font-family: Mulish;
  font-weight: bold;
}

.loginpopup {
  color: var(--main-color);
  font-size: 12px;
  font-style: normal;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
  font-family:inherit;
}
  #msform {
  max-width: 561px;
  margin: 10px auto;
  position: fixed;
  display: none;
  z-index: 1000;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  /*top: 8vh;
  left: 25%;*/
  top: 60%;
  left: 55%;
  transform: translate(-50%,-50%);
  box-sizing: border-box;
  font-family: Mulish;
  text-align: center;
}
#msform fieldset {
  background: white;
  border: 0 none;
  border-radius: 3px;
  box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
  padding: 20px 30px;
  box-sizing: border-box;
  width: 90%;
 /* margin: 0 10%;*/
  z-index: 1000;
  text-align: center;
  align-items: center;
  font-family:inherit;
  font-style: normal;
  /*stacking fieldsets above each other*/
  position: relative;
  display: none;
}

#msform div#digit-input{
  display:inline-flex;;
}

#msform input.digit{
  max-width: 43px;
  width: 100%;
  text-align: center;
  margin-left: 15px;
}

/*inputs*/
#msform input, #msform textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin-bottom: 30px;
  box-sizing: border-box;
  font-family:inherit;
  color: #2C3E50;
  font-size: 13px;
  align-items: center;
  text-align: center;
  max-width: 215px;
  width: 100%;
  display: block;
  margin-right: auto;
  margin-left: auto;
  position: relative;
}
/*buttons*/
#msform .action-button {
  max-width: 100px;
  width: 100%;
  background: white;
  font-weight: bold;
  color: var(--main-color);
  border: 0 none;
  border-radius: 1px;
  cursor: pointer;
  padding: 10px 5px;
  margin: 10px 5px;
  border: 2px solid var(--main-color);
  position: center;
  display: block;
  margin-right: auto;
  margin-left: auto;
  font-family:inherit;
}
/*headings*/
.fs-title {
  font-family:inherit;
  font-style: normal;
  font-weight: bold;
  font-size: 22px;
  line-height: 28px;
  align-items: center;
  text-align: center;
  margin-bottom: 10px;
  color: #333333;
}
.fs-subtitle {
  font-family:inherit;
  font-style: normal;
  font-size: 13px;
  color: #BDBDBD;
  margin-bottom: 30px;
  text-transform: capitalize;
  margin-left: 18%;
  margin-right: 18%;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.name{
  max-width: 125px;margin-left: 15px;width: 100%;
}

.backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  background: rgba(51, 51, 51, 0.5);
  overflow: hidden;
}
.username{
  font-family:inherit;
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 18px;
  color: var(--main-color);
  text-align: center;
}
.arrow {
  border: solid #BDBDBD;;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  margin-left:8px;
}
.child{
  max-width: 60px;
  padding: 20px;
}
.interests-img{
  height: 100%;
  max-height: 30px;
}
.interests-img-caption{
  display: block;
  font-weight: bold;
}
#interest{
  display:grid;
  grid-template-columns: auto auto auto auto;
  margin-left: 15%;
  margin-right: 15%
}
.show_userpopup{
  padding: 12px;
}

@media only screen and (max-width: 768px) {
  #interest {
    display: grid;
    grid-template-columns: auto auto auto;
    padding: 1em;
    grid-row-gap: 15px;
  }
  #msform{
    margin: 8px auto;
  }
  #msform fieldset{
    max-height: 600px;
    overflow-y: scroll;
    padding: 4px;
  }

  #msform input, #msform textarea{
    padding:12px;
  }
}