/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
   <3 thanks, Eric :-)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
/* Box sizing rules */
*, *::before, *::after {
  box-sizing: border-box;
}
/* blockquote */
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* My styles */

body {
  height: 100vh; 
  margin: 0;
  display: flex;
  justify-content: center; 
  align-items: center;    
  background-color: #454444; 
}

/* Sprite container */
.sprite {
  width: 270px;
  height: 270px;
}

/* Sprite link (the SVG background) */
.sprite a {
  display: block;
  width: 100%;
  height: 100%;
  background: url("sprite_sprite_v2.svg") no-repeat;
  background-size: 252px auto;
  background-position: 0 0;
  border: 10px solid #ff9945;     
  border-radius: 12px;             
  transition: 
    border-color 0.3s ease, 
    box-shadow 0.3s ease;
}

/* Hover: show 2nd frame + change border color */
.sprite a:hover {
  background-position: 0 -249px;
  border-color: #91e213;          
  box-shadow: 0 0 15px #91e21355;  /* Soft glow effect */
}

/* Active (clicked): show 3rd frame + orange border */
.sprite a:active {
  background-position: 0 -504px;
  border-color: #43a6ff;          
  box-shadow: 0 0 15px #43a6ff55;  /* Soft glow effect */
}
