:root {
   --cor-botao: yellow;
   --cor-hover: rgb(219, 219, 1);
   --cor-popup: rgba(0, 0, 0, 0.8);
   --text-popup: #fff;
}

.background-container {
   position: relative;
   background: url("../image/glucoarmor-bg-pc.webp") no-repeat center top;
   background-size: cover;
   height: 100vh;
   filter: blur(4px);
   padding: 2rem;
}

.popup {
   position: fixed;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   background-color: var(--cor-popup);
   border-radius: 15px;
   padding: 2rem;
   z-index: 1000;
   opacity: 0;
   transform: scale(0);
   transition: opacity 1ms ease-in-out, transform 1ms ease-in-out;
   width: 100%;
   max-width: 400px;
}

.popup.visible {
   opacity: 1;
   transform: scale(1) translate(-50%, -50%);
   animation: pulse-grow 0.7s ease-in-out forwards;
}

@keyframes pulse-grow {
   0% {
      transform: translate(-50%, -50%) scale(0);
   }

   100% {
      transform: translate(-50%, -50%) scale(1);
   }
}

.popup .popup-content {
   text-align: center;
}

.popup .popup-content p {
   cursor: pointer;
   font-size: 2rem;
   font-weight: bold;
   text-align: end;
}

.popup .popup-content h2 {
   font-size: 3rem;
   font-weight: bold;
   color: var(--text-popup);
   padding: 1rem;
   text-align: center;
   text-transform: uppercase;
}

.popup .popup-content h3 {
   color: var(--text-popup);
   font-size: 2.3rem;
   text-transform: uppercase;
}

.popup .popup-content h4 {
   color: var(--text-popup);
   font-size: 2.5rem;
}

.popup .popup-content .popup-image {
   text-align: center;
}

.popup .popup-content .popup-image img {
   width: 100%;
}

.popup .popup-content .cta {
   text-align: center;
}

.popup .popup-content .cta .btn {
   background-color: #14bb57;
   background: #ffd500;
   border-radius: 5px;
   color: #000;
   display: inline-block;
   font-size: 2.2rem;
   font-weight: bold;
   margin: 1rem 0;
   padding: 1rem;
   width: 100%;
}

.popup .popup-content .cta .btn:hover {
   transform: scale(1.04);
}

/* TSL Content */

.main-content {
   display: none;
   max-width: 1200px;
   margin: auto;
   padding: 4rem 2rem;
}

.main-content p {
   font-size: 1.8rem;
   margin-bottom: 1rem;
}

.main-content h2 {
   font-size: 2rem;
   margin: 2rem 0;
   text-decoration: underline;
}

.main-content summary {
   font-size: 1.8rem;
   font-weight: bold;
   margin-bottom: 1rem;
   cursor: pointer;
}

.btn {
   background-color: var(--cor-botao);
   border-radius: 8px;
   color: #000;
   display: inline-block;
   font-size: 2rem;
   font-weight: bold;
   padding: 1rem 2rem;
   width: fit-content;
   text-transform: uppercase;
   margin: 2rem 0;
}

.btn:hover,
.btn:focus {
   background-color: var(--cor-hover);
   color: #000;
}

.footer {
   text-align: center;
   background-color: transparent;
   color: gray;
   font-size: 1.3rem;
   margin: auto;
   margin-top: 1rem;
   max-width: 1200px;
}

.footer p {
   padding: 1rem;
}

.footer nav {
   padding: 1rem;
}

.footer nav a {
   color: gray;
   font-size: 1.5rem;
}

@media (max-width: 1024px) {
   .background-container {
      background: url("../image/glucoarmor-bg-mobile.webp") no-repeat center top;
      background-size: cover;
      height: 100vh;
   }
}

@media (max-width: 450px) {
   .background-container {
      background: url("../image/glucoarmor-bg-mobile.webp") no-repeat center top;
      background-size: cover;
      height: 100vh;
   }

   .popup {
      width: 90%;
   }

   .popup .popup-content h2 {
      font-size: 2.4rem;
   }

   .popup .popup-content h3 {
      font-size: 2rem;
   }

   .popup .popup-content .popup-image img {
      width: 100%;
   }

   .popup .popup-content .cta .btn {
      font-size: 1.9rem;
      width: 100%;
   }
}
