html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html{
    user-select:none;
}

body{
    font-family: "Noto Serif", serif;
}

@media screen and (max-width:700px) {
    #nav1{
        display:none;
    }

    #nav2{
        margin:auto;
        width:50%;
        height:100%;
        margin-right:0;
        display:flex;
        justify-content:end;
        align-items:center;
    }

    #nav2 i{
        padding-right:4vw;
        font-size:25px;
    }

    #imgDesktop{
        display:none;
    }

    #imgMobile{
        width:100%;
    }

    #divAside{
        width:100%;
    }

    #about{
        padding-bottom:15vw;
        text-align:center;
    }

    #content1 h2{
        font-size:4vw;
    }

    #content1 h3, #homeCerts h4{
        margin-top:10vw;
        margin-bottom:7vw;
        font-size:10vw;
    }

    #aboutMe, #certP{
        font-size:5vw;
        line-height:7vw;
        margin-bottom:12vw;
        padding:0px 5vw;
    }

    #viewResume{ 
        padding:3vw;
    }

    #homeCerts{
        padding-top:5vw;
        padding-bottom:7vw;
        text-align:center;
    }

    #note{
        font-size:3vw;
        padding:3vw;
    }

    #homeCerts1, #homeCerts2{
        width:100%;
    }

    #homeCerts2 button{
        margin:0 3.125vw;
        font-size:10vw;
        font-weight:300;
        padding:2vw 3vw;
    }

    .project{
        height:600px;
    }

    .project p{
        margin-top:20px;
        margin-bottom:120px;
        font-size:1rem;
    }

    .certImg{
        width:300px;
    }

    .certs h3{
        font-size:10vw;
        margin-bottom:6vw;
    }
}

@media screen and (min-width:701px) {
    #nav1{
        margin:auto;
        width:50%;
        height:100%;
        display:flex;
        justify-content:space-around;
        align-items:center;
        margin-right:0;
    }

    #nav2{
        display:none;
    }

    #content1{
        display:flex;
    }

    #imgDesktop{
        width:40%;
    }

    #imgMobile{
        display:none;
    }

    #divAside{
        width:60%;
    }

    #about{
        height:45%;
    }

    #homeCerts{
        height:55%;
    }

    #content1 h2{
        font-size:1vw;
    }

    #content1 h3{
        font-size:2.6vw;
        margin-top:2.6vw;
        margin-bottom:1.56vw;
    }

    #aboutMe{
        font-size:1.3vw;
        line-height:1.7vw;
        margin-bottom:3.65vw;
        padding:0px 2.6vw;
    }

    #viewResume{ 
        padding:1vw;
    }

    #homeCerts{
        display:flex;
    }

    #homeCerts h4{
        font-size:2.6vw;
    }

    #note{
        font-size:0.7vw;
    }

    #homeCerts1, #homeCerts2{
        width:50%;
    }

    #homeCerts1{
        padding:2.6vw;
    }

    #certP{
        font-size:1.3vw;
        line-height:1.7vw;
        width:100%;
    }

    #homeCerts2 button{
        margin:0 3.125vw;
        font-size:1.5vw;
        font-weight:bold;
        padding:.5vw 1vw;
    }

    .project{
        height:500px;
    }

    .project p{
        margin:20px 0px;
        font-size:.7rem;
    }

    #mySidenav{
        display:none;
    }

    .certImg{
        width:500px;
    }

    .certs h3{
        font-size:4vw;
        margin-bottom:2vw;
    }

    #content2 h5, #h2Cert{
        font-size:5vw;
    }
}

header{
    font-family: "Roboto", sans-serif;
    width:100%;
    height:60px;
    background-color:rgb(255, 255, 255);
    font-size:1.25rem;
    font-weight:200;
    text-align:center;
    position:sticky;
    top:0;
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    border-bottom:3px rgb(240, 240, 240) solid;
}

header h1{
    font-weight:500;
    margin-left:2.6vw;
}


nav a{
    text-decoration:none;
    color:rgb(0, 0, 0);
    display:inline-block;
    position:relative;
    transition:.3s;
}

nav a::after{
    content: '';
    position:absolute;
    width:100%;
    transform:scaleX(0);
    height:1px;
    bottom:0;
    left:0;
    background-color:rgb(0, 0, 0);
    transition:transform 0.25s ease-out;
}

nav a:hover::after{
    transform:scaleX(1);
}

#content1{
    /* height:100vh; */
    width:100%;
    overflow-y:hidden;
}

#content1 img{
    object-fit:cover;
}

#content1 h2{
    margin:.521vw 0px .521vw .521vw;
    color:rgb(134, 134, 134);
    font-weight:600;
}

#content1 h3{
    font-weight:500;
    padding:0px 2.6vw;
}

#aboutMe{
    font-weight:200;
    color:rgb(94, 94, 94);
}

#viewResume{
    color:white;
    text-decoration:none;
    background-color:rgb(21, 21, 68);
    transition:.3s;
    margin:0px 2.6vw;
}

#viewResume:hover{  
    background-color:rgb(50, 50, 158);
}

#homeCerts{
    background-color:rgb(21, 21, 68);
    color:white;
}

#homeCerts h4{
    font-weight:500;
    margin-bottom:.78vw;
}

#note{
    margin-bottom:2.6vw;
}

#certP{
    font-weight:200;
}

#homeCerts2{
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
}

#homeCerts2 img{
    width:50%;
    object-fit:cover;
}

#homeCerts2 button{
    margin-top:1vw;
    border:none;
    color:white;
    transition:.3s;
    cursor:pointer;
    background-color:transparent;
}

#homeCerts2 button:hover{
    color:rgb(185, 185, 185);
}

#content2{
    width:100%;
    padding-top:2.6vw;
    background-color:rgb(240, 240, 240);
}

#content2 h5, #h2Cert{
    font-weight:400;
    text-align:center;
    margin-bottom:1vw;
}

#hr1, #hr2{
    border:none;
    background-color:black;
    width:30%;
    height:.26vw;
}

#project-container{
    width:100%;
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    justify-content:center;
}

.project{
    width:400px;
    background-color:white;
    overflow:hidden;
    margin:50px;
}

.projectImg{
    width:100%;
    margin-bottom:10px;
    height:230px;
    object-fit:cover;
}

.project h6, .project p{
    padding:0px 40px;
}

.project h6{
    font-size:1.5rem;
    font-weight:bold;
}

.project p{
    line-height:1rem;
    font-weight:300;
    height:120px;
}

.projectButton{
    background-color:rgb(21, 21, 68);
    text-decoration:none;
    color:white;
    padding:10px 20px;
    font-size:1rem;
    margin-left:40px;
    transition:.3s;
}

.projectButton:hover{
    background-color:rgb(50, 50, 158);
}

#unavailable{
    background-color:rgb(228, 228, 228) !important;
    color:black !important;
}

#unavailable:hover{
    background-color:rgb(228, 228, 228) !important;
}

footer{
    width:100%;
    text-align:center;
    background-color:rgb(14, 14, 43);
    color:white;
    height:50px;
    display:flex;
    justify-content:center;
    align-items:center;
    font-weight:bold;
    font-size:1rem;
}

#hr2{
    margin-bottom:2.6vw;
}

.certs{
    border-radius:50px;
    padding:2vw;
    margin:auto;
    background-color:rgb(255, 255, 255);
    width:80%;
    margin-bottom:2.6vw;
}

.certs h3{
    text-align:center;
}

.certs section{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:space-evenly;
    align-items:center;
}

.certImg{
    margin-bottom:2vw;
    border:solid black 3px;
}

.sidenav{
    height:0;
    width:100%;
    position:fixed;
    top:0;
    z-index:10;
    transition:.5s;
    background-color:rgb(14, 14, 43);
}

.close{
    display:flex;
    justify-content:center;
    flex-direction:column;
    text-align:center;
    width:100%;
    transition:.2s ease-in-out;

}

.sideText{
    font-size:40px;
    margin-bottom:50px;
    text-decoration:none;
    color:white;
    width:100%;
}

.closebtn{
    font-size:65px;
    text-decoration:none;
    margin-right:20px;
    margin-left:auto;
    color:white;
}

#buttonTop{
    display:flex;
    justify-content:center;
}

.close{
    visibility:hidden;
    opacity:0;
}