/*Course: ITWP 1050
Author: Nicole Wozniak 
Assignment: Project 3 - CSS Grids */

/*1.0 & 1.1 Instructions*/

/*Global Variables/Web Font*/
:root {
    --pageColor: #580bab; 
}

@font-face {
    font-family: 'Header Font';
    src: url(webfonts/YujiMai-Regular.ttf);
    font-style: normal;
}

@font-face {
    font-family: 'Image Font';
    src: url(webfonts/AmaticSC-Regular.ttf);
    font-style: normal;
}


/*1.2 Element Selectors*/
body{
    font-family: Arial, Helvetica, sans-serif;
    margin: 3rem;
    padding: 0;
    box-sizing: border-box;
    background: #000000 url("images/background.jpg") no-repeat center center fixed;
    background-size: cover;
}

h1{
    font-family: 'Header Font', Arial, Helvetica, sans-serif;
    text-shadow: 4px 3px 0px  #d88d01;
    text-align: center;
}

footer{
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: .75rem;
    margin: 50px 0;
}

img{
    height: 12rem;
    width: 12rem;
    padding: 1rem;
}

/*1.3 Instructions - hyperlinks*/

/*Styling for Hyperlinks*/
a{
    text-decoration: underline;
    color:var(--pageColor);
}

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

a:visited{
    text-decoration: underline;
    color:#8a2be2; /*my pick of color*/
}

a:hover{
    text-decoration: none;
    color:#8a2be2; /*my pick of color*/
    font-weight: bold;
}

a:active{
    text-decoration: underline wavy #d88d01; /*my pick of color*/
    font-weight: bold;
}

/*1.4 Instructions - Responsive Text*/

.responsive-text{
    font-size: 3rem;
    line-height: 1.5;
    color: #8a06c3; /*my pick of color*/
}

p.responsive-text{
    font-size: 1rem;
    line-height: 1.5;
    color: #8a06c3;
    text-justify: auto;
}
.image-text{
    font-size: 1rem;
    text-align: center;
    margin-top: 20px;
    font-family: 'Image Font', Arial, Helvetica, sans-serif;
    color: #e87800;
}

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

/*1.5 Grid*/

/*Code from Instructions*/
.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;
}

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

/*gallary p
 align-content: center;*/
