@charset "utf-8";

/*
   New Perspectives on HTML5 and CSS3, 8th Edition
   Tutorial 4
   Case Problem 2
   
   Design Styles for the Chupacabra Music Fest
   Author: Faith Henderson
   Date:   10-15-2025
   
   Filename: cf_effects.css

*/

/* HTML Styles */
body {
  background-image: url(cf_back1.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
}

/* Body Styles */
body { background-color: rgba(255, 255, 255, 0.3);}


/* Body Header Styles */
header {background-color: rgba (51, 51, 51, 0.5);}


/* Aside Styles */
section aside {
    border: 10px double rgba(92, 42, 8, 0.3);
    border-radius: 30px; }

section aside h1 {
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}
section#left, section#right {
   perspective: 450px; }

   section#left aside {transform: rotateY(45deg);}
    section#right aside {transform: rotateY(-45deg);}

/* Cube Styles */
div#cube {
    position: relative;
    margin: 180px auto 150px auto;
    width: 400px;
    height: 400px;
    perspective: 450px;
}
div.cube_face {
    position: absolute;
    width: 400px;
    height: 400px;
}
#cube_front
 { transform: translateZ(-50px);}

#cube_left { transform: translateX(-200px) rotateY(-90deg);
}

#cube_right {transform: translateX(200px) rotateY(90deg);
}

#cube_top { transform: translateY(-200px) rotateX(-90deg);
}

#cube_bottom { transform: translateY(200px) rotateX(90deg);
}