/*
      CSS Class
      Module 6 - Favorite Chainmaille Weaves
      Homework 4

      Author: Marcus Shutran 0612328
      Date:   04-12-2026

      Filename: homework4.htm
*/

body {
    background-image: url("images/halfpersian4.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-top: 1em;
    margin-bottom: auto;
    font-family: Arial, sans-serif;
    color: darkgreen;
}

h1 {
  background-image: url('images/hp4bizhybrid.jpg');
  background-repeat: no-repeat;
  background-size: cover; /* Ensures the image fills the space */
  text-align: center;
  font-size: 2.5em;
    color:lime;
  padding: 50px 0; /* Adjust to show more/less of the image */
  background-color: rgb(0, 0, 0, 0.7); /* Optional: ensures text is readable */
}

h2 {

    text-align: center;
    font-size: 2.5em;
    color:lime;
    background-color: rgb(0, 0, 0, 0.6);
}

p, div {
    text-align: center;
    margin: 10px;
    padding: 20px;
    line-height: 1.5em;
    color: darkgreen;
    background-color: rgb(0, 0, 0, 0.6);
}

/*caption tag*/

.caption {
    font-family: Impact, "Franklin Gothic Bold", "Arial Black", "sans-serif";
    font-weight: bold;
    font-size: 1.75em;
    padding-bottom: 0.5em;
}

/*responsive image class*/

.responsive {
    max-width: 100%;
    height: auto;
    border: 1px solid #51471A;
    border-radius: 10px;
}

.rotate-45 {
  /* Rotates the element 45 degrees clockwise */
  transform: 
    perspective(150px)
    rotateX(30deg);
}

.scale {
    background: skyblue;
    text-align: center;
    transform: scale(1.5, 2.5);
    margin: 5rem auto;
    width: 10rem;
}
 
.skew {
    background: skyblue;
    transform: skew(15deg, 25deg);
    width: 10rem;
    font-size: 2rem;
    text-align: center;
    margin: 5rem;
}

.two {
    background: rebeccapurple;
    transform: perspective(200px)
        translate3d(1rem, 2rem, 3rem);
}