* {
  box-sizing:border-box;
}
html,body {
  font-family: 'Playfair Display', serif;
  justify-content: center;
  align-items: center;
  &.modal-active {
    overflow: hidden;
  }
}

.popup {
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.popup .popupbtn {
  visibility: hidden;
  top: calc(30% + 50px);
  left: calc(20% + 60px);
  width: 160px;
  text-align: center;
  position: absolute;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 20px;
}

.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

.popup .hide {
  visibility: hidden;
  -webkit-animation: fadeOut 1s;
  animation: fadeOut 1s;
}

@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

@-webkit-keyframes fadeOut {
  from {opacity: 1;}
  to {opacity: 0;}
}

@keyframes fadeOut {
  from {opacity: 1;}
  to {opacity:0 ;}
}

button {

  display: inline-block;
  outline: none;
  cursor: pointer;
  width: 100px;
  border: 1px solid #000000;
  text-align: left;
  vertical-align: top;
  padding: 10px 5px 5px 10px;
  background-color: #00000000;
  font-size: 14px;
  letter-spacing: 0.16px;
  min-height: 48px;
  line-height: 1.29;
  color: #000000;
  transition: background 70ms cubic-bezier(0,0,.38,.9),box-shadow 70ms cubic-bezier(0,0,.38,.9),border-color 70ms cubic-bezier(0,0,.38,.9),outline 70ms cubic-bezier(0,0,.38,.9);
}

button:hover {
    background-color: #000000;
    color: #fff;
}

/*laptops and bigger */
@media only screen  and (min-width : 900px) {
  #typewriter {
      top: 20vh;
      left: 20vw;
      right: 10%;
      margin-left: auto;
      margin-right: auto;
      padding-top: 2rem;
      /*outline: dashed 1px black;*/
      position: absolute;
      font-size: 30px;
      line-height: 1;

    }
  }
/*Smartphones*/
@media only screen and (min-device-width : 300px) and (max-device-width : 900px) {
  #typewriter {
      top: 5vh;
      left: 10vw;
      right: 10%;
      margin-left: auto;
      margin-right: auto;
      padding-top: 2rem;
      /*outline: dashed 1px black;*/
      position: absolute;
      font-size: 30px;
      line-height: 1.5;
}
