body {
    margin: 0;
    background-color: #ffd5ae;
}
h1 {
    font-family: OCR A Std, monospace;
}
p {
    font-family: Arial, sans-serif;
}
nav{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
}
nav ul li {
    min-width: 25vw;
    flex: 1;
    text-align: center;
}
nav ul li a {
    display: block;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    margin: 0;
    transition: transform 0.2s, background 0.2s, color 0.2s;
    font-size: 20px;
    font-weight: bold;
}
nav ul li:nth-child(1) {
    background-color: #11cb18; /* Home */
}
nav ul li:nth-child(2) {
    background-color: #ffffff; /* Home */
}
nav ul li:nth-child(3) {
    background-color: #ffffff; /* Home */
}
nav ul li:nth-child(4) {
    background-color: #ff5454; /* Photos */
}
nav ul li a:hover {
    transform: scale(1.07);
    background-color: #ada8a8;
    color: #33333364;
}
#banner p {
    border: 5px solid darkgreen;
    background-color: #e42121;
    color: #fbfbfb;
    text-shadow: #333 0px 0px 4px;
    margin: 0px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: #333 0px 0px 5px;
}
#banner h2 {
    border: 5px solid darkgreen;
    background-color: #e42121;
    color: #fbfbfb;
    text-shadow: #333 0px 0px 4px;
    font-family: OCR A Std, monospace;
    text-align: center;
    margin: 0px;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: #333 0px 0px 5px;
}
#banner img {
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
}
#banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-width: 100vw;
}
.banner-container {
    background-image: url('../assets/cdmxhead.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    width: 100%;
    max-width: 100%;;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 400px;
}
.banner-text {
    font-size: 35px;
    color: white;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.7);
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
}
.home-map iframe {
    width: 100%;
    min-height: 400px;
    border: none;
    border: 0;
    border-radius: 10px;
    display: block;
}
.home-text, .home-image, .home-map {
    width: 100%;
    max-width: 1400px;
    box-sizing: border-box;
    padding: 20px;
    margin: 0;
}
.home-text {
    font-size: 24px;
}
.flex-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    padding: 24px 0;
}
.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    justify-items: center;
    max-width: 1400px;
    margin: 0 auto;
}
.photo {
    background-color:#fbfbfb;
    width: 400px;
    height: auto;;
    border-radius: 10px;
    box-shadow: #333 0px 0px 2px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
}
.photo img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
.photo h3 {
    border: 5px solid darkgreen;
    background-color: #e42121;
    color: #fbfbfb;
    text-shadow: #333 0px 0px 4px;
    padding: 10px;
    border-radius: 50px;
    text-align: center;
    margin-top: 0px;
    font-size: 28px;
}
.photo p {
    text-align: center;
    margin-top: 0px;
    font-size: 24px;
}
.attractions {
    background-color:#fbfbfb;
    max-width: 400px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin: 20px;
    padding: 20px;
    box-shadow: #333 0px 0px 2px;
    border-radius: 10px;
}
.attractions img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}
.attractions p {
    text-align: center;
    margin-top: 0px;
    font-size: 24px;
}
.attractions h3 {
    margin-top: 20px;
    border: 5px solid darkgreen;
    background-color: #e42121;
    color: #fbfbfb;
    text-shadow: #333 0px 0px 4px;
    padding: 10px;
    border-radius: 50px;
    text-align: center;
    margin-top: 0px;
    font-size: 28px;
}
.food {
    background-color:#fbfbfb;
    max-width: 400px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin: 20px;
    padding: 20px;
    box-shadow: #333 0px 0px 2px;
    border-radius: 10px;
}
.food img{
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
.food-img-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    padding-bottom: 20px;;
    overflow: hidden;
    border-radius: 10px;
}
.food-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
.food-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(84, 82, 82, 0.888);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    color: #ffffff;
    z-index: 2;
}
.food h3 a {
    text-decoration: none;
    border: 5px solid darkgreen;
    border-radius: 50px;
    background-color: #e42121;
    padding: 10px;
    color: #fbfbfb;
    text-shadow: #333 0px 0px 4px;
}
.food h3 {
    text-align: center;
    margin-top: 0px;
    font-size: 28px;
    color: #333;
}
.food h4 {
    text-align: center;
    margin-top: 0px;
    color: #333;
    font-size: 20px;
}
.food p {
    text-align: center;
    margin-top: 0px;
    font-size: 24px;
}
.photo,
.attractions,
.food, #banner h2, #banner p {
    transition: transform 0.25s cubic-bezier(.25,.8,.25,1), box-shadow 0.25s cubic-bezier(.25,.8,.25,1);
}
.photo:hover,
.attractions:hover,
.food:hover, #banner h2:hover, #banner p:hover, .food h3 a:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 8px 24px rgba(51,51,51,0.18);
}
.photo img, .attractions img {
    margin-bottom: 10px;;
}
@media (max-width: 700px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    nav ul li {
        width: 100%;
        margin: 0;
    }
    nav ul li a {
        width: 100%;
        display: block;
        text-align: center;
        padding: 1em 0;
        font-size: 1.2em;
    }
}