@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
    font-family: "Inter", sans-serif;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 2em;
}

body {
    background-image: url("./background.webp");
}

.space {
    height: 0.75rem;
}

.space-x2 {
    height: 1.5rem;
}

.space-x3 {
    height: 2.25rem;
}

.space-x4 {
    height: 3rem;
}

.space-x5 {
    height: 3.75rem;
}

.space-x10 {
    height: 7.5rem;
}

.main {
    width: 100%;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
}

.container {
    max-width: 28rem;
    margin: auto;
    margin-top: 80px;
}

.progress-bar {
    max-width: 28rem;
    height: 8px;
    background-color: rgba(3, 93, 84, 0.1);
    border-radius: 5px;
    margin: 30px auto auto auto;
}

.progress {
    background-color: rgba(3, 93, 84, 1);
    height: 100%;
    width: 0;
    border-radius: 5px;
    transition: width 0.5s ease-in-out;
}

.text-center {
    text-align: center;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #035d54;
    border-radius: 15px;
    color: #fef2f2;
    border: none;
    width: 100%;
    cursor: pointer;
    padding: 18px;
    font-size: 1rem;
    transition: opacity 0.3s ease;
    position: relative;
    margin-bottom: 0.5rem;

    font-weight: 500;
}

.btn:hover {
    opacity: 0.9;
}

.btn::after {
    content: "›";
    background-color: #63938280;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 200;
    position: absolute;
    right: 10px;
    padding-bottom: 3px;
    padding-left: 1px;
}

.btn.btn-cta::after {
    content: "";
    opacity: 0;
}

.btn.btn-cta {
    display: block;
    text-align: center;
}

.comment {
    display: flex;
    gap: 0.75rem;
    background-color: #f8fafc;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 0.75rem;
}

.comment img {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.comment-username {
    color: #030712;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.comment-text {
    color: #6b7280;
    line-height: 1.5rem;
    margin: 0;
}

.loading .progress-bar {
    margin: 0 0 0.75rem 0;
    height: 12px;
}

.loading .progress {
    transition: none;
}

.loading-status {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.loading-status-percentage {
    opacity: 0.5;
}

.loading-on-loaded {
    display: none;
}

@media screen and (max-width: 728px) {
    .progress-bar {
        max-width: 92%;
    }

    .loading .progress-bar {
        max-width: 100%;
    }

    .container {
        margin-top: 30px;
        padding: 0 12px 0 12px;
    }
}
