.button, .primary-button, .scroll-button {
    width: 90%;
    max-width: 15.625rem; /* 250px -> 15.625rem */
    min-width: 7.5rem; /* 120px -> 7.5rem */
    height: 3.125rem; /* 50px -> 3.125rem */
    font-size: 1rem; /* 16px */
}

@media (max-width: 48rem) { /* 768px -> 48rem */
    .button, .primary-button, .scroll-button {
        width: 110%;
        max-width: 12.5rem; /* 200px -> 12.5rem */
        height: 2.8125rem; /* 45px -> 2.8125rem */
        font-size: 0.9rem;
    }
}

@media (max-width: 30rem) { /* 480px -> 30rem */
    .button, .primary-button, .scroll-button {
        width: 150%;
        max-width: 11.25rem; /* 180px -> 11.25rem */
        height: 2.5rem; /* 40px -> 2.5rem */
        font-size: 0.8rem;
    }
}

.container {
    font-family: 'Lato';
    margin-top: 1rem; /* 80px -> 5rem */
    padding: 1.25rem; /* 20px -> 1.25rem */
    font-size: 1rem;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 1.875rem; /* 30px -> 1.875rem */
    position: absolute;
    left: 5%;
    right: 5%;
    top: 5.25rem;
    font-family: 'Lato', sans-serif;
}

.header {
    position: fixed;
    top: 0;
    background-color: #fff;
    width: 100%;
    padding: 0.9375rem; /* 15px -> 0.9375rem */
    text-align: left;
    border-bottom: 0.0625rem solid #5F5F5F; /* 1px -> 0.0625rem */
}

.header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem; /* 16px -> 1rem */
    font-weight: 400;
}

.header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.875rem; /* 30px -> 1.875rem */
    font-weight: 700;
}

.header p {
    font-weight: 400;
    font-size: 1rem; /* 16px -> 1rem */
}

main div {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 0.5625rem; /* 9px -> 0.5625rem */
    color: #5F5F5F;
}

.flex-box {
    left: 50%;
    transform: translateX(-50%);

    position: relative;
    display: flex;
    gap: 2rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h2 {
    font-size: 1.25rem; /* 20px -> 1.25rem */
}

p {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
}

.primary-button {
    width: 11.4375rem; /* 183px -> 11.4375rem */
    height: 2.9375rem; /* 47px -> 2.9375rem */
    background: linear-gradient(162.8deg, #4296E4 -20.14%, #383699 118.48%);
    box-shadow: 0px 0.3125rem 1.5625rem -0.625rem #8E6DE9; /* 5px, 25px, -10px -> rem */
    border-radius: 6.25rem; /* 100px -> 6.25rem */
    border: none;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.125rem; /* 18px -> 1.125rem */
    cursor: pointer;
    text-align: center;
}

.scroll-button {

    left: 50%;
    transform: translateX(-50%);

    visibility: hidden;
    background-color: #fff;
    border: 0.0625rem solid #5F5F5F; /* 1px -> 0.0625rem */
    width: 11.4375rem; /* 183px -> 11.4375rem */
    height: 2.9375rem; /* 47px -> 2.9375rem */
    box-shadow: 0px 0.3125rem 1.5625rem -0.625rem #8E6DE9;
    border-radius: 6.25rem;
    color: #5F5F5F;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
}
.accept-button {
    left: 50%;
    transform: translateX(-50%);
    display: none;

    background-color: #DB0011;
    border: none; /* 1px -> 0.0625rem */
    width: 11.4375rem; /* 183px -> 11.4375rem */
    height: 2.9375rem; /* 47px -> 2.9375rem */
    box-shadow: 0px 0.3125rem 1.5625rem -0.625rem #8E6DE9;
    border-radius: 6.25rem;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
}
.footer {
    position: fixed;

    bottom: 1.25rem;
    margin-top: 2rem;


    bottom: 0;
    background-color: #fff;
    width: 100%;
    padding: 0.9375rem;
    text-align: left;
}

