* {* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
    header {
    justify-content: space-between;
    align-items: center;
        padding-bottom: 1rem;
    border-bottom: 1px solid #D96117;
    font-family: "Jaini";
}
html {
  font-size: 24px;
  line-height: 1.44;
  height: 100%;
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
}

nav a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
}
body {
    margin: 0;
    font-family: "Jaini";
    background-color: #3A3333;
    color: #D96117;
    line-height: 1.6;
}
#grid img{
  max-width: 400px;
  object-fit: cover;
  aspect-ratio: 16/9;
}

section {
    display: block;
    unicode-bidi: isolate;
}
section {
    margin-top: 2rem;
}
header img {
    width: 100%;
    display: block;
    height: 100;
}
#grid img, header img {
    width: 100%;
    height: 100%;
    
}
a:-webkit-any-link {
    color: -webkit-link;
    cursor: pointer;
    text-decoration: underline;
}
figcaption {
    transform: translateY(-1.482rem);
    background: rgb(240 240 240 / 0.7);
}
figcaption {
    width: 100%;
    text-align: center;
    font-size: 1;
    color: rgb(16 16 16 / 1);
}



section {
    margin-top: 2rem;
}
a:-webkit-any-link {
    color: -webkit-link;
    cursor: pointer;
    color: #D96117;
    font-size: 30px;
}
img {
    overflow-clip-margin: content-box;
    overflow: clip;
}

dialog{
  position: fixed;
  top: 5vh;
  max-width: 90vw;
  max-height: 90vh;
  margin: 0 auto;
}

dialog::backdrop{
  background: rgb(16 16 16 /0.8);
}

dialog img{
  width: 100%;
  max-height: 83vh;
}



.grid{
    display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 70px;
    padding: 20px;
}
.grid-item {
    background-color: black;
    padding: 10px;
    text-align: center;
    box-shadow: 10px 10px 13px grey;
    transition: 
          transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.45s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.grid-item:hover {
   transform: scale(1.3);
    box-shadow: 0 0 25px #D96117;
}
.grid-item::before,
.grid-item::after {
    content: "";
    position: absolute;
    bottom: -20px;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #ffcc00 10%, #ff6600 40%, #cc0000 70%);
    border-radius: 50%;
    opacity: 0;
    filter: blur(6px);
    animation: flame 1s infinite ease-in-out;
}
.grid-item::after {
    left: 60%;
    width: 25px;
    height: 25px;
    animation-delay: 0.2s;
}
.grid-item::before {
    left: 20%;}
.grid-item img {
    width: 100%;
    transition: transform 0.3s ease;
}
.grid-item:hover::before,
.grid-item:hover::after {
    opacity: 1;}
    @keyframes flame {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 0.6;
    }
    100% {
        transform: translateY(-60px) scale(0.7);
        opacity: 0;
    }
    }
   footer {
    display: block;
    unicode-bidi: isolate;
    font-size: 30px;
}
   footer {
    display: block;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
    color: black;
}
footer {
    margin-top: 0;
    font-size: 1.728rem;
    text-align: center;
    background-color: #D96117;
}
}
@media screen and (max-width:1000px){
   
    h1 {
        display: block;
        font-size: 2em;
        margin-block-start: 0.67em;
        margin-block-end: 0.67em;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
        font-weight: bold;
        unicode-bidi: isolate;
        color: black;
    }
}
    #grid{
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        height: 300px;
        place-items: center;
        object-fit: cover;
    }
    h1 {
    margin-top: 0;
    font-size: 1.728rem;
    text-align: center;
    background-color:  #D96117;

}

a:-webkit-any-link {
    color: -webkit-link;
    cursor: pointer;
    text-decoration: underline;
    color: #D96117;
}
h1 {
    display: block;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
    color: black;
}



.grid-item img {
    width: 100%;
    aspect-ratio: 9/9;
    object-fit: cover;
}
