@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --darkBlue: #19313e;
  --cream: #ffe4c4;
  --emerald: #40755e;
  --gold: #956d3c;
  --bronze: #634625;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: var(--darkBlue);
  font-family: 'Raleway', Arial, Helvetica, sans-serif
}
a {
  position: relative;
  width: 180px;
  height: 60px;
}
a span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: white;
  background-color: var(--gold);
  text-align: center;
  line-height: 60px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 22px;
}
span:nth-child(2) {
  background-color: white;
  color: var(--bronze);
  transition: .5s;
  clip-path: polygon(60% 0%, 100% 0, 100% 100%, 60% 100%, 40% 54%);
}
span:nth-child(2):hover {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 54%);
}
span:nth-child(1):hover ~ span {
  clip-path: polygon(100% 0%, 100% 0, 100% 100%, 100% 100%, 100% 54%);  
}