@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    padding:0;
    margin:0;
    box-sizing: border-box;
    font-family: 'Poppins';
    scroll-behavior: smooth;
}

html,body{
    width:100%;
    height:100%;
    font-size: 100%;
}

body{
    padding: 0 10rem .5rem 10rem;
    position: relative;
}

.scroll-to-top-btn{
    position: fixed;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    background-color: #000;
    z-index: 10;
    bottom: 50px;
    right: 50px;
    box-shadow: rgb(0 0 0 / 12%) 0px 2px 8px;
    cursor: pointer;
    transition: .2s ease;
}

.scroll-to-top-btn ion-icon{
    color: #fff;
}

.back-to-home-btn{
    position: fixed;
    width: fit-content;
    height: 50px;
    padding: 0 1rem; 
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: #000;
    border: 3.5px solid transparent;
    z-index: 10;
    top: 50px;
    left: 50px;
    box-shadow: rgb(0 0 0 / 12%) 0px 2px 8px;
    cursor: pointer;
    transition: .2s ease;
    text-decoration: none;
}

.back-to-home-btn ion-icon, .back-to-home-btn span{
    color: #fff;
    font-size: .9rem;
    text-decoration: none;
}

.back-to-home-btn span{
    margin-left: .5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.back-to-home-btn:hover{
    border: 3.5px solid #000;
    background-color: transparent;
}

.back-to-home-btn:hover .back-to-home-asset{
    color: #000;
    font-weight: 500;
}

.scroll-btn-hide{
    opacity: 0;
    transform: scale(0.75);
}

.blog-image{
    width:100%;
    height: 60%;
    background-image: url(/assets/img/blog-page/blog-page-header__1.jpg);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: left bottom;
    background-attachment: fixed;
    padding: 0 0 1rem 0;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    margin-bottom: 2rem;
}

.blog-image-header{
    width:100%;
    background-color: rgba(0, 0, 0, 0.75);
    padding: .5rem 1rem;
}

.blog-image .blog-image-header h1{
    color: #fff;
    font-family: 'Lobster';
    font-size: 4rem;
    margin-bottom: .5rem;
}

.blog-image .blog-image-header span{
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.blog-image-header hr{
    height:5px;
    border-width:0;
    background-color:#fff;
}

h3{
    font-size:1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: fit-content;
}

h3 hr{
    width: 50%;
    height: 3px;
    background-color: #000;
}

h5{
    text-transform: uppercase;
    letter-spacing: 1.25px; 
    margin: 2rem 0 1rem 0;
    font-size: 1.1rem;
}

.blog-content{
    width: 100%;
    max-width: 1000px;
    padding: 5rem;
    height: fit-content;
    position: relative;
    left: 50%;
    transform: translateX(-50%)
}

.blog-content h1{
    font-size: 3.75rem;
}

.blog-content h3{
    color: #484848;
    margin-bottom: 2rem;
    text-transform: unset;
    letter-spacing: unset;
    font-weight: 500;
    font-size: 1.5rem;
}

.blog-content p{
    font-size: 1.1rem;
    color: #292929;
    text-align: left;
    margin-bottom: 2rem;
}

.fact-card{
    position: relative;
    width:75%;
    height: fit-content;
    margin-bottom: 2rem;
    background-color: #F3F6FD;
    border-left: 5px solid #292929;
    left: 50%;
    padding: .5rem;
    transform: translateX(-50%);
}

.fact-card span{
    display: flex;
    align-items: center;
    color: #292929;
}

.fact-card span ion-icon{
    font-size: 1.25rem;
    margin-right: .25rem;
}

.fact-card span h4{
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.fact-card p{
    font-size: .9rem;
    margin: .25rem 0 .5rem 1.5rem;
}

.blog-comments{
    width: 100%;
    height:fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 0;
}

.blog-textarea{
    width:80%;
    position: relative;
}

.blog-textarea button{
    position: absolute;
    right: .5rem;
    bottom: 1rem;
    background-color: #000;
    color: #fff;
    border: none;
    padding: .5rem 1rem;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: .25s ease-in-out;
}

.blog-textarea button span{
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.blog-textarea button ion-icon{
    margin-left: .5rem;
}

.blog-comments h3{
    font-weight: 600;
    text-transform: unset;
    letter-spacing: unset;
    font-size: 1rem;
    width: 80%;
    margin-bottom: 1rem;
}

.blog-comments textarea{
    width: 100%;
    min-height: 50px;
    resize: none;
    padding: 2.5rem 0;
    border: none;
    outline-width: 0;
    box-shadow: rgb(0 0 0 / 12%) 0px 2px 8px;
    padding: 1rem;
    transition: .25s ease-in-out;
}

.blog-comments textarea:focus{
    min-height: 150px;
}

.comment{
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    width: 80%;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.comment div{
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.comment div ion-icon{
    font-size: 0.75rem;
    margin-right: .25rem;
}

.comment .name{
    font-weight: 600;
    font-size: 1rem;
}

.comment .time{
    font-size: .8rem;
}

.comment .comment-message{
    font-size: 1rem;
}

@media screen and (max-width: 760px) {
    body{
        padding: 0 .5rem .5rem .5rem
    }
    
    .blog-image{
        background-size: auto 100%;
    }

    .blog-content{
        padding: 2.5rem 1rem
    }

    .fact-card{
        width:90%;
    }
}