:root {
    --font-color-base: #333333;
    --font-color-light: #666666;
    --font-color-link-hover: #C78FDA;
    --font-color-base2: #472836;
    --background-color-light: #F0E9E3;
    --highlight-color1: #D7EBBA;
    --highlight-color2: #EBD494;
    --highlight-color3: #C78FDA;
}

.employers {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

h2 {
    margin-top: 32px;
    text-align: center;
    font-size: 1.2rem;
    font-variant: all-small-caps;
}

#greeting {
    margin-left: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
}

@media screen and (max-width: 480px) {
    #greeting {
        margin-left: 0;
        width: 100%;
    }
}

#hi {
    margin: 16px 0 0 0;
    font-weight: bold;
}

#myname {
    font-size: 3.5rem;
    font-weight: bold;
    margin: 0;
}

#hero-text {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    flex-wrap: wrap;
}

#hero-text p {
    font-size: 2.8rem;
    font-weight: 900;
    margin: 0.75rem 1.5rem;
}

#hero-research {
    line-height: 1.4;
}

#hero-coding {
    line-height: 1.3;
}

@media screen and (max-width: 480px) {
    #myname {
        font-size: 3rem;
    }
}

.employer-logo {
    height: 28px;
    margin: 16px;
}

#creatif-logo {
    height: 36px;
    margin-top: 8px;
}

#bio {
    text-align: justify;
}

#hero {
    display: flex;
    flex-direction: column;
    align-content: center;
}

#hero-image {
    height: 100%;
    display: block;
    background-size: auto 100%;
    background-repeat: no-repeat;
    margin-bottom: 1.5rem;
}

/*@media screen and (max-width: 400px) {   
    #hero-image {
    	background-image: url(../images/hero-image-400px.png);
    } 
}

@media screen and (min-width: 401px) {   
    #hero-image {
    	background-image: url(../images/hero-image-750px.png);
    } 
}

@media screen and (min-width: 1000px) {   
    #hero-image {
    	background-image: url(../images/hero-image-1000px.png);
    } 
}*/

#hero-foto {
    flex: 1;
    display: flex;
}

#hero-image-wrapper img {
    width: 42%;
    height: 50%;
}

#hero-image-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /*align-items: center;*/
}

.polaroid-wrapper {
    width: 100%;
    padding: 0;
    text-align: center;
    display: none;
}

.polaroid {
    background: #fff;
    padding: 1rem;
    box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.2);

}

.polaroid>img {
    width: 30vh;
    height: 30vh;
    object-fit: cover;
}

.caption {
    font-size: 1.8rem;
    text-align: center;
    line-height: 2em;
    font-family: 'Sour Gummy', sans-serif;
}

.item {
    width: 30%;
    display: inline-block;
    margin-top: 0rem;
    filter: grayscale(100%);
}

.item:nth-of-type(4n+1) {
    transform: scale(0.8, 0.8) rotate(5deg);
    transition: all 0.35s;
}

.item:nth-of-type(4n+2) {
    transform: scale(0.8, 0.8) rotate(-5deg);
    transition: all 0.35s;
}

.item:nth-of-type(4n+4) {
    transform: scale(0.8, 0.8) rotate(3deg);
    transition: all 0.35s;
}

.item:nth-of-type(4n+3) {
    transform: scale(0.8, 0.8) rotate(-3deg);
    transition: all 0.35s;
}

.item:hover {
    filter: none;
    transform: scale(1, 1) rotate(0deg) !important;
    transition: all 0.35s;
}



@media screen and (max-width: 767px) {

    main {
        margin-top: 16px;
    }

    #hero-image-wrapper {
        flex-direction: column;
        align-items: center;
    }

    #hero-image-wrapper img {
        width: 80%;
    }

    .polaroid-wrapper {
        flex-direction: column;
    }

    .item {
        width: 100%;
    }

    .polaroid>img {
        width: 45vh;
        height: 45vh;
        object-fit: cover;
    }
}

#hero-sketch {
    flex: 2;
    height: 50vh;
}

.intro-text {
    font-size: 1.5rem;
    font-family: math;
    color: var(--font-color-light);
    margin-bottom: 0;
}


#hero-research {
    font-family: "Newsreader", serif;
}

#hero-coding {
    font-family: 'Courier New', Courier, monospace;
}

.realistic-marker-highlight {
    position: relative;
}

.realistic-marker-highlight:before {
    content: "";
    background-color: var(--highlight-color3);
    width: 100%;
    height: 1em;
    position: absolute;
    z-index: -1;
    filter: url(#marker-shape);
    left: -0.20em;
    top: 0.1em;
    padding: 0 0.25em;
}

.realistic-marker-highlight-green {
    position: relative;
}

.realistic-marker-highlight-green:before {
    content: "";
    background-color: var(--highlight-color1);
    width: 100%;
    height: 1em;
    position: absolute;
    z-index: -1;
    filter: url(#marker-shape);
    left: -0.25em;
    top: 0.1em;
    padding: 0 0.25em;
}

.realistic-marker-highlight-yellow {
    position: relative;
}

.realistic-marker-highlight-yellow:before {
    content: "";
    background-color: var(--highlight-color2);
    width: 100%;
    height: 1em;
    position: absolute;
    z-index: -1;
    filter: url(#marker-shape);
    left: -0.25em;
    top: 0.1em;
    padding: 0 0.25em;
}

.circle-sketch-highlight {
    position: relative;
}

.circle-sketch-highlight:before {
    content: "";
    z-index: -1;
    left: -0.5em;
    top: -0.1em;
    border-width: 2px;
    border-style: solid;
    border-color: var(--font-color-link-hover);
    position: absolute;
    border-right-color: transparent;
    width: 100%;
    height: 1em;
    transform: rotate(2deg);
    opacity: 0.7;
    border-radius: 50%;
    padding: 0.1em 0.25em;
}

.circle-sketch-highlight:after {
    content: "";
    z-index: -1;
    left: -0.5em;
    top: 0.1em;
    padding: 0.1em 0.25em;
    border-width: 2px;
    border-style: solid;
    border-color: var(--font-color-link-hover);
    border-left-color: transparent;
    border-top-color: transparent;
    position: absolute;
    width: 100%;
    height: 1em;
    transform: rotate(-1deg);
    opacity: 0.7;
    border-radius: 50%;
}

.rounded-circle {
    border-radius: 50%;
    position: relative;
    opacity: 70%;
    width: 230px;
    height: 230px;
    mix-blend-mode: multiply;
    filter: blur(24px);
}

#circle-1 {
    background-color: var(--highlight-color3);
    top: 0px;
    left: 50px;
}

#circle-2 {
    background-color: var(--highlight-color2);
    top: -90px;
    left: 200px;
}

#circle-3 {
    background-color: var(--highlight-color1);
    top: -540px;
    left: 345px;
}

.circle-title {
    z-index: 10;
    position: relative;
}

#uxdesign {
    top: -130px;
    left: 76px;
}

#research {
    top: -215px;
    left: 245px;
}

#coding {
    top: -670px;
    left: 365px;
}