:root {
    --stroke-width: 6;
    --calm-blue:rgb(136,219,255);
    --calm-yellow:rgb(220,185,116);
    --calm-coral:rgb(211,139,112);

    --blue:#b3e3f7;
    --brown:#634c44;
    --coral:#ed7448;
    --green:#abe773;
    --pink:#fcbcda;
    --purple:#9b9ef0;
    --turquoise:#15a0cb;
    --yellow:#ffef94;

    --transition-time: 0.8s
}

* {
    font-family: 'Oxygen', sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
    padding: 0;
    margin: 0;
    color: white;
    scroll-behavior: smooth;
}

/* Header */

header {
    position: fixed;
    top: 10px;
    z-index: 100;
    color: white;
}
.navbar-dark,
.bg-dark {
    background-color: black !important;
}

.navbar {
    height: 56px;
    padding: 0 0 0 1rem;
    border-radius: 0 10px 10px 0;
    transition: all ease-in 0.5s;
}
.navbar-brand {
    margin-right: 20px;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0) !important;
}

button:focus {
    outline-color: transparent;
    outline: 1px solid transparent;
}

.navbar-collapse {
    background-color: rgb(68, 82, 84);
    border-radius: 0 10px 10px 0;
}

.nav-item {
    box-sizing: content-box;
    display: flex;
    align-items: center;
    height: 57px;
    padding: 0 14px;
}

.navbar-nav .nav-item > a{
    font-weight: 300;
    width: 100%;
    transition: ease-in-out 0.2s;
    Border-bottom: 2px solid transparent ;
}
.navbar-nav .nav-item .active,
.navbar-nav .nav-item:hover > a {
    Border-bottom: 2px solid var(--calm-yellow) ;
    padding-top: 13px;
    padding-bottom: 0px;
    animation: 0.2s top-down-curtain 1 ease-in-out;
}

/*  Animated hamburger menu by Chris Coyier https://css-tricks.com/line-animated-hamburger-menu/*/

.menu {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    padding: 0 12px 6px 0;
  }
  .line {
    fill: none;
    stroke: white;
    stroke-width: var(--stroke-width);
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
      stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .line1 {
    stroke-dasharray: 60 207;
    stroke-width: var(--stroke-width);
  }
  .line2 {
    stroke-dasharray: 60 60;
    stroke-width: var(--stroke-width);
  }
  .line3 {
    stroke-dasharray: 60 207;
    stroke-width: var(--stroke-width);
  }
  .opened .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: var(--stroke-width);
  }
  .opened .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
    stroke-width: var(--stroke-width);
  }
  .opened .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: var(--stroke-width);
  }

/* Main */

main {
    background-color: rgb(36, 36, 36);
    display: flex;
    flex-direction: column;
    align-items: center;
}

h2 {
    color: var(--calm-yellow);
}
h3 {
    margin: 15px auto;
}
h5 {
    font-size: 16px;
    color: var(--calm-blue);
    margin-bottom: 16px;
}
p {
    line-height: 1.6;
    letter-spacing: 1px;
}

p,
.project,
.proj-card {
    width: 100%;
}
.wrap {
    margin-bottom: 50px;
}

.pod {
    width: 100vw;
    margin: 0;
    min-width: 250px;
    padding: 70px 15vw 0;
}
.sub-container {
    width: 100%;
    padding: 0 25px;
}
.pod h2,
.sub-container {
    margin: 0 auto;
    max-width: 800px;
}

/* hero */

#hero {
    width: 100vw;
    height: 100vh;
    background-color: rgb(7, 30, 65);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}
#hero:before {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/jsdom.jpeg');
    filter: brightness(0.8) blur(2px) opacity(20%);
    background-attachment: fixed;
    background-position: left;
    background-size: cover;
    z-index: 1;
}
.tony {
    filter: drop-shadow(0px 0px 0px);
    transition: all 0.5s linear;
    /* background: repeating-linear-gradient(-90deg, blue, red 50%); */
    text-shadow:1px 1px 10px var(--calm-blue);
}
.tony:hover {
    /* color: var(--calm-blue); */
    /* filter: drop-shadow(10px -10px 4px rgb(99, 99, 99)); */
    text-shadow:1px 1px 20px #fff, 1px 1px 20px #ccc;
    text-shadow:1px 1px 20px var(--calm-blue), 1px 1px 20px var(--calm-blue);
}

.photo {
    width: 0;
    float: right;
}

.front-page {
    margin: 10vw;
    margin-left: 20vw;
    text-align: left;
    z-index: 50;
}
.front-page h1 {
    color: rgb(0, 255, 255);
    font-size: 48px;
    letter-spacing: 3.15px;
    font-weight: bold;
    margin-bottom: 20px;
}
.front-page h2,
.front-page h2 a {
    color: white;
    font-size: 40px;
    letter-spacing: 2.6px;
    font-weight: 500;
    margin-bottom: 20px;
    text-decoration: none;
}
.front-page h3 {
    color: white;
    font-size: 20px;
    letter-spacing: 1.3px;
    line-height: 30px;
    margin: 0;
}

/* about-me */

#about-me p,
#about-me img,
#about-me .skills  {
    margin-left: 10px;
}
#about-me .skills div {
    display: inline-block;
    margin: 3px 5px;
}
#about-me .img-of-me {
    filter: drop-shadow(15px 15px 10px rgb(61, 59, 59));
    border-radius: 10px;
}
#about-me .resume {
    filter: drop-shadow(15px 15px 10px rgb(61, 59, 59));
    border-radius: 12px;
    max-width: 180px;
}

.icon, .fab {
    vertical-align: middle;
}

.icon {
    background-color: white;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    min-width: 28px;
    /* width: 28px; */
    height: 28px;
}
#SQL {
    background-color: transparent;
    background-image: url("../images/postgresql.svg");
}
#jquery {
    background-image: url("../images/jquery-icon-png-25.jpg");
}
#express {
    background-image: url("../images/express.svg");
    width: 40px;
    height: 20px;
}
#mongodb {
    background-image: url("../images/mongodb.jpg");
}
#mongoose {
    background-image: url("../images/mongoose.png");
    width: 40px;
    height: 20px;
}
#django {
    background-image: url("../images/django.png");
    width: 40px;
    height: 20px;
}
#golang {
    background-image: url("../images/Go-Logo_Black.png");
    width: 40px;
    height: 20px;
}
#ruby {
    background-image: url("../images/ruby.svg");
}
#rails {
    background-image: url("../images/rails.svg");
}
#git {
    background-color: transparent;
    background-image: url("../images/git.svg");
}
#figma {
    background-color: transparent;
    background-image: url("../images/figma.svg");
}

#about-me .sub-container .wrap:last-child,
#portfolio .sub-container .wrap:last-child {
    margin-bottom: 0;
}

/* portfolio */

#portfolio {
    background-color: rgb(9, 33, 60);
}

.project a {
    text-decoration: none;
}
#portfolio h4,
#portfolio h5,
#portfolio span {
    display: inline;
}
#portfolio span {
    color: var(--calm-blue);
}
#portfolio h4 {
    color: var(--calm-coral);
}
#portfolio p {
    margin: 0;
    padding-left: 10px;
}

.proj-header {
    display: flex;
    justify-content: space-between;
}
.link {
    display: inline-flex;
}
.link a {
    margin-left: 10px;
}
.proj-header a > * ,
.link a > * {
    transition: ease-in-out 0.2s;
}
.proj-header a > *:hover{
    color: var(--calm-blue);
    filter: saturate(200%) drop-shadow(10px 10px 4px rgb(99, 99, 99));
}
.link a > *:hover {
    color: var(--calm-blue);
    filter: drop-shadow(10px 10px 4px rgb(99, 99, 99));
}
.ext-link {
    z-index: 10;
}

.proj-card {
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.proj-img-link {
    width: 48%;
    max-width: 330px;
    margin-bottom: 16px;
    border-radius: 10px;
    overflow: hidden;
}
.proj-img-link.animation {
    width: 46%;
}
.proj-img {
    width: 100%;
    aspect-ratio: 33 / 25;
    object-fit: cover;
    filter: sepia(100%) hue-rotate(150deg) brightness(0.7);
    transition: ease-in-out 0.2s;
    border-radius: 10px;
}
.proj-img:hover {
    filter: sepia(0%) hue-rotate(0) brightness(1) drop-shadow(15px 15px 10px rgb(99, 99, 99)) contrast(115%);
}

.proj-desc {
    padding-left: 15px;
    width: 50%;
    min-width: 250px;
}

ul {
    display: flex;
    flex-wrap: wrap;
}
em,
li {
    list-style: none;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 0 10px;
    color: var(--calm-coral);
}

.skills-n-links {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* contact */
#contact {
    padding-bottom: 100px;
}
#contact .sub-container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

#contact .wrap {
    margin-bottom: 10px;
    display: inline-block;
}

#contact a {
    text-decoration: none;
    filter: hue-rotate(0deg);
    color: white;
    transition: ease-in-out 0.2s;
}

#contact a p:hover,
#contact a:hover {
    color: var(--calm-blue);
    filter: drop-shadow(10px 10px 5px black);
}

#contact a i,
#contact a p {
    color: inherit;
    vertical-align: middle;
    transition: ease-in-out 0.2s;
}
#contact a p {
    display: inline;
    margin: 10px;
}

h6 {
    margin-top: 70px;
}
iframe {
    margin-bottom: 20px;
    width: 90vw;
    height: calc(100vh - 117px);
}


/* Utility */
.mt-16 {
    margin-top: 16px;
}


@media only screen and (max-width:900px) {
    .sub-container {
        padding: 0 10px;
    }

    #about-me .wrap {
        display: flex;
        flex-direction: column;
    }
    #about-me p {
        width: 97%;
        min-width: 250px;
    }

    #about-me .sub-container .wrap:last-child {
        display: inline-block;
    }

    .link {
        margin-right: 0;
    }

    .proj-img-link {
        width: 97%;
    }

    #portfolio p {
        width: 100%;
        min-width: 250px;
    }
    .proj-desc {
        padding-left: 0px;
        width: 97%;
        min-width: 250px;
    }
}

/* navbar */
@media (max-width: 991px) {
    .navbar-expand-lg {
        width: 180px
    }
}

@media (max-width: 575px) {
    #hero:before {
        background-image: url('../images/long_code.jpg');
        filter: brightness(0.8) blur(2px) opacity(30%);
        background-attachment: fixed;
        background-position: left;
        background-size: contain;
    }

    .navbar-expand-sm {
        width: 280px;
        padding: 8px 0 0 0;
    }

    .border-radius-LL {
        border-radius: 0 10px 0 0;
        transition: all linear 0s;
    }

    .navbar-brand {
        padding: 5px 0 13px 16px;
    }

    .navbar-collapse {
        border-radius: 0 0 10px 0;
    }

    .nav-item {
        padding: 0 0 0 33px;
    }

    .navbar-nav .nav-link.active,
    .navbar-nav .nav-item:hover > a{
        Border-bottom: transparent ;
        Border-left: 3px solid var(--calm-yellow) ;
        padding: 8px 20px;
        animation: none;
    }

    .pod {
        padding: 70px 5vw 0;
    }

    .proj-img-link.animation {
        width: 97%;
    }

    .proj-img {
        filter: sepia(0%) hue-rotate(0) brightness(1) drop-shadow(15px 15px 10px rgb(55, 55, 55)) contrast(115%);
    }
}
