/* CSS Styles */
* {
    font-family: "Arsenal", sans-serif;
    font-weight: 400;
    font-style: normal;
    box-sizing: border-box;
}
body {
    background-image: url(images/papyrus.png);
    margin: 0;
}
h1 {
    font-family: "Arsenal", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.5rem;
    color: rgb(60, 60, 60);
}
h2 {
    font-family: "Arsenal", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.5rem;
    color: rgb(60, 60, 60);
}
p, ul, ol, li {
    font-family: "Wix Madefor Text", sans-serif;
    font-weight: 20;
    font-style: normal;
    font-size: 1.05rem;
    color: rgb(60, 60, 60);
}
a:link, a:visited {
    color:rgb(20, 124, 169); 
    text-decoration: none;
}
a:hover {
    color:rgb(120, 189, 235);
    text-decoration: underline;
}
img {
    max-width: 100%;
}

/* Button Style */
.button a:link, .button a:visited {
    color:black;
    border:black thin solid;
    padding: 10px;
    display: block;
    text-align: center;
    text-decoration: none;
}
.button a:hover {
    border: black thin solid;
    color:rgb(239, 238, 238);
    background-color:black;
}

/* Header Styles */
header {
    background-color:rgb(32, 106, 138);
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 10px;
    padding: 0 5%;
    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:rgb(239, 238, 238);
    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: 23px;
}
header nav li a:link,
header nav li a:hover,
header nav li a:visited {
    color:rgb(239, 238, 238);
    text-decoration: none;
    font-size: 1.75rem;
    padding: 0 2rem;
}

.pic {
    width: 100%;
    margin-top: 40px;
}

.container {
    background-color: rgb(251, 251, 251);
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;
    padding: 35px 5% 0 5%;
}

/* Homepage Content Style */
.home {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 10px;
}
.about {
    grid-column: 1 / span 8;
    padding: 0 5% 2rem 0;
}
.photo {
    grid-column: 9 / span 4;
}

/* Work Page Content Styles */
.work {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.work div {
    text-align: center;
    padding: 0 5% 5% 5%;
}
.work h2 {
    font-family: "Arsenal", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5rem;
    color: rgb(60, 60, 60);
}

/* Portfolio Page Styles */
.page {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 10px;
}
.project_text {
    grid-column: 1 / span 5;
}
.project_image {
    grid-column: 6 / span 7;
    padding: 0 5% 2rem 0;
}
.project_images {
    grid-column: 6 / span 7;
    padding: 0 5% 2rem 0;
}
.project_images img {
    margin-bottom: 10px;
    margin-right: 10px;
}
.project_image3 {
    grid-column: 6 / span 7;
    padding: 5rem 5% 2rem 0;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 1.5rem;
    margin: .5rem 3.5rem;
    border-top: rgb(32, 106, 138) 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;
}
footer ul a:link, footer ul a:visited {
    color: rgb(32, 106, 138);
}
footer ul a:hover {
    color: rgb(83, 148, 175)
}


/* Media Queries for responsive website */
@media (max-width: 800px) {
    .about, .photo {
        grid-column: 1 / span 12;
    }
    .work {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
    .description {
        grid-column: 1 / span 12;
    }
}
@media (max-width: 800px) {
    .project_text, .project_image3, .project_image, .project_images {
        grid-column: 1 / span 12;
    }
}
@media (max-width: 700px) {
      h1 {
        font-size: 1.9rem;
    }
}
