*{
    padding: 0;
    margin: 0;
}
body {
    background: #FFE4E1;
    display: flex;
    justify-content: center;
}
.main h1{
    font-family: poppins;
    color: #D4537E;
    background-color: white;
    padding: 20px;
    text-align: center;
}

.main{
    width: 100%;
    height: 100vh;
}
.container{
    width: 100%;
    display: flex;
    gap: 50px;
    margin-top: 30px;
    align-self: center; 
    justify-content: center;
}

video{
    border: 2px solid #D4537E;
    border-radius: 10px;
    width: 400px;
    height: 400px;/* JS will set height based on real camera aspect ratio */
}

#filters{
    width: 100%;
    display:flex;
    justify-content: center;
    gap: 10px;
}
#filters button{
    width:fit-content;
    height: fit-content;
    
}

.btns {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.btns button{
    font-size: large;
}
.flip-btn{
    margin-top:25px;
    width: fit-content;
    height: fit-content;
    font-size: larger;
    background-color: white;
    color: #D4537E;
    padding: 5px 10px;
    border-radius: 50%;
    cursor: pointer;
}
button {
    font-family: chewy;
    display: block;
    justify-self: center;
    margin-top: 20px;
    padding: 10px 20px;
    color: #D4537E;
    background-color: white;
    border: 1.5px solid #F4C0D1;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #D4537E;
    color: white;
    border: 1px solid #D4537E;
}
#photos{
    justify-self: center;
    align-self: center;
    width: fit-content;
    display: flex;
    flex-direction: column;
    background-color: white;
    padding-top: 50px;
    padding-bottom: 10px;
}
.photo{
    width: 200px;
    margin: 5px;
    animation:fadein 1s forwards
}
@keyframes fadein {
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

@media screen and (max-width:750px) {
    .container{
        flex-direction: column;
    }
    .container img{
        display: flex;
    }
    .container video{
        width: 300px;
        height: auto;
    }
    button{
        font-size: 13px;
        padding: 10px;
    }
    .photo{
        width: 100px;
        flex-shrink: 0;
    }
}