/* 

File Name: styles.css
Made by: Andrew Imbert
Date: 10/19/2026

*/

/* css reset */

* {
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    background-color: #f5f1ee;
    font-family: "Fira Sans", sans-serif;
    font-weight: 700;
    font-style: normal;
    overflow-x: hidden;
}

/* responsive image */

img {
    display: block;
    max-width: 100%;
}

/* Style rule for box sizing applies to all elements */
* {
    box-sizing: border-box;
}

/* Style rules for mobile viewport */

html, body {
    height: 100%;
    margin: 0;
}

/* Style rules for header */

header img {
    width: 120px;
    padding: 15px;
    border: 0;
}

#kc-logo {
    float: left;
    transform: translateY(-10px);
}

.anchor {
    position: relative;
    display: inline-block;
}

header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 65px;
    background-color:#eccca1;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Style rules for nav */

/* Style rules for hamburger menu */

.hamburger {
    color: black;
    font-size: 30px;
    padding: 35px;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    z-index: 2001;
}

.social-icons {
    display: none;
}

.mobile-nav {
    display: block;
    background-color: #562d0f;
}

#menu-links a {
    color: white;
    font-family: 'Francois One', sans-serif;
    text-align: center;
    font-size: 2em;
    text-decoration: none;
    padding: 6%;
   
}

.nav-desktop, #menu-links {
    display: none;
}

header {
    display: block;
}

nav {
    float: right;
    width: 40%;
    background-color: #562d0f;
    font-family: 'Arial', bold, sans-serif;
    font-size: 13px;
}

nav ul {
    
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav li {
    min-height: 149px;
    padding: 50px 20px;
}

nav li {
    display: flex;
    flex-direction: row;
    border-top: none;
    position: relative;
}

nav li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15px;
    right: 15px;
    border-top: 2px solid #fff;
}

nav li:first-child::before {
    border-top: none;
}

/* Animation for menu links */

/* Closing animation */
#menu-links {
    display: block;
    background-color: #583e29;

    position: absolute;
    top: 0;
    right: 0;

    width: 45%;
    height: 100vh;
    z-index: 1001;

    transform: translateX(100%);
    transition: transform 0.5s ease-in, visibility 0s linear 0.5s;

    overflow: hidden;
    
}
/* Opening animation */
#menu-links.open {
    transform: translateX(0);
    transition: transform 0.5s ease-out, visibility 0s;
}

body.menu-open {
    overflow: hidden;
}

/* Style rules for main content */

.banner-image {
    display: none;
}
main {
    text-align: center;
    background-color: #f5f1ee;
    font-size: 25px;
    padding: 100px;
    padding-top:300px;
}

#heading {
    padding-top: 80px;
}

.heading2 {
    padding: 100px;
    font-size: 50px;
}

.subheading {
    font-style: italic;
    font-weight: 400;
    font-size: 20px;
    padding-bottom: 200px;
}

/* Dropdown menu */

.menu {
    padding: 55px;
}

.sub-menu ul {
    margin: 0 auto;
    padding: 25px;
    font-size: 20px;
}

.menu details {
    margin-bottom: 10px;
}

.menu summary {
    cursor: pointer;
    list-style: none;
}

.menu summary::after {
    content: "+";
    margin-left: 8px;
}

.menu details[open] > summary::after {
    content: "-";
}

/* Enable animation between height 0 and auto */
.menu details::details-content {
    height: 0;
    overflow: clip;
    transition:
        height 0.5s ease,
        opacity 1s ease,
        content-visibility 0.5s ease allow-discrete;
}

/* Allow height to animate to the natural content height */
@supports (interpolate-size: allow-keywords) {
    .menu {
        interpolate-size: allow-keywords;
    }

    .menu details[open]::details-content {
        height: auto;
    }
}

.menu details ul {
    padding-left: 20px;
}


/* gallery slider stuff */
.slider {
    position: relative;
    width: 100%;
    width: 500px;
    margin: 0 auto;
    overflow: hidden;
    z-index: 1;
}

.slider img {
    width: 100%;
    display: none;
}

img.displaySlide {
    display: block;
    animation-name: fade;
    animation-duration: 1.5s;
}

.slider button {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   font-size: 2rem;
   padding: 10px 15px;
   background-color: rgba(0, 0, 0, 0.445);
   color: white;
   border: none;
   cursor: pointer;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

@keyframes fade {
    from{opacity: .5}
    to {opacity: 1}
}

.heading {
    color: black;
    transition: color 0.3s ease, color 0.3s ease;
}

.heading.active {
    color: #a0521b;
    
}

.ul-heading {
    padding-top: 50px;
    list-style-type: none;
    
}

.li-subheading {
    font-style: italic;
    font-weight: 400;
    font-size: 20px;
    padding: 15px;
    list-style-type: none;
}

.other-sub {
    font-style: italic;
    font-weight: 400;
    font-size: 20px;
}

.main-text {
    font-weight: 400;
    font-size: 20px;
    padding: 30px;
}

.cool-text {
    font-size: 55px;
    color:#562d0f;
    font-weight: 800;
}
    

/* Style rules for footer */

footer {
    font-family: 'Francois One', sans-serif;
    font-weight: 200;
    top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #311e09;
    font-size: 10px;
    padding: 15px;
    text-align: center;
    width: 100%;
}

#footer-nav ul{
    list-style-type: none;
    display: flex;
    
}

#footer-nav a {
    color: white;
    text-decoration: none;
    flex-direction: column;
    padding: 5px;
    font-size: 15px;
}

footer p {
    padding: 5px;
    color: rgb(255, 241, 241);
}

footer p a {
    color: rgb(255, 255, 255);
    font-size: 13px;
    text-decoration: underline;
    font-style: italic;
}

/* Media query for desktop viewport */
@media screen and (min-width: 1150px), print {
/* Tablet Viewport: show tablet-desktop, hide mobile class */
 .mobile-nav {
        display: none;
    }

    header {
        background: transparent;
        pointer-events: none;
    }

    .twitter {
        filter: invert(100%)
    }

    .social-icons {
        display: flex;
        gap: 15px;
        align-items: center;
        background-color: #d2b48c;
        width: 100%;
    }

    .social-icons img {
        transform: translateX(60px);
        max-width: 55%;
        padding: 5px;
        height: auto;
    }

    .nav-desktop {
        display: block;
        position: relative;
        width: 100%;
        height: 125px;
        background-color: #eccca1;
        text-align: center;
    }

    .nav-desktop ul {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .nav-desktop ul li {
        display: block;
        padding: 60px 50px;
        border: none;
    }

    .nav-desktop ul li a {
        color: black;
        text-decoration: none;
    }

    #kc-logo {
        position: absolute;
        top: 35px;
        left: 100px;
        z-index: 10;
    }

    #kc-logo img {
        margin: 0;
        padding: 10px;
        width: 108px;
        height: auto;
    }

    nav {
        display: inline-block;
        text-align: center;
        
        width: 100%;
        display: flex;
    }

    nav li::before {
        display: none;
    }

    nav li a {
        color: black;
        text-decoration: none;
        position: relative;
    }

    li::before {
        border-top: none;
    }

    nav ul li {
        display: block;
        padding: 15px 25px;
        font-size: 20px;
    
        border-top: none;
    }

    nav ul li a {
        display: inline-block;
        padding: 5px 8px;
    }

    nav li a:hover {
        text-decoration: underline;
    }


    /* main content for desktop viewport */

    .banner-image {
        display: block;
        margin: 0 auto;

        animation-duration: 1s;
        animation-name: transform;
    }

    .image-container {
        width: 100%;
        height: 450px;
        overflow: hidden;
    }

    .image-container img {
        width: 100%;
        height: auto;
    }

    main {
        padding-top:100px;
        clear: both;

        animation-duration: 1s;
        animation-name: transform;
    }

    .subheading {
        padding-bottom: 100px;
    }

    .menu summary {
        margin: 0 auto;
        cursor: pointer;
        list-style: none;
        display: flex;
        align-items: center;
        gap: 8px;
        width: fit-content;
    }   

    

    @keyframes transform{
    
        0%{
        transform: translateY(50px);
        opacity: 0;
        }

        100%{
            transform: translateY(0px);
            opacity: 100%;
        }
    }

    .slider {
        position: relative;
        width: 100%;
        width: 800px;
        margin: 0 auto;
        overflow: hidden;
    }

    #footer-nav a:hover {
        text-decoration: underline
    }

}





