* {
    margin: 0;
    padding: 0;   
}

body
{
    background-color: rgb(248,250,252);
}


#media-container 
{   
    width: 100vw; 
    height: calc(100vw * 16 / 9);
    
    max-height: 100vh; 
    max-width: calc(100vh * 9 / 16); 
    
    margin: auto;
}

#media-container  img,
#media-container video 
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#timer-container 
{
    width: 95%;

    position: absolute;
    top: 15px;
    left: 50%;
    z-index: 10;

    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.2); 

    padding: 5px;
    border-radius: 10px;

    text-align: center;
}

#progress-bar 
{
    width: 100%;
    height: 10px;

    background-color: #ddd;

    border-radius: 5px;
    overflow: hidden;
}

#progress 
{
    height: 100%;
    width: 0;

    background-color: #7F41E4;

    transition: width linear;
}

#skip-button 
{
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#skip-button i
{
    font-size: 28px;
}