@import "global.css";

body {
    font-family: var(--main-font);
    background-color: var(--main-color);
    margin: 0;
    overflow-x: hidden;
    max-width: 100vw;
    overflow-x: hidden;
}

nav {
    padding-top: 1rem;
    display: flex;
    flex-direction: row;
    min-height: 60px;
    max-height: 250px;
    width: 100%;
}

nav #nav-logo {
    width: 0px;
}

nav img {
    max-width: 200px;
    height: auto;
    flex-shrink: 0;
}

nav #nav-options {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

#nav-options a[href="/"] {
  position: relative;
}

#nav-options a[href="/"]::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--third-dark);
}

nav #nav-options a{
    margin-left: 3rem;
    position: relative;
    color: var(--third-dark);
    text-decoration: none;
    margin: 0 35px;
    font-size: 24px;
    font-weight: 300;
}

nav #nav-options a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--third-dark);
    transition: width 0.3s ease;
}

nav #nav-options a:hover::after {
    width: 100%;
}

#menu-intro {
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    width: 100%;
    justify-content: center;
    align-items: center;
}

#menu-intro #menu-graphic img {
    width: auto;
    max-height: 325px;
}

#menu-intro #menu-description {
    margin-top: 3rem;
    width: 75%;
    text-align: center;
}

#menu-intro #menu-description span {
    font-style: italic;
    font-family: var(--second-font);
    color: var(--third-dark);
    font-size: 24px;
    font-weight: 300;
}

#menu-categories {
    padding-bottom: 1rem;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    width: 100%;
    justify-content: center;
    align-items: center;
    font-family: var(--second-font);
    text-transform: uppercase;
    text-align: center;
    font-weight: 600;
}

#menu-categories a {
    display: inline-block;
    position: relative;
    margin: 0 1em;
    padding: 0.5em 0.8em;
    color: var(--third-dark);
    font-size: 68px;   
    text-decoration: none;
    transition: all 0.35s ease;
}


#menu-categories a::before,
#menu-categories a::after {
  content: "";
  position: absolute;
  height: 5px;
  background: var(--third-dark);
  width: 10%;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  bottom: 50%;
  transform-origin: center;
}

#menu-categories a::before {
  left: -5%;
  transform-origin: left center;
}

#menu-categories a::after {
  right: -5%;
  transform-origin: right center;
}

#menu-categories a:hover::before,
#menu-categories a:hover::after {
  transform: scaleX(1);
}

.divider {
  width: auto;
  height: 45px;
  background-size: contain;
}

@media (max-width: 600px) {
    nav {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    nav img {
        flex-shrink: 1;
        margin: 0;
        /* display: none; */
    }
    nav #nav-logo {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #menu-intro {
        margin-top: 2rem;
        padding-bottom: 0;
    }

    #menu-intro #menu-graphic img {
        max-height: 250px;
    }

    #menu-intro #menu-description span {
        font-size: 16px;
        font-weight: 300;
    }

    #menu-categories a {
        font-size: 36px;
    }

    .divider {
        width: auto;
        height: 30px;
        background-size: contain;
    }

    #footer {
        flex-direction: column;
        align-items: center;
        height: 350px;
        gap: 1em;
    }
    #footer > div {
        max-width: none;
        width: 100%;
        text-align: center;
        padding: 1em 0;
    }
    #footer > div:not(:last-child)::after {
        display: none;
    }   
}



