:root {
    --bg-1: rgb(16, 23, 42);
    --bg-2: #292f43;
    --bg-3: #3f4968;
    --bg-4: #cccfd8;
    --bg-5: #eeeeee;
    
    --highlight-1: #19e6ba;
    --highlight-2: #19e6ba;
    --highlight-3: #169e81;
    --highlight-4: rgb(15, 110, 90);
    --highlight-5: rgb(9, 66, 54);

    --text: white;
    --text-muted-1: rgb(226, 232, 240);
    --text-dark: black;
}

.reset {
    all: revert;
}

p, h1, h2, h3, h4, h5, .form-label {
    color: var(--text) !important;
}

i {
    color: var(--text);
    transition: all .3s ease;

    &:hover {
        color: var(--highlight-1) !important;
    }
}

a {
    text-decoration: none !important;
    color: var(--text) !important;
}

.grecaptcha-badge { 
    visibility: hidden !important;
}

/*Fonts*/
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: local('Roboto Regular'), local('Roboto-Regular'),
        url(https://fonts.gstatic.com/s/roboto/v27/KFOmCnqEu92Fr1Mu4mxK.woff2)
        format('woff2');
    font-display: swap;
}

body {
    font-family: 'Roboto', sans-serif;
}

/* General */
.highlight-text-1 {
    color: var(--highlight-1);
}

.text-muted-1 {
    color: var(--text-muted-1) !important;
}

.text-underline-highlight {
    text-decoration: underline 2px solid var(--highlight-1);
}

.text-sm {
    font-size: .7rem;
    line-height: .7rem;
}

.text-m {
    font-size: .85rem;
    line-height: .85rem;
}

.hover-m-left, .hover-m-right, .hover-target {
    transition: all .3s ease;
}

.hover-m-left:hover .hover-target {
    padding-left: 10px;
}

.hover-m-right:hover .hover-target {
    padding-right: 10px;
}

.hover-highlight {
    transition: color .3s ease;

    &:hover {
        color: var(--highlight-1) !important;
    }
}

.hover-highlight-selected {
    color: var(--highlight-1) !important;
}

.hover-underline {
    text-decoration: 1px solid underline var(--highlight-1) !important;

    &:hover {
        text-decoration: none !important;
    }
}

.no-scroll {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.hero-container {
    padding-top: 100px;
}

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

/*Bootstrap overwrites*/
i {
    transition: all .3s ease;
}

i:hover {
    color: var(--accentBlue);
}

.btn-primary {
    background-color: var(--highlight-4) !important;
    border-radius: 25px !important;
    border-width: 0 !important;
    transition: all .3s ease;

    &:hover {
        background-color: var(--highlight-3) !important;
    }
}

.btn-link {
    display: flex;
    gap: 5px;
    color: var(--bg-5) !important;
    text-decoration: none !important;
    transition: all .3s ease !important;
}

.btn-link:hover > span, .btn-link:hover > i {
    color: var(--highlight-1) !important;
}

.btn-outline {
    border: 1px solid var(--highlight-3) !important;
    color: white !important;
    transition: backgroundColor .3s ease;

    &:hover {
        background-color: var(--highlight-3) !important;
    }
}

.btn-outline-selected {
    background-color: var(--highlight-3) !important;
}

/*nav*/
.navbar-nav {
    border: 1px solid var(--bg-2);
    backdrop-filter: blur(10px);
    background-color: rgba(16, 23, 42, .6);
    border-radius: 25px;
    padding: 0 15px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
}

.nav-link {
    color: white !important;
    transition: all .3s ease;

    &:hover {
        color: var(--highlight-1) !important;
    }
}

.nav-link[data-selected='true'] {
    color: var(--highlight-1) !important;
}

/*Hero*/
.hero-bg {
    min-height: 60vh; 
    width: 100%;
    background: linear-gradient(125deg, var(--bg-3) 5%, var(--bg-1) 38%);
    -webkit-mask: radial-gradient(circle at 15% 30%, black 0%, transparent 20%);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

.hover-tile-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    z-index: 1;
    overflow: hidden;
    padding: 0;
}

.hover-tile {
    background-color: var(--bg-2);
    width: 40px;
    height: 40px;
    margin-bottom: 15px;

    transition: all .5s ease;

    &:hover {
        background-color: var(--highlight-1) !important;
    }
}

.hero-img, .hero-img-overlay {
    pointer-events: none;
}

/* Exp/Education Display Toggle */
.experience-bg {
    height: 100%; 
    width: 100%;
    background: linear-gradient(125deg, var(--bg-1) 5%, var(--bg-2) 38%);
    -webkit-mask: radial-gradient(circle at 95% 50%, black 0%, transparent 20%);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

.btn-slide {
    width: 100%;
    height: 90%;
    border-radius: 25px;
    background-color: none;

    &:hover {
        border: 1px solid white !important;
    }

}

.btn-slide[data-selected="true"]:hover {
    background-color: white !important;
}

.btn-slide[data-selected="true"], .btn-slide[data-selected="true"] h2  {
    background-color: white;
    color: black !important;
}

.slider-content {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity .3s ease;
}

.slider-content[data-selected="true"] {
    height: 100%;
    opacity: 1;
    padding: 10px;
}

.experience-container {
    display: flex;
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 10px;
    /*opacity: 0;*/
    transition: all .5s ease;
    position: relative;
    z-index: 3;

    &:hover {
        background-color: var(--bg-3);
    }
}

.experience-container-sm {
    background-color: var(--bg-4);
}

.experience-container[data-selected="true"] {
    background-color: white;
    border: 2px solid var(--highlight-1);
}

@media(min-width: 992px) {
    .experience-container {
        width: 100%;
    }

    .experience-container[data-selected="true"] {
        border: 1px solid var(--highlight-1);
    }
}

.experience-container[data-selected="true"] .col-12 > p, .experience-container[data-selected="true"] .col-12 > h3  {
    color: black !important;
}

.experience-content {
    max-height: 0;
    opacity: 0;
    padding: 0;
    margin: 0;
    transition: all .3s ease;
    pointer-events: none;
}

.experience-content[data-selected="true"] {
    opacity: 1;
    max-height: fit-content;
    padding-bottom: 150px;
    overflow-y: auto;
    pointer-events: all;
}

.experience-content::-webkit-scrollbar {
    width: 4px;
}

.experience-content::-webkit-scrollbar-track {
    background: var(--highlight-5);
}

.experience-content::-webkit-scrollbar-thumb {
    background: var(--highlight-1);
}

/*Technologies*/
.technology-container {
    background-color: var(--bg-2);
    position: relative;
    transition: backgroundColor .3s ease;
    /*opacity: 0;*/

    &:hover {
        background-color: var(--bg-3);
    }
}

.pulse-lines {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    box-shadow: 0 0 0 0 var(--pulse-color, rgb(255, 255, 255));
    border-radius: 10px;
}

.technology-container:hover .pulse-lines {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 var(--pulse-color, rgba(255, 255, 255, .7));
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 6px var(--pulse-color-hidden, rgba(255, 255, 255, 0));
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 var(--pulse-color-hidden, rgba(255, 255, 255, 0));
    }
}

.tech-project-bg {
    height: 100%; 
    width: 100%;
    background: linear-gradient(125deg, var(--bg-1) 5%, var(--bg-2) 38%);
    -webkit-mask: radial-gradient(circle at 15% 20%, black 0%, transparent 20%);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

/*Project Demo*/
.project-container {
    /*opacity: 0;*/
    background-color: rgba(41, 47, 67, .3);
    border: 2px solid var(--bg-2);
    border-radius: 15px; 
    overflow: hidden;
}

.technology-tag-container {
    background-color: var(--bg-4);
    border-radius: 10px;
    padding: 5px 10px;
    margin-top: auto;
    cursor: auto !important;
    transition: all .3s ease;

    &:hover {
        background-color: var(--highlight-1);
    }
}

.technology-tag-container p {
    color: black !important;
}

.project-view-overlay-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    flex-direction: column;

    pointer-events: none;
    opacity: 0;
    transition: all .5s ease;

    background-color: rgba(16, 23, 42, .5);
}

.project-view-overlay-container[data-display='true'] {
    opacity: 1;
    pointer-events: all;
}

.project-view-overlay-content {
    position: fixed;
    top: 2.5%;
    left: 5%;
    border-radius: 25px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 100px;
    
    width: 90%;
    height: 95%;

    background-color: var(--bg-2);
}

.project-view-overlay-container[data-display='false'] .project-view-overlay-content {
    pointer-events: none;
}

.project-view-overlay-content::-webkit-scrollbar {
    width: 4px;
}

.project-view-overlay-content::-webkit-scrollbar-track {
    background: var(--highlight-5);
}

.project-view-overlay-content::-webkit-scrollbar-thumb {
    background: var(--highlight-1);
}

.project-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all .3s ease;
    pointer-events: none;
}

.project-content[data-display='true'] {
    opacity: 1 !important;
    max-height: fit-content;
    pointer-events: all;
}

.color-palette-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;

    border: 2px solid var(--bg-3);
}


/*Contact*/
.contact-bg {
    height: 100%; 
    width: 100%;
    background: linear-gradient(125deg, var(--bg-1) 5%, var(--bg-2) 38%);
    -webkit-mask: radial-gradient(circle at 40% 70%, black 0%, transparent 20%);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}


#particles-js {
    width: 100%;
    height: 100%;
    background-image: url("");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    z-index: 1;
    position: absolute;
    left: 0;
    top: 0;
}

#du-particles-mask {
    width: 100%;
    height: 100%;
    background-image: url("/imgs/du_mask.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    z-index: 2;
    position: absolute;
    left: 0;
    top: 0;
}

/*Blogs*/
.blog-thumbnail {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}