@font-face {
    font-family: Apercu;
    src: url(../fonts/apercu/Apercu-Light.eot);
    src: url(../fonts/apercu/Apercu-Light.eot?#iefix) format("embedded-opentype"), url(../fonts/apercu/Apercu-Light.woff2) format("woff2"), url(../fonts/apercu/Apercu-Light.woff) format("woff"), url(../fonts/apercu/Apercu-Light.ttf) format("truetype"), url(../fonts/apercu/Apercu-Light.svg#Apercu-Light) format("svg");
    font-weight: 300;
    font-style: normal
}

@font-face {
    font-family: Apercu;
    src: url(../fonts/apercu/Apercu-LightItalic.eot);
    src: url(../fonts/apercu/Apercu-LightItalic.eot?#iefix) format("embedded-opentype"), url(../fonts/apercu/Apercu-LightItalic.woff2) format("woff2"), url(../fonts/apercu/Apercu-LightItalic.woff) format("woff"), url(../fonts/apercu/Apercu-LightItalic.ttf) format("truetype"), url(../fonts/apercu/Apercu-LightItalic.svg#Apercu-LightItalic) format("svg");
    font-weight: 300;
    font-style: italic
}

@font-face {
    font-family: Apercu;
    src: url(../fonts/apercu/Apercu-Regular.eot);
    src: url(../fonts/apercu/Apercu-Regular.eot?#iefix) format("embedded-opentype"), url(../fonts/apercu/Apercu-Regular.woff2) format("woff2"), url(../fonts/apercu/Apercu-Regular.woff) format("woff"), url(../fonts/apercu/Apercu-Regular.ttf) format("truetype"), url(../fonts/apercu/Apercu-Regular.svg#Apercu-Regular) format("svg");
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: Apercu;
    src: url(../fonts/apercu/Apercu-Italic.eot);
    src: url(../fonts/apercu/Apercu-Italic.eot?#iefix) format("embedded-opentype"), url(../fonts/apercu/Apercu-Italic.woff2) format("woff2"), url(../fonts/apercu/Apercu-Italic.woff) format("woff"), url(../fonts/apercu/Apercu-Italic.ttf) format("truetype"), url(../fonts/apercu/Apercu-Italic.svg#Apercu-Italic) format("svg");
    font-weight: 400;
    font-style: italic
}

@font-face {
    font-family: Apercu;
    src: url(../fonts/apercu/Apercu-Medium.eot);
    src: url(../fonts/apercu/Apercu-Medium.eot?#iefix) format("embedded-opentype"), url(../fonts/apercu/Apercu-Medium.woff2) format("woff2"), url(../fonts/apercu/Apercu-Medium.woff) format("woff"), url(../fonts/apercu/Apercu-Medium.ttf) format("truetype"), url(../fonts/apercu/Apercu-Medium.svg#Apercu-Medium) format("svg");
    font-weight: 500;
    font-style: normal
}

@font-face {
    font-family: Apercu;
    src: url(../fonts/apercu/Apercu-MediumItalic.eot);
    src: url(../fonts/apercu/Apercu-MediumItalic.eot?#iefix) format("embedded-opentype"), url(../fonts/apercu/Apercu-MediumItalic.woff2) format("woff2"), url(../fonts/apercu/Apercu-MediumItalic.woff) format("woff"), url(../fonts/apercu/Apercu-MediumItalic.ttf) format("truetype"), url(../fonts/apercu/Apercu-MediumItalic.svg#Apercu-MediumItalic) format("svg");
    font-weight: 500;
    font-style: italic
}

@font-face {
    font-family: Apercu;
    src: url(../fonts/apercu/Apercu-Bold.eot);
    src: url(../fonts/apercu/Apercu-Bold.eot?#iefix) format("embedded-opentype"), url(../fonts/apercu/Apercu-Bold.woff2) format("woff2"), url(../fonts/apercu/Apercu-Bold.woff) format("woff"), url(../fonts/apercu/Apercu-Bold.ttf) format("truetype"), url(../fonts/apercu/Apercu-Bold.svg#Apercu-Bold) format("svg");
    font-weight: 700;
    font-style: normal
}

@font-face {
    font-family: Apercu;
    src: url(../fonts/apercu/Apercu-BoldItalic.eot);
    src: url(../fonts/apercu/Apercu-BoldItalic.eot?#iefix) format("embedded-opentype"), url(../fonts/apercu/Apercu-BoldItalic.woff2) format("woff2"), url(../fonts/apercu/Apercu-BoldItalic.woff) format("woff"), url(../fonts/apercu/Apercu-BoldItalic.ttf) format("truetype"), url(../fonts/apercu/Apercu-BoldItalic.svg#Apercu-BoldItalic) format("svg");
    font-weight: 700;
    font-style: italic
}

html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

nav {
    display: flex;
    justify-content: center;
    padding: 5px;
}



nav ul {
    list-style-type: none;
    margin-top: 10px;
    padding: 0;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 10px;
}

nav.night ul{
    background-color: #18191a;
}


nav li {
    float: left;
    margin-right: 20px;
}

nav a {
    display: block;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 14px 16px;
    position: relative;
    transition: all 0.3s ease;
}

nav a:hover {
    background: linear-gradient(135deg, #007bff15, #00d4ff15);
    color: #007bff;
    border-radius: 10px;
    transform: translateY(-2px);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #00d4ff);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 60%;
}


@media screen and (max-width: 600px) {
    nav a {
        display: block;
        text-decoration: none;
        color: #333;
        font-size: 10px;
        font-weight: 600;
        padding: 10px;
    }

}

@media screen and (max-width: 600px) {
    nav li {
        float: left;
        margin-right: 2px;
    }

}

*,
:after,
:before {
    -webkit-box-sizing: inherit;
    box-sizing: inherit
}

::-moz-selection {
    background: #ffdc00
}


::selection {
    background: #ffdc00
}

body,
html {
    margin: 0;
    min-height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #fff;
    color: #444452;
    font-family: Apercu, "Source Sans Pro", system, system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    width: 100%
}

.parent {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; 
    padding-top: 50px;
}

body, nav {
    transition: background-color 0.5s ease, color 0.5s ease;
  }

body.night,
html.night {
    background-color: #000;
    color: #afafbf;
}

body.night ::-moz-selection,
html.night ::-moz-selection {
    color: #36363c;
    background: #ffdc00
}

skill_icon {
    width: 20px;
    height: 20px;
}

body.night ::selection,
html.night ::selection {
    color: #36363c;
    background: #ffdc00
}

body.night .switch-wrapper .sun,
html.night .switch-wrapper .sun {
    background: url(../img/switch/sun-white.svg) no-repeat center;
    background-size: 100%
}

body.night .switch-wrapper .moon,
html.night .switch-wrapper .moon {
    background: url(../img/switch/moon-white.svg) no-repeat center;
    background-size: 100%
}

body.night .experience .job__time,
body.night .footer__copyright,
body.night .intro,
body.night .skills .skillz__category__label,
body.night .status,
body.night a,
body.night strong,
html.night .experience .job__time,
html.night .footer__copyright,
html.night .intro,
html.night .skills .skillz__category__label,
html.night .status,
html.night a,
html.night strong {
    color: #e7e7e7
}

body.night .section__content .underline-link:after,
html.night .section__content .underline-link:after {
    background: #e7e7e7
}

a {
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    text-decoration: none;
    font-weight: 700;
    color: inherit
}

ul {
    list-style: none;
    padding: 0;
    margin: 0
}

svg {
    width: 100%;
    height: 100%;
    fill: currentColor
}

img {
    max-width: 100%;
    vertical-align: middle
}

strong {
    font-weight: 700;
    color: #36363c
}

.emoji {
    display: inline-block;
    vertical-align: text-top;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center
}

.section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    align-items: center;
    padding: 100px 170px 30px 170px
}

@media screen and (max-width:1280px) {
    .section {
        padding: 100px 100px 30px 100px;
        align-items: center;
    }
}

@media screen and (max-width:1024px) {
    .section {
        padding: 0px 0px 0px 0px
    }
}

@media screen and (max-width:768px) {
    .section {
        display: flex
    }
}

@media screen and (max-width:480px) {
    .section {
        padding: 50px 35px;
    }
}

.section__title {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 200px;
    color: #007bff;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px
}

@media screen and (max-width:1024px) {
    .section__title {
        margin-right: 0px
    }
}

.cc-profile-image img {
    position: relative;
    height: 200px;
    width: 200px;
    padding: 0;
    margin: 0;
    border: 15px solid transparent;
    z-index: 9999;
    transition: all .3s ease-out; }

.logo-image img {
    position: relative;
    height: 30px;
    width: 70px;
    padding: 0;
    margin: 0;
    }
.logo-image-2 img {
    position: relative;
    height: 50px;
    width: 50px;
    padding: 0;
    border-radius: 10px;
    box-shadow: inset;
    margin: 0;
    }

  

@media screen and (max-width:850px) {
    .section__title {
        width: 150px
    }
}

@media screen and (max-width:768px) {
    .section__title {
        text-align: center;
        width: auto
    }
}

.section__content {
    font-weight: 300;
    font-size: 1rem;
    width: 100%;
}

@media screen and (max-width:768px) {
    .section__content {
        padding-top: 30px;
        padding-left: 0px
    }
}

@media screen and (max-width:480px) {
    .section__content {
        padding-left: 0px
    }
}

.section__content p {
    margin-top: 0;
    margin-bottom: 25px
}

.section__content .underline-link {
    position: relative;
    display: inline-block
}

.section__content .underline-link:after {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #36363c;
    content: '';
    opacity: 0;
    -webkit-transition: height .3s, opacity .3s, -webkit-transform .3s;
    transition: height .3s, opacity .3s, -webkit-transform .3s;
    transition: height .3s, opacity .3s, transform .3s;
    transition: height .3s, opacity .3s, transform .3s, -webkit-transform .3s;
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px)
}

.section__content .underline-link:focus:after,
.section__content .underline-link:hover:after {
    height: 2px;
    border-radius: 3px;
    opacity: 1;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px)
}

.arrow-link {
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    font-weight: 700;
    display: inline-block;
    background-color: transparent;
    white-space: nowrap
}

.arrow-link:after {
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    position: relative;
    bottom: 2px;
    margin-left: 15px;
    content: '';
    background: url(../img/arrow.png) no-repeat center;
    background-size: 100%;
    width: 15px;
    height: 15px;
    display: inline-block;
    vertical-align: middle
}

.arrow-link:hover:after {
    -webkit-transform: translateX(7px);
    transform: translateX(7px)
}

.small {
    font-family: Inconsolata, monospace;
    font-size: .85rem;
    display: inline-block;
    margin-top: 15px
}

.small:after {
    display: none
}

#top-button {
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    background: 0 0;
    border: none;
    outline: 0;
    width: 40px;
    position: fixed;
    bottom: 25px;
    right: 10px;
    cursor: pointer;
    display: none
}

@media screen and (max-width:1024px) {
    #top-button {
        bottom: 20px;
        right: 7px;
        width: 35px
    }
}

@media screen and (max-width:480px) {
    #top-button {
        bottom: 15px;
        right: 3px
    }
}

#top-button:focus,
#top-button:hover {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px)
}

#top-button img {
    width: 100%
}

.section_experience {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 100px 170px
}

@media screen and (max-width:1280px) {
    .section_experience {
        padding: 100px
    }
}

@media screen and (max-width:1024px) {
    .section_experience {
        padding: 50px
    }
}

@media screen and (max-width:768px) {
    .section_experience {
        display: block
    }
}

@media screen and (max-width:480px) {
    .section_experience {
        padding: 50px 35px
    }
}

.section_experience__title {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 200px;
    margin-right: 70px;
    color: #007bff;
    text-transform: uppercase;
    text-align: right;
    font-weight: 700;
    letter-spacing: 2px
}

@media screen and (max-width:1024px) {
    .section_experience__title {
        margin-right: 50px
    }
}

@media screen and (max-width:850px) {
    .section_experience__title {
        width: 150px
    }
}

@media screen and (max-width:768px) {
    .section_experience__title {
        text-align: center;
        width: auto
    }
}

.section_experience__content {
    font-weight: 300;
    font-size: 1rem;
    width: 100%;
    max-width: 650px
}

@media screen and (max-width:768px) {
    .section_experience__content {
        padding-top: 30px;
        padding-left: 50px
    }
}

@media screen and (max-width:480px) {
    .section_experience__content {
        padding-left: 30px
    }
}

.section_experience__content p {
    margin-top: 0;
    margin-bottom: 25px
}

.waypoint {
    opacity: 0;
    -webkit-transform: translate3d(0, 20px, 0);
    transform: translate3d(0, 20px, 0);
    -webkit-transition: opacity .6s cubic-bezier(.694, 0, .335, 1), -webkit-transform .6s cubic-bezier(.694, 0, .335, 1);
    transition: opacity .6s cubic-bezier(.694, 0, .335, 1), -webkit-transform .6s cubic-bezier(.694, 0, .335, 1);
    transition: opacity .6s cubic-bezier(.694, 0, .335, 1), transform .6s cubic-bezier(.694, 0, .335, 1);
    transition: opacity .6s cubic-bezier(.694, 0, .335, 1), transform .6s cubic-bezier(.694, 0, .335, 1), -webkit-transform .6s cubic-bezier(.694, 0, .335, 1)
}

.in-view {
    opacity: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0)
}

.switch-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: absolute;
    top: 20px;
    right: 30px
}

@media screen and (max-width:480px) {
    .switch-wrapper {
        top: 10px;
        right: 20px
    }
}

.switch-wrapper .moon,
.switch-wrapper .sun {
    width: 17px;
    height: 17px
}

.switch-wrapper .sun {
    background: url(../img/switch/sun.svg) no-repeat center;
    background-size: 100%
}

.switch-wrapper .moon {
    background: url(../img/switch/moon.svg) no-repeat center;
    background-size: 100%
}

.switch-wrapper .toggle-wrapper {
    margin: 10px
}

.switch-wrapper .toggle-wrapper #switch {
    height: 0;
    width: 0;
    visibility: hidden;
    position: absolute
}

.switch-wrapper .toggle-wrapper #switch:checked+label {
    background: #bae67e
}

.switch-wrapper .toggle-wrapper #switch:checked+label:after {
    left: calc(100% - 3px);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%)
}

.switch-wrapper .toggle-wrapper label {
    cursor: pointer;
    text-indent: -9999px;
    width: 45px;
    height: 25px;
    background: grey;
    display: block;
    border-radius: 100px;
    position: relative
}

.switch-wrapper .toggle-wrapper label:after {
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 19px;
    height: 19px;
    background: #fff;
    border-radius: 100%
}

.intro {
    padding: 120px 100px;
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    max-width: 1440px;
    margin: 0px auto
}

@media screen and (max-width:630px) {
    .intro {
        padding: 220px 70px;

    }
}

@media screen and (max-width: 600px) {
    nav a {
        display: block;
        text-decoration: none;
        color: #333;
        font-size: 10px;
        font-weight: 600;
        padding: 10px;
    }

}

@media screen and (max-width: 600px) {
    nav li {
        float: left;
        margin-right: 0px;
    }

}

@media screen and (max-width:550px) {
    .intro {
        padding: 120px 50px
    }
}

@media screen and (max-width:480px) {
    .intro {
        padding: 70px 30px;
        text-align: center
    }
}

.intro__hello,
.intro__tagline {
    font-size: 2.5rem
}

@media screen and (max-width:1024px) {

    .intro__hello,
    .intro__tagline {
        font-size: 2.25rem
    }
}

@media screen and (max-width:768px) {

    .intro__hello,
    .intro__tagline {
        font-size: 2rem
    }
}

@media screen and (max-width:550px) {

    .intro__hello,
    .intro__tagline {
        font-size: 1.75rem
    }
}

@media screen and (max-width:360px) {

    .intro__hello,
    .intro__tagline {
        font-size: 1.5rem
    }
}

@media screen and (max-width:330px) {

    .intro__hello,
    .intro__tagline {
        font-size: 1.4rem
    }
}

.intro__hello .emoji,
.intro__tagline .emoji {
    width: 40px;
    height: 40px
}

@media screen and (max-width:1024px) {

    .intro__hello .emoji,
    .intro__tagline .emoji {
        width: 35px;
        height: 35px
    }
}

@media screen and (max-width:768px) {

    .intro__hello .emoji,
    .intro__tagline .emoji {
        width: 30px;
        height: 30px
    }
}

@media screen and (max-width:360px) {

    .intro__hello .emoji,
    .intro__tagline .emoji {
        width: 25px;
        height: 25px
    }
}

.profile-avatar {
    width: 200px;
    height: 200px;
    background-color: #fdd023;
    border-radius: 50%;
    box-shadow: 0 10px 40px rgba(0, 123, 255, 0.3), 0 0 60px rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease
}

.profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 123, 255, 0.4), 0 0 80px rgba(0, 212, 255, 0.3)
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

.intro__hello {
    font-weight: 300;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease-out forwards
}

.intro h2 {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0
}

.intro h3 {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0
}

.intro nav {
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    opacity: 0
}

.intro__contact {
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
    opacity: 0
}

.intro .footer {
    animation: fadeIn 1s ease-out 1s forwards;
    opacity: 0
}

.intro__hello .wave-hand {
    background-image: url(../img/emojis/wave.png);
    margin-left: 10px;
    cursor: pointer
}

.intro__hello .wave-hand.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}

.intro__hello .wave-hand.wave {
    -webkit-animation-name: wave;
    animation-name: wave
}

@-webkit-keyframes wave {
    from {
        -webkit-transform: none;
        transform: none
    }

    15% {
        -webkit-transform: translate3d(-20%, 0, 0) rotate3d(0, 0, 1, -10deg);
        transform: translate3d(-20%, 0, 0) rotate3d(0, 0, 1, -10deg)
    }

    30% {
        -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 7deg);
        transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 7deg)
    }

    45% {
        -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -10deg);
        transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -10deg)
    }

    60% {
        -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 5deg);
        transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 5deg)
    }

    75% {
        -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -2deg);
        transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -2deg)
    }

    to {
        -webkit-transform: none;
        transform: none
    }
}

@keyframes wave {
    from {
        -webkit-transform: none;
        transform: none
    }

    15% {
        -webkit-transform: translate3d(-20%, 0, 0) rotate3d(0, 0, 1, -10deg);
        transform: translate3d(-20%, 0, 0) rotate3d(0, 0, 1, -10deg)
    }

    30% {
        -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 7deg);
        transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 7deg)
    }

    45% {
        -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -10deg);
        transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -10deg)
    }

    60% {
        -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 5deg);
        transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 5deg)
    }

    75% {
        -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -2deg);
        transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -2deg)
    }

    to {
        -webkit-transform: none;
        transform: none
    }
}

.intro__tagline {
    font-weight: 300;
    max-width: 700px
}

.intro__tagline .name {
    font-weight: 700;
    background: linear-gradient(135deg, #007bff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.intro__tagline .technologist {
    background-image: url(../img/emojis/technologist.png)
}

.intro__contact {
    font-size: 1.25rem;
    font-weight: 400
}

@media screen and (max-width:550px) {
    .intro__contact {
        font-size: 1rem
    }
}

.intro__contact .emoji.pointer {
    background-image: url(../img/emojis/pointright.png);
    width: 30px;
    height: 30px;
    margin: 0 5px;
    vertical-align: text-bottom
}

@media screen and (max-width:550px) {
    .intro__contact .emoji.pointer {
        width: 25px;
        height: 25px
    }
}

.intro__contact .highlight-link {
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    font-weight: 400;
    text-decoration: none;
    display: inline-block;
    padding: 2px 6px;
    text-decoration: none;
    -webkit-box-shadow: inset 0 -3px 0 #007bff;
    box-shadow: inset 0 -3px 0 #007bff;
    border-radius: 4px
}

.intro__contact .highlight-link:hover {
    -webkit-box-shadow: inset 0 -33px 0 0 #007bff;
    box-shadow: inset 0 -33px 0 0 #007bff;
    color: #fff;
    transform: translateY(-2px)
}

.skills .skillz {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.skillz__category {
    margin-right: 20px;
    margin-bottom: 20px;
    min-width: 150px;
}

@media screen and (max-width:630px) {
    .skills .skillz {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap
    }
}

@media screen and (max-width:630px) {
    .skills .skillz__category {
        width: 47%;
        margin-right: 5px;
        margin-bottom: 25px
    }
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease
}

.video-wrapper:hover {
    box-shadow: 0 15px 50px rgba(0, 123, 255, 0.25);
    transform: translateY(-5px)
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px
}

.featured-video {
    background: transparent
}

.featured-video .section__title {
    margin-bottom: 20px
}

@media screen and (max-width: 768px) {
    .video-container {
        padding: 10px
    }
}

.media-row {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    padding: 30px 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto
}

.media-row .section {
    flex: 1;
    max-width: 500px;
    padding: 20px 0
}

.media-row .featured-video .video-container {
    max-width: 100%;
    padding: 10px
}

@media screen and (max-width: 900px) {
    .media-row {
        flex-direction: column;
        align-items: center;
        gap: 20px
    }

    .media-row .section {
        max-width: 100%;
        width: 100%
    }
}

.now-playing {
    background: transparent
}

.now-playing .section__title {
    margin-bottom: 20px
}

.spotify-container {
    max-width: 100%;
    margin: 0 auto;
    margin-top: 60px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease
}

@media screen and (max-width: 900px) {
    .spotify-container {
        margin-top: 0
    }
}

.spotify-container:hover {
    box-shadow: 0 15px 50px rgba(30, 215, 96, 0.25);
    transform: translateY(-5px)
}

.spotify-container iframe {
    display: block
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin: 20px;
}

/* Style for each image in the gallery */
.gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.2s;
}

/* Hover effect for images */
.gallery img:hover {
    transform: scale(1.1);
}

.skills .skillz__category__label {
    font-weight: 700;
    color: #36363c;
    text-transform: uppercase
}

.skills .skillz__category__item {
    margin: 3px 0;
    font-size: .9rem
}

.experience .jobs {
    margin-bottom: 100px
}

.experience .job {
    margin-bottom: 25px
}

.experience .job .time-place {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

@media screen and (max-width:480px) {
    .experience .job .time-place {
        display: block
    }
}

.experience .job__company {
    font-weight: 700
}

.experience .job__time {
    font-size: .9rem;
    font-family: Inconsolata, monospace
}

@media screen and (max-width:480px) {
    .experience .job__time {
        font-size: .8rem
    }
}

.experience .arrow-link {
    font-size: 1.25rem
}

.experience .arrow-link:after {
    width: 20px;
    height: 20px
}

.status {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 1.1rem;
    margin-top: 70px
}

.status__light {
    width: 30px;
    height: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.status__light__ring {
    position: absolute;
    width: 25px;
    height: 25px;
    -webkit-animation: pulsate 2s ease-out;
    animation: pulsate 2s ease-out;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    opacity: 0;
    border: 3px solid #bae67e;
    border-radius: 30px
}

@-webkit-keyframes pulsate {
    0% {
        -webkit-transform: scale(.1, .1);
        transform: scale(.1, .1);
        opacity: 0
    }

    50% {
        opacity: 1
    }

    100% {
        -webkit-transform: scale(1.2, 1.2);
        transform: scale(1.2, 1.2);
        opacity: 0
    }
}

@keyframes pulsate {
    0% {
        -webkit-transform: scale(.1, .1);
        transform: scale(.1, .1);
        opacity: 0
    }

    50% {
        opacity: 1
    }

    100% {
        -webkit-transform: scale(1.2, 1.2);
        transform: scale(1.2, 1.2);
        opacity: 0
    }
}

.status__light__led {
    position: absolute;
    width: 13px;
    height: 13px;
    background: #bae67e;
    border-radius: 100%
}

.status__message {
    margin-left: 15px
}

.featured-projects a:after {
    display: none
}

.featured-projects .project {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 100px;
    margin-left: -5%;
    width: 125%
}

@media screen and (max-width:1280px) {
    .featured-projects .project {
        width: 115%
    }
}

@media screen and (max-width:1024px) {
    .featured-projects .project {
        width: 105%
    }
}

@media screen and (max-width:768px) {
    .featured-projects .project {
        width: 100%;
        display: block;
        margin-bottom: 70px
    }
}

.featured-projects .project.screentime {
    margin-bottom: 70px
}

.featured-projects .project:last-of-type {
    margin-bottom: 0
}

.featured-projects .project__pic {
    max-width: 700px;
    overflow: visible;
    margin: 0
}

.featured-projects .project__pic a {
    display: block
}

.featured-projects .project__pic.phones a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.featured-projects .project__pic.phones .phone {
    margin: 0 -7%
}

.featured-projects .project__pic.phones .phone:first-of-type {
    margin-left: -5%
}

.featured-projects .project__pic img {
    width: 100%;
    max-width: 100%;
    vertical-align: bottom
}

.featured-projects .project__caption {
    width: 125px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-left: 30px
}

@media screen and (max-width:768px) {
    .featured-projects .project__caption {
        width: 100%;
        margin-top: 25px;
        margin-left: 0
    }
}

.featured-projects .project__name {
    margin-bottom: 10px
}

.featured-projects .project__name a {
    font-weight: 700
}

.featured-projects .project p {
    font-size: .85rem;
    line-height: 1.3
}

.other-projects .project {
    max-width: 600px;
    margin-bottom: 50px
}

.other-projects .project__name {
    margin-bottom: 10px
}

.other-projects .project p {
    font-size: .9rem;
    margin-bottom: 20px
}

.other-projects .project__used__item {
    display: inline-block;
    margin: 3px 3px 3px 0;
    font-family: Inconsolata, monospace;
    font-size: .75rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 3px;
    color: #007bff;
    border: 1px solid #007bff;
    background: 0 0
}

.other-projects .project__used__item:first-of-type {
    margin-left: 0
}

.footer {
    padding: 50px 80px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

@media screen and (max-width:1024px) {
    .footer {
        padding: 50px
    }
}

@media screen and (max-width:630px) {
    .footer {
        display: block
    }
}

@media screen and (max-width:480px) {
    .footer {
        padding: 50px 30px
    }
}

.footer__copyright {
    font-weight: 700;
    width: 200px
}

@media screen and (max-width:630px) {
    .footer__copyright {
        width: auto;
        text-align: center;
        margin-bottom: 25px
    }
}

@media screen and (max-width:630px) {

    .footer__copyright .bottom,
    .footer__copyright .top {
        display: inline-block
    }
}

@media screen and (max-width:480px) {

    .footer__copyright .bottom,
    .footer__copyright .top {
        display: block
    }
}

.footer__copyright .emoji {
    width: 20px;
    height: 20px;
    margin: 0 3px;
    vertical-align: text-bottom
}

@media screen and (max-width:630px) {
    .footer__links {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center
    }
}

.footer__links a {
    position: relative;
    display: inline-block;
    color: #007bff !important;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 15px;
    outline: 0
}

@media screen and (max-width:1024px) {
    .footer__links a {
        margin: 0 10px
    }
}

.footer__links a:after {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #007bff;
    content: '';
    opacity: 0;
    -webkit-transition: height .3s, opacity .3s, -webkit-transform .3s;
    transition: height .3s, opacity .3s, -webkit-transform .3s;
    transition: height .3s, opacity .3s, transform .3s;
    transition: height .3s, opacity .3s, transform .3s, -webkit-transform .3s;
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px)
}

@media screen and (max-width:850px) {
    .footer__links a:after {
        display: none
    }
}

.footer__links a:focus:after,
.footer__links a:hover:after {
    height: 2px;
    border-radius: 3px;
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0)
}

.footer__links a .text {
    font-size: .9rem;
    display: inline;
    letter-spacing: 1px
}

@media screen and (max-width:850px) {
    .footer__links a .text {
        display: none
    }
}

.footer__links img {
    display: none;
    width: 22px
}

@media screen and (max-width:850px) {
    .footer__links img {
        display: inline-block
    }
}

.not-found {
    width: 100%;
    height: 100vh !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    padding: 0 20px
}

.not-found .name {
    position: absolute;
    top: 25px;
    left: 30px;
    font-weight: 700;
    color: #007bff;
    font-size: 1.5rem
}

@media screen and (max-width:480px) {
    .not-found .name {
        top: 20px;
        left: 25px;
        font-size: 1.25rem
    }
}

.not-found h1 {
    font-size: 4rem;
    margin: 10px 0
}

.not-found h2 {
    font-size: 1.5rem
}

@media screen and (max-width:480px) {
    .not-found h2 {
        font-size: 1.25rem
    }
}

@media screen and (max-width:360px) {
    .not-found h2 {
        font-size: 1.1rem
    }
}

.not-found a {
    font-weight: 700;
    color: #007bff !important;
    position: relative;
    display: inline-block
}

.not-found a:after {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 3px;
    background: #007bff;
    content: '';
    opacity: 0;
    -webkit-transition: height .3s, opacity .3s, -webkit-transform .3s;
    transition: height .3s, opacity .3s, -webkit-transform .3s;
    transition: height .3s, opacity .3s, transform .3s;
    transition: height .3s, opacity .3s, transform .3s, -webkit-transform .3s;
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px)
}

.not-found a:focus:after,
.not-found a:hover:after {
    height: 3px;
    opacity: 1;
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px)
}
/* Mobile nav: readable labels and ~40px tap targets that still fit on a 360px screen. */
@media screen and (max-width: 600px) {
    nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav li {
        float: none;
        margin-right: 0;
    }

    nav a {
        font-size: 13px;
        padding: 12px 7px;
    }
}

/* Theme is set on <body> before first paint, so style the nav from body too (no flash). */
body.night nav ul {
    background-color: #18191a;
}

/* Back-to-top: fades in/out via a class toggled in main.js. */
#top-button {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

#top-button.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Gentle reveal for sections that start below the fold (class added by main.js). */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-revealed {
    opacity: 1;
    transform: none;
}

/* Smooth page-to-page transitions; the nav and theme switch stay put while content cross-fades. */
@view-transition {
    navigation: auto;
}

nav {
    view-transition-name: site-nav;
}

.switch-wrapper {
    view-transition-name: theme-switch;
}

::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: .28s;
    animation-timing-function: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-reduced-motion: reduce) {
    @view-transition {
        navigation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- Try it: live sentiment demo on the homepage ---------- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.section.try-it {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 10px 0 0;
    --mood: #8a94a6;
}

.section.try-it[data-mood="positive"] { --mood: #10b981; }
.section.try-it[data-mood="negative"] { --mood: #f59e0b; }

.try-it .section__title {
    margin-bottom: 12px;
}

.try-it__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.try-it__lede {
    color: #555;
    margin-bottom: 12px !important;
}

.try-it__input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    border: none;
    border-radius: 12px;
    background: #f5f5f5;
    color: #222;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 400;
    text-align: center;
}

.try-it__input:focus-visible {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.try-it__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.try-it__chips button {
    border: none;
    border-radius: 999px;
    padding: 6px 14px;
    background: #f5f5f5;
    color: #555;
    font: inherit;
    font-size: .85rem;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease;
}

.try-it__chips button:hover,
.try-it__chips button:focus-visible {
    color: #007bff;
    background: #eaf2ff;
    outline: none;
}

.try-it__result {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 14px;
}

.try-it__gauge {
    width: 220px;
    height: auto;
    overflow: visible;
}

.try-it__gauge path {
    fill: none;
    stroke-width: 14;
}

.gauge__neg { stroke: #f59e0b; }
.gauge__mid { stroke: #e3e6ec; }
.gauge__pos { stroke: #10b981; }

.gauge__needle {
    stroke: #333;
    stroke-width: 4;
    stroke-linecap: round;
    transform-origin: 100px 100px;
    transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
}

.gauge__hub { fill: #333; }

.try-it__readout {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.try-it__face {
    width: 34px;
    height: 34px;
}

.try-it__face circle:first-child,
.try-it__face path {
    fill: none;
    stroke: var(--mood);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke .3s ease;
}

.try-it__face .eye { fill: var(--mood); transition: fill .3s ease; }

.try-it__label {
    font-weight: 700;
    color: var(--mood);
    transition: color .3s ease;
}

.try-it__score {
    font-family: Inconsolata, monospace;
    color: #777;
}

.try-it__tokens {
    min-height: 1.6em;
    margin: 10px 0 4px !important;
    line-height: 2;
}

.tok {
    padding: 2px 6px;
    border-radius: 6px;
}

.tok--pos { background: rgba(16, 185, 129, .14); color: #047857; }
.tok--neg { background: rgba(245, 158, 11, .18); color: #b45309; }
.tok--negate,
.tok--boost { color: #007bff; font-weight: 600; }

.try-it__why {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    font-size: .85rem;
    color: #777;
}

.try-it__why li::before {
    content: '→ ';
    color: #007bff;
}

.try-it__foot {
    font-size: .8rem;
    color: #999;
}

.try-it.is-error .try-it__result::after {
    content: 'Could not load the word list. Refresh to try again.';
    font-size: .85rem;
    color: #b45309;
}

body.night .try-it__lede { color: #b0b3b8; }
body.night .try-it__input,
body.night .try-it__chips button { background: #18191a; color: #e4e6eb; }
body.night .try-it__chips button { color: #b0b3b8; }
body.night .try-it__chips button:hover,
body.night .try-it__chips button:focus-visible { background: #1c2a40; color: #6ea8ff; }
body.night .gauge__mid { stroke: #2a2d31; }
body.night .gauge__needle { stroke: #e4e6eb; }
body.night .gauge__hub { fill: #e4e6eb; }
body.night .tok--pos { color: #34d399; }
body.night .tok--neg { color: #fbbf24; }
body.night .try-it__why,
body.night .try-it__score { color: #9ca3af; }

@media (prefers-reduced-motion: reduce) {
    .gauge__needle { transition: none; }
}

@media screen and (max-width:768px) {
    .try-it .try-it__content {
        padding-top: 0;
    }
}

/* ---------- About: Off the clock ---------- */
.off-clock .section__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.off-clock__lede {
    color: #777;
    text-align: center;
    font-weight: 600;
    max-width: 620px;
}

.off-clock__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 720px;
    margin-top: 6px;
}

.oc-tile {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 12px 16px;
    border-radius: 16px;
    background: #f5f5f5;
    color: inherit;
    text-decoration: none;
    text-align: left;
    transition: transform .2s ease, background-color .2s ease;
}

a.oc-tile:hover,
a.oc-tile:focus-visible {
    transform: translateY(-2px);
    background: #eef2f8;
}

.oc-tile img,
.oc-tile .guitar,
.oc-tile__emoji {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    margin-bottom: 10px;
}

.oc-tile img {
    height: auto;
    object-fit: cover;
}

.oc-tile__kicker {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #007bff;
}

.oc-tile__title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #333;
}

.oc-tile__meta {
    font-size: .85rem;
    color: #777;
}

/* Guitar: a dark fretboard with six strings that ring when strummed. */
.guitar {
    padding: 0;
    border: none;
    cursor: pointer;
    background: linear-gradient(180deg, #3a2a1f, #2a1d15);
}

.guitar:focus-visible {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.guitar svg {
    width: 100%;
    height: 100%;
}

.guitar .str {
    stroke: #d9d4cc;
    stroke-linecap: round;
    transform-box: fill-box;
    transform-origin: center;
}

.guitar .str:nth-child(1) { stroke-width: 1; }
.guitar .str:nth-child(2) { stroke-width: 1.3; }
.guitar .str:nth-child(3) { stroke-width: 1.6; }
.guitar .str:nth-child(4) { stroke-width: 2; }
.guitar .str:nth-child(5) { stroke-width: 2.4; }
.guitar .str:nth-child(6) { stroke-width: 2.8; }

.guitar .str.is-ringing {
    animation: string-ring .9s ease-out;
}

@keyframes string-ring {
    0% { transform: translateY(0); }
    8% { transform: translateY(-2.5px); }
    16% { transform: translateY(2.5px); }
    26% { transform: translateY(-1.8px); }
    36% { transform: translateY(1.8px); }
    48% { transform: translateY(-1px); }
    60% { transform: translateY(1px); }
    76% { transform: translateY(-.4px); }
    100% { transform: translateY(0); }
}

/* Cricket: a pitch-green panel. */
.oc-tile__emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.4rem;
    background: linear-gradient(180deg, #dff3e6, #c9ead5);
}

.off-clock__handle {
    margin-top: 22px !important;
    text-align: center;
}

body.night .oc-tile { background: #18191a; }
body.night a.oc-tile:hover,
body.night a.oc-tile:focus-visible { background: #1f2329; }
body.night .oc-tile__title { color: #e4e6eb; }
body.night .oc-tile__meta,
body.night .off-clock__lede { color: #9ca3af; }
body.night .oc-tile__emoji { background: linear-gradient(180deg, #16301f, #10261a); }

@media screen and (max-width: 600px) {
    .off-clock__grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .guitar .str.is-ringing {
        animation: none;
    }
    a.oc-tile:hover { transform: none; }
}

/* Tech stack: keep all seven categories on one row on wide screens. */
@media screen and (min-width: 1024px) {
    .skills .skillz {
        flex-wrap: nowrap;
        gap: 18px;
    }

    .skills .skillz__category {
        flex: 1 1 0;
        min-width: 0;
        margin-right: 0;
    }
}
