*{
    margin: 0;
    padding: 0;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-image: url('pexels.jpg');
    background-size: cover;
    background-position: top;
}
.logo h1 {
    color: white;
    margin: 0;
    margin-left: 20px;
}
.navbar-menu {
    display: flex;
    list-style: none;
}
.navbar-item {
    margin: 0 15px;
    
}
.navbar-links {
    color: white;
    text-decoration: none;
    font-size: 18px;
}
.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.bar {
    height: 3px;
    width: 25px;
    background-color: white;
    margin: 3px 0;
}
@media screen and (max-width: 768px) {
    .navbar-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
    background: rgba(255, 255, 255, 0.1); 
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    }
    .navbar-menu.active {
        display: flex;
    }
    .navbar-toggle {
        display: flex;
    }
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;   
}

h2 {
    color: #333;
    align-items: center;
    justify-self: center;
}

p {
    color: #666;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
    
}
#main {
    background-image: url('pexels.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px;
}
.mountain-card {
    display: inline-block;
    position: relative;
    height: 30%;
    width: 30%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 10px;
}
.mountain-image {
    width: auto;
    height: auto;
    max-height: 100%; 
    max-width: 100%; 
    transition: transform 0.3s;
}
.mountain-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15.5px;
    opacity: 0;
    transition: opacity 0.3s;
}
.mountain-card:hover .mountain-image {
    transform: scale(1.3);
}
.mountain-card:hover .mountain-details {
    opacity: 1;
}
.h3 {
    align-items: center;
    justify-content: center;
}
#quotes p {
    color: white;
    font-size: 1.2rem;
}