body {
    font-family: "Ubuntu";
    background-color: rgb(16, 19, 45);
    color: rgb(188, 199, 215);
    overflow-x: hidden;
    transition: 0.1s ease-in-out;
    font-size: 80%;
}

body.light {
    background-color: #f6fcff;
    color: rgb(76, 79, 133)
}

body.light .text-gray {
    color: rgb(76, 79, 133) !important;
}

body.light .highlight-text {
    color: #38b6ff !important;
}

body.light .text-dark {
    color: rgb(135, 142, 184) !important;
}

body.light .bg-dark {
    background-color: #daf1fe !important;
    border: none;
}

body.light .text-light {
    color: #38b6ff !important;
}

body.light .btn-contact {
    color: #38b6ff
}

body.light .btn-contact:hover {
    color: white
}

.hexagon path {
    fill: rgb(76, 79, 133) !important;
}

body.light .hexagon path {
    display: none;
}

.theme-toggle {
    cursor: pointer;
    transition: 0.15s ease-in-out;
}


.carousel-item:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #38b6ff55;
}

.experience-date {
    font-family: monospace;
    text-align: start !important;
}

.text-blue {
    color: #38b6ff;
}

.bg-blue {
    background-color: #38b6ff;
}

.bg-dark {
    background-color: rgb(36, 41, 78) !important;
}

.name-card-container {
    width: auto;
}

hr {
    border-color: #38b6ff;
    margin-bottom: 40px;
    border-width: 2px;
}

.text-light {
    color: rgb(188, 199, 215) !important;
}

.text-gray {
    color: rgb(135, 142, 184) !important;
}

.text-dark {
    color: rgb(76, 79, 133) !important;
}

.accounts-links {
    transition: 0.2s ease-in-out;
}

.accounts-links:hover {
    transform: translate(0px, -3px);
}

.accounts-links a {
    transition: 0.2s ease-in-out;
}

.accounts-links:hover a {
    color: #38b6ff !important;
}

.highlight-text {
    /* text-transform: uppercase; */
    color: rgb(188, 199, 215) !important;
    /* font-weight: 700; */
    text-decoration: underline;
}

.link-hover-light,
.link-hover-light a {
    transition: 0.2s;
}

.link-hover-light:hover,
.link-hover-light:hover a {
    color: white;
    border-color: white;
    cursor: pointer;
}

.link-hover-light:hover {
    background-color: #38b6ff50;
}

.custom-pill {
    color: #38b6ff;
    background-color: #38b6ff25;
    padding: 0.45rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.carousel-control-next,
.carousel-control-prev {
    z-index: 0;
}

.btn-contact {
    padding: 1rem 1.5rem;
    background-color: transparent;
    border-radius: 5px;
    border: #38b6ff 2px solid;
    font-size: 1.2rem;
}

.btn-contact:hover {
    background-color: #38b6ff;
    border-color: #38b6ff;
}

.featured-projects-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
}

svg.icon {
    width: 20px;
    height: 20px;
}

svg.feather {
    fill: none;
}

.animate {
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
}

.dropdown-menu a:hover {
    background-color: transparent !important;
}

.dropdown-menu {
    background-color: transparent !important;
    border: none !important;
    border-radius: 0;
}

.dropdown-menu .dropdown-item {
    width: fit-content;
    margin-right: var(--bs-navbar-nav-link-padding-x);
    margin-left: var(--bs-navbar-nav-link-padding-x);
    margin-bottom: 0.5rem;
}

a.underline-hover-effect {
    text-decoration: none;
}

.underline-hover-effect {
    display: inline-block;
    padding-bottom: 0.25rem;
    /* defines the space between text and underline */
    position: relative;
}

.underline-hover-effect::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;    
    background-color: #38b6ff;
    transition: width 0.25s ease-out;
}

.underline-hover-effect:hover::before {
    width: 100%;
}

@keyframes slideIn {
    0% {
        transform: translateY(1rem);
        opacity: 0;
    }

    100% {
        transform: translateY(0rem);
        opacity: 1;
    }

    0% {
        transform: translateY(1rem);
        opacity: 0;
    }
}

@-webkit-keyframes slideIn {
    0% {
        -webkit-transform: transform;
        -webkit-opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0);
        -webkit-opacity: 1;
    }

    0% {
        -webkit-transform: translateY(1rem);
        -webkit-opacity: 0;
    }
}

.slideIn {
    -webkit-animation-name: slideIn;
    animation-name: slideIn;
}

.dropdown-menu {
    text-align: center !important;
}


@media (max-width: 576px) {
    .mb-6 {
        margin-bottom: 3.5rem !important;
    }
}

@media (min-width: 576px) {
    body {
        font-size: 100%;
    }

    .dropdown-menu {
        text-align: start !important;
    }

    .project-description-container {
        grid-column: 1 / 8;
        z-index: 1 !important;
        width: min-content;
    }

    .project-carousel-container {
        grid-column: 7 / -1;
        z-index: 0 !important;
        grid-column-end: 2 !important;
    }

    .project-first-container {
        position: relative;
        left: 30px;
        grid-area: 1 / 1 / -1 / 1;
        grid-column-start: 1;
    }

    .project-second-container {
        position: relative;
        right: 30px;
        grid-area: 1 / 1 / -1 / -1;
        grid-column-start: 3;
    }

    .description-container {
        width: 600px;
    }

    .name-card-container {
        width: fit-content;
    }

    .experience-date {
        text-align: end !important;
    }

    .description-right {
        text-align: end;
    }

    .right-badge-justify {
        justify-content: end;
    }

}