@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;800&family=Quicksand:wght@300;400;500;600;700&display=swap');

:root{
    --Playfair: '"Playfair Display', serif;
    --Quicksand: 'Quicksand', sans-serif;
}

html{
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    font-family: var(--Quicksand);
    margin: 0px;
    padding: 0px;
}

body{
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    height: 100vh;
    color: black;
    background-color: white;
    padding: 50px;
}

body .container{
    max-width: 1000px;
}

body .container header{
    background: #deebee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
    padding: 20px 50px 60px;
    border-radius: 16px;
}

body .container header .category{
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
}

body .container header .info{
    text-align: center;
}

body .container header .info .tags i{
    font-size: 18px;
    margin-right: 4px;
}

body .container header .info .tags span{
    font-size: 0.8rem;
}

body .container header .info .title{
    margin: 20px 0;
    font-size: 3rem;
    font-weight: bold;
}

body .container header .info .subtitle{
    min-width: 70%;
    margin: 0 auto 20px;
    font-size: 1rem;
}

body .details{
    transform: translate() scale(0);
    transition: 200ms ease-in-out;
    display: flex;
    justify-content: space-between;
    background: #fff;
    margin-top: 50px;
    padding: 20px 50px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

body .details:hover{
    border-bottom: 5px solid #5e3bee;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transform: translate(0) scale(1.02);
    transition: 200ms ease-in-out;
}

body .details .item .item-title{
    color: #5e3bee;
}

body .details .item .item-text{
    margin-top: 12px;
    font-size: 1.5rem;
}

body article{
    margin-top: 50px;
    padding-bottom: 20px;
    line-height: 1.70;
}

body article h4{
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 1.25rem;
}

body article p{
    margin-bottom: 20px;
    color: #999;
    font-size: 1.1rem;
}

body article blockquote{
    margin: 40px 0;
    background-color: #deebee;
    padding: 30px;
    border-radius: 16px;
    font-family: var(--Playfair);
}

@media screen and (max-width: 768px) {
    
    body .container header{
        padding: 10px 20px 30px;
        min-height: 300px;
    }

    body .container header .category{
        font-size: 0.9rem;
    }

    body .container header .info .title{
        font-size: 2.2rem;
    }

    body .container header .info .subtitle{
        font-size: 0.8rem;
    }

    body .container .details {
        flex-direction: column;
    }

    body .container .details .item:not(:last-child){
        margin-bottom: 30px;
    }
}
