#finalmicro {
    margin-left: 2em;
}

/*#finalul {*/
/*    padding-right: 2em;*/
/*}*/

.flex-tile {
    /*display: flex;*/
    margin-right: 1.5em;
    width: 50%;
    justify-content: left;
    flex-wrap: wrap;
    /*align-items: center;*/
    /*flex-direction: column;*/
}

div.flex-tile ul {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    padding: 0;
    margin: 0;
    transition: transform 0.1s;
    position:relative;
}

div.flex-tile ul li {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/*!*BUTTON VARITION*!*/
/*!*solid border of Clips and drop shadow*!*/
/*div.flex-item ul li a {*/
/*    border: black solid 0.2em;*/
/*    box-shadow: 0.4em 0.4em black;*/
/*    transition: box-shadow 0.1s, transform 0.1s;*/
/*    padding: 0.5em;*/
/*    text-decoration: none;*/
/*}*/

/*!*Clips hover move shadow and box*!*/
/*div.flex-item ul li a:hover {*/
/*    transform: translate(0.4em, 0.4em);*/
/*    box-shadow: 0em 0em black;*/
/*}*/

/*DASHED VARIATION*/
/*solid border of Clips and drop shadow*/
div.flex-tile ul li a {
    border: black dashed 0.2em;
    padding: 0.5em;
    text-decoration: none;
}

/*Clips hover move shadow and box*/
div.flex-tile ul:hover {
    transform: scale(1.05);
}

/*This says that on a:hover, the adjacent element with class scissor-total becomes display: flex*/
/*adaject as in immediate following, and so scissor element must be in the same parent and after the affecting one*/
/*This could maybe be in flex-item, sitting below ul*/
/*https://www.w3schools.com/howto/howto_css_display_element_hover.asp*/
div.flex-tile ul li a:hover + .scissor-total{
    display: flex;
}


@keyframes scissor-cut {
    100% {
        offset-distance: 99%;
    }
}

.scissor-total {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
    margin: -0.3em;
    display: none;
}

.scissor-clips {
    max-width: 3em;
    offset-path: content-box;
    animation: scissor-cut 1.5s 1 cubic-bezier(0.4, 0.8, 0.25, 1);
    /*below halts the animation at the final frame*/
    animation-fill-mode: forwards;
}

div.flex-tile ul li a h3 {
    font-weight: 900;
}

div.flex-tile ul li a h4 {
    text-decoration: underline;
    font-weight: 400;
}



li img {
    max-width:100%;
    float:left;
    padding-bottom: 1em;
}

.flex-tile h1 {
    font-size: 3em;
    margin: 0;
}

#photo {
    margin-left: 1em;
    object-fit: contain;
    width: 100%;
}

@media (max-width: 1000px) {
    .flex-tile {
        WIDTH: 100%;
        justify-content: left;
        margin-bottom: 2em;
        margin-right: 1em;
    }
    div.flex-tile ul li {

        padding: 0;
        flex-direction: row;
    }

    div.flex-tile ul {
        padding: 0;
    }
    #finalmicro {
        margin-left: 0;
    }

    #finalul {
        padding-right: 0;
    }
}

@media (max-width: 600px) {
    .flex-tile {
        WIDTH: 100%;
        justify-content: left;
        margin-bottom: 2em;
    }
    div.flex-tile ul li {

        flex-direction: row;
    }

    div.flex-tile ul {
        padding-right: 1em;
    }

    #finalmicro {
        margin-left: 0;
    }

    #finalul {
        padding-right: 0;
    }
}