@font-face {
  font-family: "Texturina";
  src: url('../fonts/texturina.ttf');
  font-display: swap;
}

:root {
  --background-color: #C9B5EE;
  --color:#313F7E;
  --secondary-color:#4D3973;
  --display-font: "Texturina", serif;
}

* {
	box-sizing: border-box;
}
body {
	font-family: "Helvetica", sans-serif;
	background-color: var(--background-color);
	color: var(--color);
	margin: 0;
}
a {
	color: inherit;
}
h1 {
	margin: 9.5vh 0 11vh 0;
	font-family: var(--display-font);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-weight: 100;
	font-size: 19vw;
	color: var(--secondary-color);
	line-height: .9;
	letter-spacing: 1px;
	font-variation-settings: 'wght' 100, 'wdth' 85;
	animation: breathe 5500ms infinite forwards;
	padding: 0 50px;
}
@keyframes breathe {
	60% {
		font-variation-settings: 'wght' 700, 'wdth' 100;
	}
	100% {
		font-variation-settings: 'wght' 100, 'wdth' 85;
	}
}

/* audio area ~~~~~~~~~~~~~~~~~~~~~~ */
.controls {
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding: 0 18vw;
	grid-gap: 6vw;
}
.control {
	display: flex;
  	justify-content: center;
  	align-items: center;
}
.corner-border {
	position: relative;
    padding: 1em;
    border-style: solid;
    border-width: 1px;
    border-image-source: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns=%22http:%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox=%220 0 40 40%22%3E%3Crect x=%220.5%22 y=%220.5%22 width=%2239%22 height=%2239%22 fill=%22transparent%22 stroke=%22%23313F7E%22 stroke-width=%221%22 %2F%3E%3C%2Fsvg%3E");
    border-image-slice: 50%;
    border-image-width: 40px;
}
#play-pause, .download-control {
	height: 20vw;
	width: 20vw;
}
#play-pause, .download-control {
	border: none;
	background-color: transparent;
}
.control span {
	display: none;
}
/*~~~~~~~~~~~~~~~~ the play/pause icons*/
#player-container #play-pause {
	background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCAzOCA0OCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEuNSAxLjVMMTkgMTIuNzVMMzYuNSAyNEwxLjUgNDYuNVYxLjVaIiBmaWxsPSIjNEQzOTczIiBzdHJva2U9IiM0RDM5NzMiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=');
	background-repeat:no-repeat;
	background-position:center;
}
.play {
	background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCAzOCA0OCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEuNSAxLjVMMTkgMTIuNzVMMzYuNSAyNEwxLjUgNDYuNVYxLjVaIiBmaWxsPSIjNEQzOTczIiBzdHJva2U9IiM0RDM5NzMiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=');
	background-size: 60% 60%;
    cursor: pointer;
}
.pause {
	background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzciIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCAzNyA0OCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjY2NjcgMUgxVjQ2LjMzMzNIMTIuNjY2N1YxWiIgZmlsbD0iIzREMzk3MyIvPgo8cGF0aCBkPSJNMzUuOTk5OCAxSDI0LjMzMzJWNDYuMzMzM0gzNS45OTk4VjFaIiBmaWxsPSIjNEQzOTczIi8+CjxwYXRoIGQ9Ik0xMi42NjY3IDFIMVY0Ni4zMzMzSDEyLjY2NjdWMVoiIHN0cm9rZT0iIzREMzk3MyIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPHBhdGggZD0iTTM1Ljk5OTggMUgyNC4zMzMyVjQ2LjMzMzNIMzUuOTk5OFYxWiIgc3Ryb2tlPSIjNEQzOTczIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K')!important;
	background-size: 60% 60%;
    cursor: pointer;
}

/*~~~~~~~~~~~~~~~~ the download icon*/
.download-control {
    background: transparent url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzkiIGhlaWdodD0iNDciIHZpZXdCb3g9IjAgMCAzOSA0NyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTM3Ljc1IDMzLjVWNDEuNjY2N0MzNy43NSA0Mi43NDk2IDM3LjMxOTggNDMuNzg4MiAzNi41NTQgNDQuNTU0QzM1Ljc4ODIgNDUuMzE5OCAzNC43NDk2IDQ1Ljc1IDMzLjY2NjcgNDUuNzVINS4wODMzM0M0LjAwMDM3IDQ1Ljc1IDIuOTYxNzUgNDUuMzE5OCAyLjE5NTk4IDQ0LjU1NEMxLjQzMDIxIDQzLjc4ODIgMSA0Mi43NDk2IDEgNDEuNjY2N1YzMy41TTkuMTY2OTkgMjMuMjkxNkwxOS4zNzUzIDMzLjVMMjkuNTgzNyAyMy4yOTE2TTE5LjM3NSAzMlYxIiBzdHJva2U9IiM0RDM5NzMiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=') no-repeat center center;
    background-size: 60% 60%;
    cursor: pointer;
}

/*~~~~~~~~~~~~~~~~ gradient*/
.background {
	position: absolute;
	z-index: -10;
	top: 15vh;
    left: -23vw;
}
.gradient-wrap {
	z-index: 0;
	transform-style: preserve-3d;
	position: relative;
	top: 0;
	filter: blur(50px);
	min-height: 320px;
	min-width: 320px;
    -webkit-animation-name: spin;
    -webkit-animation-duration: 4000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: spin;
    -moz-animation-duration: 4000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: spin;
    -ms-animation-duration: 4000ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;
    
    animation-name: spin;
    animation-duration: 4000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
@-ms-keyframes spin {
    from { -ms-transform: rotate(0deg); }
    to { -ms-transform: rotate(360deg); }
}
@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}
.gradient-wrap img {
	width: 100%;
	height: auto;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	-webkit-animation: flickerAnimation 5s infinite;
	-moz-animation: flickerAnimation 5s infinite;
	-o-animation: flickerAnimation 5s infinite;
	animation: flickerAnimation 5s infinite;
}
.gradient-wrap img:first-of-type {
	-webkit-animation: flickerAnimation 2s infinite;
	-moz-animation: flickerAnimation 2s infinite;
	-o-animation: flickerAnimation 2s infinite;
	animation: flickerAnimation 2s infinite;
}
.gradient-wrap img:last-of-type {
	-webkit-animation: flickerAnimation 3s infinite;
	-moz-animation: flickerAnimation 3s infinite;
	-o-animation: flickerAnimation 3s infinite;
	animation: flickerAnimation 3s infinite;
}
@keyframes flickerAnimation {
  0%   { opacity:1; }
  50%  { opacity:.4; }
  100% { opacity:1; }
}
@-o-keyframes flickerAnimation{
  0%   { opacity:1; }
  50%  { opacity:.4; }
  100% { opacity:1; }
}
@-moz-keyframes flickerAnimation{
  0%   { opacity:1; }
  50%  { opacity:.4; }
  100% { opacity:1; }
}
@-webkit-keyframes flickerAnimation{
  0%   { opacity:1; }
  50%  { opacity:.4; }
  100% { opacity:1; }
}

/*~~~~~~~~~~~~~~~~ footer*/
.footer {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
}
.footer-container {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.footer a {
	font-size: 4.5vw;
	display: inline-block;
	padding: 5vw;
	font-family: var(--display-font);
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.3;
}
/*~~~~~~~~~~~~~~~~ modals*/
/* Add animation (Chrome, Safari, Opera) */
@-webkit-keyframes fade {
  from {opacity: 0;}
  to {opacity:1;}
}
/* Add animation (Standard syntax) */
@keyframes fade {
  from {opacity: 0;}
  to {opacity:1;}
}

/* The modal's background */
.modal {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: var(--background-color);
	z-index: 2;
	/* Add animation */
	-webkit-animation-name: fade;
	-webkit-animation-duration: 0.5s;
	animation-name: fade;
	animation-duration: 0.5s;
}
/* Display the modal when targeted */
.modal:target {
	display: block;
	position: absolute;
}
.modal-container {
	font-size: 5vw;
	width: 87%;
	padding: 5vw 0 5vw 5vw;
}
.modal-container a {
	text-decoration: underline;
	text-underline-position: under;
}
.modal-container a.url {
	word-break: break-all;
}
.modal-container img {
	height: 61px;
	width: auto;
	margin-right: 20px;
}
/* The button used to close the modal */
.closebtn {
	position: fixed;
	padding: 5vw;
	font-size: 5vw;
	right: 0;
	top: 0;
	text-decoration: none;
	float: right;
	font-family: var(--display-font)
}
.closebtn:hover,
.closebtn:focus {
	text-decoration: none;
	cursor: pointer;
}
blockquote {
	margin-inline-end: 0px;
}
/*~~~~~~~~~~~~~~~~ smaller phones*/
@media only screen and (max-width: 374px) {
	.modal-container img {
		height: 50px;
	}
}
/*~~~~~~~~~~~~~~~~ desktops*/
@media only screen and (min-width: 801px) {
	h1 {
		margin: 14vh 0 14vh 0;
		font-size: 6.3rem;
		line-height: .9;
		letter-spacing: 1px;
		padding: 0 50px;
	}
	.background {
	    left: 30vw;
	    top: 22vh;
	}
	.gradient-wrap {
		filter: blur(60px);
		min-height: 420px;
		min-width: 420px;
	}
}

@media (min-width: 500px) and (max-width: 800px) {
	h1 {
		margin: 10vh 0 10vh 0;
		font-size: 5.5rem;
		line-height: .9;
		letter-spacing: 1px;
		padding: 0 50px;
	}
	.background {
	    left: 20vw;
	    top: 26vh;
	}
	.gradient-wrap {
		filter: blur(50px);
		min-height: 320px;
		min-width: 320px;
	}
}

/*~~~~~~~~~~~~~~~~ small desktops*/
@media only screen and (min-width: 500px) {
	main { 
		width: 500px; 
		margin: auto;
	}
	.controls {
		padding: 0 8.5rem;
		grid-gap: 30px;
	}
	.corner-border {
	    padding: 1em 0;
	    border-width: 1px;
	    border-image-slice: 50%;
	    border-image-width: 35px;
	}
	#play-pause, .download-control {
		height: 70px;
		width: 70px;
	}
	#play-pause:hover, .download-control:hover, button#play-pause:focus, .download-control:focus, #play-pause:active, .download-control:active {
		outline: 2px dotted var(--color);
	}
	.footer-container {
		width: 96%;
		margin: auto;
		margin-bottom: 1rem
	}
	.footer a {
		font-size: 1.2rem;
		padding: 1rem;
	}
	.modal-container {
		font-size: 1.5rem;
		margin: auto;
		width: 500px;
		padding: 2rem;
	}
	.closebtn {
		padding: 2rem;
		font-size: 2rem;
	}
}
