body {
    font-family: "Fauna One", serif;
    font-size: 20px;
}

li {
    list-style: none;
}

a {
    color: white;
}

#nav:nth-child(n) :hover {
    background: aquamarine;
    color: black;
}

a:hover,
a:focus {
    color: white;
    text-decoration: none;
}

h1 {
    color: white;
    text-align: center;
    margin-top: 4%;
    font-size: 412.5%;
}

h1>small {
    display: block;
    color: white;
}

h2 {
    font-size: 245%;
    margin-top: 140px;
}

h2:after {
    display: block;
    margin: 42px 0;
    content: "";
}

h3 {
    font-weight: bold;
}

h4 {
    font-size: 92%;
}

h6 {
    color: #f0f0f0;
}

h1 .logo {
    font-size: 230%;
    font-family: "Brush Script MT", cursive;
    width: 200px;
    margin-left: -20px;
}


/* ELEMENTS */

.noir {
    display: block;
    background-color: black;
    padding: 18px;
    border: 3px solid white;
}

.vertical-list li {
    float: left;
}

.blue-border {
    border: 2px solid #114190;
}

.magenta-border {
    border: 2px solid #e11a61;
}

.purple-border {
    border: 2px solid #9d1098;
}

.red-border {
    border: 2px solid #9d102b;
}


/* END OF ELEMENTS */

.overflow {
    overflow: hidden;
}

.overlay {
    background-color: rgba(4, 14, 22, 0.83);
    height: 100%;
    width: 100%;
    padding-bottom: 80px;
}

.hidden {
    display: none;
}

.CenterContainer {
    position: relative;
}

.closeBg {
    border-radius: 25px;
    position: absolute;
    top: 15px;
    right: 12px;
    width: 30px;
    height: 30px;
    background-color: white;
}

.AbsoluteCenter {
    border-radius: 25px;
    height: 90%;
    /* Set your own height: percents, ems, whatever! */
    width: 80%;
    /* Set your own width: percents, ems, whatever! */
    overflow: auto;
    /* Recommended in case content is larger than the container */
    margin: auto;
    /* Center the item vertically & horizontally */
    position: fixed;
    /* Break it out of the regular flow */
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: azure;
    -webkit-animation-name: cssAnimation;
    -webkit-animation-duration: 0.5s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: ease;
    -webkit-animation-fill-mode: forwards;
    /* Set the bounds in which to center it, relative to its parent/container */
}

@-webkit-keyframes cssAnimation {
    from {
        -webkit-transform: scaleX(0%) scaleY(0%);
    }

    to {
        -webkit-transform: scaleX(100%) scaleY(100%);
    }
}

#nav {
    background: url("http://thumb1.shutterstock.com/display_pic_with_logo/1487123/134611310/stock-vector-colorful-geometric-background-with-triangles-vector-eps-134611310.jpg");
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    font-family: 'cwTeXKai', serif;
    font-size: 30px;
}

#nav ul {
    list-style: none;
}

#nav li {
    display: inline-block;
    padding: 10px;
}

#nav li:hover {
    background: aquamarine;
}

#nav li:hover a {
    color: black;
}

.dropbtn {
    border: none;
    background-color: transparent;
    padding: 16px;
    border: none;
    color: white;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: aquamarine;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    width: 350px;
}

.dropdown-content a:hover {
    background-color: rgb(127, 193, 255);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    color: black;
    background-color: aquamarine;
}

.AbsoluteCenter90 {
    height: 95%;
    /* Set your own height: percents, ems, whatever! */
    width: 100%;
    /* Set your own width: percents, ems, whatever! */
    overflow: auto;
    /* Recommended in case content is larger than the container */
    margin: auto;
    /* Center the item vertically & horizontally */
    position: absolute;
    /* Break it out of the regular flow */
    top: 10;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 2000;
    /* Set the bounds in which to center it, relative to its parent/container */
}

.AbsoluteFullCenter {
    z-index: 2000;
    height: 100%;
    /* Set your own height: percents, ems, whatever! */
    width: 100%;
    /* Set your own width: percents, ems, whatever! */
    overflow: auto;
    /* Recommended in case content is larger than the container */
    margin: auto;
    /* Center the item vertically & horizontally */
    position: fixed;
    /* Break it out of the regular flow */
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgb(0 0 0 / 50%);
    /* Set the bounds in which to center it, relative to its parent/container */
}

#visitor {
    background-color: #243239;
    border: 20px solid #243239;
}

#visitor p {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 2%;
    text-align: center;
    width: 100%;
    color: white;
}


#close {
    position: absolute;
    right: 0px;
    color: red;
    font-size: 40px;
    padding: 10px;
}

#close:hover {
    color: crimson;
    font-size: 45px;
    padding: 5px;
}

#home {
    background: url("https://static.pexels.com/photos/232/apple-iphone-books-desk-large.jpg") no-repeat;
    width: 100%;
    background-size: cover;
}

#home nav {
    margin: 0 auto;
    width: 700px;
    padding-top: 80px;
}

#home nav ul {
    overflow: hidden;
}

#home nav ul li {
    width: 25%;
}

#home nav a {
    padding: 16px;
    padding-right: 30px;
    display: table-cell;
}

#home nav.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: black;
    z-index: 999;
    padding: 0;
    transition: background-color 0.8s;
}

#home nav.fixed ul {
    max-width: 700px;
    margin: 0 auto;
}

#about::before {
    /* height: 0px;
	width: 0px;
	border-left: 30px solid transparent;
	border-right: 30px solid transparent;
	border-top: 30px solid #131c23;
	margin: 0 auto;
	content: "";
	display: block; */
}

#about {
    background-color: #ffb88a;
}

.social-links {
    margin-top: 100px;
    overflow: hidden;
    padding: 0;
    display: table;
    margin: 0 auto;
    margin-top: 90px;
}

.social-links li {
    display: inline-table;
    margin-right: 10px;
}

.twitter {
    border-color: #55acee;
}

.linkedin {
    border-color: #0077b5;
}

.freecodecamp {
    border-color: #4a2b0f;
}

.twitter:hover {
    background-color: #55acee;
    transition: background-color 0.4s;
}

.linkedin:hover {
    background-color: #0077b5;
    transition: background-color 0.4s;
}

.freecodecamp:hover {
    background-color: #4a2b0f;
    transition: background-color 0.4s;
}

#about .info {
    font-weight: bolder;
    display: flex;
    flex-direction: row;
}

#about h2 {
    color: #0d2435;
}

#about h2::after {
    border-bottom: 2px dashed #918d8d;
}

#about .info p {
    line-height: 270%;
}

#about .signature {
    font-family: "Brush Script MT", cursive;
    font-size: 150%;
    float: right;
    color: #0d2435;
    opacity: 0.9;
}

#skill-set {
    margin-top: 80px;
    padding-bottom: 80px;
}

#skill-set ul {
    overflow: hidden;
}

#web-development-skills {
    background-color: #114190;
}

#automation-skills {
    background-color: #e11a61;
}

#misc-skills {
    background-color: #9d1098;
}

.skills {
    color: white;
}

.skills li {
    padding: 20px;
}

#portfolio {
    padding-bottom: 80px;
}

#portfolio {
    /* background-color: rgba(137, 202, 255, 0.83); */
    padding-bottom: 80px;
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

#portfolio::after {
    content: "";
    background-image: url(./water.gif);
    opacity: 0.3;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
}

#portfolioContainer {
    background-color: rgba(248, 247, 216, 0);
}

#portfolio h2 {
    margin-bottom: 140px;
}

#portfolio h2:after {
    border-bottom: 2px dashed #b4b4b4;
}

#portfolio .row {
    margin: 0px;
    box-sizing: border-box;
    padding: 0 60px;
}

#portfolio .heading {
    color: #f0f0f0;
    padding: 15px;
    text-align: center;
    position: absolute;
    font-size: 25px;
    letter-spacing: 2px;
    font-weight: 900;
}

#portfolio .heading span {
    color: #635757;
    display: block;
    margin: 40px 0px;
    font-size: 200%;
}

#portfolio .description {
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 15px;
}

#portfolio .description>* {
    display: none;
}

#portfolio .description>h6 {
    font-size: 72%;
}

#portfolio .description>p {
    font-size: 20px;
}

#portfolio p {
    color: #f0f0f0;
    /*display: none;*/
    margin-bottom: 30px;
    line-height: 230%;
}

#portfolio p,
.tools {
    width: 100%;
}

.description span {
    margin-left: 10px;
}

.description .tools {
    margin-top: 20px;
    overflow: hidden;
}

.description .tools li {
    margin-right: 10px;
    padding: 10px;
    -webkit-text-stroke: 2px black;
    font-family: sans;
    color: red;
    font-size: large;
}

#portfolio div section {
    cursor: pointer;
}

#portfolio div:nth-child(odd) section {
    /* background-color: #483f3f; */
    padding: 10px;
    border: 3px solid #4d4343;
}

#portfolio div:nth-child(even) section {
    /* background-color: #3d3636; */
    padding: 10px;
    /* border: 3px solid #393333; */
}

#portfolio img {
    width: 100%;
}

#portfolio section {
    height: 100%;
    margin-bottom: 20px;
}

#portfolio .overlay {
    position: relative;
    padding-bottom: 0px;
    min-height: 550px;
    overflow: auto;
}

#portfolio .description h4 {
    color: white;
}

#portfolio .heading {
    position: relative;
    margin: 0 auto;
}

#portfolio section {
    width: 50%;
    float: left;
}

#portfolio section:hover .overlay img {
    opacity: 0;
    transition: opacity 0.32s;
}

#portfolio section:hover .description {
    top: 140px;
    transition: top 0.5s;
}

#portfolio section:hover .overlay .heading span {
    -webkit-transform: rotate(180deg);
    position: relative;
    top: -80px;
    left: -30px;
    color: rgba(4, 14, 22, 0.83);
}

#portfolio section:hover .overlay .description>* {
    display: block;
}

#portfolio section:hover .overlay .heading {
    position: absolute;
    top: -60px;
    transition: top 0.9s;
}

#contact {
    background: url("https://res.cloudinary.com/dj7k0lade/image/upload/v1526689027/codepen/portfolio/map.jpg") no-repeat;
    background-size: cover;
}

#contact .overlay {
    background: rgba(0, 0, 0, 0.968);
}

#contact h2 {
    color: white;
}

#contact h2:after {
    border-bottom: 2px dashed white;
}

#contact form {
    position: relative;
}

#contact .form-group label {
    display: block;
    color: white;
    font-weight: normal;
}

#contact .form-group input,
#contact .form-group textarea {
    outline: none;
    border: 0;
    border-bottom: 6px solid #114190;
    padding: 9px;
    background-color: #2b2b2b;
    color: white;
}

#contact .form-group input#emailTXT {
    width: 75%;
    border-bottom: 6px solid #e11a61;
}

#contact .form-group input#emailTXT {
    border-bottom: 6px solid #e11a61;
}

#contact .form-group input#subjectTXT {
    width: 55%;
    border-bottom: 6px solid #9d1098;
}

#contact .form-group input#messageTXT {
    border-bottom: 6px solid #9d1098;
}

#contact .form-group #messageTXT {
    border-bottom: 6px solid #9d102b;
    resize: none;
}

#contact #submitBTN {
    color: white;
}

#contact #submitBTN:hover {
    background-color: white;
    color: black;
    transition: background-color 0.4s;
}

#contact #submitBTN span {
    margin-right: 20px;
}

#contact .social-links li {
    margin-bottom: 20px;
}


/* Media Queries */

@media screen and (max-width: 1200px) {
    #portfolio [class^="col"] section {
        width: 80%;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 10px;
        min-height: 400px;
    }

    #portfolio .overlay {
        width: 100%;
        height: auto;
    }

    #portfolio section:hover .overlay .heading span {
        -webkit-transform: rotate(90deg);
        top: 70px;
        left: -240px;
        position: relative;
    }
}

@media screen and (max-width: 790px) {
    body {
        font-size: 18px;
        text-align: center;
    }

    h2 {
        margin-top: 80px;
    }

    input {
        text-align: center;
    }

    #about img {
        display: block;
        margin: 0 auto;
        width: 30%;
    }

    #about .info {
        flex-direction: column-reverse;
    }

    #skill-set .skills {
        margin-top: 20px;
    }

    form {
        text-align: left;
    }

    #portfolio .description p {
        margin-top: 40px;
    }

    #portfolio section {
        font-size: 10px;
    }

    #portfolio .overlay>* {
        font-size: 200%;
    }

    #portfolio p,
    h6 {
        text-align: left;
    }

    #contact textarea {
        width: 90%;
    }
}

@media screen and (max-width: 570px) {
    #home nav {
        width: inherit;
    }

    #about .signature {
        float: none;
    }

    #portfolio h2 {
        margin-bottom: 0;
    }

    #portfolio section img {
        display: none;
    }

    #portfolio section {
        width: 100%;
    }

    #portfolio .description>* {
        display: block;
    }

    #portfolio .description {
        display: table-footer-group;
    }

    #portfolio .heading {
        display: table-header-group;
        font-size: 180%;
        text-align: left;
    }

    #portfolio .overlay {
        min-height: auto;
        padding: 20px;
    }

    #portfolio .description {
        top: 100px;
        position: static;
    }

    #portfolio section {
        min-height: auto;
    }

    #portfolio section:hover .overlay .heading {
        position: relative;
        top: -0px;
        color: white;
        -webkit-transition: none;
    }

    #portfolio .heading span {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .social-links li {
        display: block;
        width: 100%;
    }

    .social-links {
        width: 100%;
    }

    h1 {
        font-size: 300%;
    }

    #about img {
        width: 60%;
    }

    #skill-set #web-development-skills::before {
        display: none;
    }

    #skill-set .skills {
        width: 100%;
        display: block;
    }

    #portfolio .overlay {
        height: 70%;
    }
}