@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Noto+Sans&display=swap');


html {
    font-family: 'Noto Sans', sans-serif;
    color: #fff;
  	-webkit-text-size-adjust: none;
    text-size-adjust: none;
}

body {
    margin: 0;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Libre Baskerville', serif;
    margin: 0 0 1rem 0;
    font-weight: 400;
}

h1 {
    font-size: 3.4rem;
    margin: 0;
}

h3,
h4 {
    margin: 0;
}

p, ul {
    color: #999EA7;
    font-size: 0.875rem;
    margin: 0.5rem 0;
  	line-height: 1.25rem;
}

ul {
    margin: 0.8rem 0;
    padding-left: 1.4rem;
}

li {
    margin: 0.3rem 0;
}

a.body_text {
    color: #999EA7;
}

.white {
    color: #ffffff;
}

.download {
    display: inline-block;
    margin-bottom: 0.6rem;
}

a {
    text-decoration: none;
    color: #ffffff;
}

a,
a:visited {
    color: #ffffff;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #ffffff;
    text-decoration: underline;
}

.theme_txt_color {
    color: #FD796A;
}

.theme_bg_1 {
    background: #0C183C;
}

.theme_bg_2 {
    background: #FD796A;
}

.progress-container {
    width: 100%;
    height: 6px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.progress-bar {
    height: 6px;
    width: 0%;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: space-between;
    padding: 2rem;
    height: auto;
}

.container_1 {
    height: calc(100vh - 4rem);
}

.top {
    flex-grow: 0;
  position: realtive;
}

.name {
    top: 0;
  	left: 0;
}
.last_name {
    display: block;
    margin-left: 28px;
    margin-top: -10px;
}

.middle {
    flex-grow: 1;
    padding: 2rem 0;
}

.container_1 .middle {
    padding: calc(8vh) 0;
}

.container_2 .middle {
    padding-bottom: 0;
}

.rotated_content {
    height: 100%;
    position: relative;
    width: 100%;
}

.line {
    background: #fff;
    width: 1px;
    height: 0px;
    margin-left: 12px;
    position: relative;
    top: 24px;
    opacity: 0;
}

.rotated_content .text {
    position: absolute;
    transform-origin: bottom left;
    left: 0;
    bottom: 24px;
    transform: rotate(-90deg) translateY(100%);
    width: max-content;
    padding-right: 16px;
}

.rotated_content .profile_container {
    position: absolute;
    top: 0;
    left: 65px;
    width: calc(100% - 85px);
    height: calc(100%);
    display: flex;
    align-items: center;
}

.rotated_content .profile_container .profile_wrapper {
    height: 100%;
    width: 100%;
    position: relative;
}

.rotated_content .profile_container .profile_wrapper .profile_bg {
    width: 100%;
    max-width: calc(350px - 40px);
    height: calc(100%);
    max-height: calc(100% - 80px);
    position: absolute;
    top: 0;
}

.rotated_content .profile_container .profile_wrapper .profile_img {
    width: 100%;
    max-width: calc(350px);
    height: calc(100% - 36px);
    background: url("img/jonas_iversen.png") no-repeat center top;
    background-size: cover;
    position: absolute;
    top: 12px;
    left: 12px;
}

.rotated_content .profile_container .profile_wrapper .contact {
    position: absolute;
    bottom: 0;
    left: 0px;
    padding: 1rem calc(5vw);
}

.rotated_content .profile_container .profile_wrapper .about {
    display: none;
    position: absolute;
    left: 56%;
    width: 40%;
    top: 22%;
    max-width: 430px;
}

.rotated_content .profile_container .profile_wrapper .about .scroll_to {
    margin-bottom: 1rem;
    display: inline-block;
    color: #FD796A;
    text-decoration: none;
    cursor: pointer;
}

.arrow {
    font-size: 1.4rem;
    display: inline-block;
    position: relative;
    margin-left: 4px;
    top: 0;
    font-weight: bold;
}

.arrow_narrow_screen {
    font-size: 1.4rem;
    position: absolute;
    margin-left: 4px;
    right: -14px;
    bottom: calc(50% - 10px);
    font-weight: bold;
    cursor: pointer;
}

.bottom {
    flex-grow: 0;
    position: relative;
}

.bottom h3 {
    width: calc(100% - 1.4rem);
}

.clear {
    clear: both;
}

.container_2 {
    height: auto;
    margin-top: 4rem;
}

.cv_section {
    border-top: 1px solid #999EA7;
    padding: 4rem 0;
}

.cv_section h2 {
    margin-bottom: 2rem
}

.cv_section.first {
    border-top: 0;
}

.cv_section.last {
    padding-bottom: 0;
}

.cv_section .left {
    width: 100%;
    float: left;
    padding-right: 2rem;
}

.cv_section .right {
    width: 100%;
    float: left;
    position: relative;
}


.logo {
    display: none;
}

.logo.stibo {
    width: 200px;
    height: auto;
}

.logo.peytz {
    width: 100px;
    height: auto;
}

.logo.create_inside {
    width: 190px;
    height: auto;
}

.cv_section .right .year {
    margin-bottom: 0.2rem;
}

.cv_section .right .company {
    font-weight: 700;
    color: #fff;
}

.cv_section .right .role {
    color: #fff;
    margin-top: 0.35rem;
    margin-bottom: .8rem;
    margin-bottom: .8rem;
}

.pdf_icon {
    display: inline-block;
    width: 18px;
    height: auto;
    float: left;
    margin-right: 6px;
    margin-bottom: 0px;
}


@media screen and (max-height: 700px) {
    .container_1 .middle {
        padding: calc(6vh) 0;
    }

    .last_name {
        display: inline-block;
        margin-left: 12px;
        margin-top: -10px;
    }

    .rotated_content .profile_container .profile_wrapper .contact {
        padding: 0.8rem 1.5rem;
    }

    h1 {
        font-size: calc(8vh);
        margin: 0;
    }

    h2 {
        font-size: calc(3.9vh);
    }
}
