.top-avatar-image {
    width: 13rem;
    background: linear-gradient(#f79130, #676889);
}


/*Typewriter start*/

.var-highlight {
    color: #c0ad60;
}

.string-highlight {
    color: rgba(253, 149, 90, 0.8);
}

#typewriter {
    word-break: break-word;
    font-size: 2em;
    margin: 0;
    color: #88d0f3;
    font-family: "Courier New";
}

#typewriter:after {
    content: "|";
    animation: blink 500ms linear infinite alternate;
}

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

@-moz-keyframes blink {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

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


/*Typewriter end*/

@media only screen and (max-width: 480px) {
    .avatar-alignment {
        margin: auto;
    }
}

.shim-green {
    position: relative;
    overflow: hidden;
    background-color: rgba(0, 255, 0, 0.7);
}

.shim-green::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient( 90deg, rgba(233, 233, 233, 1) 0, rgba(233, 233, 233, 0.9) 50%, rgba(233, 233, 233, 0.8) 100%);
    animation: shimmer 2s ease-out infinite;
    content: "";
}

.shim-blue {
    position: relative;
    overflow: hidden;
    background-color: rgba(0, 155, 255, 0.7);
}

.shim-blue::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient( 90deg, rgba(233, 233, 233, 1) 0, rgba(233, 233, 233, 0.9) 50%, rgba(233, 233, 233, 0.8) 100%);
    animation: shimmer 2.5s ease-out infinite;
    content: "";
}

.shim-red {
    position: relative;
    overflow: hidden;
    background-color: rgba(255, 0, 0, 0.7);
}

.shim-red::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient( 90deg, rgba(233, 233, 233, 1) 0, rgba(233, 233, 233, 0.9) 50%, rgba(233, 233, 233, 0.8) 100%);
    animation: shimmer 3s ease-out infinite;
    content: "";
}

@keyframes shimmer {
    100% {
        transform: translateX(0%);
        opacity: 0;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

.pulse:hover {
    animation: none;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(238, 142, 31, 0.4);
    }
    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(189, 128, 58, 0.4);
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
    }
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.4);
        box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.4);
    }
    70% {
        -moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
        box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
    }
    100% {
        -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
        box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
    }
}

.testing_class .flex {
    height: 10rem;
    /* width: 12rem; */
}

.testing_class .flex img {
    height: 100%;
    width: 100%;
}


/* Things used in the project button animation start */

.glow-on-hover {
    border: none;
    outline: none;
    color: #fff;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
    padding-bottom: 5px;
    padding-top: 5px;
}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 5px;
}

.glow-on-hover:active {
    color: #000
}

.glow-on-hover:active:after {
    background: transparent;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(230, 97, 97);
    left: 0;
    top: 0;
    border-radius: 5px;
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}


/* Things used in the project button animation end */


/*Social media icons start*/

.btn-outline {
    margin-top: 15px;
    border: solid 1px #bbbbbb;
    font-size: 24px;
    color: #000000;
    background: 0 0;
    transition: all .3s ease-in-out;
}

.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active,
.btn-outline.active {
    border: solid 1px #bbbbbb;
    color: #000;
    background: #bbbbbb;
}

.btn-social {
    display: inline-block;
    width: 48px;
    height: 48px;
    border: 1px solid #000000;
    border-radius: 100%;
    text-align: center;
    font-size: 24px;
    line-height: 46px;
}

.list-inline {
    padding-left: 0;
    list-style: none;
    margin-left: -5px;
}

.list-inline>li {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
}

.social-links {
    -webkit-animation: fade-in-down 0.9s;
    animation: fade-in-down 0.9s;
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}


/* Animations */

@-webkit-keyframes fade-in-down {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fade-in-down {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}


/*Social media icons end*/


/*Contact links effects start*/

.underline_on_hover {
    display: inline-block;
    position: relative;
    color: #111416;
    text-decoration: none;
}

.underline_on_hover::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    border-radius: 5px;
    height: 0.05em;
    bottom: 0;
    left: 0;
    background: currentcolor;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.underline_on_hover:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}


/*Contact links effects end*/


/*Projects block hover border effect start*/

.block-border-animation {
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
    outline: 1px solid;
    outline-color: rgba(255, 255, 255, .5);
    outline-offset: 0px;
    text-shadow: none;
    transition: all 100ms cubic-bezier(0.19, 1, 0.22, 1);
}

.block-border-animation:hover {
    border-width: 3px;
    border-style: solid;
    border-image: linear-gradient( to bottom, rgb(255, 230, 0), rgb(230, 33, 33)) 1 100%;
}


/*Projects block hover border effect end*/


/*block shaking on hover start*/

.scale-image-animation:hover {
    animation: shake 0.82s cubic-bezier(.36, .07, .19, .97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes shake {
    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }
    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }
    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}


/*block shaking on hover end*/


/*Dark mode start*/

.theme-toggle {
    width: var(--width);
    height: var(--height);
}

.theme-toggle input[type="checkbox"] {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
    width: var(--width);
    height: var(--height);
}

.theme-toggle .toggle-body {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--width);
    height: var(--height);
    border: 2px solid #080808;
    border-radius: var(--height);
    transition: all 80ms ease-in-out;
}

.theme-toggle input[type="checkbox"]~.toggle-body {
    background: #1d1d1d;
    background-image: url("images/9be3ef5e-cf68-4fac-9bd5-82714468aed6_1e7b6b11b5b398711c60f2b71cdf9b03.html");
    background-size: cover;
}


/*
https://i.giphy.com/media/U3qYN8S0j3bpK/giphy.webp
*/

.theme-toggle input[type="checkbox"]:checked~.toggle-body {
    background: #82dfff/*#EDBCD4*/
    ;
    background-image: url("");
    background-size: cover;
    border-color: #89cbf9/*#CAAAB7*/
    ;
}


/*
https://i.giphy.com/media/tQgB6lM6XCle8/giphy.webp
*/

.theme-toggle input[type="checkbox"]~.celestial-body {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 2px solid #fff08e/*white*/
    ;
    border-radius: 100%;
    background: #fff5c4/*#F0F0FA*/
    ;
    transition: all 80ms ease-in-out;
}

.theme-toggle input[type="checkbox"]:not(:checked)~.celestial-body {
    top: 3px;
    left: 3px;
}

.theme-toggle input[type="checkbox"]:checked~.celestial-body {
    top: 3px;
    left: calc(100% - 27px);
    background: #ff9900/*#F2E9BD*/
    ;
    border-color: #ddceb1;
}

.theme-toggle input[type="checkbox"]~.celestial-body::after {
    content: " ";
    opacity: 0;
    position: absolute;
    left: -20px;
    transition: left 0.13s ease-in, opacity 0.15s ease-out;
}

.theme-toggle input[type="checkbox"]:checked~.celestial-body::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: -25px;
    display: block;
    opacity: 1;
    width: 20px;
    height: 20px;
    background: url("../images/9be3ef5e-cf68-4fac-9bd5-82714468aed6_Vector%201%20(1.html).svg");
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
}

#page_view_mode_type {
    font-size: 11px;
    position: relative;
    top: 28px;
    left: 2px;
}


/*Dark mode end*/