
@font-face {
    font-family: "Computer Modern";
    src: url("cmunss.otf");
}

body {
    background-image: url("background.jpeg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.mainDivClass {
    font-family: "Computer Modern",sans-serif;
    color: rgb(237, 237, 237);
    text-align: center;
    background-color: rgba(10, 30, 45, 0.7);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
    width: 50vw;
    min-width: 320px;
}

.quoteClass {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-style: italic;
}

.authorClass {
    font-size: clamp(1rem, 3vw, 2rem);
    text-align: right;
}

@keyframes progressAnimation {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

#progressBarContainer {
    position: absolute;
    bottom: 1rem;
    left: 2rem;
    right: 2rem;
    height: 5px;
    background-color: rgba(237, 237, 237, 0.2);
    border-radius: 5px;
}

#progressBar {
    height: 100%;
    background-color: rgb(237, 237, 237);
    border-radius: 5px;
    animation-name: progressAnimation;
    animation-timing-function: linear;
}
