@plugin "flowbite/plugin";
@source "../../node_modules/flowbite";

:root {
  /* Scale setup */
  --button-height: 44; /* in px */
  --height-to-scale: 33; /* in px */
  --scale-ratio: calc(var(--height-to-scale) / var(--button-height));

  /* Slide setup */
  --button-height-px: 44px;
  --button-vertical-padding-px: 10px;
  --button-content-spacing-px: calc(
    var(--button-height-px) + var(--button-vertical-padding-px) * 2
  );
  --slide-step-1: calc(var(--button-height-px) * -1);
  --slide-step-2: calc(var(--button-height-px) * -2);
}

body{
  background-color: #1D1D1F;
  margin: 0;
  padding: 0;
  font-family: 'Arimo', sans-serif;
}
.button {
  display: flex;
  justify-content: center;
  align-items: start;
  flex-wrap: nowrap;
  height: var(--button-height-px);
  padding: var(--button-vertical-padding-px) 9px;
  border-style: none;
  border-radius: 8px;
  background-color: #424245;
  color: #FFF;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  transition: all 200ms;
}

.button:hover {
  background-color: #5B5B5B;
}

.button:focus {
  background-color: #424245;
  outline: none;
}

.button:active {
  background-color: #424245;
  color: #fff;
}

.copy {
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon {
  margin-right: 6px;
}

/* Align content to animate */

.button {
  overflow: hidden;
}

.copied {
  visibility: hidden;
  margin-top: var(--button-content-spacing-px);
}

/* Animations */

.button.animate {
  background-color: #424245;

  color: #FFF;
  box-shadow: none;
  animation: scale 3s cubic-bezier(1, -0.5, 0, 1.5) forwards;
}

.animate .content {
  animation: slide 3s cubic-bezier(1, -0.5, 0, 1.5) forwards;
}

.animate .copied {
  visibility: visible;
}

.togglePasswordBtn{
  width: 24px;
  height: 24px;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.togglePasswordBtn[aria-active="false"]{
  background-image: url('../img/pass_hidden_icon.svg');
}
.togglePasswordBtn[aria-active="true"]{
  background-image: url('../img/pass_visible_icon.svg');
}

main.max-protection .dashedBorder{
  background-image: url('../img/border_green.svg');
}
main.max-protection .addFileLogo{
  background-image: url('../img/note_add_green.png');
}

main.max-protection .dashedBorder span,
main.max-protection #maxProtectionText,
main.max-protection h1 > strong{
  background: linear-gradient(126deg, #00FFD1 23.03%, #00D959 92.68%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

main.max-protection .dashedBorder p{
  color: #FFFFFF;
}

#howDoesItWorksSection .bg-layer{
  background: radial-gradient(50% 100% at 50% 50%, rgba(40, 39, 39, 0.60) 0%, rgba(0, 0, 0, 0.60) 100%);
}
section h2{
  text-shadow: 0px 4px 37.3px rgba(255, 255, 255, 0.55);
}

#stepByStep .bg-grid-layer{
  background-image: url('../img/bg_grid.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.dashedBorder{
  background-image: url('../img/border.svg');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  cursor: pointer;
  transition: ease all 0.3s;
}

.addFileLogo{
  background-image: url('../img/note_add.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  cursor: pointer;
  transition: ease all 0.3s;
}

div[role="switch"] > div, 
div[role="switch"] > div > div{
  transition: ease all 0.3s;
}

div[role="switch"][aria-checked="true"] > div {
  border-color: #00FFD1;
  background-color: #00FFD1;
  justify-content: flex-end;
}

div[role="switch"][aria-checked="true"] > div > div{
  background-color: #1D1D1F;
  left: 19px;
}

.perkBox{
  border: 1px solid #86868B;
  border-radius: 13.942px;
  width: 391px;
  height: 301px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 51px 31px 80px;
}

.stepBox{
  display: flex;
  width: 100%;
  gap: 100px;
  align-items: center;
  padding: 60px 70px 75px;
  border-radius: 20px;
  border: 1px solid #86868B;
  background: linear-gradient(46deg, rgba(255, 255, 255, 0.04) -12.56%, rgba(255, 255, 255, 0.10) 100%);
  box-shadow: 0px 61.333px 61.333px 0px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(30.66666603088379px);
}

.stepBox h3{
  text-shadow: 0px 4px 37.3px rgba(255, 255, 255, 0.25);
  font-size: 72px;
  font-style: normal;
  font-weight: 600;
  line-height: 60px; /* 34.722% */
  letter-spacing: -0.374px;
  background: linear-gradient(146deg, #FFF -40.61%, #999 156.28%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#dashedBorderWrapper{
  transition: ease all 0.5s;
}

#drop-overlay{
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100vw;
  height: 100vh;
  background: #1D1D1F;
  transform: scale(0);
  transition: opacity 0.3s ease, transform 0.3s ease-out;
}

#drop-overlay.mostrar, #resultModal.mostrar {
  opacity: 1;
  transform: scale(1);
}

#drop-overlay.esconder {
  opacity: 0;
  transform: scale(0);
}

#devicePopup{
  transform: scale(0);
  transition: opacity 0.3s ease, transform 0.3s ease-out;
  display: flex;
  width: 275px;
  height: 76px;
  padding: 14px 18px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  color: #FFF;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
  position: absolute;
  top: -87px;
  right: 0px;
  opacity: 0;
  transform: scale(0);
  border-radius: 8px;
  background: #292929;
}

#devicePopup.showPopup{
  opacity: 1;
  transform: scale(1);
}

#resultModal{
  position: fixed;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  top: 64px;
  left: 0;
  z-index: 1000;
  width: 100vw;
  height: calc(100vh - 64px);
  background: #1D1D1F;
  transform: scale(0);
  transition: opacity 0.3s ease, transform 0.3s ease-out;
  padding-top: 100px;
}

.iconCenter{
  background-image: url('../img/desktop_windows_green.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.blockOverlay{
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 0.4;
  z-index: 35;
  border-radius: 16px;
  cursor: not-allowed;
}

.shake-icon{
  animation: treme 0.5s;
  animation-iteration-count: 3;
}

@keyframes treme {
  0% {margin-left: 0;}
  25% {margin-left: 5px;}
  50% {margin-left: 0;}
  75% {margin-left: -5px;}
  100% {margin-left: 0;}
}

@keyframes scale {
  0% {
    transform: none;
  }
  12.5% {
    transform: none;
  }
  25% {
    transform: scale(var(--scale-ratio));
  }
  37.5% {
    transform: scale(var(--scale-ratio));
  }
  50% {
    transform: none;
  }
  100% {
    transform: none;
  }
}

@keyframes slide {
  0% {
    transform: none;
  }
  12.5% {
    transform: translateY(var(--slide-step-1));
  }
  25% {
    transform: translateY(var(--slide-step-1));
  }
  37.5% {
    transform: translateY(var(--slide-step-2));
  }
  87.5% {
    transform: translateY(var(--slide-step-2));
  }
  100% {
    transform: none;
  }
}
