.wdx-sound-demo {
    background-color: white;
    color: black;
}

.wdx-container {
    padding: 25px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.wdx-hero-image {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.wdx-hero-video {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.wdx-hero-video__element {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
}

.wdx-heading {
    text-transform: uppercase;
    font-weight: 300;
    font-size: 35px;
    line-height: 1.3;
    text-align: center;
    margin-top: 16px;
    margin-bottom: 16px;
}

.wdx-heading strong {
    font-weight: 700;
}

.wdx-paragraph {
    font-weight: 300;
    font-size: 18px;
    line-height: 1.33;
    text-align: center;
    margin-top: 0;
    margin-bottom: 24px;
}

.wdx-blocks {
    display: flex;
    flex-direction: column;
}

.wdx-audio-player__button {
    width: 44px;
    height: 44px;
    background-color: #484441;
    border-radius: 6px;
    border: none;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wdx-audio-player__play {
    display: block;
    max-width: 15px;
}

.wdx-audio-player.wdx-is-playing .wdx-audio-player__play {
    display: none;
}

.wdx-audio-player__pause {
    display: none;
}

.wdx-audio-player.wdx-is-playing .wdx-audio-player__pause {
    display: block;
}

.wdx-audio-player__label {
    text-transform: uppercase;
    font-size: 14px;
    line-height: 1.15;
    text-align: center;
    color: #484441;
}

.wdx-audio-switch {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
    align-items: center;
    height: 120px;
}

.wdx-audio-switch__button {
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: calc(50% - 5px);
    max-width: 200px;
    height: 115px;
    padding: 15px;
    outline: none;
}

.wdx-audio-switch__button:not(.wdx-is-selected) .wdx-audio-switch__stopped {
    -webkit-filter: invert(100%);
    filter: invert(100%);
}

.wdx-audio-switch__button:first-child {
    margin-right: 10px;
}

.wdx-audio-switch__button.wdx-is-selected {
    background-color: #484441;
    border-color: #484441;
    border-width: 4px;
    height: 120px;
}

.wdx-audio-switch__stopped {
    max-width: 20px;
    display: block;
}

.wdx-audio-switch.wdx-is-playing .wdx-audio-switch__button.wdx-is-selected .wdx-audio-switch__stopped {
    display: none;
}

.wdx-audio-switch__playing {
    max-width: 35px;
    display: none;
}

.wdx-audio-switch.wdx-is-playing .wdx-audio-switch__button.wdx-is-selected .wdx-audio-switch__playing {
    display: block;
}

.wdx-audio-switch__label {
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1.33;
    color: #484441;
    width: 80%;
}

.wdx-audio-switch__button.wdx-is-selected .wdx-audio-switch__label {
    font-weight: 700;
    color: white;

}

.wdx-audio-lines {
    height: 20px;
    display: flex;
    align-items: flex-end;
}

.wdx-audio-line {
    animation-iteration-count: infinite;
    background-color: #fff;
    width: 1px;
    height: 20px;
}

.wdx-audio-line:not(:last-child) {
    margin-right: 2px;
}

.wdx-audio-line:nth-child(1),
.wdx-audio-line:nth-child(3),
.wdx-audio-line:nth-child(9),
.wdx-audio-line:nth-child(12) {
    animation-name: music-visualization-short;
}

.wdx-audio-line:nth-child(2),
.wdx-audio-line:nth-child(5),
.wdx-audio-line:nth-child(7),
.wdx-audio-line:nth-child(10) {
    animation-name: music-visualization-medium;
}

.wdx-audio-line:nth-child(4),
.wdx-audio-line:nth-child(6),
.wdx-audio-line:nth-child(8),
.wdx-audio-line:nth-child(11) {
    animation-name: music-visualization-long;
}

.wdx-audio-line:nth-child(1),
.wdx-audio-line:nth-child(9) {
    animation-duration: 0.4s;
}

.wdx-audio-line:nth-child(2),
.wdx-audio-line:nth-child(8),
.wdx-audio-line:nth-child(10) {
    animation-duration: 0.5s;
}

.wdx-audio-line:nth-child(3),
.wdx-audio-line:nth-child(7) {
    animation-duration: 0.6s;
}

.wdx-audio-line:nth-child(4),
.wdx-audio-line:nth-child(6),
.wdx-audio-line:nth-child(12) {
    animation-duration: 0.7s;
}

.wdx-audio-line:nth-child(5),
.wdx-audio-line:nth-child(11) {
    animation-duration: 0.8s;
}

@keyframes music-visualization-short {
    0% {
        height: 10px;
    }
    50% {
        height: 5px;
    }
    100% {
        height: 10px;
    }
}

@keyframes music-visualization-medium {
    0% {
        height: 15px;
    }
    50% {
        height: 5px;
    }
    100% {
        height: 15px;
    }
}

@keyframes music-visualization-long {
    0% {
        height: 20px;
    }
    50% {
        height: 5px;
    }
    100% {
        height: 20px;
    }
}

.wdx-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    opacity: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}

.wdx-modal.wdx-show {
    opacity: 1;
    overflow-x: hidden;
    overflow-y: auto;
    display: block;
}

.wdx-modal__dialog {
    position: relative;
    width: auto;
    margin: 48px;
    pointer-events: none;
    display: flex;
    align-items: center;
    min-height: calc(100% - 96px);
}

.wdx-modal__dialog::before {
    display: block;
    height: calc(100vh - 96px);
    content: "";
}

.wdx-modal__content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
}

.wdx-modal__body {
    color: #000;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.wdx-modal__icon {
    width: 100px;
    height: 100px;
    margin-bottom: 36px;
}

.wdx-modal__heading {
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 12px;
    width: 100%;
}

.wdx-modal__paragraph {
    font-size: 16px;
    line-height: 1.375;
    margin-top: 0;
    margin-bottom: 36px;
    width: 100%;
}

.wdx-modal__button {
    background-color: #484441;
    border-radius: 6px;
    border: none;
    width: 130px;
    height: 44px;
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
}

.wdx-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0;
}

.wdx-modal-open {
    overflow: hidden;
}

.wdx-modal-backdrop.wdx-show {
    opacity: 0.5;
    display: block;
}

@media screen and (min-width: 600px) {
    .wdx-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .wdx-col {
        flex-basis: calc(50% - 25px);
    }

    .wdx-heading {
        text-align: left;
        margin-top: 0;
    }

    .wdx-paragraph {
        order: 2;
        text-align: left;
        margin-bottom: 30px;
    }

    .wdx-audio-player {
        order: 1;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 48px;
    }

    .wdx-audio-player__button {
        margin-left: 0;
        margin-right: 15px;
        margin-bottom: 0;
    }

    .wdx-audio-switch {
        order: 3;
        justify-content: flex-start;
    }

    .wdx-audio-switch__button {
        padding: 15px;
    }

    .wdx-modal__body {
        padding: 48px;
    }

    .wdx-modal__dialog {
        max-width: 500px;
        margin: 1.75rem auto;
        min-height: calc(100% - 3.5rem);
    }

    .wdx-modal__dialog::before {
        height: calc(100vh - 3.5rem);
    }
}

@media screen and (min-width: 850px) {
    .wdx-audio-switch__button {
        padding: 25px;
    }
}