/* ------------------------- Styleguide 2021 ® Code by Dennis -------------------------------------------------- */

/* ------------------------- Start - UI Kit Reset -------------------------------------------------- */

.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6, .uk-heading-2xlarge, .uk-heading-large, .uk-heading-medium, .uk-heading-small, .uk-heading-xlarge, h1, h2, h3, h4, h5, h6 {color: inherit;}
.uk-link, a, .uk-link:hover{color: inherit; text-decoration: none;}
svg {max-width: none; height: auto; width: auto;}
*+address, *+dl, *+fieldset, *+figure, *+ol, *+p, *+pre, *+ul { margin-top: initial;}
address, dl, fieldset, figure, ol, p, pre, ul {margin: initial;}

/* ------------------------- Fonts -------------------------------------------------- */

/* DM Sans Google */

/* ------------------------- Colors -------------------------------------------------- */

:root {
    --primary: #8146FF;
    --primary-medium: #5927c3;

    --aqua: #01F0FD;
    --magenta: #C500FF;

    --white: #fff;
    --black: #000;

    --alert-error: #ff2929;
    --alert-success: #00b350;

    --text: rgba(255, 255, 255, 0.75);
    --text-light: rgba(255, 255, 255, 0.5);

    --border: rgba(255, 255, 255, 0.25);

    --title-spacing: -0.01em;

    --section-padding: 8em;
    --section-padding-small: 4em;
    
}

@media screen and (max-width: 720px){
    :root{
        --section-padding: 6em;
        --section-padding-small: 3em;
    }
}

@media screen and (max-width: 720px){
    :root{
        --section-padding: 4em;
        --section-padding-small: 2em;        
    }
}

/* ------------------------- Body -------------------------------------------------- */

*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
li, ul {padding: 0; margin: 0; list-style: none;}

html, body {
    width: 100%;
    -webkit-font-smoothing: antialiased;
    position: relative;
    background-color: var(--black);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.5;
    font-weight: 400;
    font-size: 16px;
    font-size: clamp(16px, 1.2vw, 19px);
    color: var(--white);
}

/* Selection */
::selection {background-color: rgba(129, 70, 255, 0.6);}
::-moz-selection {background-color: rgba(129, 70, 255, 0.6);}


/* ------------------------- Typography -------------------------------------------------- */

h1, h2, h3, h4, h5, h6 p, a, strong  {padding: 0; margin: 0; font-weight: 400; letter-spacing: normal;}
h1:last-child, h2:last-child, h3:last-child, p:last-child, p.big:last-child, p.small:last-child, a:last-child, strong:last-child  {margin-bottom: 0;}

h1 {
    font-family: 'DM Sans', sans-serif;
    color: var(--white);
    letter-spacing: var(--title-spacing);
    font-size: 68px;
    font-size: 4.25em;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: .5em;
}
  
h2 {
    font-family: 'DM Sans', sans-serif;
    color: var(--white);
    letter-spacing: var(--title-spacing);
    font-size: 40px;
    font-size: 2.5em;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: .5em;
}
  
h3 {
    font-family: 'DM Sans', sans-serif;
    color: var(--white);
    letter-spacing: var(--title-spacing);
    font-size: 18px;
    font-size: 1.15em;
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: .5em;
}

h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    font-size: 1.1em;
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: .8em;
    width: 100%;
    color: var(--aqua);
}

img {
    max-width: none;
}

p {
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 1em;
    color: var(--text);
    font-size: 16px;
    font-size: 1em;
    line-height: 1.6;
    font-weight: 400;
}

p.small {
	font-size: 12px;
    font-size: .7em;
    line-height: 1.6;
}

p.light {
    color: var(--text-light);
}
  
a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 400;
}

a:hover {
    text-decoration: underline;
    cursor: pointer;
    color: var(--primary-medium);
}

@media screen and (max-width: 1280px){
    
    h1 {
	    font-size: 38px;
	    font-size: clamp(38px, 6.25vw, 4.25em);
	}
    h2 {
	    font-size: 26px;
	    font-size: clamp(26px, 4.25vw, 2.5em);
	}
    h3 {
	    font-size: 21px;
	    font-size: clamp(21px, 4.25vw, 1.3em);
	}
    
}


@media screen and (max-width: 540px){ 
    h3 {
	    font-size: 18px; line-height: 1.3;
    }
}


  
/* ------------------------- Main Elements -------------------------------------------------- */

.section {
    display: block;
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    position: relative;
}

.section.full-height {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section.no-padding {
    padding-top: unset;
    padding-bottom: unset;
}

.section.section-styleguide {
    background-color: var(--black);
}

.container {
    margin: 0 auto;
    padding-left: 8em;
    padding-right: 8em;
    max-width: 80em;
}

.container.medium {
    max-width: 74em;
} 

.container.small {
    max-width: 64em;
} 

.container.tiny {
    max-width: 52em;
    text-align: center;
} 

.container.supertiny {
    max-width: 44em;
    text-align: center;
}

.container.no-padding {
    padding-left: unset;
    padding-right: unset;
}

.row {
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.row.no-flex {
    display: block;
}

.row.nowrap {
    flex-wrap: nowrap;
}

.flex-col {
    display: block;
    width: 100%;
    order: 2;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.overlay.dark {
    background: var(--black);
    opacity: .8;
}

.overlay.medium {
    background: var(--black);
    opacity: .5;
}

.overlay.light {
    background: var(--black);
    opacity: .3;
}

.line {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--border);
    margin-top: 4em;
    margin-bottom: 4em;
}

.stripe {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--border);
}

.no-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media screen and (max-width: 1280px){

    .section {
        padding-top: 6em;
        padding-bottom: 6em;
    }

    .container {
        padding-right: 10vw;
        padding-left: 10vw;
    }
}

@media screen and (max-width: 540px){

    .section {
        padding-top: 4em;
        padding-bottom: 4em;
    }

    .container {
        padding-right: 5vw;
        padding-left: 5vw;
    }
}

/* ------------------------- Buttons -------------------------------------------------- */

.btn {
    display: inline-block;
    margin-right: 1em;
    margin-bottom: 1em;
    padding: 1em 1.5em .9em 1.5em;
    background-color: var(--primary);
    color: var(--white);
    line-height: 1;
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;    
    -webkit-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 0.5em;
}

.btn:hover {
    background-color: var(--white);
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}

.btn .btn-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn .btn-text {
    display: inline-block;
    margin-right: 0.25em;
    margin-left: 0.25em;
    line-height: 1.1em;
    transform: translate(0, -.05em);
}

.btn .btn-icon {
    position: relative;
    display: flex;
    overflow: hidden;
    width: 1.1em;
    height: 1.1em;
    margin-right: 0.25em;
    margin-left: 0.25em;
    clear: none;
    justify-content: center;
    flex-wrap: nowrap;
    align-items: center;
    flex: 0 auto;
}

.btn .btn-icon svg {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 0%;
    justify-content: center;
    align-items: center;
    align-self: auto;
}

.btn .button-text-light {
    opacity: 0.6;
    font-weight: 400;
}

.btn.full-width {
    width: 100%;
    margin-right: 0em;
    margin-bottom: 0em;
}

/* --- Button Options --- */

.btn.rounded {
    border-radius: 2em;
    padding: 1.15em 2em 1em 2em;
}

.btn.light:hover {
    background-color: var(--bg-medium);
    color: var(--primary-medium);
}

.btn.light {
    background-color: var(--white);
    color: var(--primary);
}

.btn.light:hover {
    background-color: var(--bg-medium);
    color: var(--primary-medium);
}


.btn.secondary {
    background-color: var(--white);
    color: var(--primary);
}

.btn.secondary:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn.dark {
    background-color: transparent;
    color: var(--white);
}

.btn.dark:hover {
    background-color: transparent;
    color: var(--text-dark);
}

.btn.outline {
    background-color: transparent;
    box-shadow: inset 0 0 0 1px var(--primary);
    color: var(--primary);
}
  
.btn.outline:hover {
    background-color: var(--white);
}

.btn.full-width .btn-wrap {
    justify-content: center;
}

/* ------------------------- Social Icons -------------------------------------------------- */

.s-icon {
    position: relative;
    overflow: hidden;
    width: 2em;
    height: 2em;
    margin-right: 0.25em;
    margin-bottom: 0.25em;
    border-radius: 50%;
    background-color: var(--primary-dark);
    -webkit-transition: background-color .25s ease-in-out;
    transition: background-color .25s ease-in-out;
    display: block;
    float: left;
}

.s-icon .s-icon-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 66%;
}

.s-icon .s-icon-wrap svg {
    display: block;
}

.s-icon .s-icon-wrap svg path {
    fill: var(--white);
}

.s-icon:hover {
    background: var(--primary);
    cursor: pointer;
}




/* ------------------------- Color Box -------------------------------------------------- */

.color-box {
    width: calc(33.333% - 0.6666em);
    background: var(--white);
    font-weight: 500;
    color: var(--primary-dark);
    margin-right: 1em;
    margin-bottom: 1em;
    border-radius: 0.5em;
}

.color-box:nth-child(3), .color-box:nth-child(6) {
    margin-right: 0;
}

.color-box:before {
    content: "";
    display: block;
    padding-top: 40%;
}

.color-box .overlay {
    padding: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.color-box .light {
    opacity: .6;
}

.color-box.primary {
    background: var(--primary);
    color: var(--white);
}

.color-box.primary-medium {
    background: var(--primary-medium);
    color: var(--white);
}

.color-box.black {
    background: var(--black);
    color: var(--white);
    box-shadow: inset 0 0 0 2px var(--border);
}

.color-box.aqua {
    background: var(--aqua);
    color: var(--black);
}

.color-box.magenta {
    background: var(--magenta);
    color: var(--white);
}

.color-box.white {
    background: var(--white);
    color: var(--black);
}

.color-box.white {
    background: var(--white);
}

.color-box.gray {
    background: var(--bg-dark);
}

@media screen and (max-width: 1000px){
    .color-box {
        width: calc(50% - .5em);
    }
    
    .color-box:nth-of-type(1), .color-box:nth-of-type(3), .color-box:nth-of-type(5) {
        margin-right: 1em;
    } 

    .color-box:nth-child(even) {
        margin-right: 0;
    } 
}

@media screen and (max-width: 720px){
    .color-box {
        width: 100%;
    }

    .color-box:nth-child(even), .color-box:nth-child(odd) {
        margin-right: 0;
    } 
}


/* ------------------------- Text Block -------------------------------------------------- */

.textblock p + h1, .textblock p + h2, .textblock ul + h1, .textblock ul + h2, .textblock ol + h1, .textblock ol + h2 {
    margin-top: .75em;
}

.textblock p + h3, .textblock ul + h3, .textblock ol + h3 {
    margin-top: 1.75em;
}

.textblock p + p strong, .textblock ul + p strong, .textblock ol + p strong {
    margin-top: .75em;
    margin-bottom: .5em;
    display: inline-block;
}

/*  Strong (bold)  */

.textblock strong {
    font-weight: 600;
    color: var(--white);
}

/*  EM (italic)  */

.textblock em {
    color: inherit;
}

/*  IMG  */

.textblock img {
    padding-top: 1em;
    padding-bottom: 2em;
    width: 100%;
}

/*  UL (bullet Points)  */

.textblock ul {
    padding: 0;
    display: inline;
    width: 100%;
}

.textblock ul li {
    line-height: 1.5;
    color: var(--text);
    padding-left: 1.5em;
    margin-bottom: 1em;
    position: relative;
}

.textblock ul li:before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    position: absolute;
    background: var(--primary);
    left: .1em;
    top: .55em;
}

/*  OL  */

.textblock ol {
    padding: 0;
    display: inline;
    width: 100%;
}

.textblock ol li {
    line-height: 1.5;
	list-style: decimal;
    color: var(--text);
    margin-bottom: 1em;
    position: relative;
    margin-left: 1.2em;
    padding-left: .4em;
}



/* ------------------------- Form -------------------------------------------------- */

.form {
     width: 100%;
    display: block;
}

.form-container {
    width: 100%;
}

.hidden-field {
    position: absolute;
    left: -9999px;
}

.form input, .form textarea, .form select {
    border:0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
 }

.grecaptcha-badge { 
    top: calc(100% - 120px) !important; 
    transform: translate(0, -50%);
    box-shadow: rgba(0, 0, 0, 0.20) 0px 2px 5px !important;
    visibility: hidden;
}

.form-col {
    display: block;
    width: 100%;
    margin-bottom: 2em;
}

.form .field {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    width: 100%;
    padding: 1em 1.25em 1em 1.25em;
    border: 2px solid var(--black);
    border-radius: 0;
    font-weight: 400;
    font-size: 1em;
    color: var(--black);
    display: block;
    border-radius: .5em;
}

.form .field:focus {
    outline: 0;
    outline-width: 1px !important;
    outline-offset: 0px;
    border-radius: .5em;
    border: 2px solid var(--primary);
}

.form .field::-webkit-input-placeholder, 
.form .field:-ms-input-placeholder,
.form .field::-ms-input-placeholder,
.form .field::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.form textarea.field {
    min-height: 10em;
    padding-top: 1em;
    resize: vertical;
}

.form .label {
    width: 100%;
    display: block;
    margin-bottom: 1em;
    color: var(--white);
    font-size: .75em;
    font-weight: 500;
}

.form .label span {
    color: var(--alert-error);
    font-weight: 700;
}

.form .form-btn {
    padding-left: 1.5em;
    padding-right: 1.5em;
    
}

/* --- Arlert Options --- */

.alert {
    width: 100%;
    padding: .4em .5em .6em .5em;
    border-style: solid;
    border-width: 1px;
    border-color: var(--alert-error);
    background-color: rgba(255, 71, 71, 0.2);
    text-align: center;
    margin: 1em 0;
}

.alert span {
    color: var(--alert-error);
    font-size: .8em;
    font-weight: 500; 
}

.alert-success {
    border-color: var(--alert-success);
    background-color: rgba(11, 160, 78, 0.2);
}

.alert-success span {
    color: var(--alert-success);
}

/* --- Custom Checkbox --- */

.form .checkbox-button {
    display: flex;
    margin-bottom: 1em;
    padding-left: 1.25em;
    align-items: center;
    font-size: 1em;
    font-weight: 500;
}

.form .checkbox-button:hover {
    cursor: pointer;
}

.form .checkbox-button input {
    opacity: 0;
    position: absolute;
    z-index: -1
}

.form .checkbox-button span {
    height: 1.1em;
    margin-bottom: 0px;
    color: var(--text-light);
    order: 2;
    display: inline-block;
}

.form .checkbox-button .custom-check {
    position: relative;
    order: 1;
    width: 20px;
    height: 20px;
    margin-top: 0em;
    margin-right: 0.5em;
    margin-left: -1.25em;
    border: 1px solid var(--primary);
    border-radius: 0em;
    box-shadow: 0;
    overflow: hidden;
}

.form .checkbox-button .custom-check:after {
    display: block;
    opacity: 0;
    visibility: hidden;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0; 
    position: absolute;
    background-color: var(--primary);
    background-image: url("../img/form-checkmark.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.form .checkbox-button input:checked ~ .custom-check:after {
    opacity: 1;
    visibility: visible;
}

.form .checkbox-button:hover input ~ .custom-check {
    background-color: var(--black);
}

.form .checkbox-button input:checked ~ .custom-check {
    background-color: var(--primary);
    border: 1px solid var(--primary);
}

.form .checkbox-button input:checked ~ span {
    color: var(--white);
    font-weight: 500;
}


/* --- Custom Radio --- */

.form .checkbox-button .custom-radio {
    position: relative;
    order: 1;
    width: 20px;
    height: 20px;
    margin-top: 0em;
    margin-right: 0.5em;
    margin-left: -1.25em;
    border: 1px solid var(--primary);
    border-radius: 0em;
    box-shadow: 0;
    overflow: hidden;
    border-radius: 50%;
}

.form .checkbox-button .custom-radio:after {
    display: block;
    opacity: 0;
    visibility: hidden;
    content: "";
    width: 6px;
    height: 6px;
    top: 6px;
    left: 6px; 
    position: absolute;
    background: var(--white);
    border-radius: 50%;
}

.form .checkbox-button input:checked ~ .custom-radio:after {
    opacity: 1;
    visibility: visible;
}

.form .checkbox-button:hover input ~ .custom-radio {
    background-color: var(--black);
}

.form .checkbox-button input:checked ~ .custom-radio {
    background-color: var(--primary);
    border: 1px solid var(--primary);
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: #000;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
    box-shadow: 0 0 0px 1000px #fff inset;
    transition: background-color 5000s ease-in-out 0s;
}

input[type=radio] {
    -webkit-appearance: none;
}


