@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

*{
    margin :0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Playfair Display", serif;
    
}

body{
    background: #bbc6fa;
    width: 700px;
    position: absolute;
    top: 50%;
    left: 50%;
    color: black;
    transform: translate(-50%, -50%);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px 0px rgba(0, 0,0,0.15);
}

.quote-box h2{
    font-size: 32px;
    margin-bottom: 40px;
    position: relative;
}

.quote-box h2::after{
    content: '';
    width: 75px;
    height: 3px;
    border-radius: 3px;
    background: rgb(23, 124, 229);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translatex(-50%);
}

.quote-box blockquote{
    font-size: 26px;
    min-height: 110px;
}

.quote-box blockquote::before, .quote-box blockquote::after{
    content: '"';
}

.quote-box span{
   display: block;
   margin-top: 10px;
   float: right;
   position: relative;
}

.quote-box span::before{
    content: '';
    width: 20px;
    height: 2px;
    background: rgb(23, 124, 229);
    position: absolute;
    top: 50%;
    left: -30px;
    
}

.quote-box div{
    width: 100%;
    margin-top: 50px;
    display: flex;
    justify-content: center;
}
.quote-box button{
    background: #fff;
    color: rgb(23, 124, 229);;
    border-radius: 25px;
    border: 1px solid rgb(23, 124, 229);
    width: 150px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    cursor: pointer;
}

.quote-box button img{
    width: 20px;
    margin-right: 10px;
}

.quote-box button:nth-child(2){
    background: #fff;
    color: #333;
}

#footer h2 {
    text-align: right;
    font-size: 0.3rem;
    padding: 0.2rem;
    font-weight: 50;
    margin-top: 50px;
  }

/* Media Queries */
@media (max-width: 768px) {
    body {
        width: 90%;
        padding: 20px;
    }

    .quote-box h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .quote-box blockquote {
        font-size: 22px;
        min-height: 90px;
    }

    .quote-box span {
        font-size: 14px;
    }

    .quote-box div {
        margin-top: 30px;
        flex-direction: column; /* Stack buttons vertically on smaller screens */
    }

    .quote-box button {
        width: 100%;
        height: 40px;
        margin: 10px 0;
    }

    .quote-box button img {
        width: 18px;
    }
}

@media (max-width: 480px) {
    body {
        width: 95%;
        padding: 10px;
    }

    .quote-box h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .quote-box blockquote {
        font-size: 20px;
        min-height: 70px;
    }

    .quote-box span {
        font-size: 12px;
    }

    .quote-box div {
        margin-top: 20px;
    }

    .quote-box button {
        height: 35px;
        font-size: 14px;
    }

    .quote-box button img {
        width: 16px;
    }
}
