html {
    scroll-behavior: smooth;
}

/* Responsive layout */
@media screen and (max-width: 700px) {
    .row {   
        flex-direction: column;
    }
}

@media screen and (max-width: 400px) {
    .navbar a {
        float: none;
        width: 100%;
    }
}

/* Button Styles */
.my-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
}

/* Content Styles */
.content {
    margin-left: 220px;
    padding: 20px;
}

.photo-box{
	display: flex;
	flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.photo-box_nospace{
	display: flex;
	justify-content: center;
	flex-wrap: nowrap;
   }

/* Place Time Box */
.place-time-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

/* Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    justify-content: center;
}

.gallery img {
    cursor: pointer;
    transition: 0.3s;
}

.gallery img:hover {
    opacity: 0.7;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    max-height: 100%;
}

.modal-content {
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.3s ease;
}

.close {
    position: fixed;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
