*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
    background: #f5f5f5;
    overflow-x: hidden;
}

body{
    height: 100%;

    background: #f5f5f5;
    scroll-behavior: smooth;
}
@media only screen and (max-width: 850px) {
    body{
        overflow-x: hidden;
    }
}
/* width */
::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 10px;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #333; 
    border-radius: 10px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #171717; 
  }
h1, h2, h3, h4, h5, h6{
    font-family: 'Montserrat', sans-serif;
}
.wrapper{
    width: 80%;
    margin: 0 auto;
}

.left{
    text-align: left;
}
.center{
    text-align: center;
}
.right{
    text-align: right;
}
#aboutHeading, #projectHeading, #workHeading, #contactHeading{
    opacity: 0;
    letter-spacing: 5px;
}
/** fadeInLeft **/

@-webkit-keyframes fadeInLeft {
    from {
        opacity:0;
        -webkit-transform: translatex(-15px);
        -moz-transform: translatex(-15px);
        -o-transform: translatex(-15px);
        transform: translatex(-15px);
    }
    to {
        opacity:1;
        -webkit-transform: translatex(0);
        -moz-transform: translatex(0);
        -o-transform: translatex(0);
        transform: translatex(0);
    }
}
@-moz-keyframes fadeInLeft {
    from {
        opacity:0;
        -webkit-transform: translatex(-15px);
        -moz-transform: translatex(-15px);
        -o-transform: translatex(-15px);
        transform: translatex(-15px);
    }
    to {
        opacity:1;
        -webkit-transform: translatex(0);
        -moz-transform: translatex(0);
        -o-transform: translatex(0);
        transform: translatex(0);
    }
}
@keyframes fadeInLeft {
    from {
        opacity:0;
        -webkit-transform: translatex(-150px);
        -moz-transform: translatex(-150px);
        -o-transform: translatex(-150px);
        transform: translatex(-150px);
    }
    to {
        opacity:1;
        -webkit-transform: translatex(0);
        -moz-transform: translatex(0);
        -o-transform: translatex(0);
        transform: translatex(0);
    }
}
.fade-in-left {
    -webkit-animation-name: fadeInLeft;
    -moz-animation-name: fadeInLeft;
    -o-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    -o-animation-duration: 1s;
    animation-duration: 1s;
}
/** fadeInRight **/

@-webkit-keyframes fadeInRight {
    from {
        opacity:0;
        -webkit-transform: translatex(15px);
        -moz-transform: translatex(15px);
        -o-transform: translatex(15px);
        transform: translatex(15px);
    }
    to {
        opacity:1;
        -webkit-transform: translatex(0);
        -moz-transform: translatex(0);
        -o-transform: translatex(0);
        transform: translatex(0);
    }
}
@-moz-keyframes fadeInRight {
    from {
        opacity:0;
        -webkit-transform: translatex(15px);
        -moz-transform: translatex(15px);
        -o-transform: translatex(15px);
        transform: translatex(15px);
    }
    to {
        opacity:1;
        -webkit-transform: translatex(0);
        -moz-transform: translatex(0);
        -o-transform: translatex(0);
        transform: translatex(0);
    }
}
@keyframes fadeInRight {
    from {
        opacity:0;
        -webkit-transform: translatex(150px);
        -moz-transform: translatex(150px);
        -o-transform: translatex(150px);
        transform: translatex(150px);
    }
    to {
        opacity:1;
        -webkit-transform: translatex(0);
        -moz-transform: translatex(0);
        -o-transform: translatex(0);
        transform: translatex(0);
    }
}
.fade-in-right {
    -webkit-animation-name: fadeInRight;
    -moz-animation-name: fadeInRight;
    -o-animation-name: fadeInRight;
    animation-name: fadeInRight;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    -o-animation-duration: 1s;
    animation-duration: 1s;
}

/** fadeUp **/

@-webkit-keyframes fadeUp {
    from {
        opacity:0;
        -webkit-transform: translatey(15px);
        -moz-transform: translatey(15px);
        -o-transform: translatey(15px);
        transform: translatey(15px);
    }
    to {
        opacity:1;
        -webkit-transform: translatey(0);
        -moz-transform: translatey(0);
        -o-transform: translatey(0);
        transform: translatey(0);
    }
}
@-moz-keyframes fadeUp {
    from {
        opacity:0;
        -webkit-transform: translatey(15px);
        -moz-transform: translatey(15px);
        -o-transform: translatey(15px);
        transform: translatey(15px);
    }
    to {
        opacity:1;
        -webkit-transform: translatey(0);
        -moz-transform: translatey(0);
        -o-transform: translatey(0);
        transform: translatey(0);
    }
}
@keyframes fadeUp {
    from {
        opacity:0;
        -webkit-transform: translatey(150px);
        -moz-transform: translatey(150px);
        -o-transform: translatey(150px);
        transform: translatey(150px);
    }
    to {
        opacity:1;
        -webkit-transform: translatey(0);
        -moz-transform: translatey(0);
        -o-transform: translatey(0);
        transform: translatey(0);
    }
}
.fade-up {
    -webkit-animation-name: fadeUp;
    -moz-animation-name: fadeUp;
    -o-animation-name: fadeUp;
    animation-name: fadeUp;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    -o-animation-duration: 1s;
    animation-duration: 1s;
}

/** PopUp **/

@-webkit-keyframes PopUp {
    0% {
        opacity: 0;
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -ms-transform: scale(0);
        -o-transform: scale(0);
        transform: scale(0);
    }
    50%{
        opacity: 1;
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -o-transform: scale(1.1);
        transform: scale(1.1);
    }
    100%{
        opacity: 1;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}
@-moz-keyframes PopUp {
    0% {
        opacity: 0;
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -ms-transform: scale(0);
        -o-transform: scale(0);
        transform: scale(0);
    }
    50%{
        opacity: 1;
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -o-transform: scale(1.1);
        transform: scale(1.1);
    }
    100%{
        opacity: 1;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}
@keyframes PopUp {
    0% {
        opacity: 0;
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -ms-transform: scale(0);
        -o-transform: scale(0);
        transform: scale(0);
    }
    50%{
        opacity: 1;
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -o-transform: scale(1.1);
        transform: scale(1.1);
    }
    100%{
        opacity: 1;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}
.pop-up {
    -webkit-animation-name: PopUp;
    -moz-animation-name: PopUp;
    -o-animation-name: PopUp;
    animation-name: PopUp;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    -o-animation-duration: 1s;
    animation-duration: 1s;
}

/*---- Delaying animation -----*/
.delayAnimation{
    animation-delay: 600ms;
}

header {
    min-height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(images/hero.jpg);
    background-size: cover;
    transform-origin: center center;
    background-repeat: no-repeat;
    position: relative;
    color: #fff;
    width: 100vw;
    /* font-family: 'Raleway', sans-serif; */
}
header .info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 250px;
    padding: 30px 0;
    transition: all 500ms ease;
}
header .info:hover {
    box-shadow: 0 20px 70px #000;
    border-radius: 5px;
    filter: brightness(200%);
}
header .heading {
    font-size: 30px;
}
header p{
    font-size: 25px;
}
header * {
    letter-spacing: 0.05em;
    text-align: center;
    margin: 0;
}
.viewMyWork{
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    font-size: 20px;
    transition: transform 300ms ease;
}
.viewMyWork:hover{
    background: rgba(0,0,0,0.3);
}
.rotate {
    transition: transform 300ms ease;
}
.viewMyWork:hover .rotate{
    transform: rotate(90deg);
}
@media only screen and (max-width: 650px){
    header .heading {
        font-size: 25px;
    }
    header p, .viewMyWork {
        font-size: 20px;
    }
    header .info {
        width: 100%;
    }
}
@media only screen and (max-width: 550px){
    header .heading {
        font-size: 17px;
    }
    header p, .viewMyWork {
        font-size: 15px;
    }
}


/*----------------------------
---------- section -----------
--------------------------- */
section{
    position: relative;
    font-family: 'Lora', serif;
    width: 100%;
    min-height: 100vh;
    padding-top: 30px;
    color: #333;
    clear: both;
}
section h2{
    padding: 50px 0;
    text-shadow: 5px 5px 5px #333;
    font-size: 60px;
    text-align: center;
}
section h3{
    font-size: 30px;
}

/* ---------------------- Projects ----------------------- */
.projectFilter {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
 .projectFilter li{
     list-style: none;
     background: #eee;
     border-radius: 5px;
     padding: 8px 20px;
     margin: 5px;
     cursor: pointer;
     transition: 300ms ease-in-out;
     box-shadow: 0 6px #aaa;
 }
 .projectFilter li:hover{
     background: #bbb;  
     color: #fff;
     box-shadow: 0 3px #888;
     transform: translateY(3px);
 }
 .projectFilter li.active{
     background: #0F2027;
     color: #fff;
     box-shadow: 3px 3px #555;
     transform: translateY(3px);
 }
.projects img{
    width: 400px;
    height: 300px;
    object-fit: cover;
    margin:auto;
}
.projects{
    display: grid;
    grid-template-columns: repeat(3, 400px);
    background: #f5f5f5;
    text-align: center;
    justify-content: center;
    align-items: center;
    transition: 700ms;
    width: 1200px;
    margin: 0 auto;
}
.popUpProject{
    display: none;
    position: fixed;
    top:0; bottom:0; left:0; right: 0;
    margin: auto;
    width: 70vw;
    max-width: 1200px;
    max-height: 70vh;
    height: auto;
    background: #eee;
    z-index: 50;
    box-shadow: 0px 10px 50px #000;
    animation-name: PopUp;
    animation-fill-mode: both;
    animation-duration: 1s;
}
.popUpProject img{
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;
    filter: blur(5px) brightness(30%);
}
.popUpProject button{
    margin: 5px;
}
.projectInfo{
    padding: 5%;
    color: #fff;
    overflow-y: scroll;
    max-height: 70vh;
}

.close{
    position: absolute;
    top: 0%;
    left: 99%;
    transform: translate(-99%, -0%);
    font-size: 30px;
    color: #999;
    font-weight: bold;
    cursor: pointer;
    transition: 300ms ease-in-out;
}
.close:hover, .close:focus {
    color: #000;
    text-shadow: 3px 3px 5px #555;
}
@media only screen and (max-width: 1250px){
    .projects{
        grid-template-columns: repeat(2, 400px);
        width: 800px;
    }
}
@media only screen and (max-width: 1050px){
    .projectFilter li{
        font-size: 14px;
        padding: 5px 15px;
    }
}
@media only screen and (max-width: 850px){
    .projects{
        grid-template-columns: repeat(1, 400px);
        width: 400px;
    }
    section h2 {
        font-size: 45px;
    }
    section h3 {
        font-size: 20px;
    }
    .projectFilter li{
        font-size: 12px;
        padding: 3px 10px;
    }
}
@media only screen and (max-width: 400px){
    .projects{
        width: 100%;
    }
    section h2 {
        font-size: 35px;
    }
    section h3 {
        font-size: 15px;
    }
}

/*----------------------------------------------------
-------------------- Flip Card -----------------------
----------------------------------------------------*/

/* entire container, keeps perspective */
.flip-card {
    -webkit-perspective: 1000px;
            perspective: 1000px;
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
    background: transparent;
    margin: 0 auto;
    width: 400px;
    height: 300px;
}
/*  UPDATED! flip the pane when hovered */
.flip-card:hover .flip-card-back {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
}
.flip-card:hover .flip-card-front {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
}

.flip-card-inner, .flip-card-front, .flip-card-back {
    width: 100%;
    height: 100%;
}
.flip-card-front img{
    -webkit-box-shadow: 0 4px 8px 0 rgba(0,0,0,0.1);
            box-shadow: 0 4px 8px 0 rgba(0,0,0,0.1);
}

/* flip speed goes here */
.flip-card-inner {
    -webkit-transition: 0.6s;
    -o-transition: 0.6s;
    transition: 0.6s;
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
    position: relative;
    text-align: center;
}

/* hide back of pane during swap */
.flip-card-front, .flip-card-back {
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    -webkit-transition: 0.6s;
    -o-transition: 0.6s;
    transition: 0.6s;
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
    position: absolute;

}

/*  UPDATED! flip-card-front pane, placed above back */
.flip-card-front {
    z-index: 2;
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
}

/* back, initially hidden pane */
.flip-card-back {
    -webkit-transform: rotateY(-180deg);
            transform: rotateY(-180deg);
    background: transparent;
    padding: 50px 0;
}
@media only screen and (max-width: 400px){
    .flip-card{
        width: 100%;
        height: 300px;
    }
    .flip-card-front img{
        width: 100%;
    }
}
a{
    text-decoration: none;
}
button{
    border: 1px solid #1d81cc;
    border-radius: 2px;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: bolder;
    background: #f5f5f5;
    color: #1d81cc;
    padding: 6px 20px;
    transition: 300ms ease-in;
    z-index: 1;
}
button:hover{
    color: #f5f5f5;
    background: #1d81cc;
    cursor: pointer;
}
.githubBtn{
    border-color: #28a745;
    background: #28a745;
    color: #fff;
}
.githubBtn:hover{
    background: #dcffe4;
    color: #28a745;
}

/* ------------------About ------------------ */

.about{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    grid-gap: 20px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    justify-items: center;
    align-items: center;
}
.about a{
    color: #eeb013;
    text-decoration: none;
}
.about #intro .imageContainer img{
    height: 270px;
    width: 200px;
    border-radius: 10px;
    transition: 300ms ease;
}
.imageContainer{
    position: relative;
    height: 270px;
}
.profiles{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*width:205px;*/
    /*height:540px;*/
}
#profile2{
    box-shadow: 5px 5px 50px 0 rgba(0,0,0,1);
}
#profile1:hover{opacity: 0; box-shadow: 5px 5px 50px 0 #434500;}
.about #intro, .about #skill{
    opacity: 0;
}
.intro{
    font-size: 20px;
    width: 100%;
}
.intro .name{
    font-size: 30px;
    font-weight: bold;
}
.skillsContainer{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.skillsContainer img{
    width: 70px;
    height: 70px;
}
.skillsContainer .skillIcon{
    display: flex;
    flex-direction: column;
    margin: 15px 5px;
    width: 80px;
    transition: 200ms ease-in-out;
    align-items: center;
}
.skillIcon h4{
    white-space: nowrap;
}
.skillIcon:hover{
    transform: scale(1.05);
    filter: contrast(150%) saturate(10) drop-shadow(2px 2px 5px #333);
}
.tilt {
    transform-style: preserve-3d;
}

.blinking{
    animation-name: blink;
    animation-duration: 1500ms;
    animation-iteration-count: infinite;
    transition: 1500ms ease;
}
@keyframes blink {
    0% {color: #333; text-shadow: none; letter-spacing: 0;}
    50% {color: #000; text-shadow: 0 0 1px #000; letter-spacing: 1px;}
    100% {color: #333; text-shadow: none; letter-spacing: 0;}
}
@media only screen and (max-width: 900px){
    .about{
        grid-template-columns: 1fr;
        grid-template: 1fr 1fr;
    }
    .skillsContainer img{
        width: 55px;
        height: 55px;
    }
    .skillsContainer .skillIcon{
        font-size: 14px;
        margin: 10px 5px;
        width: 60px;
    }
}
@media only screen and (max-width: 450px){
    .intro{
        font-size: 15px;
    }
    .intro .name{
        font-size: 20px;
    }
    .skillsContainer img{
        width: 40px;
        height: 40px;
    }
    .skillsContainer .skillIcon{
        font-size: 10px;
        margin: 5px;
        width: 45px;
    }
}

/* ------------ Progressive Bar ------------- */
/* .line, .about label{
    position: relative;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    font-size: 15px;
    color: #333;
    margin: 10px auto;
    z-index: 5;
    text-align: right;
}
.line{
    width: 70%;
    padding-right: 10px;
    background: #ccc;
}
.about label{
    width: 110px;
    color: #fff;
    background-color: #f7b733;
    font-weight: bold;
    text-align: center;
}
.line span{
    height: 30px;
    float: left;
    background: transparent;
    width: 100%;
}
.lineAnimate{
    animation: 1200ms animateLine 1500ms both;
}
.line1, .line2, .line3, .line4, .line5, .line6, .line7, .line8{
    width: 0;
}
.line1{
    max-width: 85%;
}
.line2{
    max-width: 80%;
}
.line3{
    max-width: 50%;
}
.line4{
    max-width: 40%;
}
.line5{
    max-width: 70%;
}
.line6{
    max-width: 45%;
}
.line7{
    max-width: 60%;
}
.line8{
    max-width: 70%;
}
@keyframes animateLine{
    0%{width: 0; background: transparent;}
    100%{width: 100%; background: #eeb013;}
}
@media only screen and (max-width: 420px) {
    .about .line, .about label, .line span {
        height: 25px;
        line-height: 25px;
        font-size: 10px;
    }
    .about label {
        width: 80px;
    }
    .about line {
        width: 20%;
    }
} */


/* -------------- Work Experience --------------- */
#workExperience {
    margin-bottom: 200px;
}
.experiences{
    display: grid;
    grid-template-columns: repeat(3, 400px);
    background: #f5f5f5;
    text-align: center;
    justify-content: center;
    align-items: center;
    transition: 700ms;
    width: 1200px;
    margin: 0 auto;
    grid-gap: 5px;
    grid-auto-flow: dense;
    justify-items: center;
}
.workDetail{
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 400px;
    width: 100%;
    height: 250px;
    color: #f5f5f5;
    padding: 50px 0;
    opacity: 0.9;
    transition: opacity 300ms ease, width 700ms ease;
    clear: both;
    text-align: left;
}
#td{
    background-image: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.9)), url('images/td.png');
    background-size: cover;
}
#mu{
    background-image: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.9)), url('images/McCarthyUniforms.svg');
}
#cineplex{
    background-image: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.9)), url('images/cineplex.jpg');
}
#bestbuy{
    background-image: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.9)), url('images/bestbuy.jpg');
}
#nccc{
    background-image: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.9)), url('images/nccc.png');
}
#everest{
    background-image: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.9)), url('images/EverestRealty.png');
}
.workDetail:hover{
    opacity: 1;
}
.workDetail li{
    list-style-type: lower-alpha;
    font-size: 20px;
}
.workInfo{
    font-size: 20px;
}
@media only screen and (max-width: 1250px) {
    .experiences{
        width: 800px;
        grid-template-columns: repeat(2, 400px);
    }
}
@media only screen and (max-width: 850px) {
    .workDetail li, .workInfo {
        font-size: 17px;
    }
    .workInfo{
        margin-top: 0;
    }
    .experiences{
        width: 400px;
        grid-template-columns: repeat(1, 400px);
    }
}
@media only screen and (max-width: 450px) {
    .workDetail li, .workInfo {
        font-size: 14px;
    }
    .experiences{
        width: 100%;
    }
}

/* -------------------- Contact ------------------ */
.moonlit-Asteroid-Gradient{
    background: #0F2027;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #2C5364, #203A43, #0F2027);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #2C5364, #203A43, #0F2027); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    position: relative;
    padding-bottom: 10px;
    color: #ddd;
}
/* .moonlit-Asteroid-Gradient::before{ 
    content: '';
    background: #0F2027; 
    background: -webkit-linear-gradient(to right, #2C5364, #203A43, #0F2027);
    background: linear-gradient(to right, #2C5364, #203A43, #0F2027);
    position: absolute;
    width: 100%;
    height: 200px;
    top: -70px;
    left: 0;
    transform: skewY(3deg);

}*/
.contact{
    min-height: 85vh;
}
#contact h2 {
    padding: 100px 0 0;
}
.contactForm{
    width: 600px;
    margin: 0 auto 30px;
}
#contactForm{
    opacity: 0;
}
.form, .formArea{
    position: relative;
    height: 70px;
    margin: 30px auto;
    overflow: hidden;
}
.formArea{
    height: 100px;
}
/* Change autocomplete styles in WebKit */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    border: none;
    -webkit-text-fill-color: #bbb;
    box-shadow:  0 0 0px 1000px transparent inset;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset;
    transition: background-color 5000s ease-in-out 0s;
}
.form input, .formArea textarea{
    width: 100%;
    height: 100%;
    color: #bbb;
    background-color: transparent;
    font-size: 20px;
    padding-top: 20px;
    border: none;
    outline: none;
}
.formArea textarea{
    padding-top: 60px;
}
@keyframes autofill {
    to {
        color: #666;
        background: transparent;
    }
}

input:-webkit-autofill {
    animation-name: autofill;
    animation-fill-mode: both;
    -webkit-animation-name: autofill;
    -webkit-animation-fill-mode: both;
    -moz-animation-name: autofill;
    -moz-animation-fill-mode: both;
}
.form label, .formArea label{
    position: absolute;
    bottom: 0px;
    left: 0%;
    width: 100%;
    height: 100%;
    font-size: 25px;
    pointer-events: none;
    border-bottom: 1px solid #aaa;
}
.form label::after, .formArea label::after{
    content: "";
    position: absolute;
    left: 0px;
    bottom: -1px;
    height: 100%;
    width: 100%;
    border-bottom: 3px solid #fff;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}
.content-name{
    position: absolute;
    bottom: 5px;
    left: 0;
    background: transparent;
    display: block;
    width: 100%;
    transition: all 0.3s ease;
}
.form input:focus + .label-name .content-name,
.form input:valid + .label-name .content-name {
    transform: translateY(-150%);
    font-size: 20px;
    color: #fff;

}
.formArea textarea:focus + .label-name .content-name,
.formArea textarea:valid + .label-name .content-name{
    transform: translateY(-280%);
    font-size: 20px;
    color: #fff;
    width: 100vw;
}
.form input:focus + .label-name::after,
.form input:valid + .label-name::after,
.formArea textarea:focus + .label-name::after,
.formArea textarea:valid + .label-name::after {
    transform: translateX(0%);
}
.contactForm button{
    font-size: 15px;
    background: transparent;
    border-color: #aaa;
    color: #aaa;
    padding: 7px 30px;
}
.contactForm button:hover{
    background: #0F2027;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #2C5364, #203A43, #0F2027);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #2C5364, #203A43, #0F2027); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: #fff;
    font-weight: bold;
}

@media only screen and (max-width: 850px) {
    .contactForm {
        width: 80%;
    }
}

/* ----------------- Footer ----------------------- */
footer {
    position: relative;
    text-align: center;
    margin-top: -5px;
}
.footer {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 40px 0 50px;
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
}
.royal{
    background: #141E30;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #243B55, #141E30);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #243B55, #141E30); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.socialMedia{
    display: flex;
    justify-content: space-around;
    color: #fff;
    width: 300px;
    margin: 0 auto;
    font-size: 30px;
    transition: 500ms ease;
}
.socialMedia a{
    color: #fff;
    text-decoration: none;
}
.socialMedia .fa {
    padding: 10px;
    border-radius: 5px;
    display: block;
    transition: all 500ms ease;
}


.show{
    opacity: 1;
    visibility: visible;
}
footer .fa:hover {
    filter: brightness(250%);
    box-shadow: 0 0 20px #243B55;
}
.socialMedia .fa:hover {
    transform: rotate(360deg);
}
@keyframes updown {
    0% {padding: 7px;}
    25% {padding: 0 7px 14px;}
    50% {padding: 10px 7px 4px;}
    75% {padding: 7px;}
    100% {padding: 7px;}
}
.copymade {
    font-size: 15px;
}
.go-up{
    position: fixed;
    top: 95%;
    left: 100%;
    transform: scale(2) translate(-100%, -95%);
    display: block;
    background: transparent;
    animation: 1500ms updown alternate infinite;
    opacity: 0;
    visibility: hidden;
    z-index: 100;
}
.fa-angle-double-up {
    background: #141e30;
    color: #eee;
    padding: 7px;
    border-radius: 5px;
    animation: 1500ms updown alternate infinite;
}
.go-up .fa-angle-double-up:hover{
    background-color: #333;
    cursor: pointer;
}
/* ----------------- Navigation Bar ---------------- */

nav{
    position: fixed;
    position: -webkit-sticky; /* For chrome, firefox and safari */
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 8vh;
    background: #0F2027;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #2C5364, #203A43, #0F2027);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #2C5364, #203A43, #0F2027); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    text-transform: uppercase;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 0 5px #171717;
}

.nav-links{
    display: flex;
    justify-content: space-around;
    width: 80%;
}
.nav-links li{
    list-style-type: none;

}
.nav-links a{
    font-family: 'Montserrat', serif;
    color: #fff;
    text-decoration: none;
    letter-spacing: 3px;
    font-size: 17px;
}
.nav-links a:hover {
    font-weight: bold;
    filter: brightness(200%);
}
.current{
    font-weight: bold;
    filter: brightness(200%);
    text-shadow: 5px 7px 5px #000;
}
.burger{
    display: none;
    cursor: pointer;
}
.burger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    transition: all 0.4s ease;
}

@media screen and (max-width: 1200px) {
    .nav-links{
        width: 100%;
    }
}

@media screen and (max-width: 850px) {
    nav {
        justify-content: flex-end;
        padding: 1% 5%;
        background: #203A43;
        position: fixed;
    }
    .nav-links{
        position: absolute;
        right: 0;
        height: 92vh;
        top: 8vh;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        width: 80%;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
    }
    .nav-links li {
        opacity: 0;
        border-bottom: 1px solid #fff;
        padding: 20px 10px;
        width: 80%;
    }
    .nav-links li a{
        width: 100%;
    }
    .nav-links li:nth-last-child(1){
        border: none;
    }
    .burger{
        display: block;
    }
}

.nav-back-color{
    background: #203A43;
}

.nav-active {
    transform: translateX(0%);
    background-color: #203A43;
    transition: transform 0.3s ease;
    opacity: 0.95;
}

@keyframes navLinkFade {
    from{
        opacity: 0;
        transform: translateX(50px);
    }
    to{
        opacity: 1;
        transform: translateX(20px);
    }
}

.toggle .burger1{
    transform: rotate(-45deg) translate(-5px,6px);
}
.toggle .burger2{
    opacity: 0;
}
.toggle .burger3{
    transform: rotate(45deg) translate(-5px,-6px);
}

/*Navigation Bar End*/


.custom-shape-divider-top-1614575107 {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-1614575107 svg {
    position: relative;
    display: block;
    width: calc(121% + 1.3px);
    height: 155px;
}

.custom-shape-divider-top-1614575107 .shape-fill {
    fill: #f5f5f5;
}