* {
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;
}
.timg {
  margin-top: 40px;
    height: 15rem;
    object-fit: cover;
}
hr {
    margin-top: 3rem;
    background-color: beige;
    height: 0.2rem;
}
.gallery {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(23rem, 1fr));
    gap: 1rem;
    padding: 1rem;
}
img {
    width: 100%;
    display: block;
}
.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(.1rem);
}
.imgbox{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    overflow: hidden;
    transition: filter 0.4s ease, transform 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.797);
  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: 70%;
  max-height: 95%;
  display: block;
  align-items: center;
  box-shadow: 0 0 40px rgb(55, 55, 55);
}

.modal p {
  margin-top: 15px;
  color: rgb(255, 0, 128);
  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;
}
