/*==============================================================================
  BABY SHARK ANIMATION - STYLESHEET
  Ocean-themed presentation with centered canvas showcase
==============================================================================*/

/*------------------------------------------------------------------------------
  CSS RESET AND BASE STYLES
------------------------------------------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  /* Ocean gradient background - deep blue to lighter aqua */
  background: radial-gradient(
    ellipse at center,
    #2E5C8A 0%,    /* Deep ocean blue center */
    #1a3d5c 50%,   /* Mid-tone blue */
    #0d2538 100%   /* Dark blue-black edges */
  );
  background-attachment: fixed;
  color: #ffffff;
}

/*------------------------------------------------------------------------------
  MAIN LAYOUT
------------------------------------------------------------------------------*/
main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

/*------------------------------------------------------------------------------
  SHOWCASE CONTAINER
------------------------------------------------------------------------------*/
.showcase-container {
  text-align: center;
  max-width: 600px;
}

.showcase-container h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #A8D8FF;
  text-shadow: 
    0 0 10px rgba(168, 216, 255, 0.5),
    0 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
  font-weight: 300;
}

/*------------------------------------------------------------------------------
  CANVAS WRAPPER
  Creates "window into the ocean" effect
------------------------------------------------------------------------------*/
#canvas-wrapper {
  display: inline-block;
  background: #0a1929;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(74, 144, 226, 0.3),
    inset 0 0 20px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
  border: 2px solid rgba(168, 216, 255, 0.2);
}

/* Center the canvas within wrapper */
#canvas-wrapper canvas {
  display: block;
  border-radius: 6px;
}

/*------------------------------------------------------------------------------
  CREDIT TEXT
------------------------------------------------------------------------------*/
.credit {
  margin-top: 20px;
  font-size: 0.9em;
  color: #7FB3D5;
  font-style: italic;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/*------------------------------------------------------------------------------
  RESPONSIVE ADJUSTMENTS
------------------------------------------------------------------------------*/
@media (max-width: 500px) {
  .showcase-container h1 {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  
  #canvas-wrapper {
    padding: 10px;
  }
  
  main {
    padding: 10px;
  }
}

/*------------------------------------------------------------------------------
  ACCESSIBILITY
------------------------------------------------------------------------------*/
/* Ensure focus states are visible for keyboard navigation */
a:focus,
button:focus {
  outline: 2px solid #A8D8FF;
  outline-offset: 2px;
}
