* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    height: 100vh;
    width: 100vw;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}
.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: grid;
    grid-template-rows: 93% 1fr;
}
.videos {
    display: grid;
    grid-template-rows: 50% 50%;
}
video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* background: #000; */
}
.controls {
    /* position: absolute;
    bottom: 10px; */
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
    /* padding-top: 10px; */
    padding-bottom: 5px;
}
button {
    padding: 12px 20px;
    border: none;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.2);
    background: rgb(255, 254, 254);
    color: white;
    font-size: 16px;
    backdrop-filter: blur(5px);
    transition: 0.2s;
}
@media (min-width:1025px) {
    button:hover {
        opacity: 0.8;
    }
    button {
        cursor: pointer;
    }
}
.user,.target {
    /* position: relative; */
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
/* .username {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
} */
@media (min-width:500px) {
    .video-container {
        grid-template-rows: 93% 1fr;
    }
    .videos {
        grid-template-columns: 50% 50%;
    }
    .user,.target {
        height: 200%;
    }
    .videoCover{
        margin-top: 5px;
    }
}
@media (max-width: 600px) {
    button {
        padding: 10px 15px;
        font-size: 14px;
    }
}
.videoCover,.targetCover {
    /* position: absolute;
    top:0px; */
    inset: 0;
    height: 100%;
    /* height: 90%; */
    aspect-ratio: 1 / 1; 
    object-fit: cover;
    display: none;
    border-radius: 50%;
    max-width: 95%;
    /* min-width: 90%; */
    margin-top: 10px;
}
.user-name {
    display: none;
}
/* .user,.target {
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200%;
} */
.targetCover {
    display: block;
}
.targetVideo{
    display: none;
}
.toggleVideo {
    /* background-image: url('../Images/deactivate-video.png'); */
    background-image: url('../Images/activate-video.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.toggleAudio {
    /* background-image: url('../Images/deactivate-mic.png'); */
    background-image: url('../Images/activate-mic.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.endCall {
    background-image: url('../Images/end-call.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-color: red;
}
@media (max-width:499px) {
    .videoCover,.targetCover {
        height: 100%;
        max-width: 100%;
        /* position: absolute;
        top:0px; */
        
    }
}
.username{
    height: 100%;
    position: relative;
    grid-template-rows: 70% 1fr;
    width: 100%;
}
