/* Colors:
    Teal: #52de97
    Blue: #2e4670
    lightgray, darkgray, black, white
    Gradient: background: linear-gradient(45deg, rgba(99,200,217,1) 0%, rgba(82,222,151,1) 100%);
*/
:root {
    --teal: #52de97;
    --blue: #2e4670;
    --gradient: linear-gradient(45deg, rgba(99,200,217,1) 0%, rgba(82,222,151,1) 100%);
}
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 16px;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}
.btn {
    border-radius: 5px;
    padding-left: 16px;
    padding-right: 16px;
    border-width: 1px;
    border-style: solid;
    animation: btn-exit 0.3s ease;
    cursor: pointer;
}
.btn:hover {
    animation: none;
    animation: btn-enter 0.3s ease;
    opacity: 0.6;
}
/* Buttons w/ background */

.gradient-btn {
    border: none;
    background-color: --teal;
    background: var(--gradient);
    color: white;
}
.black-btn {
    color: white;
    background-color: black;
    border-color: black;
}
.white-btn {
    color: var(--blue);
    background-color: white;
    border-color: white;
}

/* Buttons w/ border */

.teal-btn {
    background-color: white;
    border-color: var(--teal);
    color: var(--teal);
}
.gray-btn {
    background-color: white;
    border-color: darkgray;
    color: darkgray;
}
.blue-btn {
    background-color: white;
    border-color: var(--blue);
    color: var(--blue);
}


/*  Fill: border -> background
    Empty: background -> border
*/
@keyframes btn-enter {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.6;
    }
}
@keyframes btn-exit {
    0% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
    }
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: auto;
}
.banner {
    text-align: center;
}
.bold {
    font-weight: bold;
}
.right {
    float: right;
}
.left {
    float: left;
}
.teal-bg {
    background-color: var(--teal);
    color: var(--blue)
}
.taken {
    height: 100px!important;
    width: 100px!important;
    transition: all 0.5s ease-in;
    border: solid 3px white;
    box-shadow: 0 5px 10px 0 rgba(0,0,0,0.2);
    top: 20px;
    right: 20px;
    z-index: 2;
}
.mirrored {
    transform: rotateY(180deg);
    -webkit-transform:rotateY(180deg);
    -moz-transform:rotateY(180deg);
}
.camera {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}
.fullscreen {
    position: absolute;
    top: 0;
    min-width: 100%;
    min-height: 100%;
    margin-left: 50%;
    transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}
#trigger {
    position: absolute;
    bottom: 32px;
    left: calc(50% - 32px);
    box-sizing: border-box;
    background: none;
    width: 64px;
    height: 64px;
    border: 6px solid white;
    border-radius: 32px;
    outline: none;
    z-index: 30;
}
#trigger:hover {
    background-color: rgba(255,255,255, 0.5);
}
#trigger:active {
    background-color: white;
}
.frame::-webkit-media-controls-panel {
  display: none!important;
  -webkit-appearance: none;
}

/* Old shadow dom for play button */

.frame::-webkit-media-controls-play-button {
  display: none!important;
  -webkit-appearance: none;
}

/* New shadow dom for play button */

/* This one works! */

.frame::-webkit-media-controls-start-playback-button {
  display: none!important;
  -webkit-appearance: none;
}