html {
    height: 100%;
}

body {
    background-image: url(layered-waves-haikei.svg);
    background-size: cover;
    background-repeat: no-repeat;
    font-family:  'Nanum Pen Script', serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100%;
}

#title {
    width: auto;
    font-size: 2.5em;    
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

.icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.you, .computer {
  margin-right: 5%;
  border: 6px solid black;
  height: 60%;
}

.you > h2, .computer > h2 {
  text-align: center;

}

img {
    height: auto;
    width: 100px;
    margin: 0 auto;
    flex-grow: 1;
}

 /* Define the pulsing animation */
 @keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
 }

 /*pulsing animation class 'clicked' when image is clicked*/
 img.clicked {
  animation: pulse 1s ease-in-out;
 }

:root {
    --backgroundColor: rgba(246, 241, 209);
    --colorShadeA: rgb(158, 106, 163);
    --colorShadeB: rgb(190, 146, 201);
    --colorShadeC: rgb(217, 172, 228);
    --colorShadeD: rgb(234, 184, 247);
    --colorShadeE: rgb(242, 216, 249);
  }
  
  
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    font-size: 1.5rem;
    color: var(--colorShadeA);
    font-weight: 700;
    text-transform: uppercase;
    font-family: inherit;
    margin-top: 20%;
    margin-right: 10px;
  }
  
  button.big-button {
    padding: 1em 2em;
    border: 2px solid var(--colorShadeA);
    border-radius: 1em;
    background: var(--colorShadeE);
    transform-style: preserve-3d;
    transition: all 175ms cubic-bezier(0, 0, 1, 1);
  }
  
  button.big-button::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--colorShadeC);
    border-radius: inherit;
    box-shadow: 0 0 0 2px var(--colorShadeB), 0 0.75em 0 0 var(--colorShadeA);
    transform: translate3d(0, 0.75em, -1em);
    transition: all 175ms cubic-bezier(0, 0, 1, 1);
  }
  
  button.big-button:hover {
    background: var(--colorShadeD);
    transform: translate(0, 0.375em);
  }
  
  button.big-button:hover::before {
    transform: translate3d(0, 0.75em, -1em);
  }
  
  button.big-button:active {
    transform: translate(0em, 0.75em);
  }
  
  button.big-button:active::before {
    transform: translate3d(0, 0, -1em);
    box-shadow: 0 0 0 2px var(--colorShadeB), 0 0.25em 0 0 var(--colorShadeB);
  }
