@charset "utf-8";

/*
   New Perspectives on HTML5 and CSS3, 8th Edition
   Tutorial 4
   Case Problem 1
   
   Save your Fork Graphic Design Styles
   Author: Djenebou Sawadogo 
   Date:   10/14/2025

   Filename: sf_effects.css

*/

/* Body Header Styles */

body {
  box-shadow: rgb(51, 51, 51) 10px 0px 50px,   /* left side */
              rgb(51, 51, 51) -10px 0px 50px;  /* right side (mirror) */
}

/* Navigation Tabs List Styles */

body > header nav.tabs {
  background: url(sf_back1.png) center center / cover no-repeat;
}

body > header nav.tabs li {
  transform: perspective(50px) rotateX(20deg);
  transform-origin: top center;
}

body > header nav.tabs li:hover {
  background-color: rgb(231, 231, 231);
}


/* Left Section Styles */

section#left nav.vertical {
  border: 1px solid rgb(20, 167, 170);
  border-radius: 25px;
}

section#left nav.vertical h1 {
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}

/* Center Article Styles */

section#center article {
  /* a) radial gradient */
  background: radial-gradient(white 30%, rgb(151, 151, 151));

  /* b) 1px border + 50px radius */
  border: 1px solid rgb(151, 151, 151);
  border-radius: 50px;

  /* c) drop shadow */
  box-shadow: rgb(51, 51, 51) 10px 10px 20px;
}



/* Blockquote Styles */

blockquote {
  /* a) speech-bubble image, no tiling, scaled to fill */
  background: url(sf_speech.png) no-repeat center center / 100% 100%;

  /* b) drop shadow around the bubble */
  filter: drop-shadow(5px 5px 10px rgb(51, 51, 51));
}

cite img {
  border-radius: 50%;
}

