@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=EB+Garamond&family=Oooh+Baby&family=Quicksand&family=Readex+Pro:wght@300;400&family=Roboto:wght@300&display=swap");

body {
  margin: 0;
  padding: 0;
  font-family: Roboto, sans-serif;
  background-color: #444444;
  color: #eeeeee;
}

header {
  box-sizing: border-box;
  background-color: #693043;
  background-image: url("../images/wavrcrop.jpg");
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position-x: center;
  color: #ffffff;
  padding: 20px;
  width: 100%;
}

h1 {
  font-family: "Bebas Neue", serif;
  font-size: 3em;
  color: transparent;
}

h2 {
  font-family: "EB Garamond", serif;
  font-size: 3em;
}

nav {
  display: flex;
  justify-content: space-around;
}

a {
  position: relative;
  text-decoration: none;
}

a:visited {
  color: #ccc;
}

.body-link::before {
  content: url(/images/newarrow.png);
  position: absolute;
  left: -35px;
  top: -14px;
}

.body-link::after {
  content: "";
  position: absolute;
  height: 1px;
  width: 10px;
  bottom: -4px;
  left: 0px;
  margin: 0 auto;
  background-color: #ccc;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.body-link:hover::after {
  width: calc(100% + 2rem);
}

h2 {
  margin: 0;
}

h2 a {
  text-decoration: none;
  color: #ccc;
  position: relative;
}

h2 a::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 10px;
  bottom: -4px;
  left: 0px;
  margin: 0 auto;
  background-color: #ccc;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

h2 a:hover::after {
  width: calc(100% + 2rem);
}

nav a {
  text-decoration: none;
  color: #fff;
  padding: 10px;
  transition: color 0.3s; /* Add a smooth color transition */
}

nav a:visited {
  color: #fff;
}

nav a:hover {
  color: #b6cbe6; /* Change the link color on hover */
}

nav a::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 0;
  bottom: 10px;
  left: 0px;
  right: 0px;
  margin: 0 auto;
  background-color: #b6cbe6;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

nav a:hover::after {
  width: 50%;
}

main {
  background-image: url("/images/gradient.jpg");
  background-repeat: repeat-x;
  width: 100%;
}

.music-main {
  box-sizing: border-box;
  padding: 3em;
}

.home-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  width: 100%;
}

.home-main-wrapper {
  padding: 20px;
  width: 60%;
}

.home-main-wrapper section {
  margin-top: 20px;
}

.home {
  text-align: center;
  width: 100%;
}

.about {
  text-align: right;
  width: 100%;
}

iframe {
  padding: 0;
  margin: 0;
  height: 155px;
}

.music-head {
  font-style: italic;
  font-weight: bold;
}

.filter-buttons {
  display: flex;
}

button {
  color: #ccc;
  background-color: #444444;
  outline: #ccc 3px solid;
  border-radius: 10px;
  padding: 5px;
  margin: 5px;
  border: 0;
}

button:hover {
  color: #444;
  background-color: #ccc;
  outline: #ccc 3px solid;
  border-radius: 5px;
  padding: 5px;
  margin: 5px;
  border: 0;
}

.filter {
  flex: 1;
  text-align: center;
  padding: 10px;
  margin: 10px;
  border: 1px solid #eeeeee;
  border-radius: 10px;
}

h4 {
  font-style: italic;
  font-weight: bold;
}

img {
  max-width: 100%;
}

footer {
  box-sizing: border-box;
  background-color: #693043;
  color: #ffffff;
  padding: 20px;
  width: 100%;
}

.portfolio-wrapper {
  display: flex;
  flex-wrap: wrap;
}

div.audio-wrapper {
  flex-basis: calc(33.33% - 40px);
  padding: 20px;
  display: flex; /* Add this */
  flex-direction: column; /* Add this if you want to align children vertically */
  justify-content: center; /* Center children horizontally */
  align-items: center; /* Center children vertically */
  text-align: center;
}

/*.player {
  display: flex;
  align-items: center;
  background-color: #693043;
  width: 350px;
  height: 60px;
  border: 1px solid #eeeeee;
  border-radius: 10px;
}*/

.player {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #693043;
  width: 350px;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  box-shadow: inset 0 0 10px #340008;
  padding: 10px;
  margin: 10px;
}

.play-button {
  height: 0px;
  width: 0px;
  margin: 10px;
  margin-bottom: 7px;
  border-left: 20px solid #333;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-radius: 10px;
}

.play-button:hover {
  border-left-color: #222;
}

.pause-button {
  display: none;
  margin: 10px;
  margin-top: 13px;
  margin-left: 5px;
}

.pause-button:hover #pause1,
.pause-button:hover #pause2 {
  background-color: #222;
}

#pause1 {
  background-color: #333;
  border-radius: 5px;
  height: 34px;
  width: 10px;
}

#pause2 {
  background-color: #333;
  border-radius: 5px;
  margin-left: 10px;
  height: 34px;
  width: 10px;
}

.timer {
  margin-left: 10px;
}

.title-row {
  display: flex; /* Create a flex container for the title */
  justify-content: center; /* Center the title horizontally */
  align-items: center; /* Center the title vertically */
  margin-bottom: 5px; /* Add some spacing below the title */
}

h6 {
  font-size: 1.3em;
  font-family: "EB Garamond", serif;
  margin: 0;
}

.content-row {
  display: flex; /* Create a flex container for the content */
  align-items: center;
}

.switch-audio {
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: right;
}

.switch-button {
  height: 20px;
  margin-left: 10px;
}

.inline-strong {
  display: inline !important;
  position: relative;
  font-weight: bold;
}

.inline-strong::after {
  content: url("/images/loopsmall.png");
  position: absolute;
  right: -30px;
  height: 20px;
  width: 20px;
}

.inline-strong::before {
  content: url("/images/loopsmall.png");
  position: absolute;
  left: -30px;
  height: 20px;
  width: 20px;
}

@media screen and (max-width: 684px) {
  .filter-buttons {
    flex-direction: column;
  }
}

@media screen and (max-width: 480px) {
  .home-main-wrapper {
    width: 100%;
  }

  .home-main-wrapper section {
    text-align: center;
    box-sizing: border-box;
    padding: 15px;
  }

  iframe {
    width: 100%;
  }

  .music-main {
    box-sizing: border-box;
    padding: 15px;
  }

  .player {
    width: 300px;
  }

  .portfolio-wrapper {
    flex-direction: column;
  }

  div.audio-wrapper {
    padding: 10px;
  }
}

@media screen and (max-width: 1392px) {
  div.audio-wrapper {
    flex-basis: calc(50% - 40px);
  }
}

@media screen and (max-width: 960px) {
  div.audio-wrapper {
    flex-basis: calc(100% - 40px);
  }
}
