@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

body {
    background: #000;
}

.quote-box {
    background: #fff;
    width: 70%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2.5rem;
    border-radius: 4rem;
    text-align: center;
    box-shadow: 0 0 10.25rem rgba(228, 219, 219, 0.741);
}

.quote-box h2 {
    position: relative;
    font-size: 3rem;
    margin-bottom: 3rem;
}

.quote-box h2::after {
    content: '';
    width: 4.6875rem;
    height: 0.1875rem;
    background: rgb(23, 124, 229);
    position: absolute;
    bottom: -0.625rem;
    left: 50%;
    transform: translateX(-50%);
}

.quote-box blockquote {
    display: flex; 
    justify-content: center; 
    align-items: center;
    font-size: 1.625rem;
    min-height: 6.875rem;
    font-weight: 300;
}

.quote-box span {
    display: block;
    margin-top: 0.625rem;
    font-weight: 600;
    float: center;
    position: relative;
}

.quote-box div {
    width: 100%;
    margin-top: 3.125rem;
    display: flex;
    justify-content: center;
}

.quote-box button {
    background: rgba(23, 123, 229, 0.855);
    color: #fff;
    border-radius: 3rem;
    /* 25px converted to rem */
    width: 9.375rem;
    height: 3.125rem;
    border: none;
    /* 1px converted to rem */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.3125rem;
    /* 5px converted to rem */
    cursor: pointer;
    transition: .5s;
}

.quote-box button:hover {
    background: rgb(23, 123, 229);
}

/* 
.quote-box button img {
    width: 1.25rem; 
    margin-right: 0.625rem; 
}

.quote-box button:nth-child(2) {
    background: transparent;
    color: #333;
} */


html {
    font-size: 16px;
    /* Default font size */
}

@media (max-width: 1200px) {
    html {
        font-size: 10px;
        /* Smaller font size for medium screens */
    }
    .quote-box {
        border-radius: 5rem;
    }
}

@media (max-width: 650px) {
    html {
        font-size: 8px;
    }

    .quote-box {
        width: 90%;
    }

    .quote-box h2 {
        font-size: 4rem;
    }

    .quote-box blockquote {
        min-height: 9rem;
        font-size: 2rem;
    }

    .quote-box span {
        font-size: 1rem;
    }

    .quote-box button {
        font-size: 1.3rem;
    }
}