/* Sonagnon Dossa, ITWP-1050, Project 3*/

/* root selector for the page's color */
:root {
    --pageColor: #333333; 
}

/* webfont for the h1 heading */
@font-face {
    font-family: 'headlineFont';
    src: url('webfonts/LobsterTwo-Bold.ttf') format('truetype')
}

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

 /* h1 styling */
h1 {
    font-family: 'headlineFont', cursive;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    text-align: center;
}

/* styling for the footer */
footer {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 0.75rem;
    margin: 50px 0;
}

/* default link style */
a {
    text-decoration: underline;
    color: var(--pageColor);
}

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

/* visited link style */
a:visited {
    text-decoration: underline;
    color: purple;
}

/* hover state for links */
a:hover {
    text-decoration: none;
    color: darkblue;
    font-weight: bold;
}

/* Active link styling */ 
a:active {
    text-decoration: underline wavy;
    color: darkred;
    font-weight: bold;
}

.responsive-text {
    font-size: 3rem;
    line-height: 1.5;
    color: black;
}

/* responsive paragraph text for intro paragraph */
.p-responsive-text {
    font-size: 1rem;
    line-height: 1.5;
    color: black;
    text-align: justify;
}

/* styling for image description text */
.image-text {
    font-size: 1rem;
    text-align: center;
    margin-top: 20px;
}

/* responsive font adjustment for small screens */
@media screen and (max-width: 600px) {
    .responsive-text {
        font-size: 1.5rem;
    }
}

/* 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);
}

