@charset "utf-8";

/*
   New Perspectives on HTML5 and CSS3, 8th Edition
   Tutorial 4
   Case Problem 2
   
   Design Styles for the Great Vineyards
   Author: Sabrina Duong
   Date:   2026-03-15
   
   Filename: cf_effects.css

*/

/* HTML Styles */

html {
   background: url(cf_back1.png) fixed;
   background-position: center center;   
   background-size: cover;
}

/* Body Styles */

body {
   background-color: rgba(114, 149, 108, 0.3);
}

/* Body Header Styles */

body > header {
   background-color: rgba(55, 55, 55, 0.5);
}

/* Aside Styles */

section aside {
   border: 10px double rgba(90, 40, 8, 0.3);
   border-radius: 30px;
}

section aside h1 {
   border-radius: 30px 30px 0px 0px;
}

section#left, section#right {
   perspective: 500px;
}


section#left aside {
   transform: rotateY(25deg);
}

section#right aside {
   transform: rotateY(-25deg);
}

/* Cube Styles */

div#cube {
   position: relative;
   margin: 190px auto 170px;
   width: 400px;
   height: 400px;
   perspective: 450px;
}

div.cube_face {
   width: 400px;
   height: 400px;
   position: absolute;
}

div#cube_front {
   transform: translateZ(-50px);
}

div#cube_left {
   transform: translateX(-200px) rotateY(90deg);
}

div#cube_right {
   transform: translateX(200px) rotateY(-90deg);
}

div#cube_top {
   transform: translateY(-200px) rotateX(-90deg);
}

div#cube_bottom {
   transform: translateY(200px) rotateX(90deg);
}
