 *{
    box-sizing: border-box;
 }
 body {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100dvh;
}
header {
    background-color: black;
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    flex-wrap: wrap;
    align-content: center;
}
 
header .a{
    background-color: black;
    color: #fff;
    text-decoration: none;
    padding: 5px;
    flex-basis: 500px;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
   
}
 .logo{
    flex-basis: 400px;
    display: flex;
    flex-grow: 1;
    justify-content: center;
 }
 header a{
    background-color: black;
    color: #fff;
    text-decoration: none;
    padding: 5px;
    -height: 50px;
   
 }
header div:first-child {
    display: flex;
    align-items: center;
}
header h1{
    margin:45px;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
   
   
}
.a :hover{
    background-color: #414141;
}
main{
    text-align: center;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    padding: 10px;
}
.slider {
    display: flex;
    min-height: 400px;
    background-color: #eee;
    flex-wrap: wrap;
    
}
 
.slider img {
    max-width: 700px;
    max-height: 400px;
    object-fit: cover;
    scroll-snap-align: center;
    margin: 0 auto;
    max-width: 100%;
    padding: 10px;
    justify-content: center;
    align-items: center;
}
.box{
    background: #bebebe;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    margin: 20px auto;
    text-align:center;
}
.box h2 {
    color: #15415a;
}
.box p {
    font-size: 16px;
    line-height: 1.5;
    text-align: justify;
}
footer {
    height: 50px;
    background-color: black;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: auto; 
    align-items: center;
}
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery img {
    width: 400px;
    max-width: 100%;
    height: 280px;
    margin: 15px;
    transition: transform 0.5s;
    border-radius: 10px;
    object-fit: cover;
}

.gallery img:hover {
    transform: rotateY(180deg) scale(1.1);
}
.container h1{
    text-align: center;
}
.about .img-scale {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 20px auto;
    transition: transform 0.5s;
}
.about .img-scale:hover {
    transform: rotateY(20deg) scale(1.1);
}

.location .rotate {
    transform: rotateY(15deg);
    transition: transform 0.5s;
}
.location .rotate:hover {
    transform: rotateY(0deg) scale(1.1);
}

.slider img {
    transition: transform 0.5s;
}
.slider img:hover {
    transform: scale(1.1);
}

.map-container {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
}
.map {
    width: 100%;
    height: 400px;
    border: none;
}

@media screen and (max-width: 768px) {
    .about, .location {
        padding: 20px;
        text-align: center;
    }
    .map {
        height: 300px;
    }
}