/* full webpage styles */
* {
    box-sizing: border-box;
}
/* webpage body styles */
body {
    background-color: black;
    margin: 0;
    padding: 1em;
    color: white;
}
/* header styles */
header {
    text-align: center;
    padding: 1em;
    animation: bounce 1s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
header a { /* header link */
    text-decoration: none;
    color: white;
}
/* nav styles */
nav {
    text-align: center ;
    font-size: 1.2em ;
    background-color: #36454F;
}
nav a { /* nav link */
    text-decoration: none;
    color: white;
}
nav a:hover { /* changes link color on mouse hover */
    color: #E56020;
}
nav ul {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    padding-left: 0;
    margin: 0 ;
    transition: background-color 0.5s ease-in-out, transform 0.3s ease;
    
}
nav li {
    padding-top: .5em;
    padding-bottom: .5em;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    border-bottom-style: solid;
    border-width: 1px;
}
h2 a {
    text-decoration: underline;
    color: white;
}
h2 a:hover {
    color: #E56020;
}
/* main styles */
main {
    text-align: center;
}
input [type=text], textarea {
    width: 80%;
    padding: 12px;
    border: 1px solid;
    border-radius: 4px;
}
.selfie {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.project1 {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
/* footer styles */
footer {
    text-align: center;
}
footer a { /* footer link at bottom of page */
    color: white;
}
footer a:hover { /* changes footer link color on mouse hover */
    color: #E56020;
}
/* media styles for responsive design */
@media screen and (min-width :992px) {
    nav ul {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-around;
        padding-right: 2em;
    }
    nav li {
        width: 12em;
        border-style: none;
    }
}