/* project 3, Dashon Spate, ITWP 1050 00851, Let's Unbreak It */
/* setting the stage */
:root{
    --pageColor: #ee984d;
}

@font-face {
    font-family: 'headlineFont';
    src: url(webfonts/Audiowide-Regular.ttf) format('truetype');
}

/* styling the body and giving a cool background */
body{
    font-family: Arial, Helvetica, sans-serif;
    margin: 3rem;
    padding: 0;
    box-sizing: border-box;
    background: url('images/circuit_green.jpg') no-repeat center center fixed;
    background-size: cover;
    color: white;
}

/* utilizing just a bit of the stage set in our header */
h1{
    font-family: headlineFont, Arial, Helvetica, sans-serif;
    color: white;
    text-shadow: 5px 3px 2px black;
    text-align: center;
}
/* Getting the footer together, it looks better centered, trust me */
footer{
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: .75rem;
    margin: 50px 0px;
}
/* making the footer look EVEN better with a few psuedo-classes */
a{
    text-decoration: underline;
    color:var(--pageColor);

}

a:link{
    text-decoration: underline;
    color: var(--pageColor);
    font-weight: bold;
}

a:visited{
    text-decoration: underline;
    color: #997950;
}

a:hover{
    text-decoration: none;
    color: var(--pageColor);
    font-weight: bold;
}

a:active{
    text-decoration: underline wavy var(--pageColor);
    font-weight: bold;
}

/* responsive website anyone? */
.responsive-text{
    font-size: 3rem;
    line-height: 1.5;
    color:white;
}

p.responsive-text{
    font-size: 1rem;
    line-height: 1.5;
    color: white;
    text-align: justify;
}

.image-text{
    font-size: 1rem;
    text-align: center;
    margin-top: 20px;
}

@media screen and (max-width: 600px) {
    .responsive-text{
        font-size: 1.5rem;
    }
}

/* now lets make those images not look so lame with a bit of grid layout */
.container{
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.gallery{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 10px;
}

.gallery img{
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 2px 4px 8px 10px rgba(0,0,0,0.1);
    transition: transform 0.4s ease-in-out ; 
}

.gallery img:hover {
    transform: scale(1.3);
}