.emailnew{
    text-align: center;
    position: relative;
    align-items: center;
    display: flex;
    align-items: center;
    padding: 25px;
    width: 700px;
    max-width: 100%;
    margin:auto;
    overflow:hidden;
    height: 100px;
  }
.emailnew1{
    text-align: center;
    position: relative;
    align-items: center;
    display: block;
    align-items: center;
    padding: 25px;
    width: 700px;
    max-width: 100%;
    margin:auto;
    overflow:hidden;
    height: 100%;
}

#emails{
  margin-top: 5%;
}

.emailnew input{
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
    border-color: black;
}

.emailnew button {
    border-radius: 50%;
    height: 80%;
    aspect-ratio: 1;
    position: absolute;
    right: 3.5%;
    border-color: black;
    -webkit-transition-duration: 0.4s; 
    transition-duration: 0.4s;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
}

.emailnew button:after {
    content: "";
    background: #d5d8d5;
    display: block;
    position: absolute;
    padding-top: 300%;
    padding-left: 350%;
    margin-left: -20px!important;
    margin-top: -120%;
    opacity: 0;
    border-radius: 50%;
    transition: all 0.8s
  }
  
  .emailnew button:active:after {
    padding: 0;
    margin: 0;
    opacity: 1;
    transition: 0s
  }

  #emails-show, #load-show, #seed-show {
    display: none;
  }
  
  #emails-show:target, #load-show:target, #seed-show:target {
    display: block;
  }


  table 
  {
      table-layout:fixed;
      width:100%;
  }



.modal-contents #numFields {
    width: 55%;
    border-radius: 12px;
    margin: auto;
    font-family: 'HM Alpha Mono', sans-serif;
    height: 10px;
    -webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
}


.seedtable select{
    height: 80%;
    position: relative;
    border-color: black;
    background-color: rgb(46, 42, 36);
    -webkit-transition-duration: 0.4s; 
    transition-duration: 0.4s;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
}

.cellform{
    text-align: center;
    position: relative;
    align-items: center;
    display: flex;
    align-items: center;
    width: inherit;
    padding: 25px;
    margin:auto;
    overflow:hidden;
    justify-content: center;
    float: left;
    font-family: "HM Alpha Mono", "sans-serif";
  }

.cellform h1{
    font-size: medium;
}

  table {
    border-collapse: collapse;
    table-layout:fixed;
    width: 100%;
}
th, td {

    padding: 8px;
    text-align: center;
}

input .seeder{
    width: 50%;
    box-sizing: border-box;
    text-align: center;
    background-color: #4f5153;
    color: #000;
    font-family: "HM Alpha Mono", "sans-serif";
}


select {
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    text-align:center;
}

option {
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    text-align:center;
}


button.btn.btn-one {
    color: none;
    border-color: none;
    border:none;
    position: relative;
    transition: transform .2s;

}
.btn-one:hover {
  transform: scale(1.2); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}


  h3 {
      color: white;
      font-weight: 400;
  }
  
  header {
      display: flex;
      padding: 0 15px;
      max-width: 800px;
      margin: 0 auto;
      justify-content: space-between;
      align-items: center;
      img {
          width: 30px;
      }
  }
  
  ul {
      list-style: none;
  }
  
  li {
      display: inline;
      padding: 6px;
      a {
          text-decoration: none;
          color: black;
          &:hover {
              text-decoration: underline;
          }
      }
  }
  
  .hero {
      background-image: url("http://richardmiddleton.me/modal-hero.jpg");
      background-size: cover;
      height: 420px;
      width: 100%;
      text-align: center;
      display: flex;
      justify-content: center;
      align-items: center;
  }
  
  .button {
      display: inline-block;
      &:hover {
          background-color: white;
          color: #fff;
          border: 2px transparent #fff;
      }
  }
  #button{
    margin-left: 6%;
  }
  #button2{
    margin-left: 6%;
  }
  
  .card-container {
      max-width: 800px;
      margin: 50px auto;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
  }
  
  .card {
      height: 300px;
      width: 230px;
      border: 1px solid darkgray;
      border-radius: 3px;
      margin: 10px;
  }
  

  
  .bg-modal {
      background-color: hsla(0, 0%, 100%, .6);
      width: 100%;
      height: 100%;
      position: fixed;
      top: 0;
      left: 0;
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 9;
  }
  
  .modal-contents {
      height: 600px;
      width: 90%;
      background-color: rgb(243, 236, 236);
      text-align: center;
      padding: 20px;
      position: relative;
      border-radius: 8px;
      overflow-y: scroll;
      max-height: calc(100vh - 200px);
      border: 1px solid var(--grey-grey-300,#e5e5e5);
      overflow-x: hidden;
      transition: ease-in-out 0.5s;
  }

  .modal-contents::-webkit-scrollbar {
    display: none;
    }

  .modal-contents {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
  
  .modal-contents input.seeder {
      margin: 5px auto;
      display: block;
      width: 150px;
      padding: 2px;
      border-bottom: solid #383535;
      border-top: none;
      border-left: none;
      border-right: none;
      border-width: 2px;
    border-radius: 0px;
    background-color: rgb(243, 236, 236);
    font-family: "HM Alpha Mono", "sans-serif"
  }

  .modal-contents input.pkey {
    margin: 5px auto;
    display: block;
    width: 250px;
    padding: 2px;
    --b: 2px;   /* thickness of the border */
    --c: #161515;   /* color of the border */
    --w: 20px;  /* width of border */
    border: var(--b) solid #0000; /* space for the border */
    --_g: #0000 90deg,var(--c) 0;
    --_p: var(--w) var(--w) border-box no-repeat;
    background:
      conic-gradient(from 90deg  at top    var(--b) left  var(--b),var(--_g)) 0    0   / var(--_p),
      conic-gradient(from 180deg at top    var(--b) right var(--b),var(--_g)) 100% 0    / var(--_p),
      conic-gradient(from 0deg   at bottom var(--b) left  var(--b),var(--_g)) 0    100% / var(--_p),
      conic-gradient(from -90deg at bottom var(--b) right var(--b),var(--_g)) 100% 100% / var(--_p);
  border-radius: 0px;
  background-color: #e6e6e6;
  font-family: "HM Alpha Mono", "sans-serif"
}
  .modal-contents .cellform {
    width: 220px;
    margin-bottom: 20px;
    margin-top: 4px;
  }

  .modal-contents h1{
    width: 100%;
    font-size: medium;
  }
  
  .modal-button{
    display: block;
    width: 180px;
    padding: 2px;
    border-radius: 5px;
  background-color: #d4a0ff;
  height: 50px;
  margin: auto;
  margin-bottom: 18px;
  transition: transform .2s;
  }
.modal-button:hover {
    transform: scale(1.05); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
  }
  
.close {
      position: absolute;
      top: -3px;
      right: 10px;
      font-size: 42px;
      color: #353434;
      transform: rotate(45deg);
      cursor: pointer;
      &:hover {
          color: #666;
      }
  }
  
  .modal-header-1 {
    margin:auto;
    display:block;
    margin-top: 25vh;
  }

  .loader-wrapper-modal {
    width: 100%;
    height: 300%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    display:block;
    justify-content: center;
    align-items: center;
    z-index: 1999;
    margin:auto;
    overflow: hidden;
  }
/* HTML: <div class="loader"></div> */
.modal-loader {
  display: block;
  width: 60px;
  aspect-ratio: 4;
  --c:#000 90%,#0000;
  background: 
    radial-gradient(circle closest-side at left  6px top 50%,var(--c)),
    radial-gradient(circle closest-side                     ,var(--c)),
    radial-gradient(circle closest-side at right 6px top 50%,var(--c));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  animation: l4 1s infinite alternate;
  z-index: 2000;
  margin: auto;
  }

  @keyframes l4 {
    to{width:25px;aspect-ratio: 1}
  }

  .hidden {
    display:none;
    top: -1000000;
  }
  
  .visible>div {
    display:block;
  }

  #tr1{
    font-size: large;
  }

@media all and (min-width: 768px) {
    table tr{
        font-size: medium;
    }

    .cellform{
        width: 500px;
    }
    .modal-contents #numFields {
        width: 350px;
    }
    .modal-contents{
        width: 700px;
    }

  }

  @media screen and (max-width: 768px) {
    table tr{
        font-size: x-small;
    }

    .cellform{
        width: 70%;
    }

    table svg{
      height: 16px;
      width: 16px;
    }

    h1 {
      font-size: xx-large;
    }

    #please_enter{
      font-size: larger;
    }

    #emails{
      margin-top: 12%;
    }

    #tr1{
      font-size: medium;
    }

    
  }

  @media screen and (max-width: 450px) {
    #tr1{
      font-size: small;
    }
  }