/* Author: Guilherme Modelli
   Course: ITWP 1050
   Assignment: Project3
*/

:root {
    --pageColor: lightgray; 
    --linkColor: black; 
}

/* Font-face rule to set AmatiSC */
@font-face {
    font-family: 'Title Font'; 
    src: url('./webfonts/AmaticSC-Bold.ttf') format('truetype'); 
    font-style: normal; 
    font-weight: normal; 
}

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

/* Styling for h1 elements */
h1 {
    font-family: 'Title Font', Georgia, serif; 
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); 
    text-align: center; 
    color: #222; 
    font-size: 2.5rem; 
    margin-top: 0; 
}

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

/* Link styles */
a {
    text-decoration: underline; 
    color: var(--linkColor); 
}

/* Unvisited links */
a:link {
    text-decoration: underline; 
    color: var(--linkColor); 
    font-weight: bold; 
}

/* Visited links */
a:visited {
    text-decoration: underline; 
    color: purple; 
}

/* Hover state */
a:hover {
    text-decoration: none; 
    color: blue; 
    font-weight: bold; 
}

/* Active state */
a:active {
    text-decoration: underline wavy orange; 
    color: orange; 
    font-weight: bold; 
}

/* Class for general responsive text */
.responsive-text {
    font-size: 3rem; 
    line-height: 1.5; 
    color: black; 
}

/* Class for introductory text */
p.responsive-text {
    font-size: 1rem; 
    line-height: 1.5; 
    color: darkblue; 
    text-align: justify; 
}

/* Class for image description text */
.image-text {
    font-size: 1rem; 
    text-align: center; 
    margin-top: 20px; 
    font-family: 'Title Font', Georgia, serif; 
}

/* Media query for small devices */
@media (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); 
}




