* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}

.video-container {
    height: 100vh;
    width: 100vw;
    background: #000;
    overflow: hidden;
}

video {
    height: 100%;
    width: 100%;
}

.action-container {
    width: 5rem;
    position: absolute;
    top: calc((100vh - 12rem)/2);
    right: 5rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    gap: 3rem;
}

.action-container>* {
    width: 100%;
    height: 5rem;
    border-radius: 50%;
    border: 5px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.record-btn-container,
.capture-btn-container {
    cursor: pointer;
}

.record-btn {
    background-color: red;
    height: 3rem;
    width: 3rem;
    border-radius: 50%;
}

.capture-btn {
    background-color: white;
    height: 3rem;
    width: 3rem;
    border-radius: 50%;
}

.scale-record {
    animation-name: scale-record;
    animation-iteration-count: infinite;
    animation-duration: 1s;
}

.scale-capture {
    animation-name: scale-capture;
    animation-iteration-count: 1;
    animation-duration: 0.5s;
}

@keyframes scale-record {
    0% {
        transform: scale(0.8);
    }

    100% {
        transform: scale(1.1);
    }
}

@keyframes scale-capture {
    0% {
        transform: scale(0.8);
    }

    100% {
        transform: scale(1.1);
    }
}

.timer-container {
    position: absolute;
    bottom: 10rem;
    left: 4rem;
    color: white;
    font-size: 1.2rem;
    background-color: black;
    height: 3rem;
    display: flex;
    align-items: center;
    width: 7rem;
    justify-content: center;
    display: none;

}


.filter-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: absolute;
    top: calc((100vh - 16rem)/2);
    left: 5rem;
    width: 5rem;
}

.filter {
    height: 4rem;
    background-image: url('https://img.freepik.com/free-photo/portrait-young-woman-with-natural-make-up_23-2149084942.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: color-burn;
    cursor: pointer;
    z-index: 2;

}

.none {
    background-color: transparent;
}

.jaipur {
    background-color: #FFC0CB57;
    /* Warm reddish-pink */
}

.rio-de-janerio {
    background-color: rgba(255, 165, 0, 0.5);
    /* Warm yellow-orange */
}

.tokyo {
    background-color: rgb(0 0 0 / 78%)
}

.filter-layer {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 1;
}



.material-symbols-outlined {
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
}

.material-symbols-outlined:hover {
    transform: scale(1.1);
}

/* ======================= Gallery CSS ======================= */
.back {
    color: white;
    margin: 1rem;
    position: fixed;
    top: 0;
}

.gallery-container {
    width: 97vw;
    margin-top: 4rem;
    margin-left: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.media-box {
    height: 17rem;
    width: 17rem;
    border: 6px solid white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 8px;
}

.media {
    height: calc(100% - 2rem);
    background-color: white;

}

.media-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    background-color: #fff;
}

.gallery-btns {
    color:
        #000;
    font-size: 2.5rem;
}

img {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
}

video {
    object-fit: cover;
}

@media only screen and (max-width: 600px) {
    .filter-container {
        top: 0;
        left: 0;
    }

    .action-container {
        bottom: 0;
        right: 1rem;
        gap: 1rem;
    }
}