@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");

* {
  box-sizing: border-box;
}

exithtml {
  font-size: 16px;
}

exitbody {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  margin: 0;
  color: #333;
  background: linear-gradient(90deg, #00c6ff 0%, #0072ff 100%);
}

@keyframes dy-fadein {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

#dy-popup-overlay {
  position: fixed; /* Mantém o popup fixo na tela */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  z-index: 1000; /* Certifique-se de que está acima de outros elementos */
}

.dy-popup-container {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    max-width: 600px;
    border: 1px solid #2d2f34;
    border-radius: 4px;
    background: radial-gradient(98.42% 98.42% at 96.98% 98.42%, #11617ade 0, #193737 100%);
    margin: auto;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.2s;
    opacity: 0;
    animation: dy-fadein 1s forwards;
    overflow: hidden; /* Garante que nada extrapole os limites */
}

.dy-popup-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/wp-content/themes/hostingard/assets/images/layout/nuvem.png') no-repeat center;
    background-size: cover;
    opacity: 0.8; /* Define a opacidade da imagem */
    z-index: -1; /* Garante que fique atrás do conteúdo */
}

.dy-popup-container h2,
.dy-popup-container h1,
.dy-popup-container hr,
.dy-popup-container p,
.dy-popup-container #dy-popup-btn,
.dy-popup-container .dy-popup-close,
.dy-popup-container .dy-popup-label,
.dy-popup-container .dy-voucher-group,
.dy-popup-container #dy-voucher-code,
.dy-popup-container .dy-popup-optout {
  opacity: 0;
  animation: dy-fadein 1s forwards;
}

.dy-popup-container h2 {
  animation-delay: 0.1s;
}

.dy-popup-container h1 {
  animation-delay: 0.2s;
}

.dy-popup-container hr {
  animation-delay: 0.3s;
}

.dy-popup-container p {
  animation-delay: 0.4s;
}

.dy-popup-container #dy-popup-btn {
  animation-delay: 0.5s;
}

.dy-popup-container .dy-popup-close {
  animation-delay: 0.6s;
}

.dy-popup-container .dy-popup-label {
  animation-delay: 0.7s;
}

.dy-popup-container .dy-voucher-group {
  animation-delay: 0.8s;
}

.dy-popup-container #dy-voucher-code {
  animation-delay: 0.9s;
}

.dy-popup-container .dy-popup-optout {
  animation-delay: 1s;
}

.dy-popup-container h2 {
  font-family: "Roboto", sans-serif;
  font-size: 2rem;
  line-height: 1;
  font-weight: 300;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 10px 0;
  padding-top: 35px;
}

.dy-popup-container h1 {
  font-family: "Roboto", sans-serif;
  font-size: 4rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  color: #3ec486;
  margin: 0 0 5px 0;
}

.dy-popup-container hr {
  height: 1px;
  width: 33%;
  background-color: #ccc;
  border: 0;
  margin: 0 auto 10px auto;
}

.dy-popup-container p {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 15px 0;
}

.dy-popup-container #dy-popup-btn {
  display: inline-flex;
  background-color: #68C143;
  border: 1px solid #68C143;
  padding: 10px 20px;
  border-radius: 0 2px 2px 0;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  outline: 0;
  overflow: hidden;
  transition: background-color 0.2s, border-color 0.2s;
  color: #fff;
  vertical-align: middle;
}

.dy-popup-container #dy-popup-btn:focus,
.dy-popup-container #dy-popup-btn:hover {
  background-color: #358E10;
  border-color: #358E10;
  text-decoration: none;
}

.dy-popup-container .dy-popup-close {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 20px;
  height: 20px;
  opacity: 0.5;
  transition: opacity 0.2s;
  cursor: pointer;
}

.dy-popup-container .dy-popup-close:hover {
  opacity: 1;
}

.dy-popup-container .dy-popup-close:before,
.dy-popup-container .dy-popup-close:after {
  position: absolute;
  left: 10px;
  content: "";
  height: 20px;
  width: 2px;
  background-color: #999;
}

.dy-popup-container .dy-popup-close:before {
  transform: rotate(45deg);
}

.dy-popup-container .dy-popup-close:after {
  transform: rotate(-45deg);
}

.dy-popup-container .dy-popup-col {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px;
  justify-content: center;
  align-items: center;
}

.dy-popup-container .dy-popup-label {
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: 300;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  margin: 0 10% 15px 10%;
}

.dy-popup-container .dy-voucher-group {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.dy-popup-container #dy-voucher-code {
  padding: 10px 20px;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  border-radius: 2px 0 0 2px;
  cursor: pointer;
  border: 1px solid #D8D8D8;
  border-right: 0;
}

.dy-popup-container #dy-voucher-code:focus {
  outline: 0;
}

.dy-popup-container .dy-popup-optout {
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
  margin-bottom: 30px;
}

.dy-popup-container .dy-popup-optout:focus,
.dy-popup-container .dy-popup-optout:hover {
  color: #000;
}
