@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');

#mario {
	position:relative;
	max-width: 100%;
	max-height: 100vh;
	margin: auto;
	object-fit: contain;
	z-index: 1;
	padding: 0;
	height: 100%;
}

.canvasContainer {
	display: flex;
	height: 100%;
	align-items: center;
    justify-content: space-between;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	position: absolute;
	width: 100%;
}

#player {
	display: flex;
	height: 100%;
	align-items: center;
    justify-content: space-between;
	flex-wrap: wrap;
	position: absolute;
	width: 100%;
}


#input {
    height: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
	position: absolute;
	width: 100%;
	z-index: 2;
}

#inputContainer {
    display: flex;
	height: 5%;
	width: 30%;
	position: relative;
}

#urlInput {
	width: 100%;
	height: 100%;
}

button {
	width: 30%;
	height: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	border-radius: 0;
	right: 0;
}

#loaderContainer {
    height: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
	position:absolute;
	width: 100%;
}

#loader {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.infoText {
	position: absolute;
	bottom: 0;
	padding: 1em;
	height: auto;
	font-size: 2em;
	font-family: 'Open Sans', sans-serif;
}

* {
	margin: 0;
	padding: 0;
	height: 100%;
}