/* generic page styles */

/* reset rule ======================================*/
* {
    margin: 0; padding: 0; border: 0; box-sizing: border-box;
}

body {
    background-color: rgb(196, 194, 194); color: #222;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 1em;  
    padding-bottom: 1000px;
}

h1 {
    text-align: center;
    margin-bottom: 1.5em;
}
article {
    text-align: center;
}

h2 {
    margin-top: 1.5em; margin-bottom: 1em;
}

/* My profile picture for the index page ===================== */
#mePic {
    border: 2px solid darkgreen;
    border-radius: 50px;
    max-height: 300px; max-width: 350px;
    background-repeat: none;
    background-position: center;
}

/* Dark/Light theme button*/
#dark,#return, #stopWheel  {
    min-width: 5%;
    min-height: 10%;
    border: 1px solid black;
    padding: 3px;
}


/* Hyperlinks to other assignments ===========================*/
#assignments a, #resources a {
    text-decoration: none;
    color: blue;
}
#assignments a:hover, #resources a:hover  {
    border-radius: 4px;
    color: green;
}

/* colors of the nav =========================================*/
#assignments, #resources {
    background-color: rgba(119, 136, 153, 0.671);
}

/* Section part, for assignment 1 =============================*/
section#main {
    display: flex; flex-flow: row wrap;
    justify-content: center;
}

section#main article {
    flex: 0 0 40%;
    background-color: #222; color: #EEE;
    margin: 24px;
    padding: 8px;
}

#main article h2 {
    text-align: center;
    color: orange;
}

/* button 3 slideshow =======================================*/
#art3 {
    display: flex;
    flex-flow:column;
}

/* picture connected to button button 3 ========================*/
#beauty {
    border: 1px tranparent white;
    max-height: 350px; max-width: 100%;  
}

/*CodePen logo image ==========================================*/
#codeP {
    max-width: 250px; max-height: 200px;
}
#codeP:hover {
    border: 1px solid green;
}


