* {
padding: 0;
margin: 0;
box-sizing: border-box; 
}
html {
    scroll-behavior: smooth;
}
body{
    background: #28384a;
}
header {
    background-color: rgb(255, 228, 250);
    width: 100%;
    top: 0%;
    right: 0;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    font-size: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    z-index: 100;
    box-shadow: 4px 4px 30px rgb(24, 24, 24);

}
.aisha{
    margin-top: 10px;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
}
header a {
    text-decoration: none;
    color: #3D4E5C;
}
header a:hover {
    color: #2287DB;
    transition: 0.5s ease;
}
nav ul{
    list-style-type: none;
    padding: 5px;
}
nav ul li {
    display: inline-block;
    margin-right: 10px;
}
.gallery {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(23rem, 1fr));
    gap: 1rem;
    padding: 20px;
}
img {
    width: 100%;
    aspect-ratio: 4/3;
    display: block;
    height: auto;
    box-shadow: 4px 4px 30px rgb(24, 24, 24);
}

.timg {
    aspect-ratio: 16 / 4;
    height: fit-content;
}
.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: white;
  background: rgba(255, 143, 233, 0.35);
  font-size: medium;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.imgbox:hover img {
  filter: blur(2px);
}
.imgbox{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    overflow: hidden;
    transition: filter 0.4s ease
}
.imgbox:hover .overlay {
  opacity: 1;
}

.title {
    margin-top: 100px;
    text-align: center;
    font-size: 50px;
    color: aliceblue;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.605);
  display: grid;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: ease-in .3s;
  z-index: 999;
}

.modal.show {
  opacity: 1;
  pointer-events: all;
}

.modal img {
  max-width: 90vw;
  max-height: 90vh;
  display: block;
  box-shadow: 0 0 40px rgb(0, 0, 0);
}

.modal p {
  margin-top: 15px;
  color: white;
  font-size: 1.2rem;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

footer {
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: x-small;
    background-color: antiquewhite;
}
