@import url(https://fonts.googleapis.com/css?family=Open+Sans:600);
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap");

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body {
	min-height: 100vh;
	display: grid;
	place-items: center;

	--bkg: #5eb3fd;
	--white: #e7e6e6;

	background-color: var(--white);
	background-image: url("https://www.transparenttextures.com/patterns/concrete-wall.png");
}

.title h1 {
	font-size: 10vmin;
	font-weight: 900;
	font-family: "Montserrat", sans-serif;
	color: rgb(11, 74, 156);
}

.artist h6 {
	font-size: 30px;
	font-weight: 600;
	font-family: "Montserrat", sans-serif;
	color: rgb(11, 74, 156);
}

.chord-line {
  color: red;
}

/* .ghost {
	width: 8vmin;
	height: 12vmin;
  z-index: 99;
	background-image: url(images/pngwing.png);
	position: relative;
	opacity: 0.9;
	animation: ghostMove 4s ease-out infinite;
  mix-blend-mode: color-burn;
}
.ghost:hover{
  filter: invert();
}
@keyframes ghostMove{
	0% {
	transform: translateX(30em) rotateZ(-90deg);
	}
  50% {
  opacity: 1;
  }
	100% {
	transform: translateX(-75em) rotateZ(-90deg);
  opacity: 0;
	}
}
.ghost div {
  mix-blend-mode: exclusion;
	position: absolute;
} */

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  background-image: url(images/background_4.jpg) ;
  background-position: center;
  background-size: cover;
  background-repeat: repeat-y;

}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    align-items: center;
}
.header{
    width: 100%;
    height: 100vh;
}

.song-input {
    font-family: "Montserrat", sans-serif; /* Replace with your preferred font family */
    font-size: 16px; /* Adjust the font size */
    line-height: 1.5; /* Adjust the line height */
    color: #333; /* Adjust the font color */
    white-space: pre-wrap; /* Preserve line breaks */
}

/* Apply font styles to chords */

.container {
    margin: 0 auto;
    align-items: center;
    -moz-box-align: center;
    padding: 20px;
    background: transparent;
}
.song-container {
    align-items: center;
    background: rgba(0, 238, 255, 0.096);
    backdrop-filter: blur(5px);
    border: 10px solid #02ccff;
    border-style: groove;
    width: 1200px;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.song-input {
    
    width: 100%;
    padding: 10px;
    border: 1px solid #020202;
    background: rgba(243, 254, 255, 0.678);
    backdrop-filter: blur(5px);
    border-radius: 5px;
    resize: vertical;
}
.chord {
  text-shadow: #000000;
  white-space: pre-wrap;
  font-size: 25px;
  color: #e74c3c; /* Set chords to red color */
}

.title_in_song {
    font-size: 33px;
    color: rgb(89, 0, 255); /* Purple color */
  }
  
.chord:hover{
  font-size: 35px;
  transition: .4s ease-in-out;
  cursor: grab;

}
.input-group {
    position: fixed;
    font-weight: 700;
    z-index: 8;
    bottom: 0;
    right: 0;
    padding-right: 20px;
    padding-bottom: 120px;

}
.input-group:hover{
    transition: .4s ease-in-out;
}


.song-input .title_In_Song{
  color: #4c00ff;
  font-size: 33px;
}

.toggle-button {
    margin-bottom: 10px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.toggle-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: #000;
  }

.toggle-button:focus {
outline: none;
}

.hidden {
max-height: 0px; /* Hide content by reducing max-height to 0 */
}



/* CSS */

.footer-distributed {
    background-color: #79cce0;

    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    font: normal 16px sans-serif;
    padding: 45px 50px;
  }
  
  .footer-distributed .footer-left p {
    color: #000000;

    font-size: 14px;
    margin: 0;
  }
  /* Footer links */
  
  .footer-distributed p.footer-links {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin: 0 0 10px;
    padding: 0;
    transition: ease .25s;
  }
  
  .footer-distributed p.footer-links a {
    display: inline-block;
    line-height: 1.8;
    text-decoration: none;
    color: inherit;
    transition: ease .25s;
  }
  
  .footer-distributed .footer-links a:before {
    content: "·";
    font-size: 20px;
    left: 0;
    color: #fff;
    display: inline-block;
    padding-right: 5px;
  }
  
  .footer-distributed .footer-links .link-1:before {
    content: none;
  }
  
  .footer-distributed .footer-right {
    float: right;
    margin-top: 6px;
    max-width: 180px;
  }
  
  .footer-distributed .footer-right a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: #33383b;
    border-radius: 2px;
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    line-height: 35px;
    margin-left: 3px;
    transition:all .25s;
  }
  
  .footer-distributed .footer-right a:hover{transform:scale(1.1); -webkit-transform:scale(1.1);}
  
  .footer-distributed p.footer-links a:hover{text-decoration:underline;}
  
  /* Media Queries */
  
  @media (max-width: 600px) {
    .footer-distributed .footer-left, .footer-distributed .footer-right {
      text-align: center;
    }
    .footer-distributed .footer-right {
      float: none;
      margin: 0 auto 20px;
    }
    .footer-distributed .footer-left p.footer-links {
      line-height: 1.8;
    }
  }

/* Changes by MueR */
html, body {
  scroll-behavior: smooth;
}
.song-input {
  line-height: 1em;
}
.song-input h3.section {
  color: purple;
  padding-left: 2em;
}
.song-input .line {
  font-family: 'Courier New', Courier, monospace;
  padding-top: 1.3em;
  padding-left: 3em;
}
.song-input .chord-anchor {
  position: relative;
}
.song-input .chord-anchor::before {
  width: 0; 
  height: 0; 
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid rgb(11, 74, 156);
  display: block;
  position: absolute;
  content: '';
  left: 0;
  top: -.2em;
}
.song-input .chord-anchor::after {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: .8em;
  font-weight: normal;
  background-color: rgb(11, 74, 156);
  border-radius: 2px 2px 2px 0;
  color: white;
  padding: 2px .4em;
  position: absolute;
  left: -50%;
  top: calc(-1.5em - 4px);
  display: block;
  content:attr(data-chord);
}
.song-input.transposed .chord-anchor::before {
  border-top-color: red;
}
.song-input.transposed .chord-anchor::after {
  background-color: red;
}

body > main {
  display: flex;
  flex-direction: row;
}
body > main article {
  flex-grow: 1;
  flex-basis: 80%;
  padding: 1em;
}
body > main .controls {
  display: flex;
  flex-basis: 20%;
  flex-grow: 0;
  flex-direction: column;
  justify-content: start;
  align-self: flex-start;
  align-items: start;
}
.controls-inner {
  position: fixed;
  display: grid;
}
.control-group {
  font-size: 1em;
  font-family: "Montserrat", sans-serif;
  padding: 1em 0;
}
.control-group > div {
  margin-bottom: .5em;
}
.control-group input {
  border: 1px solid #111;
  border-radius: 3px;
  background-color: white;
  color: #111;
  display: inline-block;
  padding: 8px;
}
.button-85 {
  border: 1px solid #111;
  border-radius: 3px;
  background-color: white;
  color: #111;
  padding: 8px 20px;
  display: inline-block;
}