@font-face {
  font-family: 'Passion One';
  src: url('fonts/PassionOne-Regular.ttf');
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  background: rgb(68,104,41);
}

.main-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
  background: url("../img/cuccioli.png") bottom center no-repeat;
  background-size: contain;
}

.centered-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width: 100%;
  min-height: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.canvas-container.webgl-content {
  width: 80vw;
  height: 41vw;
  padding: 10px;
  border-radius: 16px;
  background-color: #ffffff;
  -webkit-box-shadow: 0px 15px 30px 0px rgba(0, 0, 0, 0.3);
  -moz-box-shadow:    0px 15px 30px 0px rgba(0, 0, 0, 0.3);
  box-shadow:         0px 15px 30px 0px rgba(0, 0, 0, 0.3);
  top: auto;
  left: auto;
  position: relative;
  transform: none;
}

.canvas {
  width: 100%;
  height: 100%;
}

.logo {
  width: 100%;
  max-width: 500px;
  margin-bottom: 20px;
  height: auto;
}

.video-container {
    position: absolute;
    top: 25%;
	bottom: 25%;
    left: 25%;
    right: 25%;
    height: auto;
    width: auto;
    background-color: #f5a700;
    border-radius: 12px;
    border: solid 4px #9e5600;
	display: none;
}

.video-container video {
	position: absolute;
	left: 5%;
	width: 90% !important;
	height: 100% !important;
	object-fit: fill;
}

.video-container button {
	position: absolute;
    bottom: 15%;
    left: 33%;
    width: 33%;
    height: 22%;
    z-index: 1;
    border-radius: 5px;
    border: 3px solid #0076d6;
    background-color: #00acf1;
    color: white;
	font-family: 'Passion One';
	display: none;
}

@media only screen and (max-height: 820px) {

  .logo {
    position: fixed;
    top: 10px;
    left: 10px;
    width: 120px;
  }

}

@media only screen and (max-height: 540px) {

  .canvas-container, .canvas {
    width: auto;
    height: 100%;
  }

}

@media only screen and (max-width: 540px) {

  .canvas-container, .canvas {
    width: 100% !important;
    height: auto !important;
  }

}
