#overlay {
    position: fixed;
    opacity: 0;
    transition: 200ms ease-in-out;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
    pointer-events: none;
  }
  
  #overlay.active {
    opacity: 1;
    pointer-events: all;
  }


  .popup .overlay{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100wh;
    height: 100vh;
    background: rgba(0,0,0, 0.7);
    z-index: 1;
    display: none;
}
.popup .content{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #fff;
    border: solid 1px gray;
    width: 30%;
    z-index: 1021;
    padding: 20px;
    box-sizing: border-box;
}

@media (min-width: 1100px){
  .popup .content{
    width: 30%;
  }
  .popup .content>h5{
    font-size: 0.7vw !important;
  }
}

@media (max-width: 1280px){
  .popup .content{
    width: 60%;
  }
  .popup .content>h5{
    font-size: 1.2vw !important;
  }
}

@media (max-width: 1000px){
  .popup .close-btn{
    width: 25px !important;
    height: 25px !important;
    font-size: 20px !important;
    line-height: 25px !important;
}
}

@media (max-width: 750px){
  .popup .close-btn{
    width: 20px !important;
    height: 20px !important;
    font-size: 19px !important;
    line-height: 21px !important;
    }
    .popup .content>h5{
      font-size: 1.5vw !important;
    }
}

@media (max-width: 600px){
  .popup .close-btn{
    width: 18px !important;
    height: 18px !important;
    font-size: 15px !important;
    line-height: 18px !important;
    }
    .popup .content{
      width: 80% !important;
    }
    .popup .content>h5{
      font-size: 1.9vw !important;
    }
}

@media (max-width: 600px){
  .popup .close-btn{
    width: 15px !important;
    height: 15px !important;
    font-size: 13px !important;
    line-height: 15px !important;
    }
}


.popup .content>h1{
  font-family: 'Titillium Web', sans-serif;
  font-size: 2.5vw;
}

.popup .content>h5 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1vw;
    letter-spacing: 0.1em;
}

.popup .close-btn{
    position: absolute;
    right: 20px;
    top: 20px;
    width: 30px;
    cursor: pointer;
    height: 30px;
    background: #222;
    color: #fff;
    font-size: 25px;
    font-weight: 600;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
}
.popup.active .overlay{
    display: block;
}
.popup.active .content{
    transition: all 300ms ease-in-out;
    transform: translate(-50%, -50%) scale(1);
}
.first{
  display: flex;
  flex-direction: row;
  text-align: center;
  align-items: center;
}

.first a {
  margin: 0px !important;
}

.one{
  width: 50%;
  margin: 2%;
  display: flex;
  font-size: 1.5em;
  font-family: 'Titillium Web', sans-serif;
  justify-content: center;
  align-items: center;
  border: solid 1px black;
  background-size: contain;
  background-repeat: no-repeat;
  background-position-y: center;
  cursor: pointer;
}
.one img {
  width: 100%;
  height: 100%;
}

.two{
  height: 5vh;
  width: 20vh;
  margin: 2%;
  display: flex;
  font-size: 1.5em;
  font-family: 'Titillium Web', sans-serif;
  justify-content: center;
  align-items: center;
  border: solid 1px black;
  cursor: pointer;
}

.second{
  display: flex;
  margin: 0px 2%;
  width: 46%;
  align-items: center;
  justify-content: center;
}

.flex {
  display: flex;
}

hr{
  margin: 2% 0 2% 0;
}
span{
  font-weight: bold;
}