body {
    padding-top: 5px;
}

h1 {
    font-size: 80px;
}

h2 {
    font-size: 60px;
}

a {
    color: #E5EAEE;
}

h3,
label {
    color: #202833;
}

.fa {
    color: #E5EAEE;
}

.navbar,
.pcard {
    background-color: #202833;
}

.home {
    background: url("../images/glasses-2947708_1920.jpg");
    opacity: 0.9;
    background-size: 100% 100%;
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.about,
.contact {
    background-color: #202833;
    padding-bottom: 50px;
}

.portfolio {
    background-color: #E5EAEE;
    padding-bottom: 50px;
}

.my-work {
    padding-top: 20px;
}

button {
    background-color: #202833;
    color: #E5EAEE;
}

.connect {
    background-color: #202833;
    color: white;
}

.connect h3 {
    color: white;
}

.contact-form {
    margin: 20px 150px;
    background-color: #E5EAEE;
    color: 202833;
}

#gform label {
    color: #202833;
    margin-left: 25px;
}

#gform textarea {
    height: 100px;
    width: 95%;
    border-radius: 2px;
    background-color: #202833;
    border: 2px solid white;
    padding: 5px;
    margin-left: 25px;
}

#gform input {
    border-radius: 2px;
    width: 95%;
    margin-left: 25px;
    background-color: #202833;
    border: 2px solid #363d47;
    padding: 5px;
}

#gform button {
    width: 150px;
    border-radius: 2px;
    margin-left: 25px;
    padding: 5px;
}

#gform button:hover {
    background-color: #363d47;
}

textarea,
input {
    color: grey;
}

@-webkit-keyframes typing {
    from {
        width: 0;
    }
}

@-webkit-keyframes blink-caret {
    50% {
        border-color: transparent;
    }
}

h1 {
    font: bold 300% Consolas, Monaco, monospace;
    border-right: .1em solid black;
    width: 16.5em;
    width: 21ch;
    margin: 2em 1em;
    white-space: nowrap;
    overflow: hidden;
    -webkit-animation: typing 2s steps(21, end), blink-caret .5s step-end infinite alternate;
}

.slideanim {
    visibility: hidden;
}

.slide {
    /* The name of the animation */
    animation-name: slide;
    -webkit-animation-name: slide;
    /* The duration of the animation */
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    /* Make the element visible */
    visibility: visible;
}


/* Go from 0% to 100% opacity (see-through) and specify the percentage from when to slide in the element along the Y-axis */

@keyframes slide {
    0% {
        opacity: 1;
        transform: translateY(70%);
    }
    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

@-webkit-keyframes slide {
    0% {
        opacity: 1;
        -webkit-transform: translateY(70%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0%);
    }
}


/*skill images sizes*/

.skills img {
    height: 60px;
    width: 60px;
    margin: 12px;
}


/*portfolio css effects*/

div.item {
    position: relative;
    /*float: left;*/
    overflow: hidden;
    margin: 10px 10px;
    min-width: 200px;
    max-width: 410px;
    width: 100%;
    background: #000000;
    text-align: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    /*box-sizing: border-box;*/
    background-color: #202833;
    border: 3px solid #202833;
    border-radius: 5px;
}

div.item img {
    min-width: 200px;
    max-width: 410px;
    width: 100%;
}

div.item p {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 10%;
    font-size: 34px;
    color: white;
    width: 1000px;
    height: 50px;
    line-height: 60px;
    background: black;
    opacity: 0.4;
}

div.item:hover img {
    opacity: 0.3;
    filter: grayscale(100%);
}

div.item * {
    transition: all .35s ease-in-out;
}

div.item p {
    transform: translate(-50%, -50%) scale(0);
    transition: transform 300ms 0ms cubic-bezier(0.6, -0.28, 0.735, 0.045);
}

div.item:hover p {
    transform: translate(-50%, -50%) scale(1);
    transition: transform 300ms 100ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-image1 {
    height: 200px;
}

.profile-image2 {
    height: 200px;
}

.profile-image3 {
    height: 200px;
}


/*social media icons on hover */

.social i:hover {
    color: grey;
}