body {
    background-image: url(UOCG5409.PNG);
    box-shadow: whitesmoke 15px 15px 15px 15px;
    color: white;
    margin: 0;
    padding: 30px;

}

h1 {
    text-align: center;
    color: darkred;
    background-color: black;
}

img {
    width: 400px;
    border-radius: 15px;
    transition: 0.3s;
    margin-left: 20px;
}

img:hover {
    transform: scale(1.05);
}

p {
    margin-left: 40px;
}

.bbb {
    display: grid;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    margin: 40px auto;
    max-width: 1100px;
    grid-template-columns: repeat(3, 1fr);
    box-shadow: whitesmoke;
    grid-template-columns: repeat(auto-fill, minmax(30px, 1fr));
}

.card {
    width: 300px;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    width: 320px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
    background-color: #222;
    padding: 15px;
}

.card p {
    margin: 5px 0 15px;
    margin-bottom: 10px;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

h1 {
    margin-left: 10px;

}

button {
    background-color: blueviolet;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-left: 30px;
}

button:hover {
    background-color: black;
    transform: scale(1.05);
    box-shadow: 0 0 15px red;
}

.bbb img {
    width: 250px;
    height: 180px;
    object-fit: cover;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background-color: #222;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 92%;
    min-height: 70px;

}

.logo {
    color: white;
    font-size: 50px;
    font-weight: bold;
    font-style: italic;
    text-decoration: none;
}

.Menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.Menu a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.Menu a:hover {
    color: red;
}

.navbar li {
    height: 50px;
}

#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
}

footer{
    background-color: black;
    color: white;
    padding: 40px 8% 20px;
}

.footer-container{
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-box{
    flex: 1;
    min-width: 200px;
}

.footer-box h3{
    margin-bottom: 15px;
}

.footer-box a{
    display: block;
    color: white;
    text-decoration: none;
    margin: 8px 0;
}

.footer-box a:hover{
    color:#222
}

footer-bottom{
    text-align: left;
    border-top: 1px solid #444;
    margin-top: 30px;
    padding-top: 15px;
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
        color: white;
        font-size: 30px;
        cursor: pointer;
    }

    .Menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        display: none;
        align-items: center;
        gap: 0;
        background-color: #222;
    }

    .Menu a {
        display: block;
        padding: 20px;
    }

    .Menu li {
        width: 100%;
        text-align: center;
    }

    #menu-toggle:checked~.Menu {
        display: grid;
    }
}