/*
    Author:     Philip Howard
    Date:       2026-05-08
    Course:     ITWP 1050
    Filename:   styles.css

    Stylesheet for project 3
*/

/*Setup*/
/*************************************************************/
/*Declare variables*/
:root {
    --pageColor: #4e2a11;
}

/*Set up the Title Font webfont*/
@font-face {
    font-family: "headlineFont";
    src: url(webfonts/AmaticSC-Bold.ttf);
    font-style: normal;
}
/*End setup*/
/*************************************************************/


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

/*General paragraph style*/
p {
    text-indent: 1em;
    line-height: 1.5em;
    font-size: 2vw;
    background-color: rgb(128 128 128 / 75%);
}

/*Heading styles*/
/*h1 style*/
h1 {
    font-family: 'Title Font', Arial, Helvetica, sans-serif;
    color: darkred;
    text-shadow: 5px 5px 10px black;
    margin: auto;
    text-align: center;
}


/*Footer style*/
footer {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    margin: 50px auto;
    font-size: .75em;

}

/*Hyperlink styles*/
/*Anchor style*/
a {
    text-decoration: underline;
    color: var(--pageColor);
}
/*Link*/
a:link {
    text-decoration: underline;
    color: var(--pageColor);
    font-weight: bold;
}
/*Visited*/
a:visited {
    text-decoration: underline;
    color: darkgrey;
}
/*Mouseover*/
a:hover {
    text-decoration: none;
    color: darkred;
    font-weight: bold;
}
/*In use*/
a:active {
    text-decoration: underline wavy sienna;
    font-weight: bold;
}
/*End general styles*/
/*************************************************************/


/*Class styles*/
/*************************************************************/
/*Responsive classes*/
/*Responsive text*/
.responsive-text{
    font-size: 3rem;
    line-height: 1.5;
    color: black;
}
/*Responsive paragraphs*/
p.responsive-text{
    font-size: 1rem;
    line-height: 1.5;
    color: black;
    text-align: justify;
}
/*Image text*/
.image-text{
    font-size: 1rem;
    text-align: center;
    margin-top: 20px;
}

/*Viewport breakpoint to change text size when viewport is less than 600px*/
@media screen and (max-width: 600px){
    .responsive-text {
        font-size: 1.5em;
    }
}



/*Grid classes*/
.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, .1);
    transition: transform 0.4s ease-in-out;
}
.gallery img:hover{
    transform: scale(1.3);
}

/*End class styles*/
/*************************************************************/




