#vpn-cta {
  background: linear-gradient(30deg, #E6E6E6 27%, #F4F4F4 27%);
  filter: brightness(0.95);
  display: flex;
  justify-content: center;
  padding-left: 60px;
}

#vpn-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 164px;
  padding: 8px;
  height: fit-content;
  height: -moz-fit-content;
  animation: slideup-entrance 1s ease-in-out 1 normal;
  -webkit-animation: slideup-entrance 1s ease-in-out 1 normal;
}

#vpn-banner > div:nth-child(1) {
  flex-grow: 1;
}

@keyframes slideup-entrance {
  from {
    min-height: 250px;
  }
  to {
    min-height: 164px;
  }
}

/*
** END: General banner layout and animation
** 
** START: Left image and animation
*/

#vpn-image {
  position: relative;
}

#vpn-image > img {
  position: absolute;
}
#vpn-image {
  display: block;
  width: 240px;
  min-width: 240px;
  max-width: 240px;
  height: fit-content;
}
#vpn-laptop {
  width: 240px;
  min-width: 240px;
  max-width: 240px;
  bottom: -158px;
  right: 50px;
  z-index: 1;
}
#vpn-side-logo {
  z-index: 3;
  height: 156px;
  animation: logo-bounce 0.8s linear infinite alternate;
  -webkit-animation: logo-bounce 0.8s linear infinite alternate;
}
#vpn-side-shadow {
  bottom: -140px;
  right: 118px;
  z-index: 2;
  animation-name: shadow-expand;
  animation: shadow-expand 0.8s linear infinite alternate;
  -webkit-animation: shadow-expand 0.8s linear infinite alternate;
}

#vpn-banner.paused,
#vpn-laptop.paused,
#vpn-side-logo.paused,
#vpn-side-shadow.paused {
  animation-play-state: paused;
}

@keyframes logo-bounce {
  from {
    bottom: -125px;
    right: 98px;
  }

  to {
    bottom: -105px;
    right: 98px;
  }
}

@keyframes shadow-expand {
  0% {
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }

  100% {
    transform: scale(0.8);
    -webkit-transform: scale(0.8);
  }
}

/*
** END: Left image and animation
** 
** START: Center text block
*/
#vpn-text {
  margin: 24px 0;
  max-width: 571px;
}

#vpn-header {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 24px;
  margin: 0 0 16px 0;
}

#new-badge {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 16px;
  line-height: 140%;
  color: #333333;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.15);
  background: #FFCA00;
  border-radius: 1000px;
  padding: 5px 19px;
}

#vpn-title {
  font-weight: bold;
  font-size: 24px;
  line-height: 140%;
  color: #000000;
}

.vpn-text {
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 140%;
  color: #000000;
}

/*
** END: Center text block
** 
** START: Right button CTA
*/

#get-vpn {
  min-height: 48px;
  min-width: 200px;
  max-width: fit-content;
  max-width: -moz-fit-content;
  background: #0055b7;
  background: linear-gradient(to right bottom, #0075ff 50%, #0055b7 50%);
  border-radius: 6px;
  font-family: Lato;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 140%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  position: relative;
  text-transform: capitalize;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.15);
  margin: 0 24px 0 64px;
}

#get-vpn:hover {
  transform: scale(1.1);
}

/*
** END: Center text block
**
** START: Media queries
*/

@media screen and (min-width: 721px) and (max-width: 1178px) {
  #vpn-banner > div:nth-child(1) {
    width: 40%;
    min-width: 40%;
    max-width: 40%;
  }
  #vpn-banner > div:nth-child(2) {
    box-sizing: border-box;
    width: 60%;
    min-width: 60%;
    max-width: 60%;
    padding-right: 24px;
  }
  #vpn-banner > div:nth-child(3) {
    margin-left: 40%;
    width: 60%;
  }
  #get-vpn {
    margin: 24px auto;
  }
  #vpn-cta {
    padding-left: 0;
  }
}

@media  screen and (max-width: 720px) {
  #vpn-cta {
    padding-left: 0;
    background: linear-gradient(30deg, #E6E6E6 75%, #F4F4F4 75%);
  }
  #vpn-banner {
    justify-content: center;
  }
  #vpn-image {
    padding: 0;
    margin: 8px 24px;
    height: 260px;
  }
  #vpn-banner > * {
    width: fit-content;
    width: -moz-fit-content;
    max-width: fit-content;
    max-width: -moz-fit-content;
    min-width: fit-content;
    min-width: -moz-fit-content;
    padding: 8px 24px;
  }
  #get-vpn {
    margin: 0;
  }
  #vpn-learn-more {
    margin-bottom: 32px;
  }
  #vpn-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  #vpn-laptop {
    bottom: 0;
    right: 0;
    left: 0;
  }
  #vpn-side-logo,
  #vpn-side-shadow {
    bottom: 32px;
    right: 51px;
  }

  #vpn-banner > div:nth-child(1) {
    max-width: 240px;
    box-sizing: border-box;
  }
  @keyframes logo-bounce {
    from {
      bottom: 32px;
      right: 51px;
    }
  
    to {
      bottom: 53px;
      right: 51px;
    }
  }
}
