body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

h1 {
    text-align: center;
    font-size: 2.5em;
    margin-top: 50px;
    color: #333;
}

nav {
    background-color: #333;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #555;
    border-radius: 5px;
}


.container {
    width: 80%;
    margin: 0 auto;
    padding: 30px 0;
}

.image-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 40px;
    perspective: 1000px;
}

img {
    width: 45%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.5s ease-in-out, box-shadow 0.3s ease-in-out;
}


.image-container img:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


.image-container img:nth-child(1):hover {
    transform: rotateX(20deg) rotateZ(10deg);
}

.image-container img:nth-child(2):hover {
    transform: rotateY(180deg);
}


@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    img {
        width: 80%;
        margin-bottom: 20px;
    }

    h1 {
        font-size: 2em;
    }
}
