/*******************************************************************************

Copyright (c) Twin Leaf Entertainment LLC. All Rights Reserved.

  Included common styles:

  + Nunito fonts (lighter and normal weights)
  + loader (standard 100px loading icon)
  + animate-bottom (transition effect for divisions to appear from the bottom)
  + fade-in (transition to fade in to appear)
  + back-button
  + success-checkmark
  + error-label
  + header-label
*******************************************************************************/


/* Imported fonts from files */

@font-face {
    font-family: 'Nunito';
    font-weight: lighter;
    src: url(../fonts/Nunito-Light.woff) format('woff');
}

@font-face {
    font-family: 'Nunito';
    font-weight: normal;
    src: url(../fonts/Nunito-Regular.woff) format('woff');
}


/* Animation to make content appear from the bottom */

.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
}

@-webkit-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }
    to {
        bottom: 0px;
        opacity: 1
    }
}

@keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }
    to {
        bottom: 0;
        opacity: 1
    }
}


/* Credits for fade in css code: https://blog.hubspot.com/website/css-fade-in#:~:text=A%20CSS%20fade%20transition%20is,or%20animation%20property%20in%20CSS. */

.fade-in {
    position: relative;
    animation-name: fadeIn;
    animation: fadeIn linear 0.75s;
    -webkit-animation: fadeIn linear 0.75s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 100px;
    height: 100px;
    margin: -56px 0 0 -56px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.back-button {
    color: #fff !important;
    text-decoration: none;
    text-transform: uppercase;
    background: #35b1b9;
    font-family: 'Nunito';
    font-size: 15px;
    padding: 5px 20px;
    border-radius: 5px;
    display: inline-block;
    border: none;
    transition: all 0.4s ease 0s;
}

.back-button:hover {
    background: #26717e;
    -webkit-box-shadow: 0px 5px 40px -10px rgba(35, 94, 104, 0.57);
    -moz-box-shadow: 0px 5px 40px -10px rgba(35, 94, 104, 0.57);
    box-shadow: 5px 40px -10px rgba(35, 94, 104, 0.57);
    transition: all 0.4s ease 0s;
}

.back-button:active {
    position: relative;
    top: 1px;
}


/**
  * Credits to below contributors for the following checkmark style and associated elements:
    * Extracted from: SweetAlert
    * Modified by: Istiak Tridip
 */

.success-checkmark {
    width: 80px;
    height: 115px;
    margin: 0 auto;
}

.check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #4CAF50;
}

.check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
}

.check-icon::before,
.check-icon::after {
    content: '';
    height: 100px;
    position: absolute;
    background: #FFFFFF;
    transform: rotate(-45deg);
}

.icon-line {
    height: 5px;
    background-color: #2594c0;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
}

.icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
}

.icon-circle {
    top: -4px;
    left: -4px;
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 4px solid rgb(38, 144, 177);
}

.icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: #FFFFFF;
}

@keyframes rotate-circle {
    0% {
        transform: rotate(-45deg);
    }
    5% {
        transform: rotate(-45deg);
    }
    12% {
        transform: rotate(-405deg);
    }
    100% {
        transform: rotate(-405deg);
    }
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }
    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }
    100% {
        width: 25px;
        left: 14px;
        top: 45px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    84% {
        width: 55px;
        right: 0px;
        top: 35px;
    }
    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}

.error-label {
    font-size: 20px;
    font-family: 'Nunito';
    font-weight: normal;
    color: firebrick;
    padding: 30px 30px 30px 30px;
}

.header-label {
    text-transform: uppercase;
    font-size: 30px;
    font-family: 'Nunito';
    font-weight: normal;
    padding: 60px 60px 60px 60px;
}

.animate-right {
    position: relative;
    -webkit-animation-name: animateright;
    -webkit-animation-duration: 1s;
    animation-name: animateright;
    animation-duration: 1s
}

@-webkit-keyframes animateright {
    from {
        right: -100px;
        opacity: 0
    }
    to {
        right: 0px;
        opacity: 1
    }
}

@keyframes animateright {
    from {
        right: -100px;
        opacity: 0
    }
    to {
        right: 0;
        opacity: 1
    }
}

footer {
    position: relative;
    height: 100px;
    width: 100%;
    bottom: 0;
}

p.copyright {
    position: absolute;
    width: 100%;
    font-size: 20px;
    font-family: 'Nunito';
    color: rgb(0, 0, 0);
    line-height: 40px;
    font-size: 0.7em;
    text-align: center;
    bottom: 0;
    left: 0;
}
