body {
    background: #202e38;
    font-family: "Poppins", sans-serif;
}

.campo-harmonico {
    position: relative;
}

.notaSvg {
    content: 'oi';
}

.notaSvg svg {
    display: none;
    background-color: #fff;
    transform: scale(1.12);
    padding: 10px;
}

.notaSvg:hover svg {
    display: block;
    background-color: #fff;
    position: absolute;
    left: -50%;
    bottom: -280px;
    width: 150px;
    height: 200px;
    padding: 10px;
    transform: scale(1.12);
    z-index: 10;
    
    animation-duration: 1s;
    animation-name: slidein;

}

@keyframes slidein {
    from {
        bottom: -250px;
    }
  
    to {
      bottom: -280px;
    }
  }

.notaSvg {
    position: absolute;
    width: 100px;
    height: 100%;
    border-radius: 5px;
    top: 0px;
    left: 0;
    opacity: 1;
}


h1 {
    margin: 2em auto 0;
    font: 700 3em "Poppins", sans-serif;
    color: #f1f5f6;
    text-align: center;
}

h5 {
    margin: 0 auto 2em;
    font: 400 1.3em "Poppins", sans-serif;
    color: #f1f5f6;
    text-align: center;
}

a {
    text-decoration: none;
}

aside.context {
    text-align: center;
    color: #fff;
    line-height: 1.7;
}

aside.context a {
    text-decoration: none;
    color: #fff;
    padding: 3px 0;
    border-bottom: 1px dashed;
}

aside.context .explanation {
    max-width: 700px;
    margin: 4em auto 0;
}

footer {
    text-align: center;
    margin: 2em auto;
    width: 100%;
}

footer a {
    text-decoration: none;
    display: inline-block;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: transparent;
    border: 1px dashed #fff;
    color: #fff;
    margin: 5px;
}

footer a:hover {
    background: rgba(255, 255, 255, 0.1);
}

footer a .icons {
    margin-top: 12px;
    display: inline-block;
    font-size: 20px;
}

.harmonico-table {
    display: grid;
    grid-template-columns: repeat(7, 100px);
    grid-template-rows: repeat(4, 100px);
    grid-gap: 10px;
    margin: auto;
    max-width: 1200px;
    justify-content: center;
}

.campo-harmonico {
    padding: 4px;
    position: relative;
    z-index: 1;
    cursor: default;
    transition: all 0.3s ease;
}

.campo-harmonico .campo-harmonico-inner {
    background: #202e38;
    padding: 10px 15px;
    width: calc(100% - 30px);
    height: calc(100% - 20px);
    transition: inherit;
}

.campo-harmonico .title {
    font: 700 24px/1.3 "Poppins", sans-serif;
    margin: 0.3em 0 0;
    transition: 0.8s ease 600ms;
}

.campo-harmonico .description {
    font: 500 12px "Poppins", sans-serif;
    margin-top: -0.2em;
}

.campo-harmonico:after {
    z-index: 10;
    content: attr(data-description);
    background: #f9f8f7;
    color: #333;
    width: 180px;
    position: absolute;
    top: 80%;
    opacity: 0;
    transition: opacity 0.3s ease 0.3s, top 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s;
    height: auto;
    font-size: 12px;
    line-height: 1.4;
    padding: 10px;
    margin: 0 0 0 -50px;
    border-radius: 6px;
    text-align: center;
}

.campo-harmonico:hover {
    transform: scale(1.12);
    z-index: 10;
}

.campo-harmonico:hover .campo-harmonico-inner {
    background: transparent;
}

.campo-harmonico:hover .title,
.campo-harmonico:hover .description {
    -webkit-text-fill-color: #222;
}

.campo-harmonico:hover:after {
    top: 105%;
    opacity: 1;
}

a.campo-harmonico {
    cursor: pointer;
}

.primeira-escala {
    background: linear-gradient(to bottom right, #37cfdc 0%, #5a88e5 100%);
}

.primeira-escala .title,
.primeira-escala .description {
    background: -webkit-linear-gradient(#37cfdc, #5a88e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.segunda-escala {
    background: linear-gradient(to bottom right, #e65511 0%, #e66b32 100%);
}

.segunda-escala .title,
.segunda-escala .description {
    background: -webkit-linear-gradient(#e65511, #e66b32);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.terceira-escala {
    background: linear-gradient(to bottom right, #f3f9a6 0%, #cbc634 100%);
}

.terceira-escala .title,
.terceira-escala .description {
    background: -webkit-linear-gradient(#f3f9a6, #cbc634);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.quarta-escala {
    background: linear-gradient(to bottom right, #58ac30 0%, #a7df62 100%);
}

.quarta-escala .title,
.quarta-escala .description {
    background: -webkit-linear-gradient(#58ac30, #a7df62);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.quinta-escala {
    background: linear-gradient(to bottom right, #7a14b4 0%, #8c3abb 100%);
}

.quinta-escala .title,
.quinta-escala .description {
    background: -webkit-linear-gradient(#7a14b4, #8c3abb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.setima-escala {
    background: linear-gradient(to bottom right, #58ac30 0%, #a7df62 100%);
}

.setima-escala {
    background: linear-gradient(to bottom right, #b8ca13 0%, #c5d347 100%);
}

.setima-escala .title,
.setima-escala .description {
    background: -webkit-linear-gradient(#b8ca13, #c5d347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sexta-escala {
    background: linear-gradient(to bottom right, #ff616d 0%, #ffc171 100%);
}

.sexta-escala .title,
.sexta-escala .description {
    background: -webkit-linear-gradient(#ff616d, #ffc171);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legend-table {
    padding: 15px;
    text-align: center;
    font-size: 15px;
    margin: 2em auto 0;
}

.legend-table__marker {
    width: 25px;
    height: 25px;
    margin: 5px 5px 10px;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0.5px 1px rgba(0, 0, 0, 0.15);
}

.legend-table__text {
    display: inline-block;
    vertical-align: middle;
    margin: 0 25px 5px 5px;
    background: -webkit-linear-gradient(#ccc, #eee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legend-table__direction {
    display: inline-block;
    margin: 10px 15px 10px 10px;
    background: -webkit-linear-gradient(#ccc, #eee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.empty-spacer-1 {
    grid-column: 3/span 4;
    grid-row: 1;
}

.empty-spacer-2 {
    grid-column: 1;
    grid-row: 4;
}