/*/\/ © 2020 By ChalanaN. All Rights Reseved. /\/*/
/* Created By ChalanaN // Instagram @chalana_n // Email wchalanaw@gmail.com // Blog chalanan.blogspot.com */

@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca&display=swap');

:root {
    --yellow: #ffeb3b;
    --purple: #e02bff;
    --highlightblue: #03b1ff;
    --highlightgreen: #74ff3b;
    --highlightpink: #ff3077;
}

/*/// Buttons ///*/

/* Squre Buttons */
.SqureButton {
    border: 1px solid #3498db;
    background: none;
    padding: 10px 20px;
    font-size: 20px;
    font-family: 'Montserrat';
    cursor: pointer;
    margin: 10px;
    outline: 0;
    transition: 0.8s;
    position: relative;
    overflow: hidden;
}

.SqureButton1, .SqureButton2 {
    color: #3498db;
}

.SqureButton1:hover, .SqureButton2:hover {
    color: #ffffff;
}

.SqureButton3, .SqureButton4 {
    color: #ffffff;
}

.SqureButton3:hover, .SqureButton4:hover {
    color: #3498db;
}

.SqureButton::before {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: #3498db;
    z-index: -1;
    transition: 0.8s;
}

.SqureButton1::before, .SqureButton3::before {
    top: 0;
    border-radius: 0 0 50% 50%;
}

.SqureButton2::before, .SqureButton4::before {
    bottom: 0;
    border-radius: 50% 50% 0 0;
}

.SqureButton3::before, .SqureButton4::before {
    height: 180%;
}

.SqureButton1:hover::before, .SqureButton2:hover::before {
    height: 180%;
}

.SqureButton:hover::before, .SqureButton4:hover::before {
    height: 0%;
}

/* End Squre Buttons */

/* Cool Buttons */

.CoolButton {
    background-color: white;
    font-family: 'Lexend Deca', sans-serif;
    text-decoration: none;
    color: black;
    height: auto;
    width: 300px;
    line-height: 80px;
    border-radius: 5px;
    display: flex;
    transition: 0.35s;
    overflow: hidden;
    box-shadow: 0 0 20px 0 #008cffc5;
}

body.dark .CoolButton {background-color: #242424;color: #f0f0f2;}

.CoolButton:hover {
    width: 110px!important;
    transform: scale(1.2);
}

.CoolButton #b {
    font-size: 30px;
    padding: 24px;
    background-color: #66c7ff;
    color: white;
    margin-right: 20px;
    border-radius: 5px;
    transition: 0.35s;
}

.CoolButton:hover #b {
    padding: 24px 40px;
}

.CoolButton .far {
    margin-left: 100px;
    margin-right: 10px;
    line-height: 80px;
}

.CoolButton p {
    font-size: 20px;
    white-space: nowrap;
    margin: 0;
    font-family: 'Lexend Deca', sans-serif!important;
}

.CoolButton #s {
    text-align: right;
}

/* End Cool Buttons */

/*/// End Buttons ///*/

/*/// Inputs ///*/

/* Text Boxses */

.TextBoxSimple {
    width: 200px;
    height: 35px;
    font-family: 'Montserrat';
    padding-left: 7px;
    border-radius: 0.5em;
    background-color: #fdfdff;
    border: #fdfdff;
    box-shadow: 2px 3px 7px 2px rgba(0,0,0,0.04);
    transition: all 0.35s ease-in-out;
    outline: 0;
}

.TextBoxSimple:hover {
    background-color: #f8f8f8;
    border: #f8f8f8;
}

.TextBoxSimpleSearch {
    width: 250px;
    height: 30px;
    padding-left: 15px;
    border-radius: 2em;
    background-color: #fdfdff;
    border: #fdfdff;
    box-shadow: 2px 3px 7px 2px rgba(0, 0, 0, 0.068);
    transition: all 0.35s ease-in-out;
}

.googleInput input,
.googleInput textarea {
    outline: none;
    border: 1px solid #aaa;
    border-radius: 5px;
    width: calc(100% - 30px);
    height: 60%;
    position: absolute;
    bottom: 0px;
    left: 0px;
    font-size: 16px;
    padding: 5px;
    background: none;
    transition: 0.35s;
    font-family: 'Montserrat', sans-serif;
}
.googleInput span {
    position: absolute;
    bottom: 5px;
    left: 5px;
    transform: translateY(-20%);
    z-index: 1;
    background: white;
    padding: 2px;
    transition: 0.35s;
}
.googleInput input:focus + span,
.googleInput input:valid + span,
.googleInput textarea:focus + span,
.googleInput textarea:valid + span {
    bottom: 100%;
    transform: translateY(85%);
    font-size: 12px;
    color: #777777;
}

.googleInput input:focus + span,
.googleInput textarea:focus + span {
    color: #4285F4;
}

/* End TexBoxses */

/* Check Boxses */

.toggle-switch {
    appearance: none;
    -webkit-appearance: none;
    width: 3em;
    height: 1.5em;
    border-radius: 1.5em;
    background-color: #ddd;
    outline: 0;
    margin-bottom: 0;
    position: relative;
    top: 3px;
    left: 5px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.toggle-switch:checked {
    background-color: #3af;
}

.toggle-switch::after {
    content: '';
    width: 1.5em;
    height: 1.5em;
    background-color: white;
    border-radius: 1.5em;
    position: absolute;
    transform: scale(0.7);
    left: 0;
    transition: all 0.2s ease-in-out;
}

.toggle-switch:checked::after {
    left: 1.5em;
}

/* End Check Boxes */

/*/// End Inputs ///*/

/*/// Back to top ///*/

#back-to-top-old {
    position: fixed;
    right: 50px;
    bottom: 100%;
    opacity: 0;
    color: #fff;
    background: #111;
    padding: 10px 10px;
    font-size: 14px;
    text-align: center;
    border: 3px solid #111;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    z-index: 999;
}

#back-to-top-old.show {
    bottom: 50px;
    opacity: 1;
}

#back-to-top-old.bottom {
    bottom: 20px;
    right: 35px;
    background: #f0f0f2;
    border: 3px solid #f0f0f2;
    color: black;
    width: 14px;
    border-radius: 50%;
}

#back-to-top-old.bottom:hover {
    background-color: #03b1ff;
    color: white;
    border: 3px solid #03b1ff;
}

body.dark #back-to-top-old {
    background-color: #eeeeee;
    color: black;
    border: 3px solid #eeeeee;
    font-weight: 700;
}

/* new */

.back-to-top {
    padding: 6.5px 10px;
    position: fixed;
    bottom: 100px;
    opacity: 0;
    right: 50px;
    z-index: 999;
    transition: all 0.2s;
    border-radius: 50%;
}

.back-to-top:hover {
    animation: shake 100ms linear infinite;
}

.back-to-top.show {
    bottom: 50px;
    opacity: 1;
}

.back-to-top i::before {
    background: none;
    background: -webkit-linear-gradient(45deg, #045de9, #09c6f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.back-to-top i::after {
    background: none;
    background: -webkit-linear-gradient(45deg, #045de9, #09c6f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.back-to-top .flame {
    height: 0;
    width: 0;
    position: absolute;
    top: 70%;
    left: -3px;
    right: 0;
    margin: -5px auto 0;
    border: 3px solid transparent;
    border-top: 25px solid #000;
    border-top-color: #ff8737;
    z-index: -1;
    opacity: 0;
    transition: 0.2s;
}

.back-to-top.going .flame {
    opacity: 1;
    top: 75%;
}

.back-to-top .flame + .flame {
    left: 21px;
    margin: 0;
    border-width: 2px;
    border-top-width: 10px;
}

.back-to-top .flame + .flame + .flame {
    left: auto;
    right: 23px;
    margin: 0;
    border-width: 2px;
    border-top-width: 10px;
}

.back-to-top.bottom {
    bottom: 10px;
    right: 25px;
    background: #ffffff;
    transform: scale(0.7)!important;
    color: black!important;
    padding: 11.5px 13.5px;
}

.back-to-top.bottom i {
    top: 5px;
    font-size: 30px!important;
}

@keyframes shake {
    0% {transform: translate(0px, 0px) rotate(0deg); }
    2% {transform: translate(-2px, 0px) rotate(-1deg); }
    4% {transform: translate(0px, 0px) rotate(-1deg); }
    6% {transform: translate(0px, -2px) rotate(-1deg); }
    8% {transform: translate(0px, 0px) rotate(-1deg); }
    10% {transform: translate(0px, 0px) rotate(-1deg); }
    12% {transform: translate(-2px, 0px) rotate(-1deg); }
    14% {transform: translate(-2px, -2px) rotate(-1deg); }
    16% {transform: translate(0px, 0px) rotate(-1deg); }
    18% {transform: translate(0px, 0px) rotate(-1deg); }
    20% {transform: translate(0px, 0px) rotate(-1deg); }
    22% {transform: translate(-2px, 0px) rotate(-1deg); }
    24% {transform: translate(-2px, 0px) rotate(-1deg); }
    26% {transform: translate(-2px, 0px) rotate(-1deg); }
    28% {transform: translate(-2px, 0px) rotate(-1deg); }
    30% {transform: translate(0px, -2px) rotate(-1deg); }
    32% {transform: translate(0px, 0px) rotate(-1deg); }
    34% {transform: translate(-2px, 0px) rotate(-1deg); }
    36% {transform: translate(-2px, 0px) rotate(-1deg); }
    38% {transform: translate(0px, -2px) rotate(-1deg); }
    40% {transform: translate(0px, 0px) rotate(-1deg); }
    42% {transform: translate(-2px, 0px) rotate(-1deg); }
    44% {transform: translate(-2px, -2px) rotate(-1deg); }
    46% {transform: translate(0px, 0px) rotate(-1deg); }
    48% {transform: translate(0px, -2px) rotate(-1deg); }
    50% {transform: translate(0px, -2px) rotate(-1deg); }
    52% {transform: translate(-2px, 0px) rotate(-1deg); }
    54% {transform: translate(-2px, -2px) rotate(-1deg); }
    56% {transform: translate(0px, 0px) rotate(-1deg); }
    58% {transform: translate(-2px, -2px) rotate(-1deg); }
    60% {transform: translate(0px, 0px) rotate(-1deg); }
    62% {transform: translate(-2px, 0px) rotate(-1deg); }
    64% {transform: translate(0px, -2px) rotate(-1deg); }
    66% {transform: translate(0px, 0px) rotate(-1deg); }
    68% {transform: translate(-2px, 0px) rotate(-1deg); }
    70% {transform: translate(0px, 0px) rotate(-1deg); }
    72% {transform: translate(0px, 0px) rotate(-1deg); }
    74% {transform: translate(-2px, -2px) rotate(-1deg); }
    76% {transform: translate(-2px, -2px) rotate(-1deg); }
    78% {transform: translate(0px, -2px) rotate(-1deg); }
    80% {transform: translate(-2px, 0px) rotate(-1deg); }
    82% {transform: translate(-2px, -2px) rotate(-1deg); }
    84% {transform: translate(-2px, 0px) rotate(-1deg); }
    86% {transform: translate(0px, 0px) rotate(-1deg); }
    88% {transform: translate(0px, -2px) rotate(-1deg); }
    90% {transform: translate(0px, -2px) rotate(-1deg); }
    92% {transform: translate(-2px, -2px) rotate(-1deg); }
    94% {transform: translate(0px, -2px) rotate(-1deg); }
    96% {transform: translate(-2px, 0px) rotate(-1deg); }
    98% {transform: translate(-2px, -2px) rotate(-1deg); }
}

/*/// End Back to top ///*/

#footer {
    background: #333333;
    color: white;
    padding: 30px;
    /* text-align: center; */
    position: relative;
    transition: 0.2s;
    z-index: 900;
}

body.dark #footer {
    background: #242424;
    color: white;
}

#footer #social-footer {
    float: right;
    transform: translateY(-20px);
    transition: all 0.2s;
}

#social-footer.bottom {
    margin-right: 55px;
}

#footer #social-footer a {
    text-decoration: none;
    color: white;
    background-color: #555555;
    border-radius: 50%;
    padding: 0px;
    margin: 10px 5px;
    height: 40px;
    width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 40px;
    transition: 0.2s;
}

#footer #social-footer a:hover {
    background-color: #03b1ff;
}