/* the reset selector */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { 
    background-color: whitesmoke;
    font-family: 
        "Palatino Linotype",
        "Book Antiqua", 
        Palatino, 
        serif;
}

/* styles for header nav */

header {
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid lightgray;
    background-image:-webkit-linear-gradient(150deg, lightgray, lightgray 30%, whitesmoke 40%);
    background-image:-mozkit-linear-gradient(150deg, lightgray, lightgray 30%, whitesmoke 40%);
    background-image:-o-linear-gradient(150deg, lightgray, lightgray 30%, whitesmoke 40%);
    background-image: linear-gradient(,,lightgray 30%, whitesmoke 40%);
    padding: 1% 1%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

header a {
    float: left;
    color: black;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    line-height: 25px;
    margin: 10px
}

header .name {
    color: black;
    font-size: 25px;
    padding: 12px;
}

header .name span {
    font-weight: bold;
    color: darkred;
}

.site_nav {
    float: right;
    padding: 12px;
}

.site_nav a {
    padding: 3px;
    transition: .2s ease-out;
}

.site_nav a:hover {
    font-size: 150%;
    transition: .2s ease-in; 
    
}
.site_nav .active{
    font-weight: bold;
    border-bottom: solid 2px darkred;
}



/* the style resume page */

#resume_body {
    font-size: 100%;
    max-width: 100%;
    padding: 1% 20%;
    background-color: whitesmoke;
    align-content: center;
}

#resume_main {
    width: 100%;
    content: "";
    clear: both;
    display: table;
    margin-top: 5%;
	margin-bottom: 5%;
    border-radius: 15px;
    background-color: transparent;
    border-bottom:solid whitesmoke;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#resume_title {
    width: 100%;
    padding: 2.5%;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    background-color: lightgray;
    text-align: center;
}

#skillcert {
    float: left;
    width: 35%;
    padding: 2%;
}

#skills {
    width: 150px;
    border-bottom: solid 1px darkred; 
}

#skillcert ul {
    max-width: 100%;
    padding: 1em 0 .25em 2em;
}

#certs {
    width: 150px;
    padding-top: 1em;
    border-bottom: solid 1px darkred;
}

#education {
    width: 150px;
    border-bottom: solid 1px darkred; 
}

aside p {
    padding: 1em 0 .25em 1em; 
}

#experience {
    font-size: 125%;
    width: 65%;
    float: right;
    padding: 2%;
}

#experience h1 {
    text-decoration: underline darkred;
}
#experience h2 {
    font-size: 100%;
}
#experience ul {
    padding: 1em 0 .25em 2em;
}
#contact_body {
    font-size: 100%;
    max-width: 100%;
    padding: 1% 20%;
    background-color: whitesmoke;
    align-content: center;
}

#contact_main {
    width: 100%;
    padding: 2%;
}

#card {
    text-align: center;
}

#card iframe {
    float: left;
    width: 60%;
    margin: 0;
    padding: 1%;
}

#contact_main aside {
    float: right;
    width: 40%;
    margin: 0;
    padding: 1%;
    text-align: center;
}

#contact_main aside h3 {
    padding: 0;
    margin-bottom: 0;
}

#contact_main aside p {
    padding-top: 0;
    padding-bottom: 1em;
}

/*
#contact_main {
    width: 100%;
    padding: 0 20%;
    content: "";
    clear: both;
    display: table;
    margin-top: 5%;
	margin-bottom: 5%;
    border-radius: 15px;
    background-color: transparent;
}
#card{
    width: 100%;
    padding: 2.5%;
    border-radius: 25px;
    background-color: lightgray;
    text-align: center;
}

*/

/* testing hover zoom  

article img:hover {
    z-index: 2;
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1.2);
    transition: all 200ms ease-in;
    transform: scale(1.2);
}
*/ 


/* the styles for the footer */

footer {
	clear: both;
}

footer p {
 	text-align: center;
	color: darkslategray;
	padding: 1em 0; 
}

#mobile_menu {
    display: none;
}

/* media query for a tablet in portrait view 959px or less */

@media only screen and (max-width: 959px) {

    section h1 {
        font-size: 135%;
    }
    section h2 {
        font-size: 120%;
    }
    aside h2 {
        font-size: 120%;
    }
    .site_nav {
        display: none;
    }
    .mobile_nav {
        display: block;
    }
}

/* media query for a tablet in portrait view 767px or less */

@media only screen and (max-width: 767px) {

    header { 
        display: flex; 
        text-align: center; 
        flex-wrap: wrap;
        justify-content: center;
    }
    header h2, header h3 {
        flex-basis: 100%;
    }
    footer {
        flex-wrap: wrap;
        justify-content: center;
    }
    section {
        order: 1;
        width: 95%;
    }
    aside {
        order: 2;
        padding-right: 2.5%;
        width: 95%;
    }
    article img { max-width: 30%;
    }
    #speakers {
        column-count: 2;
    }
    #nav_menu {
        display: none;
    }
    #mobile_menu {
        display: block;
    }
    .slicknav_menu {
        background-color: #800000 !important;
    }
/* media query for a phone in portrait 479px or less */

@media only screen and (max-width: 479px) {
    body { font-size: 90%; }
} 