@import url("https://use.typekit.net/cwc0soc.css");

@font-face {
    font-family: PP Editorial Old;
    src: url(PPEditorialOld-Ultralight.otf);
  }

  @font-face {
    font-family: TeX Gyre Heros;
    src: url(TeXGyreHeros-Regular.otf);
  } 

  body {
    /* background-color: #ff0000; */
    background-image: url("bg.webp");
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    overflow: hidden;
}

.card{
    width: 700px;
    height: 500px;
    border-radius: 25px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    background-color: rgb(225, 225, 225);
    text-align: center;
    display: grid;
    flex-direction: column; 
    justify-content: center;
    align-content: center;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* align-items: center; */
}

h1 {
    color: rgb(0, 0, 0);
    font-family: TeX Gyre Heros;
    font-size: 40px;
    letter-spacing: -0.05rem;
    line-height: 40px;
    padding-left: 10%;
    padding-right: 10%;
    top: 5%;
    position: absolute;
    text-align: center;
    left: 50%;
    transform: translate(-50%);
}

#player, #capture, #canvas {
    top: 30%;
}



#nameInput, #bdayInput, #locationInput, #jobInput, #petsInput, #reasonInput {
    background: transparent;
    border: 1px solid black;
    font-family: Helvetica, sans-serif;
    letter-spacing: -1px;
    font-weight: 400;
    font-size: 20pt;
    border-radius: 50px;
    padding: 5px 20px;
}

#nameInput::placeholder, #locationInput::placeholder, #jobInput::placeholder, #petsInput::placeholder {
    color: gray;
    font-style: italic;
}

#next, #capture{
    font-family: Tex Gyre Heros, sans-serif;
    letter-spacing: -1px;
    font-weight: 400;
    font-size: 20pt;
    position: relative;
    grid-row-start: 4;
    background: rgb(255, 255, 183);
    border: 1px solid black;
    border-radius: 50px;
    padding: 5px 20px;
    max-width: 100%; 
    margin-top: 30px;
}
/* 
#next:hover, #capture:hover {
    font-family: 'Apple Garamond', serif;
    font-style: italic;
} */

/* video {
    width: auto;
    height: 200%  !important;
    
} */

#player {
    width: 100%;
    height: auto;
    max-width: 400px;
    height: auto;
    /* display: auto; */
    /* border: 3px solid black; */
    border-radius: 25px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    background-color: rgb(225, 225, 225);
    text-align: center;
    object-fit: cover;
    grid-row-start: 1;
}

#canvas {
    margin: 0 auto;
    padding: 0 auto;
    width: 0px;
    /* height: 100px; */
}

#random {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
}

.congrats img {
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
    mix-blend-mode: screen;
    z-index: -1;
}

