/* CSS Styles */
* {
    font-family: "Prata", serif;
    box-sizing: border-box;
}
body{
    background-color: hsl(40, 67%, 85%);
    background-image: url(images/redfloral.jpeg);
    margin: 0
}
h1 {
    font-size: 2.5rem;
    color: rgb(132, 132, 132);
}
h2 {
    font-size: 2rem;
    color: rgb(207, 136, 136)
}
p, ul, ol {
    font-size: 1rem;
    color: dimgray
}

a:link {
    color: pink; 
    text-decoration: none;
}
a:hover, a:visited {
    color: rgb(207, 136, 136);
    text-decoration: underline;
}

img {
    max-width: 100%;
}






.button a:link, .button a:visited {
    color: rgb(85, 108, 85); 
    border: rgb(85, 108, 85) thin solid; 
    padding: 10px 0;
    display: block; 
    text-align: center;
    text-decoration: none;
    text-transform: uppercase; 
}
.button a:hover {
    border: rgb(85, 108, 85);
    color: white;
    background-color: rgb(85, 108, 85) 
}

header {
    background-color: rgb(207, 136, 136);
    display: grid; 
    grid-template-columns: repeat(12, 1fr);
    gap: 10px;
    padding: 0 5%;
    text-transform: uppercase;
    height: 90px;
}
header h1 {
    grid-column: 1 / span 6;
    margin-top: 15px; 
    font-size: 2.25rem;
}

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: 30px;
}

header nav li a:link,
header nav li a:hover, 
header nav li a:visited {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    padding: 0 2rem; 
}






.pic {
    width: 300px;
}

.container {
    background-color: white;
    width: 90%; 
    max-width: 1000px;
    margin: 0 auto;
    padding: 35px 5% 0 5%; 
}

/* Homepage and Project content styles */

.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;
}
.project_image {
    grid-column: 1 / span 6;
    padding: 0 5% 2rem 0;
   display: flex;
   justify-content: center;
}
.project_image img{
    width:100%;
    height: auto;
    object-fit: contain;
}
.project_image2 {
    grid-column: 8/span 12;
    display: flex;
    justify-content: right;
}
.project_image2 img{
    width: 100%;
    height: auto;
    object-fit: cover;
}

.project_text {
    grid-column: 8 / span 6;
}



/* 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%;
}






/* footer styles */
footer {
    text-align: center;
    padding: 1.5rem;
    margin: .5rem 3.5rem;
    border-top: rgb(85, 108, 85) 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(85, 108, 85);

}
footer ul a:hover {
    color: #333
}

/* Media Queries for responsive website */
@media (max-width: 830px) {
    .container {
        background-color: white;
    }
    p {
        color:dimgray;
    }
    .about, .photo { 
        grid-column: 1 / span 12;
    }
    .work {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
    
    header h1 a:link,
    header h1 a:hover, 
    header h1 a:visited {
        color: white;
        text-decoration: none;
        font-size: 1.3rem;
        padding: 0 2rem; 
    }
    header nav li a:link,
    header nav li a:hover, 
    header nav li a:visited {
        color: white;
        text-decoration: none;
        font-size: 1.3rem;
        padding: 0 2rem; 
    }
    h2 {
        font-size: 1.2rem;
        color: rgb(207, 136, 136)
    }
    p, ul, ol {
        font-size: .9rem;
        color: dimgray
    }

}






