.dark-mode .social-icon {
    filter: invert(1);
}
.thm_font {
	height: fit-content !important;
}

h2 {
    text-align: center;
}

html {
    scroll-behavior: smooth;
}

.display-4 {
    text-align: center;
}

.row {
    --spread: 60;
    display: flex;
    flex-wrap: wrap;
    flex-direction: var(--direction);
    gap: calc(var(--gap) * 1px);
    margin: 0 auto;
    justify-content: center;
    place-items: center;
    position: relative;
    padding: 2rem;
    touch-action: auto;
}

.glows {
    pointer-events: none;
    position: absolute;
    inset: 0;
    filter: blur(calc(var(--blur) * 1px));
}

.glows::after,
.glows::before {
    --alpha: 0;
    content: "";
    background: var(--gradient);
    background-attachment: fixed;
    position: absolute;
    inset: -5px;
    border: 10px solid transparent;
    border-radius: var(--border-radius);
    mask: linear-gradient(#0000, #0000),
        conic-gradient(
            from calc((var(--start) - (var(--spread) * 0.5)) * 1deg),
            #000 0deg,
            #fff,
            #0000 calc(var(--spread) * 1deg)
        );
    mask-composite: intersect;
    mask-clip: padding-box, border-box;
    opacity: var(--active);
    transition: opacity 1s;
}

.col {
    display:grid;
    justify-content: center;
}

.col-md-12:is(:hover, :focus-visible){
    z-index: 2;
}

.col-md-12 {
    --active: 0.15;
    --start: 0;
    height: 100%;
    background: var(--card);
    padding: 1.4rem;
    border-radius: var(--border-radius);
    min-width: 280px;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, min-height 0.3s ease-in-out,
    padding 0.3s ease-in-out, height 0.3s ease-in-out;
}

.dark-mode .col-md-12 {
    background: hsl(240, 17.6%, 10%);
}

.col-md-12::before {
    position: absolute;
    inset: 0;
    border: var(--border-width) solid transparent;
    content: "";
    border-radius: var(--border-radius);
    pointer-events: none;
    background: var(--border);
    background-attachment: fixed;
    border-radius: var(--border-radius);
    mask: linear-gradient(#0000, #0000),
        conic-gradient(
            from
                calc(
                    (
                            (var(--start) + (var(--spread) * 0.25)) -
                                (var(--spread) * 1.5)
                        ) * 1deg
                ),
            hsl(0 0% 100% / 0.15) 0deg,
            white,
            hsl(0 0% 100% / 0.15) calc(var(--spread) * 2.5deg)
        );
    mask-clip: padding-box, border-box;
    mask-composite: intersect;
    opacity: var(--active);
    transition: opacity 1s;
}

.col-md-12::after {
    --bg-size: 100%;
    content: "";
    pointer-events: none;
    position: absolute;
    background: var(--gradient);
    background-attachment: fixed;
    border-radius: var(--border-radius);
    opacity: var(--active, 0);
    transition: opacity 1s;
    --alpha: 0;
    inset: 0;
    border: var(--border-width) solid transparent;
    mask: linear-gradient(#0000, #0000),
        conic-gradient(
            from
                calc(
                    (
                            (var(--start) + (var(--spread) * 0.25)) -
                                (var(--spread) * 0.5)
                        ) * 1deg
                ),
            #0000 0deg,
            #fff,
            #0000 calc(var(--spread) * 0.5deg)
        );
    filter: brightness(1.5);
    mask-clip: padding-box, border-box;
    mask-composite: intersect;
}

:not(pre) > code[class*="language-"], pre[class*="language-"] {
    background: #f2f2f2 !important;
}

code[class*="language-"], pre[class*="language-"] {
    font-size: small !important;
    color: #000 !important;
    text-shadow: none !important;
}

.dark-mode .card-body :not(pre) > code[class*="language-"],
.dark-mode pre[class*="language-"] {
    background: #161620 !important;
}

.dark-mode .card-body [class*="language-"], 
.dark-mode pre[class*="language-"] {
    font-size: small !important;
    color: #fff !important;
    text-shadow: 0 1px #000 !important;
}

.language-css .token.string, .style .token.string, .token.entity, .token.operator, .token.url {
    color: #e49300 !important;
    background: none !important;
  }

/* */

@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap");

.dropdown-item {
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    color: #fff !important; /* make the text color white */
    background-color: #191924 !important; /* make the background color dark */
    font-family: Arial, Helvetica, sans-serif !important;
}

.dropdown-item:hover {
    background-color: #6c757d; /* make the background color lighter on hover */
    color: #fff; /* keep the text color white on hover */
}
.dark-mode {
    background-color: hsl(240, 18%, 12%);
    color: #fff;
}

.dark-mode .navbar {
    background: #191924 !important;
    box-shadow:  0px 0.5px 0px rgb(138, 138, 138) !important;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
.dark-mode .card {
    background-color: hsla(0, 0%, 100%, 0.01);
    color: #ffffff;
}
.dark-mode .jumbotron {
    background-color: #292e33;
    background: var(--bg-url) repeat 0 0;
    animation: bg-scrolling-reverse 0.92s infinite;
    animation-timing-function: linear;
    background-blend-mode: difference;
    background-color: white;
}
.dark-mode .footer {
    background-color: #11111a !important;    
    color: #fff;
}
.dark-mode .timeline .container::before {
    background-color: #fff;
}

.dark-mode .about .card {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        var(--bg-url) repeat 0 0;
    background-color: #1c1c27;
    background-blend-mode: overlay;
}

.navbar {
    background: #191924 !important;
    box-shadow:  0 0.1rem 0 rgba(255, 255, 255, 0.18) !important;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.btn-secondary {
    font-family: Arial, Helvetica, sans-serif !important;
    background-color: #313242 !important;
    border-color: #343a40 !important;
}

.jumbotron {
    background: var(--bg-url) repeat 0 0;
    animation: bg-scrolling-reverse 0.92s infinite;
    animation-timing-function: linear;
    background-blend-mode: normal;
    position: relative;
    width: 100%;
}

.lead {
    font-size: 1.25rem !important;
    font-weight: 135 !important;
    text-align: center;
}

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

html,
body {
    height: 100%;
}

body {
    display: table;
    width: 100%;
    height: 100%;
    color: #000;
    line-height: 1.6;
    position: relative;
    font-family: sans-serif;
}

h1.display-3 {
    font-family: "Open Sans";
    font-weight: 300;
    font-size: 4rem;
    line-height: 1.2;
}

main {
    min-width: -moz-available;
    background-blend-mode: overlay;
}

.dark-mode main {
    background-color: hsl(240, 18%, 12%);
}

@media (max-width: 576px) {
    .col-md-12 {
      width: 100%;
      margin: 0;
    }
  }

@media (max-width: 576px) {
.card form {
    flex-direction: column;
}
.card form .form-group {
    width: 100%;
}
}

.card {
    transition: transform 0.3s ease-in-out, min-height 0.3s ease-in-out,
        padding 0.3s ease-in-out, height 0.3s ease-in-out;
    background-color: #f2f2f2;
    overflow: hidden;
    min-height: 1px;
    width:inherit;
}

.card:hover {
    transform: scale(
        1.05
    ); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

.col-md-12:hover {

    transform: scale(
        1.05
    );
}

.text-center {
    animation: tracking-in-expand-fwd 0.9s cubic-bezier(0.215, 0.61, 0.355, 1)
        both;
}
@import "normalize.css";

@font-face {
    font-family: "Geist Sans";
    src: url("https://assets.codepen.io/605876/GeistVF.ttf") format("truetype");
}

:root {
    --border: hsl(280 10% 50% / 1);
    --card: hsl(0, 0%, 100%);
    --color: hsl(240 18% 0%);
    --border-width: 2px;
    --border-radius: 12px;
    --gradient: conic-gradient(
        from 180deg at 50% 70%,
        hsla(0, 0%, 98%, 1) 0deg,
        #eec32d 72.0000010728836deg,
        #ec4b4b 144.0000021457672deg,
        #709ab9 216.00000858306885deg,
        #4dffbf 288.0000042915344deg,
        hsla(0, 0%, 98%, 1) 1turn
    );
}

*,
*:after,
*:before {
    box-sizing: border-box;
}

@property --start {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

body {
    background: var(--bg);
    display: grid;
    place-items: center;
    min-height: 100vh;
    font-family: "Geist Sans", "SF Pro Text", "SF Pro Icons", "AOS Icons",
        "Helvetica Neue", Helvetica, Arial, sans-serif, system-ui !important;
    font-weight: 130 !important;
    color: var(--color);
}

.container {
    --spread: 60;
    display: flex;
    flex-wrap: wrap;
    flex-direction: var(--direction);
    gap: calc(var(--gap) * 1px);
    margin: 0 auto;
    justify-content: center;
    place-items: center;
    position: relative;
    padding: 2rem;
    touch-action: auto;
}

.dark-mode .col-sm-4 {
    background: hsl(240, 18%, 12%);
}

.row {
    gap: inherit;
    flex-wrap: initial !important;
}

:root {
    --bg-url: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAABnSURBVHja7M5RDYAwDEXRDgmvEocnlrQS2SwUFST9uEfBGWs9c97nbGtDcquqiKhOImLs/UpuzVzWEi1atGjRokWLFi1atGjRokWLFi1atGjRokWLFi1af7Ukz8xWp8z8AAAA//8DAJ4LoEAAlL1nAAAAAElFTkSuQmCC");
    --bg-width: 50px;
    --bg-height: 50px;
}

@keyframes bg-scrolling-reverse {
    100% {
        background-position: var(--bg-width) var(--bg-height);
    }
}

@keyframes bg-scrolling {
    0% {
        background-position: var(--bg-width) var(--bg-height);
    }
}
