/* CSS Styles */
* {
    font-family: "Baskervville", serif;
    font-weight: 400;
    font-style: normal;
    box-sizing: border-box;
}

/*basic text styles*/
body {
    background-color: #dee6f9;
    background-image: url(images/background.webp);
    margin: 0;
}
h1 {
    font-size: 2.5rem;
    color: #314979;
}
h2 {
    font-size: 2rem;
    color: #314979;
}
p, ul, ol {
    font-size: 1rem;
    color: #314979;
}

img {
    max-width: 100%;
}


/* link styles*/
a:link, a:visited {
    color: #9d4a96;
    text-decoration: none;
}
a:hover {
    color: #4c1648;
    text-decoration: underline;
}


/* resume button style*/
.button a:link, .button a:visited{
    color:#9d4a96;
    border: #9d4a96 thin solid;
    padding: 10px 0;
    display: block;
    text-align: center;
    text-decoration: none;
    text-transform: capitalize;
}
.button a:hover{
    border: #9d4a96 thin solid;
    color: white;
    background-color: #9d4a96;
}



/* header style*/
header{
    background-color: #314979;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 10px;
    padding: 0 5%;
    text-transform: capitalize;
    height: 90px;
}
header h1{
    grid-column: 1 / span 6;
    margin-top: 15px;
}
header h1 a:link, 
header h1 a:hover,
header h1 a:visited {
    color:white;
    text-decoration: none;
}

header nav {
    grid-column: 7 / span 6;
}
header nav ul {
    display: flex;
    justify-content: flex-end;
    list-style-type: none;
    padding: 0;
    margin-top: 25px;
}

header nav li a:link,
header nav li a:hover,
header nav li a:visited {
    color:white;
    text-decoration: none;
    font-size: 1.75rem;
    padding: 0 2rem;
}




.pic {
    width: 300px; 
    max-width: 100%;
    height: auto;
}

.container{
    background-color:  #e0e5f2;
    width: 90%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 35px 5% 0 5%;
}



/* homepage content*/
.home {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 10px;
}
.about {
    grid-column: 1 / span 8;
    padding: 0 5% 2rem 0;
}
.about p, ul{
    margin: .75rem 0 2.25rem 0;
    padding: 0;
}
.about h2{
    margin: 0;
    padding: 0;
}
.about ul {
    padding-left: 5%;
}
.photo {
    grid-column: 9 / span 4;
    margin-top: 5px;
}
.aboutme {
    margin-top: 5px;
}


/* workpage content*/

.work {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.work div{
    text-align: center;
    padding: 0 5% 5% 5%;
}
.work img {
    border: #314979 thin solid;
}



/*footer styles */
footer {
    text-align: center;
    padding: 1.5rem;
    margin: 0 3.5rem;
    border-top:#314979 solid thin;
}
footer ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
footer ul a {
    display: block;
    padding: 0 .5rem;
}