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

body{
    font-family: 'Times New Roman', Times, serif;
    font-size: 22px;
    line-height: 44px; 
    color: #a41917;
    background-color: #0e0f15;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

header {
    width: 100%;
    height: 255px;
    background-color: #0e0f15;
    padding: 20px;
   position: fixed;
}

nav ul li {
display: inline-block;

margin-right: 30px;
}

main, footer {
    padding: 20px;
}

main article {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

main article img {
width: 100%;
}

main {
    background-color: #0e0f15;
    padding-top: 30px;
    padding-bottom: 30px;
}

footer{
    background-color: #0e0f15;
}


nav ul li {
    display: inline-block;
    margin-right: 30px;
}

main, footer {
padding: 20px;
}

main article {
    gap: 1rem;
}

#gallery {
    background-color: #0e0f15;
    display: grid;
    }
    
 @media screen and (min-width: 450px) {
    #gallery {
        grid-template-columns: 1fr;}
    }
    
@media screen and (min-width: 600px) {
    #gallery {
        grid-template-columns: 1fr 1fr;
        }
    }
    
@media screen and (min-width: 900px) {
    #gallery {
            grid-template-columns: 1fr 1fr 1fr;
        }
    }

    figure {
        margin-block-start: 1em;
        margin-block-end: 1em;
        margin-inline-start: 40px;
        unicode-bidi: isolate;
    }
    h1 {
        text-align: center;
        font-family: "DynaPuff", system-ui;
      font-optical-sizing: auto;
      font-weight: 450px;
      font-style: normal;
      font-variation-settings:
        "wdth" 100;
    }
    p {
        text-align: center;
    }
title {
    .lobster-regular {
        font-family: "Lobster", sans-serif;
        font-weight: 400;
        font-style: normal;
      }
      
}

a:hover {
    background-color: #ee881a
}

a {
    .chicle-regular {
        font-family: "Chicle", serif;
        font-weight: 400;
        font-style: normal;
      }
      
}

/* Cool animated link */
.cool-link {
    font-size: 24px;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease-in-out;
    margin: 15px;
}

/* Animated underline */
.cool-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ff9800;
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-in-out;
}

/* Hover effects */
.cool-link:hover {
    color: #a41917;
}

.cool-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}