
/* general */
* {
    margin:0;
    padding:0;
    border: 0;
}

h2 {
    font-size: 20px;
    color:#659e92;
    margin: 10px;
    margin-left: 0;
}

h1 {
    font-size:28px;
    margin: 10px;
    margin-left: 0;
}

p {
    margin: 5px; 
}

ul {
  list-style: none;
}

a, a:visited {
    color:#80c8b9
}

a:hover {
    color: #425f68;
}

ul li a {
  text-decoration: none;
}



body {
  background-color: #f2f2f2;
  color: #565656;
  font-family: Verdana, sans-serif;
}

/* navigation element left */
@media (min-width:798px) {
    aside {
        background-color: #ffffff;
        width: 180px;
        height: 100vh;
        position: fixed;
        float: left;
        z-index: 1;
        top: 0;
        text-align: center;
    }
}


@media (max-width:798px) {
    aside {
        background-color: #ffffff;
        width:100%;
        display: relative;
        top:0;
        text-align: center;
    }
}

aside nav a {
    display: block;
    padding: 10px;
    color: #425f68 !important;
}

@media (min-width:798px) {
    aside nav a{
        padding: 20px;
    }
}

aside img#magpie {
    height: 100px;
    padding: 10px;
}

li a:hover:not(.active) {
    background-color: #565656;
    color: white !important;
}

li .active {
    background-color: #80c8b9;
}

@media (max-width:798px) {
    aside img{
        display:none;
    }
}

aside #navicon {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%, 0%);
}

aside #navicon a {
    text-decoration: none;
}

aside #navicon img {
    height:30px;
}


/* rest of page */
main {
    margin-left:0;
    display: flex;
    flex-flow: row wrap; 
    text-align:center;
}

@media (min-width:798px) {
    main {
        margin-left: 180px;
        margin-top: 0;
        text-align: left;
    }
}

#intro, #header {
    position: relative;
    width: 100%;
}

#intro img, #header img {
    height: 150px;
    width: 100%;
    object-fit: cover;
    filter: brightness(75%)
}

@media (min-width:798px) {
    #intro img, #header img {
        height:250px;
    }
}

#intro h1 {
    text-align: center;
    color: white;
    font-family: Garamond, serif;
    font-size: 5vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
}

@media (min-width:798px) {
    #intro h1 {
        font-size: 48px;
    }
}

#aboutme, #featured, #contact {
    margin: auto;
    margin-top: 30px;
    width: 85%;

}

#about_box {
    display: flex;
}

#aboutme img {
    height: 200px;
    width: 200px;
    object-fit: cover;
    border-radius: 25%;
    position: relative;
    
}

@media (max-width:768px) {
    #aboutme img {
        display: block;
        margin: auto;
    }
}

@media (min-width:768px) {
    #aboutme img {
        display:inline;
        float: right;
        margin: 10px;
        margin-top:0;
    }

    .titles h2 {
        display: inline;
    }  
}

@media (max-width:768px) {
    .dash {
        display: none !important;
    }
}

/* #aboutme #paragraph {
    /* what do I put here to put it nicely in a column?  Well nevermind for now.
} */

/* featured projects */

#f_boxes {
    display: flex;
    flex-flow: row wrap;
    width: 100%;

}

@media (max-width:768px) {
    #f_boxes {
        justify-content: center;
    }
}

#f_boxes .box {
    height:200px;
    width: 200px;
    margin: 20px;
    text-align: center;
    position: relative;
}

#f_boxes img {
    margin:0;
    height: 200px;
    width: 200px;
    object-fit: cover;
    border-radius: 10%;
}

#f_boxes a:hover {
    border-radius: 10%;
    background-color: #80c8b9;
    opacity:0.7;
}

/* #f_boxes .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0.7;
    transition: .5s ease;
    background-color: #659e92;
}

.overlay h2 {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
} */

.box a {
    position: absolute;
    display:inline-block;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width:100%;
    height:100%;
}

/* portfolio pages */

#text {
    width:100%;
    text-align: center;
    margin: 20px;
}

.greenblock {
    background-color:#80c8b9;
    width:100%;
    height:10px;
    border-radius: 5px;
}

#projects {
    display: flex;
    width: 100%;
    flex-flow: row wrap;
    justify-content: center;
    /* align-items: flex-start; */
}

@media (min-width:798px) {
    #projects {
        width:80%;
        margin:auto;
    }
}

.project {
    width: 300px;
    box-sizing: border-box;
    padding:10px;
    border:2px solid #659e92;
    margin:5px;
    text-align: center;
}

.project img {
    box-sizing: border-box;
    height:160px;
    padding:10px 0px;
}

.project a {
    background-color: #659e92;
    color: white;
    padding: 14px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}




/* contact */

#contact #selfie {
    height: 200px;
    width: 200px;
    object-fit: cover;
    border-radius: 25%;
    position: relative;
    display: block;
    margin: auto;
}

@media (min-width:768px) {
    #contact #selfie {
        display:inline;
        float: right;
    }
}

#contactmethods {
    display:flex;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    width: 80%;
}

@media (max-width:768px) {
    #contactmethods {
        margin: auto;
    }
}

@media (min-width:768px) {
    #contactmethods {
        justify-content: flex-start !important;
    }

    #contactmethods .method {
        flex-grow: 0 !important;
    }
}

#contactmethods .method {
    margin: 20px;
    flex-grow: 1;
}

#contactmethods img {
    height: 30px;
    margin-right:10px;
}

#contactmethods a {
    position: relative;
    top: -50%;
}

#header h1 {
    text-align: center;
    color: white;
    font-family: Garamond, serif;
    font-size: 5vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
}

@media (min-width:798px) {
    #header h1 {
        font-size: 40px;
    }
}

#credits {
    font-size: 10px;
}