/* project 3 itwp 1050 Sabrina Pope */

:root {
    --pageColor: green;
}

/* web fonts */
@font-face {
    font-family: "headlineFont";
    src: url("Amatic_SC/AmaticSC-Bold.ttf");
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 3rem;
    padding: 0%;
    box-sizing: border-box;
    background: url(images/Blackbackgroundimage.jpg) no-repeat center fixed;
    background-size: cover;
}

h1 {
    font-family: 'headlineFont', Arial, Helvetica, sans-serif;
    text-shadow: 2px 2px 0px fuchsia;
    text-align: center;
}

footer {
    font-family: 'headlineFont', Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 1.5em;
    margin-top: 50px;
    margin-bottom: 50px;
}

/* creating a Pseudo-classes for Hyperlinks */

a {
    color: var(--pageColor);
    text-decoration: underline;
}

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

a:visited {
    text-decoration: underline;
    color: black;
}

a:hover {
    text-decoration: none;
    color: grey;
    font-weight: bold;
}

a:active {
    text-decoration: underline wavy gray;
    font-weight: bold;

}

.responsive-text {
    font-size: 3rem;
    line-height: 1.5;
    text-decoration: grey;
}

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

.image-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    text-align: center;
    margin-top: 20px;
    color: white;
}

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

/* creating responsive text */


.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);
}