/* CSS Styles */
*{
    font-family: "Sriracha", sans-serif;
    box-sizing: border-box;
}

body {
    background-color: rgb(255, 255, 255);
    background-image: url(images/background.png);
    margin: 0;
}
h1 {
    font-size: 2.5rem;
    color: rgb(32, 32, 32); 
}
h2 {
    font-size: 2rem;
    color: rgb(32, 32, 32); 
}
p, ul, ol {
    font-size: 1rem;
    color: rgb(22, 21, 29)
}
/*Link Style*/
a:link {
    color: #daa520;
    text-decoration:none;
}
a:hover, a:visited {
    color: #B8860B;
    text-decoration: underline;
}
img {
    max-width: 100%;
}
/*Dropdown Button*/
.dropbutton {
    color: #daa520;
    margin-top: 15px;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: bold;
    font-family: inherit;
    border: none;
    background: transparent;
    padding: 0;
}

/* Needed to Position Dropdown Buttons*/
.dropdown {
    position: relative;
    display: inline-block;
}

/*Dropdown Content */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: auto;
    right: 0;
    background-color: #f1f1f1;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links Inside Dropdown*/
.dropdown-content a { 
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    border:#B8860B thin solid;
    color: white;
    background-color: #B8860B;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}

/*Button Style*/
.button a:link, .button a:visited{
    color: #666;
    border: #666 thin solid;
    padding: 10px 0;
    display: block;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}
.button a:hover{
    border:#B8860B thin solid;
    color: white;
    background-color: #B8860B;
}

/*Header Style*/
header{
    background-color: rgb(241, 241, 241);
    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;
}
header h1 a:link,
header h1 a:hover,
header h1 a:visited {
   color: #DAA520;
    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 0 0 0;
}
header nav li a:link,
header li a:hover,
header li a:visited {
    color: #DAA520;
    text-decoration: none;
    font-size: 1.5rem;
    padding: 0 2rem;
}

.pic{
    width: 408px; height: 612px;
}
.container {
    background-color: rgba(211, 211, 211, 0.5);
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 35px 5% 0 5%;

}

/*Homepage and Project 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;
}
.project_text {
    grid-column: 5 / span 8;
}
.project_image {
    grid-column: 1 / span 4;
    padding: 0 5% 2rem 0;
}

div.scroll-container {
  background-color: rgba(211, 211, 211, 0.5);
  overflow: auto;
  white-space: nowrap;
  padding: 10px;
}

div.scroll-container img {
    width: 350px;
    height: 350px;
    padding: 10px;
}

/*Work Page Content Style*/
.work{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.work div {
    text-align: center;
    padding: 0 5% 5% 5% 
}


/*Footer Style*/
footer{
    text-align: center;
    padding: 1.5rem;
    margin: 0.5rem 3.5rem;
    border-top: #666 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:#DAA520
}
footer ul a:hover {
    color:#B8860B;
}


/* Media Queries for responsive website */ 
@media (max-width: 735px) {
    .header h1 {
        font-size: 1rem;
    }
    .about, .photo { 
        grid-column: 1/ span 12;
    }
    .work{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    }  
    .project_image, .project_text {
        grid-column: 1/ span 12;
    }
}