*,*::before,
*::after {
  box-sizing: border-box;
}

main, footer {
    font-family: 'Source Sans 3', sans-serif;
}

nav {
    font-family: 'Open Sans', sans-serif;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: aliceblue;
    max-width: auto;
}

header.nav-container {
    background-color: rgb(28, 24, 24);
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    max-width: auto;
    padding-block: 1rem;
    margin-inline: auto;
    z-index: 9999;
    overflow: hidden;
    position: fixed;
    height: 180px;
    transition: all 0.4s ease-in-out;
}

header.nav-container #logo {
    margin-left: -5px;
    transition: all 0.4s ease-in-out;
}

header.nav-container .logo img {
    width: 100%;
    max-width: 155px;
    height: auto;
    cursor: pointer;
}

header.nav-container .nav-list-desktop {
    display: flex;
    margin-right: -20px;
}

header.nav-container .nav-list-desktop ul {
    display: flex;
    flex-direction: row;
    gap: 1.8rem;
}

header.nav-container .nav-list-desktop li {
    list-style-type: none;
    gap: 2rem;
}

header.nav-container .nav-list-desktop li a:not(.active) {
    padding: 0.35rem 0.55rem;
    border-radius: 450px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    color: white;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.active {
    padding: 0.35rem 0.55rem;
    border-radius: 450px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    color: rgb(213, 107, 107);
    transition: all 0.2s ease-in-out;
    cursor: pointer; 
}

header.nav-container .nav-list-desktop li a:hover:not(.active) {
    border-bottom: solid 1px white;
    transition: all 0.5s ease-in-out;
}

header.nav-container .nav-side-mobile {
    display: none;
}

main {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: auto;
    margin-inline: auto;
    margin-top: 90px;
}

main .jumbotron-container {
    position: relative;
    text-align: center;
    color: white;
    width: 100%;
}

main .jumbotron-container img {
    width: 100%;
    height: auto;
    max-height: 450px;
    margin: 0;
}

main .jumbotron-container div { 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

main .jumbotron-container div h1 {
    font-size: 68.5px;
    margin-top: -14px;
    margin-bottom: -14px;
}

main .jumbotron-container div h3 {
    font-size: 25px;
}

main .jumbotron-container div p {
    font-size: 18px;
    color: white;
}

main .description-container {
    padding: 4rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-around;
    gap: 10rem;
}

main .description-container .marketplace-description {
    flex: 2;
    width: 40%;
}

main .description-container .marketplace-description h1 {
    font-size: 30px;
}

main .description-container .round-logo {
    display: flex;
    margin-right: 155px;
}

main .description-container .round-logo img {
    max-width: 240px;
    width: 100%;
    height: auto;
    flex: 7;
}

main .menu-container {
    margin: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: center;
    gap: 1.3rem;
}

main .menu-container h1 {
    font-size: 28px;
}

main .menu-container .ramen {
    display: flex;
    flex-direction: row;
    cursor: pointer;
    height: 15rem;
    max-width: 1220px;
    width: 100%;
    height: auto;
}

main .menu-container .ramen img {
    margin: 0 75px 0 75px;
    width: 100%;
    height: auto;
    max-width: 300px;
    border-radius: 10px;
}

main .menu-container .sashimi {
    display: flex;
    flex-direction: row;
    cursor: pointer;
    height: 15rem;
    max-width: 1220px;
    width: 100%;
    height: auto;
}

main .menu-container .sashimi img {
    width: 100%;
    max-width: 300px;
    margin: 0 75px 0 75px;
    height: auto;
    border-radius: 10px;
}

main .menu-container .sushi {
    display: flex;
    flex-direction: row;
    cursor: pointer;
    height: 15rem;
    max-width: 1220px;
    width: 100%;
    height: auto;
}

main .menu-container .sushi img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 75px 0 75px;
    border-radius: 10px;
}

main .menu-container .hover-scale {
    transition: transform .3s;
    margin: 0 auto;
}

main .menu-container .hover-scale:hover {
    transform: scale(1.04);
    filter: grayscale(0.6);
}

main .contact {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    background-color: rgba(211, 211, 211, 0.788);
}

main .contact .contact-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

main .contact .contact-container div .social-media ul {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    list-style-type: none;
    margin-left: -38px;
}

main .contact .contact-container div .social-media ul li a {
    color: black;
    cursor: pointer;
}

main .contact .contact-container div .social-media ul li a:hover {
    color: rgb(64, 64, 87);
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(43, 34, 34, 0.945);
}

footer h4 {
    color: white;
    cursor: pointer;
}

.card {
    box-shadow: 0 8px 18.5px 0 rgba(0, 0, 0, 0.286);
    border-radius: 9px;
    padding: 20px;
    background-color: rgba(228, 166, 166, 0.167);
}

.card2 {
    border-radius: 4.5px;
    padding: 5px 15px;
    background-color: rgb(222, 222, 231);
}

@media screen and (max-width: 769px) {
    main .description-container .round-logo img {
        display: none;
    }
    main .description-container .marketplace-description {
        width: 100%;
        flex: 6;
    }
    main .menu-container .ramen img {
       max-width: 200px;
       width: 100%;
    }
    main .menu-container .sashimi img {
        max-width: 200px;
        width: 100%;
        margin: 0 50px 0 50px 0;
    }
    main .menu-container .sushi img {
        max-width: 200px;
        width: 100%;
        height: auto;
        margin: 0 50px 0 50px 0;
    }
}

@media screen and (max-width: 426px) {
    header.nav-container .nav-list-desktop {
        display: none;
    }
    header.nav-container {
        width: 100%;
    }
    header.nav-container .nav-side-mobile {
        display: flex;
        transition: all 0.3s ease-in-out;
    }
    header.nav-container .nav-side-mobile .side-nav {
        display: flex;
        width: 0;
        position: fixed;
        z-index: 1;
        height: 100%;
        top: 0;
        right: 0;
        background-color: #111;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
        padding-top: 30px;
        flex-direction: column;
        padding-top: 55px;
    }
    header.nav-container .nav-side-mobile .side-nav a:not(.active) {
        padding: 0.35rem 0.55rem;
        border-radius: 450px;
        text-decoration: none;
        font-size: 1.05rem;
        font-weight: 500;
        color: white;
        transition: all 0.2s ease-in-out;
        cursor: pointer;
    }
    header.nav-container .nav-side-mobile .side-nav .close-button {
        position: absolute;
        top: 0;
        right: 25px;
        padding-bottom: 20px;
        font-size: 30px;
        transition: all 0.3s ease-in-out;
    }
    header.nav-container .nav-side-mobile .open-button {
        font-size: 20px;
        cursor: pointer;
        background-color:  rgba(34, 30, 30, 0.041);
        color: white;
        border: none;
        margin-left: 220px;
        margin-bottom: 10px;
        transition: 0.3s ease-in-out;
    }
    main .jumbotron-container div {
        margin-top: 20px;
    }
    main .jumbotron-container div h1 {
        font-size: 32px;
    }
    main .jumbotron-container div h3 {
        font-size: 15px;
    }
    main .description-container {
        gap: 0;
        padding: 1.2rem;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        align-content: center;
    }
    main .description-container .marketplace-description {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        align-content: center;
        flex: 8;
    } 
    main .menu-container .ramen {
        flex-direction: column;
        font-size: 13px;
    }
    main .menu-container .ramen img {
        max-width: 200px;
        width: 100%;
        align-self: center;
    }
    main .menu-container .sashimi {
        flex-direction: column;
        font-size: 13px;
    }
    main .menu-container .sashimi img {
        max-width: 200px;
        width: 100%;
        align-self: center;
    }
    main .menu-container .sushi {
        flex-direction: column;
        font-size: 13px;
    }
    main .menu-container .sushi img {
        max-width: 200px;
        width: 100%;
        align-self: center;
    }
    main .contact {
        font-size: 75%;
    }
    main .contact .bottom {
        padding-left: 65px;
    }
    footer {
        font-size: 70%;
    }
}

@media screen and (max-width: 321px) {
    main .jumbotron-container div h1 {
        font-size: 25px;
    }
    main .jumbotron-container div h3 {
        font-size: 14px;
    }
    main .jumbotron-container div p {
        font-size: 13px;
    }
    main .description-container .marketplace-description h1 {
        font-size: 20px;
    }
    main .description-container .marketplace-description p {
        font-size: 13px;
    }
    main .menu-container h1 {
        font-size: 21px;
    }
}