*{
    margin: 0;
}
body{
    background-color: #3e2f2c;
    color: white;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
a{
    text-decoration: none;
    color: white;
}
/*Navigation Bar*/
nav{
    position: fixed;
    display: flex;
    justify-content: space-between;
    width: 100%;
    z-index: 1;
    background-color: #3e2f2c;
    height: 60px;
    top: 0;
}
.logo{
    height: 80%;
    padding-right: 10px;
}

#title{
    margin: 0 70px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    display: flex;
    align-items: center;

}
#nav-links{
    justify-content: space-around;
    display: flex;
    width: 50%;
    align-items: center;

}
#nav-links > a{
    text-align: center;
    height: 100%;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: bolder;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#nav-links a:hover{
    color: silver;
    text-decoration: underline 5px;
    cursor:pointer;
}
.panel{
    display: none;
    position: fixed;
    top: 60px;
    right: 380px;
    background-color:  #3e2f2c;
    align-items: center;
    flex-direction: column;
}

/* show on hover (desktop) or when JS adds .open */
.accordion:hover + .panel,
.panel:hover,
.panel.open {
  display: flex;
}
.panel > p:hover {
    color:silver;
    text-decoration: 5px underline;
}
.panel p{
    padding: 17px 40px 17px 36px;
    font-weight: bold;
}
.panel p:nth-child(2){
    padding-left: 17px;
}

#hamburger {
    display: none;
    width: 30px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 1%;
    align-self: center;
} 
#hamburger span {
    height: 4px;
    width: 100%;
    background: white;
    border-radius: 5px;
    transition: 0.3s ease;
}

/* Hamburger Animation */
#hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
#hamburger.active span:nth-child(2) {
    opacity: 0;
}
#hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}
#nav-links.active {
    right: 0;
}
/*Banner*/
.banner-container{
    position: relative;
    height: 50vw;
    background-color: #312623;
    margin-top: 60px;
}
.banner{
    height: 100%;
    aspect-ratio: 1.2 / 1;
    object-fit: cover;
    object-position: 100% 50%;
    -webkit-mask-image:-webkit-gradient(linear, right, left, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
      mask-image: linear-gradient(to left, rgba(0,0,0,1), rgba(0,0,0,0));
    position: absolute;
    right: 0;
}
.banner-flex{
    display: flex;
    height: 100%;
}
.banner-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.banner-left, .banner-right{
    width: 100%;
    height: 100%;
}
.banner-left{
    text-align: center;
}
.banner-left > .logo {
    width: 20%;
    height: 20%;
}
.banner-left > h1{
    font-size: 1.6rem;
    font-weight: bold;
}
.banner-left > p{
    font-size: 1.2rem;
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
}
.breaker{
    display: block;
    width: 100%;
    object-fit: cover;
    object-position: 100% 50%;
}
/*Intro*/
#intro{
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 50px 0px;
}
#intro > *{
    width: 45%;
}
#content{
    grid-area: content;
}
#content h1{
    font-size: 1.5rem;
    margin-bottom: 30px;
}
#content p{
    font-size: 1.3rem;
    font-family: 'Courier New', Courier, monospace;
}
#images{
    position: relative;
    grid-area: images;
    width: 700px;
    height: 400px;
}

/*Catalogue*/
#catalogue{
    display: flex;
    background-color: #312623;
    padding: 20px;
    justify-content: space-around;
}
#catalogue img{
    width: 100%;
    height: 100%;
}
#catalogue .img1{
    width: 25%;
    position: relative;
    aspect-ratio: 1 / 2;
    height: 30vw;
    background-color: aqua;
}
#catalogue .img2{
    width: 25%;
    position: relative;
    aspect-ratio: 1 / 2;
    height: 30vw;
    background-color: aqua;
}
#catalogue .img1 p, #catalogue .img2 p{
    position: absolute;
    bottom: 25px;
    font-size: 2vw;
    left: 20px;
}
#catalogue > .img1 > div, #catalogue > .img2 > div{
    position: absolute;
    width: 100%;
    height: 7vw;
    background-color: rgba(0, 0, 0, 0.5);
    bottom: 0px;
    z-index: 0;
}
#catalogue > #content {
    width: 33%;
}
#catalogue > #content > p {
    font-size: 1.1rem;
}
#catalogue > #content > h1{
    font-size: 1.4rem;
}
/*Footer*/
footer{
    position: relative;
    padding: 50px;
    padding-bottom: 70px;
    background-color: black;
    display: block;
}
.footer-flex{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.footer-flex > img{
    width: 5vw;
    height: 5vw;
}
#footerTitle{
    font-weight: bold;
    font-size: 3vw;
    margin-left: 10px;
}
.footer-flex > p {
    font-size: 2vw;
}

/*Media Queries*/
@media (max-width: 992px) {
    #title {
        margin: 0 20px;
    }

    #nav-links {
        display: none;
        position: fixed;
        top: 60px;
        right: -100%;
        width: 50%;
        height: 80%;
        background: #312623;
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
        gap: 10px;
        transition: 0.3s ease-in-out;
        z-index: 1;
    }

    #nav-links.active {
        display: flex;
        right: 0;
    }

    #nav-links > a{
        width: 100%;
        padding: 20px;
        justify-content: center;
    }
    .panel {
        position: fixed;
        bottom: 0px;
        left: 55px;
        height: 20%;
        width: 45%;
        background-color:  #3e2f2c;
        display: none;
    }
    .panel p:hover{
        color: silver;
        text-decoration: 5px underline;
    }
    .accordion:hover + .panel,
    .panel:hover,
    .panel.open {
        display: flex;
    }
    #hamburger {
        display: flex;
        margin-right: 20px;
    }
}
