﻿html {
    font-size: 15pt;
}

#header-box {
    position: absolute;
    width: 100%;
    margin: auto;
    top: 16vh;
    z-index: 3;
    color: #ff0;
    text-shadow: 2px 2px 2px #3f3f3f;
}

#hej-outer {
    margin-top: 5em;
    text-align: center;
}

#hej {
    font-family: Poppins, sans-serif;
    color: #ff0;
    text-shadow: 2px 2px 2px #3f3f3f;
    text-decoration: unset;
    background-color: unset;
    padding: 1em;
    border: 1px solid #ff0;
}

@media all and (min-width:1000px) {
    #header-box > div > h1 {
        font-size: 300%;
    }
}

#portfolio {
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 5vh;
    display: grid;
    position: absolute;
    top: 66vh;
    grid-template-columns: 33% 33% 33%;
    z-index: 4;
    line-height: 0;
}

.folio-item > img {
    width: 31vw;
}

/* mobile portrait */

@media all and (orientation:portrait) {
    #header-box > div > h1 {
        font-size: 200%;
    }

    #header-box > div > h2 {
        font-size: 150%;
    }

    #header-box > div > span > a {
        font-size: 100%;
    }

    #header-box {
        top: 8vh;
    }

    #portfolio {
        grid-template-columns: 49% 49%;
    }

    .folio-item > img {
        width: 46vw;
    }
}

/* mobile landscape */

@media all and (max-width:1000px) and (orientation:landscape) {
    #header-box {
        top: 1vh;
    }

        #header-box > div > h2 {
            margin-top: 0.2em;
            margin-bottom: 0.2em;
        }

        #header-box > div > h1 {
            margin-top: 0.2em;
            margin-bottom: 0.2em;
        }

    #hej-outer {
        margin-top: 2em;
    }

    #hej {
        padding: 0.3em;
    }
}

.folio-item img:hover {
    transform: scale(1.05);
    transition-timing-function: ease-in-out;
}
