@import url('https://fonts.googleapis.com/css2?family=Acme&family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Caveat:wght@400..700&family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Changa:wght@200..800&family=Edu+SA+Beginner:wght@400..700&family=Exo+2:ital,wght@0,100..900;1,100..900&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Merienda:wght@300..900&family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&family=Protest+Revolution&family=Spicy+Rice&family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

header {
    background: #4eb7ec;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

main {
    padding: 20px;
    background: linear-gradient(rgb(232, 80, 194), rgb(163, 234, 163), rgb(91, 91, 241), rgb(124, 248, 180), rgb(151, 10, 151), rgb(56, 10, 135), rgb(230, 246, 242));
}

h1 {
    font-family: "Merienda", serif;
    color: rgb(0, 0, 0);
    font-weight: bold;
}

h2 {
    font-family: "Edu SA Beginner", serif;
    text-align: center;
    font-size: 40px;
    color: #1a51ea;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.photo {
    margin: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
    width: 300px;
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.photo.show {
    opacity: 1;
    transform: scale(1);
}

.photo img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;  /* Added transition for glowing effect */
}

.photo img:hover {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8); /* Glowing effect on hover */
    transform: scale(1.05);  /* Optional: Adding slight zoom effect on hover */
}

.photo a {
    display: block;
    padding: 10px;
    background: #1b043b;
    color: white;
    text-decoration: none;
    border-radius: 0 0 5px 5px;
    transition: 0.8s;
}

a {
    font-family: "Protest Revolution", serif;
    color: black;
}

.photo a:hover {
    background: #406f16;
}

footer {
    text-align: center;
    padding: 20px;
    background: #030219;
    color: #fff;
    font-family: "Philosopher", serif;
    position: relative;
    bottom: 0;
    width: 100%;
}
