/* 
  Author: Kristen Glodich
  Course: ITWP 1050
  Assignment: Homework 4 - CSS Transforms
*/


/*page background and font*/
body {
    font-family: 'Press Start 2P', monospace;
    background: url('background.png') no-repeat center center fixed; 
    background-size: cover;
    color: #222222;
    text-align: center;
    padding: 20px;
}


/*header*/
header h1 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #d12323;
}


/*content section*/
.content {
    margin: 30px auto;
    max-width: 900px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
}


/*image styling*/
.content-images {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}


/*rotation transform on mario image on hover*/
.mario {
    transition: transform 0.5s ease-in-out;
}

.mario:hover {
    transform: rotate(360deg); /* Spinning effect */
}


/*scale transform on goomba image on hover*/
.goomba {
    transition: transform 0.3s ease-in-out;
}

.goomba:hover {
    transform: scaleY(0.4) scaleX(1.5);
}


/*combo tranform with transition properties*/
.combo {
    transform: rotate(3deg) scale(1.1) skewY(5deg);
    background-color: #fdf4dc;
    transition-property: background-color, transform;
    transition-duration: 1s;
    transition-delay: 0.5s;
}

.combo:hover {
    background-color: #ffb100;
}


/*footer with skew transform, with box and flex display for readability*/
footer {
    background-color: #8B4513;
    padding: 15px 0;
    text-align: center;
    color: #ffffff;
}

.footer-content {
    transform: skewX(-10deg);
    text-align: center;
    display: flex; 
    justify-content: center;
    gap: 15px;
}

footer a {
    color: #FFD700;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}