@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,300;1,200;1,300&display=swap');
html{
    background-color: rgb(158, 184, 206);
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

body{
background-color: aliceblue;
margin: 0 8em 4em;
}

section{
    margin-left: 4em;
    margin-right: 4em;

}
span {
    display: block;
}

table {
    text-align: center;
}

footer{
    padding: 2em;
    margin-inline-start: 2em;
    font-family: monospace;
    color:gray;
}

header {
    background-color: rgb(16, 58, 79);
    color: #ffffff;
    padding: 1em 1.5em 1em;
    height: fit-content;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 150%;
}
h1, h2, h3, h4 {
    font-family: Mulish, sans-serif;
}
h1 {
    margin-block-start: 1em;
    margin-block-end: 0em;
    font-size: 220%;
    font-weight: normal;
}
h2{
    font-size: 200%;
    text-align: center;
    border-bottom: .05em rgb(16, 58, 79) solid;
}
h3, h4 {
    margin-block-start: 0em;
    margin-block-end: 0em;
}

.center-title{
    margin: auto;
    width: 66vw;;
}
a:link{
    text-decoration: none;
    color: rgb(16, 58, 79);
    font-weight: bold;
}

a:visited {
    background-color: rgb(16, 58, 79);
    color: lightslategray;
}

a:hover{
    background-color:#ffffff;
    color:  rgb(16, 58, 79);
    text-decoration: underline;
}

a:active {
   font-weight: normal;
}
span {
    display: block;
}

a:link{
    text-decoration: none;
    color: rgb(16, 58, 79);
    font-weight: bold;
}

a:visited {
    background-color: rgb(16, 58, 79);
    color: lightslategray;
}

a:hover{
    background-color:#ffffff;
    color:  rgb(16, 58, 79);
    text-decoration: underline;
}

a:active {
   font-weight: normal;
}


/* Flexbox CLASSES */

.flex-container {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    justify-content: space-between;
  }
.job-flex-container{
    justify-content: center;
}

  .clear{
    clear: both;
    }
.clearfix::after {
    content: "";
    clear: both;
    display: table;
  }
/*sourced from w3schools clearfix page*/


body>header::before{
    background-image: url(images/penguinCommunication.jpeg);
    background-size: cover;
    content: "";
    width: 200px;
    height: 197px;
    display: block;
    border-radius: 50%;
    margin-right: 1.25em;
}

dl div{
    margin: .5em 1em;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background-color: hsla(308, 61%, 76%, 0.3);
}

.education dl div {
    width: 20%;
}

dt{
    padding: 1.5em;
    border-bottom: hsla(306, 40%, 19%, 0.5) solid;
    color: #ffffff;
    background-color: hsl(306, 40%, 19%);
    font-size: large;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

dd{
    margin-inline-start: 0;
    padding: .5em 1em 0;
}

li{
    margin-bottom: .75em;
}

.current-ed{
    width: 45%;
    padding: 1em;
}
.job {
    margin: .5em;
    background-color: hsla(188, 61%, 76%, 0.3);
    width: 66vw;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    /*box shadow values from w3cshools css style images page*/
    display:flex;
}

.job header{
    height: auto;
    width: 25%;
}

.duties{
    padding: .5em 1.5em .25em;
    width: 75%;
}

.job-title {
    font-size: x-large;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-bottom: .5em;
}

.job-org, .job-location, .job-date{
    font-size: large;
}
.education dl {
    
}
/*id selector used because I had trouble targeting just the text in the header without changing the pseudoclass*/
#contact{
    justify-content:start;
    align-items:center;
}
#contact section{
    padding: 0%;
}

