/*Project 3 Style sheet - Ashley Agacinski - ITWP 1050*/ 
/*global variable*/
:root  {
    --pageColor: #2f2c29;
}
/*new font*/
@font-face {
    font-family: headlinefont;
    src: url(webfonts/Caveat-VariableFont_wght.ttf);
    font-style: normal;
}
/*new font*/
@font-face {
    font-family: bodytext;
    src: url(webfonts/Exo2-VariableFont_wght.ttf);
    font-style: normal;
}
/*body style*/
body {
    font-family: bodytext, Arial, Helvetica, sans-serif;
    margin: 3em;
    padding: 0px;
    box-sizing: border-box;
    /*use of background img*/
    background-image: url("../project3/images/background3.jpg");
    background-size: cover;
}
/*h1 style*/
h1 {
    /*use of my font family*/
    font-family: headlinefont, Arial, Helvetica, sans-serif;
    text-shadow: 3px 3px #c9dccd ;
    text-align: center;
}
/*footer style*/
footer {
    font-family:Arial, Helvetica, sans-serif;
    font-size: .75em;
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: center;
}
/*pseudo-classes*/
a {
    text-decoration: underline;
    color: var(--pageColor)
}
/*Link styles*/
a:link {
    text-decoration: underline;
    color: var(--pageColor);
    font-weight: bold;
}
/*Link styles - visited*/
a:visited {
    text-decoration: underline;
    color: #c9dccd;
}
/*Link styles - hover*/
a:hover {
    text-decoration: none;
    color: #61946c;
    font-weight: bold;
}
/*Link styles - active*/
a:active {
    text-decoration: underline wavy #5f7c5f;
    font-weight: bold;

}
/* classes */
/*responsive text*/
.responsive-text {
    font-size: 3em;
    line-height: 1.5;
    color: var(--pageColor);
}
/*introductory text*/
p.responsive-text {
    font-size: 1em;
    line-height: 1.5;
    color: var(--pageColor);
    text-align: justify;
}
/*image text*/
.image-text {
    font-size: 1em;
    text-align: center;
    margin-top: 20px;
}
/*media 600px or less*/
@media only screen and (max-width: 600px) {
    .responsive-text {
        font-size: 1.5em;
    }
}
/* grid layout */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
/*gallery class*/
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 10px;
}
/*gallery class on img*/
.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 class on img hover*/
.gallery img:hover {
    transform: scale(1.3);
}