@font-face {
    font-family: Montserrat;
    src: url("../Resources/Fonts/Montserrat/Montserrat-VariableFont_wght.ttf");
}

@font-face {
    font-family: GeneralSans;
    src: url("../Resources/Fonts/GeneralSans_Complete/GeneralSans-Variable.ttf");
}

@font-face {
    font-family: Zodiak;
    src: url("../Resources/Fonts/Zodiak_Complete/Zodiak-Variable.ttf");
}

@font-face {
    font-family: Boska;
    src: url("../Resources/Fonts/Boska_Complete/Boska-Variable.ttf");
}

.top-header {
    font-family: Boska;
    font-size: 4em;
    text-align: center;
    letter-spacing: 4px;
}

.blog {
    width: 95%;
    height: 40vh;
    position: relative;
    margin: auto;
    margin-top: 50px;
    border:none;
    border-radius: 20px;
    background-color: #101010;
    transition: background-color 1s;
}

.blog .user {
    width: 250px;
    height: 105px;
    justify-items: center;
    align-items: center;
}

.blog .user .profile-picture {
    position: absolute;
    height: 100px;
    padding: 20px;
    border: none;
    border-radius: 10000px;
}

.blog .user .username {
    position: absolute;
    left: 105px;
    font-family: Zodiak;
    font-size: 2em;
}

.blog .blog-content {
    width: 97%; 
    height: 70%;

    /* border: 1px solid red; */
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.blog .blog-content h1 {
    position: relative;
    left: 20px;
    
    font-family: "Montserrat";
    font-weight: 550;
    font-size: 2em;
}

.blog .blog-content p {
    position: relative;
    left: 20px;

    font-size: 1.1em;
    line-height: 1.5em;
    font-family: "GeneralSans"
}

.home {
    position: fixed;
    height: 50px;
    width: 50px;
    top: 10px;
    right: 10px;
    background-color: #161616;
    transition: background-color 1s;
    border: none;
    cursor: pointer;
}

.home i {
    font-size: 50px;
    color: white;
    transition: color 1s;
}

.light-mode {
    background-color: white;
    color: black;
}

.light-mode .blog {
    background-color: #e6e6e6;
}

.light-mode .home {
    background-color: white;
}

.light-mode .home i {
    color: black;
}

@media screen and (max-height: 1000px) {
    .blog .blog-content h1 {
        font-size: 1.5em;
    }
    .blog .blog-content p {
        font-size: 0.9em;
    }
}

@media screen and (max-width: 500px) {
    .blog .user {
        height: 85px;
    }
    .blog .user .profile-picture {
        height: 80px;
    }
    .blog .user .username {
        left: 85px;
        font-size: 1.5em;
    }

    .blog .blog-content h1 {
        font-size: 1.1em;
    }
    .blog .blog-content p {
        font-size: 0.8em;
    }
}