/* Scrollbar Style*/
body::-webkit-scrollbar {
    width: auto;
}
body::-webkit-scrollbar-track {
    background: #000;
}
body::-webkit-scrollbar-thumb {
    background: rgba(41, 128, 185, .7); 
}
body::-webkit-scrollbar-thumb:hover {
    background: rgba(41, 128, 185, 1);  
}

.card-img-logo {
    object-fit: cover;
    object-position: center center;
}

.card {
    color: white;
    background-color: #111;
    border: solid 2px white;
    border-radius: 5px;
    transition: .5s;
}

.card-btn {
    color: white;
    background-color: #222;
    border: solid 2px white;
    border-radius: 5px;
    padding: 5px;
    width: 100%;
}

.card-btn:hover {
    cursor: pointer;
    color: #2980b9;
    border-color: #2980b9;
}

.project-card {
    cursor: pointer;
    color: white;
    border: solid 3px transparent;
    border-radius: 10px;
    text-decoration: none;
    transition: .5s;
    padding: 8px 0px;
}
.project-card:hover {
    border-color: white;
    cursor: pointer;
    color: white;
    text-decoration: none;
}

/* Masthead Style */
.masthead:not(.index) {
    margin-top: 10rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
@media (min-width: 1600px) {
    .masthead:not(.index) {
        width: 50%;
    }
}
.main-banner{
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    border: none;
    color: #ffffff;
    font-size: 4rem;
    margin: 4% 0px;
}
.main-banner::before,
.main-banner::after{
    content:"";
    width: 0px;
    height: 6px;
    position: absolute;
    transition: all 0.2s linear;
    background: #ffffff;
    animation-fill-mode: forwards; 
}
.main-banner span{
    display: block;
    padding: 10px 20px;
}
.main-banner span::before,
.main-banner span::after{
    content:"";
    width:6px;
    height:0px;
    position: absolute;
    transition: all 0.2s linear;
    background: white;
}
.main-banner span::before,
.main-banner span::after {
    animation-name: left-right;
    animation-delay: 0s;
    animation-duration: .2s;
}
.main-banner::after,
.main-banner::before {
    animation-name: top-bottom;
    animation-delay: .2s;
    animation-duration: 1s;
}
.main-banner::before{
    right: 0;
    top: 0;
}
.main-banner::after{
    left: 0;
    bottom: 0;
}
.main-banner span::before{
    left: 0;
    top: 0;
}
.main-banner span::after{
    right: 0;
    bottom: 0;
}
@keyframes top-bottom {
    0% {width: 0px;}
    100%  {width: 100%}
}
@keyframes left-right {
    0% {height: 0px;}
    100%  {height: 100%}
}
.dark-gradient {
    background: linear-gradient(#262626, #000000);
}
.dark-gradient-i {
    background: linear-gradient(#000000, #262626);
}

/* Specific Masthead Adjustments*/
.about-banner {
    margin-bottom: 30px;
}

/* ID elements */
#about-me-img {
    background-image: url('./testing.png');
    background-position: top center;
    background-size: cover;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.artwork-container {
    position: relative;
}

.artwork-logo {
    border: solid 2px white;
    border-radius: 5px;
    display: block;
}
.artwork-logo:hover {
    cursor: pointer;
}

.artwork-download {
    color: rgba(255, 255, 255, .5);
    position: absolute;
    bottom: 0;
    left: 0;
    padding-bottom: 5px;
    padding-left: 5px;
}
.artwork-download:hover {
    color: rgba(255, 255, 255, 1);
}

/* Basic Components */
div.hero {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}
section.hero {
    padding: 150px 0px;
}
section {
    padding: 4rem 0px;
}
.div-inline {
    display: inline-block;
}
.font-r2 {
    font-size: 2rem;
}
.font-r3 {
    font-size: 3rem;
}
.font-main {
    font-size: 1.2rem;
}

/* Colors */
.prim-color {
    color: #262626;
}
.sec-color {
    color: #2980b9;
}
.tert-color {
    color: #000000;
}
.prim-bg {
    background-color: #262626;
}
.sec-bg {
    background-color: #2980b9;;
}
.silver-bg {
    background-color: silver;
}
.sec-border {
    border-color: #2980b9 !important;
}

/* Social Media Buttons */
ul.social-buttons {
    margin-bottom: 0;
}
ul.social-buttons li a {
    font-size: 35px;
    line-height: 50px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 60px;
    height: 60px;
    transition: all 0.5s;
    color: white;
    border-radius: 100%;
    outline: none;
    background-color: #212529;
}
ul.social-buttons li a:active, ul.social-buttons li a:focus, ul.social-buttons li a:hover {
    background-color: #2980b9;
}

/* Bootstrap mods and add-ons */
.h-60 {
    height: 60% !important;
}
.badge-primary {
    background-color: #2980b9 !important;
}

@media (min-width: 1200px) {
    .display-container {
        max-width: none;
        width: 85vw;
    }
}
.text-black {
    color: black;
}
.simple-link-white {
    color: white;
    border-bottom: 3px solid white;
}
.simple-link-black {
    color: black;
    border-bottom: 3px solid black;
}
.simple-link-black,
.simple-link-white {
    font-weight: bold;
    transition-duration: .3s;
}
.simple-link-black:hover,
.simple-link-white:hover {
    text-decoration: none !important;
    color: #2980b9 !important;
    border-color: #2980b9;
}

/* Test */

#cd-vertical-nav {
    position: fixed;
    right: 39px;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 103;
 }
 
#cd-vertical-nav li {
    text-align: right;
    list-style-type: none;
 }
 
#cd-vertical-nav a.is-selected .cd-dot {
    background-color: white;
 }
 
#cd-vertical-nav a {
    display: inline-block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
 }
 
#cd-vertical-nav a:after {
    content: "";
    display: table;
    clear: both;
 }
 
#cd-vertical-nav a span {
    float: right;
    display: inline-block;
    -webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
    -ms-transform: scale(0.6);
    -o-transform: scale(0.6);
    transform: scale(0.6);
 }
 
#cd-vertical-nav a:hover span,
#cd-vertical-nav a.selected span {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
 }
 
#cd-vertical-nav a:hover .cd-label,
#cd-vertical-nav a.selected .cd-label {
    opacity: 1;
 }
 
#cd-vertical-nav a.is-selected .cd-dot {
    background-color: white;
 }
 
#cd-vertical-nav .cd-dot {
    position: relative;
    top: 8px;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0);
    border: 5px solid #2980b9;
    -webkit-transition: -webkit-transform 0.2s, background-color 0.5s;
    -moz-transition: -moz-transform 0.2s, background-color 0.5s;
    transition: transform 0.2s, background-color 0.5s;
    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
 }
 
#cd-vertical-nav .cd-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    top: 1px;
    left: 8px;
    margin-right: 10px;
    padding: 7px 8px;
    color: white;
    -webkit-transition: -webkit-transform 0.2s, opacity 0.2s;
    -moz-transition: -moz-transform 0.2s, opacity 0.2s;
    transition: transform 0.2s, opacity 0.2s;
    opacity: 0;
    -webkit-transform-origin: 100% 50%;
    -moz-transform-origin: 100% 50%;
    -ms-transform-origin: 100% 50%;
    -o-transform-origin: 100% 50%;
    transform-origin: 100% 50%;
}

/* Stuff for Timeline */
#lineCont {
    width: 100%;
    height: 20%;
}
#line {
    height: 6px;
    width: 100%;
    background: white;
    border-radius: 5px;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    position: relative;
}
#span {
    display: none;
    width: 70%;
    margin: auto;
    margin-top: 25%;
    text-align: center;
    color: white;
}
.circle {
    width: 20px;
    height: 20px;
    background: black;
    border-radius: 15px;
    position: absolute;
    top: -7px;
    border: 3px solid #ffffff;
    cursor: pointer;
}
.circle:before {
    content: '';
    width: 10px;
    height: 10px;
    background: #2980b9;
    position: absolute;
    border-radius: 100%;
    top: 2px;
    left: 2px;
    display: none;
}
.circle .popupSpan {
    width: auto;
    height: auto;
    padding: 10px;
    white-space: nowrap;
    color: #ffffff;
    position: absolute;
    top: 20px;
    left: -75px;
    display: none;
    transition: all 0.2s ease-out;
}
.circle:hover:before, .circle.active:before {
    display: block;
}
.circle:hover .popupSpan, .circle.active .popupSpan {
    display: block;
}
.circle.active .popupSpan {
    top: -40px;
}
#mainCont {
    height: 80%;
    width: 100%;
    margin-top: 3rem;
    position: relative;
    color: white;
    font-size: 2em;
}
#mainCont a {
    color: inherit;
    text-decoration: inherit;
}
#mainCont span {
    display: inline-block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 30%;
    transition: all 0.4s ease-out;
    cursor: pointer;
}
#mainCont span.right {
    left: 200%;
}
#mainCont span.center {
    left: 0% !important;
}
#mainCont span.left {
    left: -200%;
}
.timeline-logo {
    border-radius: 10px;
}
.timeline-header {
    font-size: 2rem;
    text-transform: uppercase;
}
.timeline-tagline {
    font-size: 1.5rem;
    color: #2980b9;
}
.timeline-date {
    font-size: 1rem;
    color: rgba(255,255,255,.7);
}

.no-hero {
    margin-top: 10rem;
}

/* Image Slider */
canvas {
	background-image: radial-gradient(#666, #333);
}
#instructions {
	position: absolute;
	color: #fff;
	bottom: 0;
	padding-bottom: 6px;
	font-family: sans-serif;
	width: 100%;
	text-align: center;
	pointer-events: none;
}

/* Progress Bar */
.skills,
.skills .skill,
.skills .skill .skill-title,
.skills .skill .skill-bar {
   width: 100%;
}

.skills {
   padding:15px;
}

.skills .skill {
   margin-bottom: 30px;
}

.skills .skill .skill-title {
   margin-bottom: 10px;
}

.skills .skill .skill-bar {
   width: 0;
   height: 20px;
   background: #f0f0f0;
   border-radius: 5px;
   transition: 1s cubic-bezier(1, 0, .5, 1);
   -webkit-transition: 1s cubic-bezier(1, 0, .5, 1);
   -ms-transition: 1s cubic-bezier(1, 0, .5, 1);
}

.skills.active .skill .skill-bar {
   width: 100%;
}

.skills .skill .skill-bar span {
   float: left;
   width: 0%;
   background: #2980b9;
   height: 20px;
   border-radius: 5px;
   transition: 1s cubic-bezier(1, 0, .5, 1);
   -webkit-transition: 1s cubic-bezier(1, 0, .5, 1);
   -ms-transition: 1s cubic-bezier(1, 0, .5, 1);
}

.skills .skill .skill-bar span b {
   float: left;
   width: 100%;
   position: relative;
   text-align: right;
   opacity: 0;
   font-size: 1.2rem;
   color: #ffffff;
   font-weight: 400;
   top: -30px;
}

.sec-btn {
    border: 3px solid white;
    background-color: transparent;
    color: white;
    border-radius: 5px;
    transition: .5s;
}
.sec-btn:hover {
    border-color: #2980b9;
    color: #2980b9;
}

.no-overflow {
    overflow: hidden;
}

#awards-certs .card {
    background-color: #111;
    padding: 10px;
    border: solid 2px white;
    border-radius: 5px;
    transition: .5s;
}
#awards-certs .card:hover {
    background-color:#222;
    cursor: pointer;
}

#awards-certs .card-title {
    color: #2980b9;
    font-size: x-large;
    margin: 0;
}

#awards-certs .card-text {
    display: none;
}

/* Workpage hero section */
.work-div {
    margin: auto;
    color: white;
    font-size: 2em;
}

#work-type {
    color: white;
    transition: 1s;
    border: 3px solid transparent;
    border-radius: 5px;
    padding: 0px 3px;
}
#work-type:hover {
    text-decoration: none;
    border: 3px solid #2980b9;
}

.icon-flex {
    display: flex;
    align-items: center;
}

.icon-flex-center,
.icon-wrapper-sm,
.icon-wrapper-lg {
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-wrapper-sm {
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid white;
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    transition: 1s;
}

.icon-wrapper-lg {
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    font-size: 3rem;
    width: 96px;
    height: 96px;
    transition: 1s;
}
.icon-wrapper-lg:hover {
    border-color: #2980b9;
}

.work-header {
    font-size: 2rem;
    text-transform: uppercase;
}
.work-tagline {
    font-size: 1.1rem;
    color: #ffffff;
}

.hint {
    display: none;
}
.challenge.card {
    background-color: rgba(255,255,255,.2) !important;
    color: #fff;
    cursor: pointer;
}

.challenge-deselect {
    opacity: .2;
}
.challenge-deselect:focus,
.btn.color-primary {
    outline: none;
    box-shadow: none;
}
.btn-hint {
    padding: .6rem 1rem;
}

.challenge-name {
    font-size: 20px;
    font-weight: bold;
}

/* Challenge Colors */
.web.color-primary {
border: solid 2px blue;
background-color: blue;
}

#text{
    background-color: rgba(0,0,0,0.1);
    width: 100%;
    height: 100%;
    text-align: center;
    position: absolute;
    vertical-align: middle;
    font-size: 50px;
    color: white;
    padding-top: 100px;
    z-index: -2;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
#text.hover {
    background-color: rgba(0,0,0,0.9);
    z-index: 2;
}