* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  vertical-align: top;
}

html, body{
	overflow-x: hidden;
}

.main-track{
	width: 10%;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.gallery {
  display: flex;
  margin: 10px auto;
  max-width: 600px;
  position: relative;
  padding-top: 66.6666666667%;
}

.gallery__img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.gallery__thumb {
  padding-top: 6px;
  margin: 6px;
  display: block;
}

.galleryx {
  display: flex;
  margin: 10px auto;
  max-width: 600px;
  position: relative;
  padding-top: 30.6666666667%;
}


.gallery__selector {
  position: absolute;
  opacity: 0;
  visibility: hidden;
}
.gallery__selector:checked + .gallery__img {
  opacity: 1;
}
.gallery__selector:checked ~ .gallery__thumb > img {
  box-shadow: 0 0 0 3px #0be2f6;
}

.trackinfo{
	text-align: center;
}

.track-background{
	background-color: black;
	color: white;
	margin-top: -10px;
}

.track-text{
	font-size: 25px;
}


@media (min-width: 300px) and (max-width: 599px){	
	.track-text{
		font-size: 18px;
	}
	
	.galleryx {
	  display: flex;
	  margin: 10px auto;
	  max-width: 600px;
	  position: relative;
	  padding-top: 50.6666666667%;
	}
	
	.main-track{
		width: 30%;
	}

}

@media screen and (min-width: 600px) {
  .gallery {
    padding-top: 400px;
  }
}