/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}

/* --------------------------------------------------------------------- */

body {
    background-color: #1f191d;
}

header {
    background-color: #1fea00;
    width: 96%;
    margin-bottom: 5%;
    padding: 2%;

    display: flex;
    align-items: center;

}
#headtxt {
    color: #000000;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 300%;
    
    position: absolute;
    margin-left: 8%;
    transition: 0.25s ease;
}
#headtxt:hover {
    transform: scale(1.08);
    color: rgb(37, 40, 36);
}
#headersubbar {
    background-color: #25c70c;
    width: auto;
    margin-top: -5%;
    padding: 0.75%;
}

#menu {
    width: 96%;
    display: flex;
    align-items: center;
    justify-content: right;
}
#menuicon a {
    margin-left: 4%;
    color: black;
    text-decoration: none;
}

button {
    background-color: black;
    color: #1fea00;
    padding: 1.5%;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 125%;

    padding-left: 3.5%;
    padding-right: 3.5%;

    border-radius: 5px;
    
    margin-left: 1%;
    margin-right: 1%;
    
    transition: 0.25s ease;
}

button:hover {
    color: #3dff1f;
    background-color: rgb(37, 40, 36);
    transform: scale(1.15);
}

#logo {
    width: 7%;
    height: 7%;
    margin: -1%;
    margin-left: -0.5%;
    margin-right: auto;

    transition: 0.25s ease;
}
#logo:hover {
    transform: scale(1.15);
}

#mainbody {
    display: grid;
    grid-template-areas: 
    "intro intro resume"
    "intro intro resume"
    "work work resume";
}

.section {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 110%;

    margin: 4%;
    padding: 3%;
    
    color: black;
    background-color: #1fea00;

    border-radius: 5px;

    transition: 0.25s ease;
}
.section:hover {
    background-color: #3dff1f;
    color: rgb(37, 40, 36);
    transform: scale(1.05);
}

#intro { grid-area: intro }
#work { grid-area: work; }
#resume { grid-area: resume; }


.smallbreak { margin-top: 3%; margin-bottom: 3%; }

#scrollbgcontain {
    overflow: hidden;
    margin: 0%;
    padding: 0%;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
    z-index: -10;
}
#scrollbg {
    background: url("Images/kibby\ bg.png") repeat;
    width: 2000vw;
    height: 2000vh;
    background-size: 500px;
    animation: bg 6s linear infinite;
}

@keyframes bg {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-167px, -167px);
    }
}

footer {
    background-color: #1fea00;
    width: 96%;
    margin-top: 10%;
    padding: 2%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

#totop {
    color: #000000;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 150%;
    text-decoration: none;
    text-align: center;

    margin-top: 3%;

    transition: 0.25s ease;
}
#totop:hover {
    transform: scale(1.15);
    color: rgb(37, 40, 36);
}

#certtxt {
    color: #000000;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 150%;
    text-decoration: none;
    text-align: center;
    margin-top: 2.5%;

    transition: 0.25s ease;
}
#certtxt:hover {
    transform: scale(1.15);
    color: rgb(37, 40, 36);
}

#certs {
    display: flex;
    align-items: center;
    justify-content: center;
}
.cert {
    width: 140px;
    height: 140px;

    transition: 0.25s ease;
}
.cert:hover {
    transform: scale(1.15);
}

.certa {
    margin: 2%;
}

a {
    text-decoration: none;
    color: #1fea00;
}