/* Universal Setting */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Klinic Slab Book", "Goudy Old Style Regular";
}

/* Body */
body {
    background-color: #d8c6b8;
}

/* Wrapper */
.wrapper {
    width: 90%;
}

/* Header */
header {
    background-color: #d8c6b8;
    padding: 30px;
    text-align: center;
    font-size: 35px;
    color: white;
}

/* Navigation*/
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #543136;
}

li {
    float: left;
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    font-family:"Klinic Slab Book"; 
    font-weight: bold; 
    font-size:large; 
    font-style: italic;
    text-decoration: none;
    transition: 0.3s;
}

li a:hover {
    background-color: #5e1211;
}

a:is(:link, :active, :visited).active {
    color: white;
    background-color: #5e1211;
}

/* Button, section text, and image */
.section-content{
    display: inline-block;
    position: relative;
}

.section-content a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s;
}

.button {
    background-color: #0B9446;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 12px;
    font-family: "Goudy Old Style Regular"; 
    font-weight: bold; 
    font-size: xx-large;
    position: relative;
}

.button:hover {
    background-color: #5e1211;
}
/* Section Content (Slide in Overlay for Images) */
section {
    display: -webkit-flex;
    display: flex;
}

.container {
    width: 50%;
    height: auto;
    float: none;
    margin: 30px auto;
    display:flex; 
    position: relative;
}

.item {
    background: steelblue;
    color: white;
    font-size: 20px;
    padding: 10px;
    border: skyblue 1px solid;
}

.overlay-1 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #CF1C44;
    overflow: hidden;
    width: 0;
    height: 100%;
    transition: .5s ease;
}

.overlay-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #7b573e;
    overflow: hidden;
    width: 0;
    height: 100%;
    transition: .5s ease;
}

.overlay-3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0B9446;
    overflow: hidden;
    width: 0;
    height: 100%;
    transition: .5s ease;
}

.overlay-4 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #543136;
    overflow: hidden;
    width: 0;
    height: 100%;
    transition: .5s ease;
}

.overlay-5 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #5e1211;
    overflow: hidden;
    width: 0;
    height: 100%;
    transition: .5s ease;
}

.container:hover .overlay-1 {
    width: 100%;
}

.container:hover .overlay-2 {
    width: 100%;
}

.container:hover .overlay-3 {
    width: 100%;
}

.container:hover .overlay-4 {
    width: 100%;
}

.container:hover .overlay-5 {
    width: 100%;
}

.text {
    white-space: nowrap;
    color: white;
    font-size: 20px;
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    display: inline-block;
}

.text:link {
    text-decoration: none;
    color: white
}

/* Menu Heading Text */
.text h1 {
    color: #7b573e;
    font-size: 3em;
    font-style: italic;
}

/* Contact Us Text Styling */
.container-contact {
    width: 50%;
    height: auto;
    float: none;
    margin: 30px auto;
    display:flex; 
    position: relative;
}

.contact {
    color: white;
    font-size: 2em;
    text-align: center;
    margin: auto;
    align-content: center;
    border: 12px solid #543136;
    background-color: #543136;
    border-radius: 12px;
    padding: 4%;
    line-height: 1.8;
}

.contact a {
    text-decoration: none;
    color: white;
}

.contact a:hover {
    color: #CF1C44;
}

/* Menu Image Alignment */
.menu {
    width: 100%;
    height: auto;
    float: none;
    margin: 10px auto;
    display:flex; 
    position: relative;
    justify-content: center;
}

/* About Us Styling */
.container-about {
    display:flex; 
    position: relative;
}

.about-text {
    color: #543136;
    font-size: 20px;
    position: relative;
    text-align: center;
    display:-moz-inline-box;
    padding: 25px;
}

.about-text h2 {
    font-style: italic;
}

.about-text p {
    display: flex;
    justify-content: center;
}

/* Footer */
footer {
    text-align: center;
    padding: 24px;
    background-color: #543136;
    color: white
}

/* Menu-Footer */
.menu-footer h1 {
    padding: 4px;
}
.menu-footer ul {
    list-style-type: none;
    margin: 0;
    padding: 4px;
    overflow: hidden;
    background-color: #543136;
}

.menu-footer li {
    float: none;
}

.menu-footer li a {
        display: block;
        color: white;
        text-align: center;
        padding: 14px 16px;
        font-family:"Goudy Old Style Regular"; 
        font-weight: normal; 
        font-size:large; 
        font-style: normal;
        text-decoration: none;
        transition: 0.3s;
}

/* Sitemap */
.sitemap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sitemap h1 {
    padding: 14px;
}

.sitemap h2 {
    padding: 14px;
    font-size: medium;
    text-decoration: underline;
}
.sitemap ul {
    list-style-type: none;
    margin: 0;
    padding: 4px;
    overflow: hidden;
    background-color: #d8c6b8;
}

.sitemap li {
    float: none;
}

.sitemap li a {
        display: block;
        color: white;
        text-align: center;
        padding: 14px 16px;
        font-family:"Goudy Old Style Regular"; 
        font-weight: bold; 
        font-size:large; 
        font-style: normal;
        text-decoration: none;
        transition: 0.3s;
}