* {
    margin: 0;
    padding: 0;
}
html, body {
    font-family: Verdana, Geneva, sans-serif;
    width: 100vw;
    overflow-x: hidden;
    color: black;
}
body p, body li {
    font-size: 20px;
}
.bg-light {
    background-color: whitesmoke;
}
.navbar {
    background-color: rgba(0, 26, 51, 0.5) !important;
    border-bottom: 2px solid deepskyblue;
    transition: all .5s;
}
.navbar-brand {
    font-size: 30px;
    transition: all .5s;
}
.navbar a {
    color: white !important;
}


.dropdown-menu {
    background-color: #001a33 !important;
    color: white !important;
}
.navbar .dropdown-item:hover {
    background-color: deepskyblue;
    color: black !important;
}
.navbar .dropdown-item:focus, .dropdown-item.active {
    background-color: deepskyblue;
    color: black !important;
}
.dropdown-toggle::after {
    display: none;
}


.navbar.scrolled {
    background-color: rgba(0, 26, 51, 1) !important;
}
.navbar.scrolled .navbar-brand {
    font-size: 22px;
}
.navbar.scrolled .nav-link {
    font-size: 16px;
}
@media only screen and (max-width: 992px) {
    .navbar {
        background-color: rgba(0, 26, 51, 1) !important;
    }
    .navbar-brand {
        font-size: 22px;
    }
    .navbar .nav-item .nav-link {
        display: inline-block;
    }
}

.navbar .nav-item .nav-link {
    position: relative;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: auto .5rem !important;
    font-size: 18px;
    transition: all .5s;

}
.navbar .nav-item .nav-link:hover {
    color: white;
}
.navbar .nav-item .nav-link::after {
    display: block;
    content: "";
    position: absolute;
    bottom: 2.5px;
    left: 0;
    right: 0;
    margin: auto;
    height: 2px;
    width: 100%;
    transform: scaleX(0);
    background-color: deepskyblue;
    transition: all .3s;
}
.navbar .nav-item .nav-link:hover::after, .navbar .nav-item .nav-link.active::after {
    background-color: deepskyblue;
    transform: scaleX(1);
}



.splash-header {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    font-family: "Arial Black", Gadget, sans-serif;
    position: relative;
}
.splash-header img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
.splash-header .hero-text {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(0, 0, 0, 0.6);
    z-index: 3;
}

.splash-header .hero-text .hero-text-div {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    width: 85%;
}

.splash-header .hero-text .hero-subline {
    margin: 12px auto 0;
    font-size: 18px;
    letter-spacing: 0.5px;
    opacity: 1;
    color: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    font-weight: 700;
    min-height: 24px;
}

.splash-header .hero-text .hero-subchunk {
    opacity: 0;
    display: inline-block;
    transition: opacity .35s ease;
}

.splash-header .hero-text .hero-subchunk.show {
    opacity: 1;
}


.splash-header .hero-text .splash-button span {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, 0%);
    border-radius: 50%;
    width: 46px;
    height: 46px;
    /*padding: 5px 13.75px;
    font-size: 20px;
    border: 2px solid black;
    transition: all 0.1s;*/

    border: 1px solid white;
    border-radius: 100%;
    transition: opacity .3s;
    transition: bottom 0.2s;
}
.splash-header .hero-text .splash-button span::after {
    position: absolute;
    top: 50%;
    left: 50%;
    content: '';
    width: 16px;
    height: 16px;
    margin: -12px 0 0 -8px;
    border-left: 1px solid white;
    border-bottom: 1px solid white;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    box-sizing: border-box;
}
.splash-header .hero-text .splash-button span:hover {
    bottom: 15px;
    opacity: 0.5;
    cursor: pointer;
}
.splash-header .hero-text .splash-button:hover {
    bottom: 15px;
}
.splash-header .hero-text .splash-button:focus {
    outline: none;
}
@media only screen and (max-width: 320px) {
    .splash-header .hero-text .hero-text-div h1 {
        font-size: 2rem;
    }
}
.container:not(#navbar-container) {
    padding: 10vh 15px;
}
#web-projects .container {
    padding-bottom: 0;
}
#software-projects .container {
    padding: 10vh 15px 5vh;
}


.img-thumbnail {
    border: 2px solid #001a33;
    background-color: deepskyblue;
    transition: all .4s;

}

.projects-container .row .col-md-4 {
    margin: 2.5vh auto;
}
.projects-container .card {
    border: none;
    height: 100%;
    transition: all .4s ease-in-out;
    position: relative;
    z-index: 1;
}
.projects-container .card:hover .img-thumbnail {
    transform: translateZ(0) scale(1.07);
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
    transition: all .4s ease-in-out;
    z-index: 5;
    cursor: pointer;
}
.projects-container .row .card a {
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.about-subheading {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    color: #001a33;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 20px;
}

.about-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.about-list li:last-child {
    border-bottom: none;
}
.container h2 {
    font-size: 2.5rem;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
}
@media only screen and (max-width: 320px) {
    .container h2 {
        font-size: 2rem;
    }
}
.container h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    width: 75px;
    height: 1px;
    border-bottom: 5px solid deepskyblue;
    left: 50%;
    transform: translate(-50%, 0%);
}


.projects-container .card-image-top {
    width: 100%;
    /*border-radius: 0.5rem 0.5rem 0 0;*/
}

.contact-me {
    background-color: whitesmoke;
    color: black;
}
.contact-me .container {
    padding: 15vh 10vw 15vh 10vw;
}
.form-wrapper, .projects-wrapper {
    margin: 5vh auto;
}
#software-projects .projects-wrapper {
    margin-bottom: 0;
}

.contact-me .submit-btn {
    background-color: inherit;
    border: 2px solid #001a33;
    border-radius: 2px;
    transition: all 0.4s;
    color: #001a33;
}
.contact-me .submit-btn:hover {
    color: white;
    background-color: #001a33;
}


.footer {
    background-color: #001a33;
    border-top: 2px solid deepskyblue;
}
.footer .container .row {
    text-align: center;
    align-items: center;
    justify-content: center;
}
.footer .container .row div {
    margin: auto 5vw;
    font-size: 1.15rem;

    position: relative;
    text-decoration: none;
    /*padding: 0 15px;*/
    text-align: center;


}
.footer .container .row div a {
    text-decoration: none;
    color: black;
    transition: all .4s;
    display: block;
    background-color: white;
    padding: 15px;
    position: relative;
    z-index: 1;
    border-radius: 5px;
}
.footer .container .row div a i {
    z-index: 3;
    position: relative;
    color: black;
    transition: all .4s;
}
.footer .container .row div a::after {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background-color: deepskyblue;
    left: 0;
    top: 0;
    z-index: 1;
    height: 0;
    transition: all .4s;
    border-radius: 5px;
}
.footer .container .row div a:hover::after {
    height: 100%;
    transition: all .4s;

}
.footer .container .row div a:hover i {
    transition: all .4s;
    color: black;
}


.contact-me input:focus, .contact-me textarea:focus {
    border: 1px solid #001a33;
    -moz-box-shadow: 0px 0px 10px #001a33;
    -webkit-box-shadow: 0px 0px 10px #001a33;
    box-shadow: 0px 0px 10px #001a33;
}
.formShake {
    animation: shake .5s;
    border: 1px solid red;
    -moz-box-shadow: 0px 0px 10px red;
    -webkit-box-shadow: 0px 0px 10px red;
    box-shadow: 0px 0px 10px red;
}
  
@keyframes shake {
    0% { transform: translate(0.5px, 0.5px) rotate(0deg); }
    10% { transform: translate(-0.5px, -1px) rotate(-0.5deg); }
    20% { transform: translate(-1.5px, 0px) rotate(0.5deg); }
    30% { transform: translate(1.5px, 1px) rotate(0deg); }
    40% { transform: translate(0.5px, -0.5px) rotate(0.5deg); }
    50% { transform: translate(-0.5px, 1px) rotate(-0.5deg); }
    60% { transform: translate(-1.5px, 0.5px) rotate(0deg); }
    70% { transform: translate(1.5px, 0.5px) rotate(-0.5deg); }
    80% { transform: translate(-0.5px, -0.5px) rotate(0.5deg); }
    90% { transform: translate(0.5px, 1px) rotate(0deg); }
    100% { transform: translate(0.5px, -1px) rotate(-0.5deg); }
}

.formError {
    width: 100%;
    text-align: left;
    color: #ea4e4e;
    float: left;
    padding: .375rem .75rem;
    display: none;
}

#formSuccess {
    width: 100%;
    text-align: center;
    color: #001a33;
}
#formErrorGeneral {
    width: 100%;
    text-align: center;
    color: #ea4e4e;
}

#software-projects, #skills {
    background-color: #001a33;
    color: white;
}

#software-projects .card {
    background-color: #001a33;
}


#software-projects .card:hover {
    z-index: 5;
}

#software-projects .img-thumbnail {
    border: 2px solid deepskyblue;
    background-color: #001a33;
    transition: all .4s ease-in-out;

}
#skills .icon-p {
    text-align: center;
    margin: 30px auto;
}
#skills .icon-p i {
    color: deepskyblue;
    transition: all .4s ease-in-out;

}

#skills h3 {
    text-align: center;
    margin: 15px auto;
    font-weight: 600;
}
#skills .col-md-4 {
    padding: 10px;
}
#skills .skill-wrapper {
    border: 2px solid deepskyblue;
    background-color: #001a33;
    height: 100%;
    z-index: 1;
    position: relative;
    transition: all .4s ease-in-out;
    padding: 15px;
    box-shadow: 2.5px 2.5px 8px lightblue;

    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: subpixel-antialiased;
    cursor: pointer;

}
#skills .skill-wrapper:hover {
    transform: translateZ(0) scale(1.07);
    transition: all .4s ease-in-out;
    z-index: 5;
    border-color: white;

    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}
#skills .skill-wrapper:hover .icon-p i {
    color: white;
    transform: scale(1.25);
    transition: all .4s ease-in-out;
}

#skills ul {
    padding: 30px;
}
