*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    width: 100%;
    
}

h1,h2,h3,h4,li,ol,ul,a,label,input,textarea,select,p,small{
    font-weight: 400;
    font-size: 1rem;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-decoration: none;
}

.highlight{
    color: #7C5CFC;
    font-size: .8rem;
    margin-bottom: .5rem;
    text-transform: uppercase;
}

.secondaryheading{
    margin-bottom: 1rem;
}

.secondaryheading.dark{
    color: #fff;
}

section,div,form,.wrapper,.boxes,.box{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
}

section{
    padding: 1rem;
    padding-block: 2rem;
}

.heading{
    font-size: 3rem;
    line-height: 3rem;
    margin-bottom: 1rem;
}

.heading.dark{
    color: #fff;
}

.heading .light{
    color: #101010;
}

.paragraph{
   color: #90A3BF;
   line-height: 1.2rem;
   margin-bottom: 1rem;
   font-weight:300;
   font-size: .85rem;
}

button{
    width: 100%;
    height: 2.4rem;
    border-radius: 2rem;
    outline: none;
    border: none;
    cursor: pointer;
}

.secondary{
    background-color: #1A202C;
    color: #fff;
}

.primary{
    background-color: #7C5CFC;
    color: #fff;
}

.hero{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    background-color: #0D121F;
    padding-bottom: 0;
    position: relative;
}

.ellipse,.ellipsetwo{
    position: absolute;
    width: 35%;
    right: 0;
    top: 0;
    z-index: 1;
    pointer-events: none;
}

.ellipsetwo{
    top: 15rem;
    width: 25%;
    left: 0;
    transform: rotate(180deg);
}

.darkbg{
    background-color: #0D121F;
}

.btn-row{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
}

.boxes{
    gap: 2rem;
}

.hero .boxes{
    justify-content: space-between;
    height: 100%;
}

.hero .wrapper{
    height: 100%;
}

.box img{
    width: 100%;
}

.box .inner{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.box .inner .paragraph{
    font-size: 1.3rem;
    font-weight: 500;
}

.groups .group{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
}

.groups .group .groupbox{
    width: 2rem;
    height: 1.5rem;
    border-radius: .4rem;
    background-color: #7C5CFC;
}

.how .btn-row .secondary{
    background-color: transparent;
    color: #90A3BF;
}

.success .btn-row{
    flex-direction: row;
}

.success .btn-row .secondary{
    background-color: transparent;
    color: #90A3BF;
}

.success .btn-row .primary{
    background-color: transparent;
    color: #90A3BF;
}

.success .btn-row .active{
    background-color: #7C5CFC;
    color: #fff;
}

.success .paragraph{
    color: #101010;
}

.cta{
    padding-right: 0;
    padding-bottom: 0;
}

.cta .first{
    padding-right: 1rem;
}

.secondaryheading{
    font-size: 1.5rem;
    max-width: 400px;
}
form .textfield {
    display: block;
    width: 70%;
    max-width: 400px; /* optional */
    background: #191e2a;
    border: none;
    box-shadow: none;
    line-height: 1.2;
    font-size: 1.6rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #555;
    appearance: none;
    outline: 0;
    padding: 10px 20px;
    border-radius: 10px;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, color 0.3s ease-in-out;
  }
  
  form .textfield:focus {
    outline: 2px solid #5b9dd9;
    outline-offset: 2px;
  }
  
  form .textfield::placeholder,
  form .textfield::-webkit-input-placeholder,
  form .textfield::-moz-placeholder,
  form .textfield::-ms-input-placeholder,
  form .textfield:-ms-input-placeholder {
    color: #4d566b;
    transition: color 0.3s ease-in-out;
  }
form .textfield.error{
    border-color: #43c1a8 !important;
}

form .textfield::-webkit-autofill{
    background-color: transparent !important;
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    box-shadow: 0 0 0px 1000px white inset !important;
    -webkit-text-fill-color: #000 !important;
}

.wallet-form{
    text-align: center;
}

.input-wrp{
    display: ruby;
    align-items: center;
    /* width: 300px; */
}

.input-wrp input{
    flex: 1;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #40485b;
    border-right: none;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.input-wrp button{
    padding: 8px 16px;
    font-size: 16px;
    border: 1px solid #40485b;
    border-left: none;
    background-color: #4019da;
    color: white;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
}

/* frank css */
.spinner{
    animation: spin infinite 0.5s linear;
}
  
@keyframes spin{
  from{
    transform: rotate(0deg);
  }
  to{
    transform: rotate(360deg);
  }
}
/* end */

@media screen and (min-width: 376px){
    body{
        width: 100%;
    }
}

@media screen and (min-width: 800px){
    section{
        padding-inline: 5rem;
    }

    .hero button, .how button,.cta button{
        width: 7rem;
    }

    .hero .heading,.hero .paragraph{
        text-align: center;
        max-width: 600px;
    }

    .hero .paragraph{
        max-width: 400px;
    }
    

    .hero,.hero .box,.how .box{
        align-items: center;
        justify-content: center;
    }

    .btn-row{
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .cta .boxes,.success .boxes,.how .innerwrapper,.benefit .boxes{
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cta .box,.success .box,.benefit .box{
        width: 45%;
    }

    .how .inner {
        width: 30%;
    }

    .how .box .paragraph{
        max-width: 400px;
        text-align: center;
    }

    section{
        padding-block: 7rem;
    }

    .benefit .wrapper > .text{
        align-items: center;
        justify-content: center;
    }

    .benefit .wrapper > .text .paragraph{
        max-width: 600px;
        text-align: center;
    }

    .cta .first,.cta .btn-row{
        align-items: flex-start;
        justify-content: flex-start;
    }
    
    .cta .first{
        margin-bottom: 1rem;
    }
    
}
