@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;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
    min-height: 60px;
    max-height: 250px;
    align-items: center;
    justify-content: center;
}

nav img {
    max-width: 250px;
    height: auto;
}

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%;
}

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

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

#description {
    display: flex;
    flex-direction: row;
    padding: 5em;
    padding-top: 0;
}

#description #text-box {
    max-width: 50%;
    font-family: var(--main-font);
    color: var(--third-dark);
}

#description #text-box h1 {
    font-size: 3rem;
}

#description #text-box p {
    font-size: 1rem;
}

#description #graphic {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#description #graphic img {
    width: auto;
    max-height: 250px;
}

#generic-food {
    width: 50%;
}

#reviews {
    max-width: 100%;
    padding-left :25%;
    padding-right :25%;
    margin: 50px auto;
    text-align: center;
    position: relative;
    font-family: var(--second-font);
    background-color: var(--third-light);
    color: var(--third-dark);
}

.arrow {
    color: var(--third-dark);
}

.review span {
    color: var(--third-dark);
}

.carousel {
position: relative;
user-select: none;
}
.carousel .review {
display: none;
opacity: 0;
transition: opacity 0.5s ease-in-out;
padding: 1em 2em;
}
.carousel .review.active {
display: block;
opacity: 1;
}
.review p {
font-size: 3rem;
font-style: italic;
}
.review span {
display: block;
margin-top: 0.5em;
font-weight: bold;
font-size: 2rem;
}
.arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: transparent;
border: none;
font-size: 2rem;
cursor: pointer;
padding: 0 10px;
user-select: none;
}
.arrow.left {
left: -30%;
}
.arrow.right {
right: -30%;
}
.arrow:hover {
color: #000;
}

#find-us {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding: 5rem;
  font-family: var(--main-font);
  color: var(--third-dark);
  font-size: 1.5rem;
}

.map-container,
.contact-details {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* #footer {
    display: flex;
    justify-content: center;
    gap: 5em;
    padding: 20px 0;
    background: var(--third-light);
    color: var(--third-dark);
    height: 200px;
    margin-top: 100px;
}

#footer > div {
    padding: 0 1em;
    position: relative;
    flex: 1;
    max-width: 250px;
}

#footer > div:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10%;
    right: 0;
    height: 80%;
    width: 1px;
    opacity: 0.3;
}

#footer h5 {
    margin-bottom: 0.5em;
    font-weight: bold;
}

#footer a, #footer span {
    display: block;
    font-size: 22px;
    text-decoration: none;
    color: var(--third-dark);
} */


@media (max-width: 600px) {
    nav {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0px;
    }
    #nav-options {
        
    }
    nav img {
        max-width: 200px;
    }
    #description {
        padding: 1rem;
        flex-direction: column;
    }
    #description #text-box h1 {
        font-size: 2.5rem;
        max-width: 100%;
    }
    #description #text-box {
        max-width: 100%;
    }
    #description #text-box p {
        font-size: 0.5;
    }

    #reviews .carousel .review {
        padding: 10px;   
    }

    #reviews .review p {
        font-size: 1.5rem;
    }

    #reviews .review span {
        font-size: 1rem;
    }

    .arrow.left {
        left: -40%;
    }
    .arrow.right {
        right: -40%;
    }

    #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;
    }   
    
}

