/*
#2b6777 dark turquoise
#c8d8e4 dull light blue
#ffffff white
#f2f2f2 light grey
#52ab98 bluish - green

#1F1F1F eerie black
#5D737E dull bluish - grey
#FFF07C dull yellow
#F0F7EE dull white
#7980CD lavendar
*/

html{
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}
*, *:before, *:after{
    box-sizing: inherit;
}
body{
    font-size: 3vmin;
    margin: 0;
    padding: 0;
}
ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
li{
    padding:10px;
}
p{
    padding: 10px;
}
a:link{
    padding: 5px;
    /* color: #c8d8e4; */
    color: black;
    text-decoration:none;
    font: italic;
}
a:visited{
    /* color: #c8d8e4; */
    color: #1F1F1F;
    text-decoration:none;
    font: italic;
}
a:focus{
    color: red;
    text-decoration:none;
    font: italic;
}
a:hover{
    text-decoration: underline;
    color: goldenrod;
    color: #2b6777;
    font: italic;
}
a:active{
    color: gold;
    text-decoration:none;
    font: italic;
}
footer{
    /* background: #2b6777; */
    background: #1f2d3d;
    color: #c8d8e4;
    box-shadow: 0px 5px 5vh 2px black inset;
}
nav{
    background-color: #1f2d3d /*#2b6777*/ /*#7D9ABA*/;
    /* background-color: #323a6c; */
    z-index: 2;
    color: #c8d8e4;
    font-weight: 600;
    position: sticky;
    top: 0;
    box-shadow: 0px 5px 10px 1px black;
}
img{
    width: 60vw;
    min-width: 300px;
    border-radius: 15px;
}
h1{
    font-family: 'Caveat', cursive;
    font-size: 20vmin;
}
h3{
    font-size: 5vmin;
    margin-bottom: 0.5em;
} 
.intro h3{
    font-size: 4vmin;
} 
.intro p{
    margin-bottom: 0;
}
h4{
    margin:0;
}



nav a:link, footer a:link{
    text-decoration: none;
    color: #d3d3d3;
}
nav a:visited, footer a:visited{
    color: silver;
}
nav a:focus, footer a:focus{
    color: coral;
}
nav a:hover, footer a:hover{
    color: #f2f2f2;
}
nav a:active, footer a:active{
    color: white;
}

.common{
    width: 90%;
    margin: 0 auto;
    padding: 6vmin 0;
}

nav .common{
    padding: 0;
}
.footer, .header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-align: center;
}  
.footer2, .footer3, .footer4{
    flex-direction: column;
}
footer .common{
    padding-bottom: 10px;
}
.footer li{
    padding-bottom: 0;
}

.intro {
    min-height: 100vh;
    text-align: center;
    border-radius: 0;
    background-image: url("../Images/plane-4k.jpg");
    background-size: cover;
    background-position: center center;
}

.project{
    background-color: #d9f0f7;
    color: #808080;
}
.project h3{
    color: #333333;
}
.project h2{
    color: #1f2d3d;
}
.art .common{
    border-bottom: 1px solid rgba(100,100,100,0.5);
}
.art-craft{
    box-shadow: 0px 5px 5vh 2px black inset;
    background-color: #fffbf5;
}
.art-craft h2, figcaption{
    font-family: 'Caveat', cursive;
    font-size: 8vmin;
}
.art-craft h2{
    color: #3d7dd9;
}

.resume{
    background-color: #e5e9f2;
}
.resume a:link{
    color: #1f2d3d;
}
.resume h2,.resume h3{
    color: #1f2d3d;
}





.grid{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    text-align: center;
    gap: 40px 0;
    margin: 30px 0;
}
.grid div{
    margin:0;
    padding: 0;
    border: 3px solid rgba(50,50,50,0.5);
    border: 3px solid #1f2d3d;
    border-radius: 20px;
}
.grid img{
    box-shadow: 0 0 5px 0.2px black;
    transition: all 0.5s ease-in-out
}

.project-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px 0;
    margin-top: 40px;
}
.project-grid h3{
    margin-top: 0;
}
.content h3{
    text-align: center;
}
.item{
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 30px;
    padding-bottom: 40px;
    border-bottom:  1px solid rgba(100,100,100,0.5);
}
.item:last-of-type{
    border-bottom: none;
    padding-bottom: 0;
}
.item p{
    padding: 0;
}
.item img{
    border-radius: 5px;
    margin-bottom:20px;
    box-shadow: 0 0 5px 0.2px black;
    transition: all 0.5s ease-in-out
}
.item img:hover{
    box-shadow: 0 0 10px 0.5px black;
}
.image{
    text-align: center;
}

.education-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px 0;
}

.skill-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
}
.skill-grid ul{
    list-style-type: circle;
    padding-left: 1.5em;
}
.skill-grid li{
    padding: 0;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
}
.skill-grid h4{
    padding-bottom: 0.5em;
}

.formal{
    font-family: 'Libre Baskerville', serif;
}

.sub-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
}
.subgrid h4, .sub-grid h5{
    line-height: 2;
    padding: 0;
    margin: 0;
}
.sub-grid h5{
    font-weight: 400;
}
.sub-grid a:link{
    padding: 0;
}

figure{
    margin:1vw;
    padding:23px 0 0;
}
h2{
    font-size: 7vmin;
    margin-top: 0;
}
.project h2{
    margin-bottom: 0;
}
footer h2{
    margin-bottom: 2vmin;
}

figcaption{
    font-size: 4vmin;
}
small div{
    margin-top: 2em;
}



@media screen and (min-width: 450px){
    h1{
        margin-bottom: 2vmin;
        font-size: 15vmin;
    }
    .grid img:hover{
        box-shadow: 0 0 10px 0.5px black;
        transform: scale(1.01);
        filter: grayscale(20%);
    }
    .item img:hover{

        transform: scale(1.01);
        filter: grayscale(20%);
    }

}


@media screen and (min-width: 975px){
    figure{
        padding: 30px 0 0;
    }
    .grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    img{
        width: 28vw;
        min-width: 300px;
    }
    .common{
        max-width: 1000px;
        width: 80%;
        padding: 12vmin 0;
    }
    .education-grid{
        gap: 40px 0;
    }
    .sub-grid{
        gap: 0 30px;
    }
    .content h3{
        text-align: left;
    }
    figcaption{
        font-size: 3vmin;
    }
    .item{
        grid-template-columns: 1fr 2fr;
    }
    
}