

@font-face {
    font-family: 'MyCustomFont';
    src: url('../assets/fonts/LiptonHighlight-Textured.otf') format('opentype');

}

body, html {
    margin: 0;
    height: 100vh;
    font-family: 'MyCustomFont' !important;
    /* display: flex; */
    justify-content: center;
    align-items: center;            
}
.screen {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    text-align: center;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center center;
}
.screen.active {
    display: flex;
    opacity: 1;
}
.captureScreen, .resultScreen {
    position: relative;
    background-color: black;
}
#video, #canvas {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}
#frame-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    pointer-events: none;
}
.capture-btn, .restart-btn {
    width: 30%;
    position: absolute;
    /* bottom: 70px; */
    z-index: 3;
    padding: 10px 20px;
    font-size: 1.2em;
    /* color: white; */
    /* background-color: #007bff; */
    border: none;
    border-radius: 5px;
    cursor: pointer;
}


.startScreen {
    background-image: url('../assets/images/06.png');
    background-size: cover;
    background-position: center center;

    
}
.infoScreen {
    background-image: url('../assets/images/06.png');
}
.wordScreen {
    background-image: url('../assets/images/06.png');
}
.fearless{
    background-image: url('../assets/images/06.png');
}

.resultScreen {
    background-image: url('../assets/images/Last\ Frame.png');
}
.screen h2 {
    margin-bottom: 0px;
    color: white;
    font-size: 1.5em;
}

input {
    margin: 10px 0;
    padding: 15px 20px;
    font-size: 1.5em;
    width: 60%;
    max-width: 350px;
    border-radius: 10px;
    border: 2px solid #ccc;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    outline: none;
}

input:focus {
    border-color: #007bff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
    background-color: #fff;
}

input::placeholder {
    color: #aaa;
    font-style: italic;
}

input:hover {
    border-color: yellow;
    background-color: #eaf4ff;
}


#randomWord{
    height: 100px;
    width: 300px;
}



/* Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Popup content */
.popup-content {
    background-color: #FFE201;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 80%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Header */
.popup-content h3 {
    margin-top: 0;
    font-size: 1.5em;
    color: #333;
}

/* Message */
.popup-content p {
    font-size: 1em;
    margin: 15px 0;
    color: #555;
}

/* Button */
.popup-content button {
    background-color: #00AEEF; /* Main blue color */
    color: #FFFFFF; /* White text */
    font-size: 1.5em;
    font-weight: bold;
    padding: 10px 30px;
    border: none;
    border-radius: 8px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3), 0 4px #005bb5;
    text-shadow: 1px 1px #4a4a4a;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.popup-content button:hover {
    background-color: #d28307;
}


.custom-button {
    background-color: #00AEEF; /* Main blue color */
    color: #FFFFFF; /* White text */
    font-size: 1.5em;
    font-weight: bold;
    padding: 10px 30px;
    border: none;
    border-radius: 8px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3), 0 4px #005bb5;
    text-shadow: 1px 1px #4a4a4a;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}