/*layout.css------------------*/
/*outlines--------------------*/





/* comment out section vvvvv


*{outline:1px solid gray;}


*/
/*--global---------------------*/
body {
    display:flex;
    flex-direction: column;
    height:100vh;
    width:100%;
    margin: 0;
    padding: 0;
}
section {
    padding: 20px;
    margin: 20px;
    scroll-margin-top: 160px;
}
/*--header---------------------*/
header {
    display:flex;
    flex-direction: row;
    height:auto;
    width: 100%;
    text-align: center;
    position: fixed;
    z-index: 1000;
}
h1 {
    margin-left: 20px;
}
nav {
    display: flex;
    flex-direction: row;
    margin-left:auto;
}
nav a {
    margin: 0 15px;
}
nav ul {
    display: flex; 
    flex-direction: row;
    justify-content: center;
    align-items: center;
    list-style: none; 
    padding: 0; 
    margin: 0; 
}
nav li {
    margin: 0 15px;
}
/*--about----------------------*/
.about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
}
/*--projects-------------------*/
.projects {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap:wrap;
}
.projects h2 {
    width: 100%;
}
.project1, .project2 {
    width:48%;
    height:auto;
}
/*--skills--------------------*/
.skills {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
table {
    width: 90%;
    border-collapse: collapse;
    margin: 20px auto;
    text-align: left;
}
th, td {
    padding: 10px;
}
/*--contact--------------------*/
.contact {
    display: flex;
    flex-direction: column;
}
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}
input, textarea, button {
    padding: 10px;
}
/*--footer---------------------*/
footer {
    justify-content: flex-end;
    text-align: center;
    width: 100%;
    margin-top: auto;
}
/*--responsive------------------*/
@media screen and (max-width: 792px) {
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    nav li {
        margin: 10px 0;
    }
    header {
        height:auto;
        margin-bottom:50px;
    }
    .about {
        margin-top:200px;
    }
}

