@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bulma@0.8.2/css/bulma.min.css');


html,
body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth !important;
    transition: all 0.25s ease;
}



/* width */
::-webkit-scrollbar {
    width: 0.5vmax !important;
}

/* Track */
::-webkit-scrollbar-track {
    background: white !important;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #363636 !important;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: black !important;
}

::placeholder {
    font-family: 'Poppins', sans-serif;
}

#navbar>.navbar-burger>span:nth-child(2) {
    left: calc(50%);
    width: 8px;
}

.is-active {
    font-weight: bold;
}

.columns {
    .button {
        margin: 0.5rem !important;
    }
}

hr {
    margin: 1rem auto;
    height: 1px;
}

.column {
    margin: auto 0.5rem;
    padding: 0.5rem;
}

.searchResult {
    a {
        .title {
            text-decoration: underline;
        }
    }
}


#navbar {
    opacity: 0.95;
}

.is-active {
    font-weight: 600;
}

.navbar-dropdown {
    border: none;
    right: 0;
    left: auto;
}

a.navbar-item:hover {
    background-color: rgba(#fff, 0.25) !important;
    color: white !important;
}

.navbar-link:hover {
    background-color: rgba(#fff, 0.25) !important;
    color: white !important;
}

a.navbar-item.is-active {
    background-color: rgba(#fff, 0.25) !important;
    color: white !important;
}

a.navbar-item.is-active:hover {
    background-color: rgba(#fff, 0.25) !important;
    color: grey;
}

.navbar-link:not(.is-arrowless)::after {
    border-color: grey;
}


.hero-container {
    position: relative;
    max-height: 100vh;
    overflow: hidden;

}

.hero-background {
    width: 100%;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    display: block;
    z-index: -1;

    font-family: monospace;
    background: rgb(0, 0, 0);
}

.hero-background>.grid-row {
    display: flex;
    height: 15px;
}

.hero-background>.grid-row>.grid-element {
    color: #fff;
    width: 32px;
    min-width: 2rem;
    height: 15px;
}

.hero-animated-grid {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    display: block;
    z-index: 2;
}

.hero-animated-grid>.grid-row {
    display: flex;
    height: 15px;
}

.hero-animated-grid>.grid-row>.grid-element {
    width: 32px;
    min-width: 2rem;
    height: 15px;
}

#hero {
    position: relative;
}

#hero>.hero>.hero-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.title {
    margin: 0.75rem auto !important;
}

.subtitle {
    margin: 0.75rem auto !important;
    letter-spacing: 0.25rem;
}

.button {
    z-index: 2;
}

#about {
    .image {
        max-width: 20vmax;
        margin: auto;

        img {
            border: 0.25rem solid black;
        }
    }

    a {
        min-width: 10vmax;
        margin: 0.5rem;
    }
}

#services {
    a {
        min-width: 10vmax;
        max-width: 80%;
        margin: 2rem auto;
        display: flex;
        justify-content: center;
    }

    h2 {
        margin: 1rem auto !important;
        letter-spacing: 0.15rem;
        font-size: 1.8rem;
    }

    div {
        padding-top: 0.5rem;

        p {
            padding: 0.5rem;
        }
    }
}

#blog {
    justify-content: start;

    .hero-body {
        flex-grow: 0;
        padding: 3rem 0.25rem 1rem 0.25rem;
    }

    .container {
        margin: 1.5rem auto;
    }

    #blog-card {
        transition: all 0.25s ease;
        margin-bottom: 0.5vmax;
        transform: scale(0.85);
        margin-right: 2.5vmax;
        margin-left: 2.5vmax;
        line-height: normal;
        border-radius: 0.25rem;
        -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
        box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);

        &:hover {
            transform: scale(0.875);
            -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.25);
            -moz-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.25);
            box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.25);
        }

        @media (max-width: 768px) {
            transform: scale(1);
            margin-bottom: 5vmax !important;

            &:hover {
                transform: scale(1.025);
                margin-bottom: 5vmax !important;
                -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.25);
                -moz-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.25);
                box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.25);
            }

            .image {
                padding-top: 50% !important;
            }
        }

        .title {
            margin: 0.5rem !important;
        }

        .content {
            margin: 0.5rem;
        }

        .column {
            display: grid;

            .image {
                border-radius: 0.25rem;
                background-position: center;
                background-repeat: no-repeat;
                background-size: cover;
            }
        }
    }
}

#search {
    border-bottom: 0.15rem solid;

    input {
        border: none;
        outline: none;
        font-weight: 500 !important;

        &::placeholder {
            font-weight: 500;
            color: grey;
            letter-spacing: 0.25rem;
        }
    }

    .button {
        transition: all 0.25s ease;

        &:focus {
            outline: 0.25rem solid white;
        }

        border: none;
    }
}


#footer {
    #backtotop {
        transition: all 0.25s ease;
        width: 10rem;
        padding: 0.25rem;
        margin: auto auto 1rem auto;

        &:hover {
            transform: scale(1.05);
        }
    }

    .container {
        margin: auto;
        padding: 1.5rem;
        line-height: 1.25;

        .column {
            display: grid;
            justify-content: center;

            li {
                list-style: circle;
                list-style-position: outside;
            }

            a {
                color: #7a7a7a;

                &:hover {
                    color: white;
                }
            }

            figure {
                border: 1.5px solid white;
                border-radius: 50rem;
                justify-content: center;
                margin: auto;
                transition: all 0.25s ease;

                &:hover {
                    transform: scale(1.15);
                }
            }
        }
    }

    #credits {
        padding: 0.75rem;
        font-size: 0.85rem;

        a {
            text-decoration: underline;
            font-weight: bolder;
            color: white;
        }
    }
}

#project {
    .columns {
        .column {
            border-radius: 0.5rem;

            .image {
                background-position: center;
                background-repeat: no-repeat;
                background-size: cover;
            }
        }
    }

    #project-card {
        -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
        box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
        transform: scale(0.95);
        transition: all 0.5s ease;
        margin-bottom: 0.5rem !important;
        display: inline-table;

        &:hover {
            transform: scale(0.975);
        }
    }

    .card {
        transition: all 0.25s ease;
    }

    .card:hover {
        background-color: rgba(#000000, 0.90) !important;
    }
}

#post {
    @media (min-width: 768px) {
        margin: auto 2.5vmax;
    }

    a {
        text-decoration: underline;
    }

    #title {
        text-decoration: none;
    }

    .title {
        margin: auto;
    }

    #post-image {
        border-radius: 0.25rem;
    }

    .subtitle {
        letter-spacing: 0.05rem;
    }

    #description {
        margin-bottom: 1.25vmax;
    }

    .tag {
        margin: 0.15rem auto;
    }

    .content {

        ol,
        ul,
        blockquote {
            display: inline-block;
        }

        hr {
            background-color: grey;
        }

        img,
        iframe {
            max-width: calc(100% - 25vw);
            margin: 0.25rem auto;

            @media (max-width: 768px) {
                max-width: calc(100% - 5vw);
            }
        }

        ul,
        ol {
            display: inline-block;
        }
    }

    .container {
        margin: 2.5rem auto;
        word-break: break-word;
        max-width: -webkit-fill-available;
    }

    #disqus_thread {
        margin-top: 5vmax;
    }
}

#page-section>.content {

    ul,
    ol,
    blockquote {
        display: inline-block;
    }
}