/* CSS Styles */
*{
    font-family: "Playfair Display", serif;
    box-sizing: border-box;
}

body{
    background-color:aliceblue;
    background-image: url(images/hotel-wallpaper.png);
    margin: 0;
}
h1{
    font-size: 2.5rem;
    color: rgb(123, 2, 2);
}
h2{
    font-size: 2rem;
    color: rgb(123, 2, 2);
}
p, ul, ol {
    font-size: 1rem;
    color: rgb(158, 15, 15);
}
.pic {
    width: 300px;
}
.text{
    color: rgb(158, 15, 15);
    font-style: oblique;
    font-weight: bold;
}
a:link{
    color: rgb(123, 2, 2);
}

a:hover, a:visited{
    color: rgb(123, 2, 2);
    text-decoration: underline;
}

img {
    max-width: 100%;
}
/*button style*/
.button a:link, .button a:visited {
    color: rgb(125, 9, 60);
    border: rgb(125, 9, 60) thin solid;
    padding: 10px 3rem;
    display: block;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}
.button a:hover {
border: #000 thin solid;
color: white;
background-color: black;
}

/*header styles */
header {
    background-color: #6e0808;
    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: 16px;
}
header h1 a:link, 
header h1 a:hover, 
header h1 a:visited {
    color:  white;
    text-decoration: none;
}
header nav{
    grid-column: 8 / span 6;
}
header nav ul{
    display: flex;
    justify-content: flex-end;
    list-style-type: none;
    padding: 0;
    margin: 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;
}

.container{
    background-color: white;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 35px 5% 0 5%;
}
/* Home page 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;
}

/* 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%;
}
h3{
    color: #6e0808;
    font-weight: 500;
    font-size: medium;
    font-style: bold;
    text-transform: uppercase;
}

/* footer styles */
footer {
    text-align: center;
    padding: 1.5rem;
    margin: .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;
}