html{
    scroll-behavior: smooth;
} 

html::-webkit-scrollbar{
    width: 1.3rem;
}

html::-webkit-scrollbar-track{
    background: var(--herotextcolor);
}

html::-webkit-scrollbar-thumb{
    background: var(--purple)
}
/*=========================================== Variables ===========================================*/
:root {
    --modernblack: #222222;
    --modernorange: #d6861d;
    --modernblue: #0061b5;
    --bigblue: #241a71;

    --white: #fff;
    --purple: #8d3199;
    
    --herotextcolor: #cac1c1;
    --hotbutton: #00bcd4;
 
    --gray: #aaa0a0;
    --silvergray: #e2e2e2;
    --snowgray: #e9e8f0;
    
    --pinkred: #e91e63;
    --salmonred: #f6685e;
}
/*========================================== Reset Styles =========================================*/
* {
    margin: 0;
    padding: 0;
    appearance: 0;
    list-style: none;
    list-style-type: none;
    text-decoration: none;
    box-sizing: border-box;
}

/*========================================== Base Styles ==========================================*/
body {
    overflow-x: hidden; /* If you push an image off screen this stops the user from scrolling horizontally */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #161616;
}
/*=============================================== Styles =============================================*/
/*====================================================================================================*/
/*====================================================================================================*/
/*====================================================================================================*/


:root {
  --primary: rgb(255, 87, 9);
  --secondary: rgb(255, 87, 9, 0.8);
  --dark: rgba(255, 87, 9, 0.2);
}


/*========== Green Button ===========*/

.green-button {
    padding: 1em 2em;
    margin-top: 150px;
    /* margin-right: 50px; */
    background-color: rgb(3, 219, 32);
    color: #fff;
    border-radius: 5px;
    border:none;
    cursor: pointer;
    position:relative;
    transition: transform ease-in 0.1s, box-shadow ease-in 0.25s;
    box-shadow: 0 2px 25px rgb(3, 219, 32, 0.8);  
  }
  
  .green-button:before, 
  .green-button:after {
    position: absolute;
    content: "";
    display: block;
    width: 140%;
    height: 100%;
    left:-20%;
    z-index: -1000;
    transition: all ease-in-out 0.5s;
    background-repeat: no-repeat;
  } 
  
  .green-button:before,
  .green-button:after
   {
    display: none;
    background-image: 
      radial-gradient(circle, rgb(3, 219, 32) 20%, transparent 20%),
      radial-gradient(circle, transparent 20%, rgb(3, 219, 32) 20%, transparent 30%),
      radial-gradient(circle, rgb(3, 219, 32) 20%, transparent 20%),
      radial-gradient(circle, rgb(3, 219, 32) 20%, transparent 20%),
      radial-gradient(circle, transparent 10%, rgb(3, 219, 32) 15%, transparent 20%),
      radial-gradient(circle, rgb(3, 219, 32) 20%, transparent 20%),
      radial-gradient(circle, rgb(3, 219, 32) 20%, transparent 20%),
      radial-gradient(circle, rgb(3, 219, 32) 20%, transparent 20%),
      radial-gradient(circle, rgb(3, 219, 32) 20%, transparent 20%);
    background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%,
      10% 10%, 18% 18%;
  }
  
  .green-button:before {
    top: -75%;
  }
  .green-button:after {
    bottom: -75%;
  }
  
  .green-button:active {
    transform: scale(0.9);
    background-color: rgb(3, 219, 32, 0.8);
    box-shadow: 0 2px 25px rgba(3, 219, 32, 0.2);
  }
  
  .green-button.animate:before {
    display: block;
    animation: greentopBubbles ease-in-out 0.75s forwards;
  }
  
  .green-button.animate:after {
    display: block;
    animation: greenbottomBubbles ease-in-out 0.75s forwards;
  }
  
  @keyframes greentopBubbles {
    0% {
      background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%,
        40% 90%, 55% 90%, 70% 90%;
    }
    50% {
      background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%,
        50% 50%, 65% 20%, 90% 30%;
    }
    100% {
      background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%,
        50% 40%, 65% 10%, 90% 20%;
      background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
  }
  
  @keyframes greenbottomBubbles {
    0% {
      background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%,
        70% -10%, 70% 0%;
    }
    50% {
      background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%,
        105% 0%;
    }
    100% {
      background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%,
        110% 10%;
      background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
  }



/*========== blue Button ===========*/

.blue-button {
    padding: 1em 2em;
    margin-top: 100px;
    margin-right: 50px;
    background-color: rgb(187, 0, 0);
    color: #fff;
    border-radius: 5px;
    border:none;
    cursor: pointer;
    position:relative;
    transition: transform ease-in 0.1s, box-shadow ease-in 0.25s;
    box-shadow: 0 2px 25px rgb(187, 0, 0, 0.8);  
  }
  
  .blue-button:before, 
  .blue-button:after {
    position: absolute;
    content: "";
    display: block;
    width: 140%;
    height: 100%;
    left:-20%;
    z-index: -1000;
    transition: all ease-in-out 0.5s;
    background-repeat: no-repeat;
  } 
  
  .blue-button:before,
  .blue-button:after
   {
    display: none;
    background-image: 
      radial-gradient(circle, rgb(187, 0, 0) 20%, transparent 20%),
      radial-gradient(circle, transparent 20%, rgb(187, 0, 0) 20%, transparent 30%),
      radial-gradient(circle, rgb(187, 0, 0) 20%, transparent 20%),
      radial-gradient(circle, rgb(187, 0, 0) 20%, transparent 20%),
      radial-gradient(circle, transparent 10%, rgb(187, 0, 0) 15%, transparent 20%),
      radial-gradient(circle, rgb(187, 0, 0) 20%, transparent 20%),
      radial-gradient(circle, rgb(187, 0, 0) 20%, transparent 20%),
      radial-gradient(circle, rgb(187, 0, 0) 20%, transparent 20%),
      radial-gradient(circle, rgb(187, 0, 0) 20%, transparent 20%);
    background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%,
      10% 10%, 18% 18%;
  }
  
  .blue-button:before {
    top: -75%;
  }
  .blue-button:after {
    bottom: -75%;
  }
  
  .blue-button:active {
    transform: scale(0.9);
    background-color: rgb(187, 0, 0, 0.8);
    box-shadow: 0 2px 25px rgba(187, 0, 0, 0.2);
  }
  
  .blue-button.animate:before {
    display: block;
    animation: bluetopBubbles ease-in-out 0.75s forwards;
  }
  
  .blue-button.animate:after {
    display: block;
    animation: bluebottomBubbles ease-in-out 0.75s forwards;
  }
  
  @keyframes bluetopBubbles {
    0% {
      background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%,
        40% 90%, 55% 90%, 70% 90%;
    }
    50% {
      background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%,
        50% 50%, 65% 20%, 90% 30%;
    }
    100% {
      background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%,
        50% 40%, 65% 10%, 90% 20%;
      background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
  }
  
  @keyframes bluebottomBubbles {
    0% {
      background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%,
        70% -10%, 70% 0%;
    }
    50% {
      background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%,
        105% 0%;
    }
    100% {
      background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%,
        110% 10%;
      background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
  }



/*========== orange Button ===========*/

.custom-button {
  padding: 1em 2em;
  margin-top: 100px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 5px;
  border:none;
  cursor: pointer;
  position:relative;
  transition: transform ease-in 0.1s, box-shadow ease-in 0.25s;
  box-shadow: 0 2px 25px var(--secondary);  
}

.custom-button:before, 
.custom-button:after {
  position: absolute;
  content: "";
  display: block;
  width: 140%;
  height: 100%;
  left:-20%;
  z-index: -1000;
  transition: all ease-in-out 0.5s;
  background-repeat: no-repeat;
} 

.custom-button:before,
.custom-button:after
 {
  display: none;
  background-image: 
    radial-gradient(circle, var(--primary) 20%, transparent 20%),
    radial-gradient(circle, transparent 20%, var(--primary) 20%, transparent 30%),
    radial-gradient(circle, var(--primary) 20%, transparent 20%),
    radial-gradient(circle, var(--primary) 20%, transparent 20%),
    radial-gradient(circle, transparent 10%, var(--primary) 15%, transparent 20%),
    radial-gradient(circle, var(--primary) 20%, transparent 20%),
    radial-gradient(circle, var(--primary) 20%, transparent 20%),
    radial-gradient(circle, var(--primary) 20%, transparent 20%),
    radial-gradient(circle, var(--primary) 20%, transparent 20%);
  background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%,
    10% 10%, 18% 18%;
}

.custom-button:before {
  top: -75%;
}
.custom-button:after {
  bottom: -75%;
}

.custom-button:active {
  transform: scale(0.9);
  background-color: var(--secondary);
  box-shadow: 0 2px 25px var(--dark);
}

.custom-button.animate:before {
  display: block;
  animation: topBubbles ease-in-out 0.75s forwards;
}

.custom-button.animate:after {
  display: block;
  animation: bottomBubbles ease-in-out 0.75s forwards;
}


@keyframes topBubbles {
  0% {
    background-position: 
      5% 90%, 
      10% 90%, 
      10% 90%, 
      15% 90%, 
      25% 90%, 
      25% 90%,
      40% 90%, 
      55% 90%, 
      70% 90%;
  }
  50% {
    background-position: 
      0% 80%, 
      0% 20%, 
      10% 40%, 
      20% 0%, 
      30% 30%, 
      22% 50%,
      50% 50%, 
      65% 20%, 
      90% 30%;
  }
  100% {
    background-position: 
      0% 70%, 
      0% 10%, 
      10% 30%, 
      20% -10%, 
      30% 20%, 
      22% 40%, 
      50% 40%, 
      65% 10%, 
      90% 20%;
    background-size: 
      0% 0%, 
      0% 0%, 
      0% 0%, 
      0% 0%, 
      0% 0%, 
      0% 0%;
  }
}

@keyframes bottomBubbles {
  0% {
    background-position: 
      10% -10%, 
      30% -10%, 
      55% -10%, 
      70% -10%, 
      85% -10%,
      70% -10%, 
      70% 0%;
  }
  50% {
    background-position: 
      0% 80%, 
      20% 80%, 
      45% 60%, 
      60% 100%, 
      75% 70%, 
      95% 60%,
      105% 0%;
  }
  100% {
    background-position: 
      0% 90%, 
      20% 90%, 
      45% 70%, 
      60% 110%, 
      75% 80%, 
      95% 70%,
      110% 10%;
    background-size: 
      0% 0%, 
      0% 0%, 
      0% 0%, 
      0% 0%, 
      0% 0%, 
      0% 0%;
    }
}

/*===================================== BACK TO TOP BUTTON Styles ====================================*/
.boxup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: var(--modernblack);
    transition: opacity 0.2s ease-in;
}

.boxup:hover {
    opacity: 0.7;
}

.arrow{
    display: inline-block;
    width: 10px;
    height: 10px;
    border-top: 3px solid var(--white);
    border-right: 3px solid var(--white);
    transform: rotate(-45deg);
    margin-top: 5px;
}
