body {
    background-color: black;
    margin-left: 0;
    overflow-y: hidden;
    display: flex;

}

html.is-changing .transition-fade {
    transition: opacity 0.25s;
    opacity: 1;
}
/* Define the styles for the unloaded pages */
html.is-animating .transition-fade {
    opacity: 0;
}

.portfolio-container {
    height: 100vh;
    width: min(max(37vh, 250px), 400px);;
    margin-left: -15px;
    cursor: default;
    display: flex;
}

h1 {
    writing-mode: tb-rl;
    rotate: -180deg;
    text-orientation: mixed;
    /*text-align: justify;*/

    color: rgba(255, 255, 255, 0.20);

    font-family: 'Jomhuria', serif;
    font-size: min(max(37vh, 250px), 400px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: auto 0;
}

ul {
    padding: 0;
    margin: auto 0 auto -30px;
    /*background-color: red;*/
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

li {
    color: white;
    list-style-type: none;
    font-family: 'Arial', serif;
    font-size: min(4vw, 50px);
    padding: 0.6em;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    position: relative;
}

img {
    max-width: 40%;

}

.green-line {
    /*width: 400px;*/
    height: 6px;
    background-color: #44E47A;
    /*position: absolute;*/
    /*margin: 8% 0 0 0;*/
    margin-top: 25px;
    margin-left: 40px;
}

.insta {
    width: 100px;
    filter: invert(100%) sepia(4%) saturate(68%) hue-rotate(323deg) brightness(114%) contrast(100%)
    /*filter: invert(74%) sepia(61%) saturate(492%) hue-rotate(80deg) brightness(93%) contrast(93%) saturate(100%);*/
}

li:hover .insta {
    filter: invert(74%) sepia(61%) saturate(492%) hue-rotate(80deg) brightness(93%) contrast(93%) saturate(100%);
}


li:hover > .green-line {
    -webkit-animation: extend 0.5s ease;
    animation: extend 0.5s ease;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}


a {
    text-decoration: none;
    color: white;
    display: block;
}

a:hover {
    -webkit-animation: bounce 0.5s ease;
    animation: bounce 0.5s ease;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
    color: #44E47A;
}

@keyframes bounce {
    15% {
        -webkit-transform: translateY(6px);
        transform: translateY(6px);
    }
    70% {
        -webkit-transform: translateY(-6px);
        transform: translateY(-6px);
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes extend {
    0% {
        width: 0;
    }
    100% {
        /*width: 275px*/;
        width: min(15vw, 300px);
    }
}

/*@media screen and (max-width: 1000px) {
    @keyframes extend {
        0% {
            width: 0;
        }
        100% {
            width: 150px;
        }
    }

    li {
        font-size: 2.3em;
    }

    ul {
        margin-top: 25vh;
    }
}*/

@media screen and (max-width: 800px) {
    h1 {
        font-size: 17vh;
        margin-top: auto;
        margin-bottom: auto;
    }

    a:hover {
        -webkit-animation: none;
        animation: none;
    }

    li {
        font-size: 1.8em;

    }

    .green-line {
        display: none;
    }

    .portfolio-container {
        width: 17vh;
    }

}

