.container {
    max-width: 800px;
    max-height: 600px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.backgroundImg {
    position: relative;
    top: 0;
    left: 0;
    width: 800px;
    height: 600px;
}

body {
    background-color: #160a21;
}

.title {
    /*right:1rem;*/
    color: #d1d0c3;
    text-align: center;
    font-family: 'Homemade Apple';
    font-size: 2.6rem;
    position: absolute;
    width: 100%;
    top: 0;
}

#selectionContain {
    position: absolute;
    top: 0;
    right: 14rem;
}

#selectionContain img {
    width: 190px;
    height: 190px;
    transition: opacity .3s ease-in-out;
    position: absolute;
    top: 6.2rem;
    text-align: center;
    right: 19rem;
    opacity: 0;
}

#selectionContain img.display {
    opacity: 1;
}

#wrapper {
    position: absolute;
    top: 23.5rem;
    left: 3rem;
    width: 50%;
}

#fname {
    opacity: .60;
    font-family: 'Walter Turncoat';
    font-size: 1.5rem;
    color: black;
    width: 60%;
}

#bday {
    font-family: 'Walter Turncoat';
    font-size: 1.5rem;
    opacity: .60;
    color: black;
    position: relative;
    width: 60%;
}

#submit {
    color: white;
    border: none;
    background-color: #4265D3;
    opacity: .90;
    font-family: 'Gloria Hallelujah';
    font-size: 1rem;
    position: relative;
    cursor: pointer;
    /*right: 4.3rem;*/
}

.msgWrap {
    text-align: center;
    width: 100%;
}

#displayMsg {
    background-color: rgba(0, 0, 0, 0.55);
    width: 11.25rem;
    color: white;
    font-family: 'Walter Turncoat';
    top: 9.9rem;
    left: 23rem;
    position: absolute;
    font-size: 1rem;
    text-align: right;
    padding: 1.2rem;
}

.dontShow {
    display: none;
}

.Show {
    display: block;
}

#iconWrap {
    position: absolute;
    top: 0rem;
    width: 100%;
    text-align: center;
}

#iconWrap img {
    position: relative;
    width: 3.8rem;
    height: 3.5rem;
    top: 9.5rem;
    left: 18rem;
    padding: .3rem;
    display: inline-block;
    cursor: pointer;
}

#button {
    text-align: center;
    width: 100%;
    cursor: pointer;
    display: block;
}

.helpMe {
    color: black;
    border: none;
    cursor: pointer;
    display: block;
    background-color: #E0C05C;
    opacity: .90;
    font-family: 'Gloria Hallelujah';
    font-size: .8rem;
    position: absolute;
    top: 6rem;
    right: 5.7rem;
    padding: .3rem .5rem;
    z-index: 999;
}

#displayRange {
    position: absolute;
    top: 6rem;
    font-family: 'Gloria Hallellujah';
    height: 2rem;
    width: 8rem;
    z-index: 1000;
}

.modal {
    display: none;
    position: absolute;
    z-index: 2222;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.7);
    max-width: 800px;
    max-height: 600px;
    line-height: 1.7rem;
}

.modalContent {
    background-color: #fefefe;
    margin: 7% auto;
    /* 5% from the top and centered */
    padding: .8rem;
    border: 8px solid #E0C05C;
    width: 60%;
}

.helpText {
    font-family: 'Gloria Hallelujah';
    font-size: 1.4rem;
}

.helpText h2 {
    font-size: 1.1rem;
    text-align: center;
}

.helpText p {
    text-align: left;
}

.helpText img {
    width: 100%;
}

.close {
    color: #352167;
    float: right;
    font-weight: lighter;
    font-size: 2.3rem;
    -webkit-transition: width .9s, height .9s, -webkit-transform .9s;
    /* Safari */
    transition: width .9s, height .9s, transform .9s;
    cursor: pointer;
}

.close:hover, .close:focus {
    color: #7C0202;
    text-decoration: none;
    font-weight: bold;
    font-size: 2.3rem;
    -webkit-transform: rotate(180deg);
    /* Safari */
    transform: rotate(180deg);
    cursor: pointer;
}

.mobile{
  display:none;
}

/*mobile responsive*/

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

  #selectionContain {
      position: absolute;
      top: 0;
  }


    .backgroundImg{
      display:none;
    }

.mobile{
  display:flex;
  width:100%;
  justify-content: center;
  flex-direction:column;
}

.mobile img{
  width:100%;
  margin:auto;
}

.one{
  width:100%;
  height:auto;
  margin:auto;
}
  .title{
    font-size:2rem;
    position:absolute;
    top:1rem;
  }

  #iconWrap{
    position:absolute;
    top:2rem;
    margin:auto;

  }

  #iconWrap img {
      position: relative;
      width: 3.8rem;
      height: 3.5rem;
      top: 6.5rem;
      left:0;
      padding:.3rem .6rem;
      display: inline-block;
      cursor: pointer;
  }

  #displayMsg {
      background-color: rgba(0, 0, 0, 0.55);
      width: 11.25rem;
      color: white;
      font-family: 'Walter Turncoat';
      left: 5%;
      right:5%;
      position: relative;
      font-size: 1rem;
      text-align: right;
      padding: 1.2rem;
  }

  #wrapper {
      position: absolute;
      top: 35.5rem;
      left: 3rem;
      width: 100%;
  }
  .helpMe {
      color: black;
      border: none;
      cursor: pointer;
      display: block;
      background-color: #E0C05C;
      opacity: .90;
      font-family: 'Gloria Hallelujah';
      font-size: 1rem;
      position: absolute;
      top: 43.5rem;
      right: 6.3rem;
      padding: .2rem .5rem;
      z-index: 999;
  }

}
