#preview-page{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: absolute;
    align-items: center;
}
#photo-preview-container {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    column-gap: 9vw;
    top: 8%;
}
#preview-container{
    position: absolute;
    display: flex;
    width: 100%;
    justify-content: center;
    column-gap: 9vw;
    bottom: 10%;
}
#photo-preview{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
}
/* #photo-preview-container{
    position: absolute;
    display: flex;
    width: 100%;
    justify-content: center;
    column-gap: 9vw;
    bottom: 7%;
} */
.photo-preview-actions{
    width: 39vw;
    height: 10vw;
    border-radius: 5vw;
    text-align: center;
    background-color: WHITE;
    COLOR: BLACK;
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 1vw;
    font-family: Teko-SemiBold;
    font-size: 6vw;
    line-height: 0;
}

.photo-preview-actions > img{
    height: 7vw;
}
.photo-preview-actions > div{
    color: white;
}

.result-preview-actions{
    width: 39vw;
    height: 10vw;
    border-radius: 5vw;
    text-align: center;
    background-color: WHITE;
    COLOR: BLACK;
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 1vw;
    font-family: Teko-SemiBold;
    font-size: 4.2vw;
    line-height: 0;
}

.result-preview-actions > img{
    height: 7vw;
}
.result-preview-actions > div{
    color: white;
}
.photo-preview-image{
    position: relative;
    height: 81%;
    /* left: 50%; */
    top: 5%;
    /* transform: translate(-50%, -50%); */
}
.preview-image{
    position: absolute;
    height: 53%;
    /* left: 50%; */
    top: 26%;
    opacity: 0;
    transition: opacity 0.3s ease;
    /* transform: translate(-50%, -50%); */
}

#home-button-1{
    position: relative;
    width: 15vw;
    height: 15vw;
    padding: 0;
    border: 0;
    background: transparent;
    top: 51%;
    /* transform: translateX(-50%); */
    /* left: 50%; */
  }

  #home-button-1 > img{
    width: 100%;
    height: 100%;
  }

  #text-animation {
    position: relative;
    width: 100%;
    height: 100px;
    top: 35%;
    font-size: 3.5vw;
    font-family: Teko-Bold;
    color: white;
  
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
   
    
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutUp {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-100%);
    }
}

@keyframes pulseHighlight {
    0%, 100% {
        transform: scale(1);
        color: #fff;
    }
    50% {
        transform: scale(1.05);
        color: #ffd700; 
    }
}

.text {
    position: absolute;
    width: 100%;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.text.exit {
    animation: slideOutUp 0.5s cubic-bezier(0.4, 1, 0.2, 1) forwards;
}

.text.active {
    animation: 
        slideInUp 0.5s cubic-bezier(0.4, 1, 0.2, 1) forwards,
        pulseHighlight 1.5s ease-in-out infinite; /* Highlight animation */
    z-index: 10;
}



  .loaderStyle {
    width: 75%;
    height: 20px;
    background-color:#3a0303;
    border: 1px solid #1e1d1d;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
  }
  
  #progress {
    width:0%; /* Explicitly start at 0% width */
    height: 100%;
    background-color: white;
    transition: width 15s linear;
    position: relative;
  }
  