/*!
 * Start Bootstrap - Resume v5.0.8 (https://startbootstrap.com/template-overviews/resume)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-resume/blob/master/LICENSE)
 */

:root {
    --primary-accent: #44ad9f;
    --primary-accent-hover: #348a80;
    --transition-speed: 0.3s;
}

.theme-light {
    --color-primary: #0060df;
    --color-secondary: #fbfbfe;
    --color-accent: var(--primary-accent);
    --font-color: #000000;
    --background-color: var(--primary-accent);
    --body-background-color: #f8f9fa;
    --heading-text-color: #343a40;
    --body-text-color: #4a5568;
    --card-deck-background-color: #ffffff;
    --card-deck-border: 1px solid rgba(0, 0, 0, .125);
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.theme-dark {
    --color-primary: #17ed90;
    --color-secondary: #243133;
    --color-accent: #12cdea;
    --font-color: #ffffff;
    --background-color: #181818;
    --body-background-color: #373535;
    --heading-text-color: #e9e8e8;
    --body-text-color: #b6babe;
    --card-deck-background-color: #373636;
    --card-deck-border: 1px solid rgba(158, 156, 156, 0.125);
}


body {
    font-family: 'Muli', sans-serif;
    line-height: 1.6;
    color: var(--body-text-color);
    background-color: var(--body-background-color);
    transition: background-color 0.5s ease, color 0.5s ease;
}

@media (min-width:992px) {
    body {
        padding-top: 0;
        padding-left: 17rem
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Saira Extra Condensed', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--heading-text-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 6rem;
    line-height: 5.5rem
}

h2 {
    font-size: 3.5rem
}

h3 {
    font-size: 2rem
}

p.lead {
    font-size: 1.15rem;
    font-weight: 400
}

.subheading {
    text-transform: uppercase;
    font-weight: 500;
    font-family: 'Saira Extra Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    font-size: 1.5rem
}

.social-icons a {
    display: inline-block;
    height: 3.5rem;
    width: 3.5rem;
    background-color: #495057;
    color: #fff !important;
    border-radius: 50%;
    text-align: center;
    font-size: 1.5rem;
    line-height: 3.5rem;
    margin-right: 1rem;
    transition: all var(--transition-speed);
}

.social-icons a:hover {
    background-color: var(--primary-accent);
    transform: scale(1.1);
}

.btn-primary {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-speed);
}

.btn-primary:hover {
    background-color: var(--primary-accent-hover);
    border-color: var(--primary-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-icons a:last-child {
    margin-right: 0
}

.social-icons a:hover {
    background-color: #44ad9f;
}

.card-deck i:hover {
    color: #44ad9f;
}

.card-deck i {
    margin-right: 5px;
}

.card-deck .card {
    background-color: var(--card-deck-background-color);
    border: var(--card-deck-border);
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.card-deck .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.card-deck .card-body {
    padding: 1.5rem;
}

.card-deck .card-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.dev-icons {
    font-size: 3rem
}

.dev-icons .list-inline-item i:hover {
    color: #44ad9f
}

/* .dev-icons .list-inline-item .angular:hover {
    color: red;
}
.dev-icons .list-inline-item .node:hover {
    color:green;
}
.dev-icons .list-inline-item .react:hover {
    color:blue;
} */

#sideNav .navbar-nav .nav-item .nav-link {
    font-weight: 800;
    letter-spacing: .05rem;
    text-transform: uppercase
}

#sideNav .navbar-toggler:focus {
    outline-color: #44ad9f
}

@media (min-width:992px) {
    #sideNav {
        text-align: center;
        position: fixed;
        top: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        width: 17rem;
        height: 100vh
    }

    #sideNav .navbar-brand {
        display: flex;
        margin: auto auto 0;
        padding: .5rem
    }

    #sideNav .navbar-brand .img-profile {
        max-width: 10rem;
        max-height: 10rem;
        border: .5rem solid rgba(255, 255, 255, .2)
    }

    #sideNav .navbar-collapse {
        display: flex;
        align-items: flex-start;
        flex-grow: 0;
        width: 100%;
        margin-bottom: auto
    }

    #sideNav .navbar-collapse .navbar-nav {
        flex-direction: column;
        width: 100%
    }

    #sideNav .navbar-collapse .navbar-nav .nav-item {
        display: block
    }

    #sideNav .navbar-collapse .navbar-nav .nav-item .nav-link {
        display: block
    }
}

section.resume-section {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
    max-width: 75rem
}

section.resume-section .resume-item .resume-date {
    min-width: none
}

@media (min-width:768px) {
    section.resume-section {
        min-height: 100vh
    }

    section.resume-section .resume-item .resume-date {
        min-width: 18rem
    }
}

@media (min-width:992px) {
    section.resume-section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important
    }
}

.bg-primary {
    /* background-color: #44ad9f !important; */
    background-color: var(--background-color) !important;
}

.text-primary {
    color: #44ad9f !important
}

a {
    color: #44ad9f
}

a:active,
a:focus,
a:hover {
    color: #44ad9f
}

.top-right-span {
    position: fixed;
    /* Position the element relative to the viewport */
    top: 0;
    /* Align to the top */
    right: 0;
    /* Align to the right */
    padding: 10px;
    z-index: 9999;
    /* Ensure it appears above other content */
}


.theme-switch-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.theme-switch {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 34px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f1c40f;
    transition: .4s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
    border-radius: 34px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

.theme-switch .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    z-index: 2;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  }

.theme-switch .slider .fa-sun {
    color: #f39c12;
    font-size: 16px;
    margin-right: 2px;
}

.theme-switch .slider .fa-moon {
    color: #f5f6fa;
    font-size: 16px;
    margin-left: 2px;
}

.theme-switch input:checked+.slider {
    background-color: #2c3e50;
}

.theme-switch input:focus+.slider {
    box-shadow: 0 0 1px #2c3e50;
}

.theme-switch input:checked + .slider:before {
    transform: translateX(26px);
  }

.theme-switch .slider.round {
    border-radius: 34px;
}

.theme-switch .slider.round:before {
    border-radius: 50%;
}

/* Animation for the sun and moon when switching */
.theme-switch input:checked+.slider .fa-sun {
    opacity: 0.4;
}

.theme-switch input:not(:checked)+.slider .fa-moon {
    opacity: 0.4;
}