html,
body {
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;

    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 62.5%;
    color: #5f6368;

    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: #383838;
}

h1 {
    font-size: 3.6rem;
    font-weight: 600;
    color: #383838;
}

h2 {
    font-size: 2.8rem;
    font-weight: 600;
    color: #383838;
}

h3 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 0;
    color: #383838;
}

h4 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #383838;
}

/*
NAVIGATION AREA
*/

header {
    position: fixed;
    z-index: 997;
    top: 0;

    width: 70vw;
    padding: 0 15vw;

    background-color: #ffffff;

    transition: .5s ease-in-out;
}

.navbar {
    height: 70px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.navbar img {
    height: 26px;
    padding-left: 22.5px;
}

.links {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;

    transition: .2s ease-in-out;
}

.links p {
    font-weight: 600;
    padding: 10px 24px;
    margin: 0;
}

#link {
    transition: color 0.2s ease-in-out;
}

#link:hover {
    color: #2F58F7;
}

#resume {
    margin-left: 22.5px;
}

#hamburger {
    position: fixed;
    top: 20px;
    right: 5vw;
    width: 35px;
    height: 22px;
    z-index: 999;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    display: none;
}

#hamburger span {
    display: block;
    position: absolute;
    z-index: 999;
    height: 4px;
    width: 100%;
    background: #383838;
    border-radius: 1px;
    opacity: 1;
    right: 0;
    transform: rotate(0deg);
    transition: .3s ease-in-out;
}

#hamburger span:nth-child(1) {
    top: 0px;
}

#hamburger span:nth-child(2) {
    top: 9px;
    width: 80%;
}

#hamburger span:nth-child(3) {
    top: 18px;
}

#hamburger.open span:nth-child(1) {
    top: 11px;
    transform: rotate(135deg);
}

#hamburger.open span:nth-child(2) {
    opacity: 0;
    width: 0;
}

#hamburger.open span:nth-child(3) {
    top: 11px;
    transform: rotate(-135deg);
}

.navbar-opened {
    width: 100vw;
    height: 100vh;

    position: fixed;
    z-index: 998;
    right: 0;
}

.blurred {
    position: absolute;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.65);
}

#menu {
    animation: fadeIn .3s ease-in;
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.menu {
    position: absolute;
    top: 0;
    right: 0;
    margin-left: 25vw;
    padding: 0 10px;
    width: 75vw;
    min-height: 100vh;

    background-color: #ffffff;
}

.menu .fine-line {
    width: 100%;
    margin: 0;
}

.close-icon {
    position: absolute;
    top: 20px;
    right: 5vw;

    color: #383838;
}

.menu-text {
    height: calc(100vh - 60px);

    display: flex;
    flex-direction: column;
    justify-content: center;

    transition: all 0.2s ease-in-out;
}

.menu-text a:not(#resume) {
    color: #383838;
}

.menu #resume {
    margin: 20px 0;
}

.menu-text .text {
    font-size: 2rem;
    font-weight: 600;

    letter-spacing: 0.2px;

    transition: color 0.2s ease-in-out;
}

#menu-contact {
    position: absolute;
    bottom: 0;

    width: calc(100% - 20px);
}

#menu-contact img {
    height: 20px;
    padding: 20px 10px;
}

/*
INDEX AREA
*/

.input-forms {
    max-width: calc(100% - 36px);
    margin: 6px 0;
    padding: 12px 18px;
    border: 1px solid #DCDCDC;
    border-radius: 5px;
    color: #5f6368;
}

#message {
    width: 100%;
    resize: none;
}

#wide-forms {
    width: 15vw;
}

textarea::placeholder {
    color: #5f6368;
}

.input-forms:focus {
    outline: none !important;
    background: #f2f2f2;
    /* border: 1px solid #2F58F7; */
}

.shadow {
    box-shadow: 0 1px 15px rgba(27, 31, 35, .15);
}

.radius {
    border-radius: 10px;
}

.fine-line {
    width: auto;
    height: 1px;

    margin: 0 20vw;

    background-color: #DCDCDC;
}

.border {
    border: 1px solid #DCDCDC;
    border-radius: 10px;
}

.text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0.2px;
    text-align: justify;
}

code {
    padding: 0.6rem;
    /* background: #F5F5F5; */
    color: #2F58F7;
    border-radius: 4px;
    font-size: 1.6rem;
}

.thin {
    font-weight: 500;
}

.flex-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.flex-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.flex {
    display: flex;
    align-items: center;
}

.flex-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

.row {
    flex-direction: row;
}

.space-between {
    justify-content: space-between;
}

.bold {
    font-weight: 600;
    padding: 0;
    margin: 0;
}

li {
    padding: 0.5em;
}

.light {
    color: #BEBEBE;
    padding-right: 15px;
}

.flex-column .fine-line {
    width: 100%;
}

.bullet-point {
    color: #2F58F7;
}

.container-wide {
    position: relative;

    width: 60vw;
    height: 75vh;

    padding: 15vh 20vw 5vh 20vw;

    display: flex;
    flex-direction: row;
    align-items: center;
}

.helloWorld-text {
    position: relative;
    z-index: 2;
    width: 25vw;
}

.helloWorld-text h1 {
    margin: 0 0 0.25em;
}

#contact-icons-start {
    margin: 40px 0 0 0;
}

#contact-icons-start a {
    padding-right: 30px;
}

.text-huge {
    font-family: "Sen", sans-serif;
    font-size: calc(3.2rem + 2.25vw);
    font-weight: 800;

    background-image: linear-gradient(90deg, #31B1E7 0%, #268CF5 35%, #2F58F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.icon-contact {
    width: 30px;
    height: 30px;
}

#icon-github {
    background-image: url("./imgs/icons/contact/github_light.a3b6daa809c9.png");
    transition: background 0.2s ease-in-out;
}

#icon-github:hover {
    background-image: url("./imgs/icons/contact/github_bright.2c3e25099f53.png");
}

#icon-linkedin {
    background-image: url("./imgs/icons/contact/linkedin_light.a9e9dafcb964.png");
    transition: background 0.2s ease-in-out;
}

#icon-linkedin:hover {
    background-image: url("./imgs/icons/contact/linkedin_bright.67f8a36a1b55.png");
}

#icon-email {
    width: 30px;
    height: 22px;
    background-image: url("./imgs/icons/contact/email_light.1cc1080e4dc7.png");
    transition: background 0.2s ease-in-out;
}

#icon-email:hover {
    background-image: url("./imgs/icons/contact/email_bright.c75748e39f50.png");
}

#icon-instagram {
    background-image: url("./imgs/icons/contact/instagram_light.f89b7c3d6f3f.png");
    transition: background 0.2s ease-in-out;
}

#icon-instagram:hover {
    background-image: url("./imgs/icons/contact/instagram_bright.284d8044b630.png");
}

#icon-facebook {
    background-image: url("./imgs/icons/contact/facebook_light.d1568ebca5df.png");
    transition: background 0.2s ease-in-out;
}

#icon-facebook:hover {
    background-image: url("./imgs/icons/contact/facebook_bright.8f43d39f7d13.png");
}

#background img {
    position: absolute;
    z-index: 1;
    transform: translate(0, -50%);
    right: 17.5vw;
    width: 30vw;
    height: auto;
}

#clouds {
    position: relative;
    z-index: 3;
}

#clouds img {
    position: absolute;
    width: 10vw;
    height: auto;
}

#cloud-1 {
    transform: translate(7.5vw, -15vw);
}

#cloud-2 {
    transform: translate(17.5vw, -21vw);
}

#cloud-3 {
    transform: translate(27.5vw, -12.5vw);
}

.down-arrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100vw;
    height: 5vh;
}

.down-arrow i {
    color: #DCDCDC;

    -moz-animation: bounce 3s infinite;
    -webkit-animation: bounce 3s infinite;
    animation: bounce 3s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -moz-transform: translateY(-15px);
        -ms-transform: translateY(-15px);
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
    }

    60% {
        -moz-transform: translateY(-7.5px);
        -ms-transform: translateY(-7.5px);
        -webkit-transform: translateY(-7.5px);
        transform: translateY(-7.5px);
    }
}

/*
INTEREST AREA
*/
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: calc(1.25vw + 1.25vh);

    justify-content: center;
}

.onexthree {
    position: relative;
    z-index: 1;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: calc(1.25vw + 1.25vh);
    padding: 25px 50px;
    margin: 25px 25px;
    background: #ffffff;
}

.twocolumns {
    grid-column-start: 1;
    grid-column-end: 3;
}

.twocolumns-second {
    grid-column-start: 2;
    grid-column-end: 4;
}

#dots {
    position: absolute;
    transform: translate(0, -25px);
    width: 400px;
}

.icon-interest img {
    height: 125px;
    width: auto;
}

/*
PROJECT GRID AREA
*/
.container {
    position: relative;

    width: auto;
    height: auto;

    margin: 0 calc(20vw - 20px);
    padding: 7.5vh 20px;

    background-color: #ffffff;
}

.container li {
    font-size: 1.6rem;
    font-weight: 400;
}

.container img {
    max-width: 100%;
}


.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-gap: calc(1vw + 1vh);
    grid-auto-rows: 1fr;

    margin-top: 48px;

    justify-content: center;
}

.project-grid a {
    display: contents;
}

.project {
    min-height: 15vh;

    padding: calc(1vw + 2vh) calc(1vw + 2vh) calc(2vw + 24px) calc(1vw + 2vh);

    position: relative;

    border-radius: 10px;

}

.project:hover {
    transition: 0.4s ease-in-out;
    border: 1px solid #268CF5;
}

.topic {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2;

    color: #5f6368;
    background: #F8F8F8;
    border-radius: 5px;

    margin: 0 10px 0 0;
}

.description {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.2px;

    color: #5f6368;

    margin-top: 0;
}

.continue {
    position: absolute;
    right: calc(1vw + 24px);
    bottom: calc(1vw + 24px);

    background-image: linear-gradient(90deg, #31B1E7 0%, #268CF5 50%, #2F58F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    float: right;
}

.column-65 {
    width: 65%;
}

.information {
    margin: 16px 0 0 4vw;
    padding: 26px 2vw;
    border-radius: 10px;
    width: 12.5vw;
}

.information .text {
    margin: 0px;
}

.information .text:nth-child(even) {
    margin-bottom: 15px;
    font-weight: 500;

    color: #5f6368;
}

.information .text:last-child {
    margin-bottom: 0px;
}


/*
ABOUT AREA
*/

#about-me {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

#about-me h1 {
    font-weight: 500;
}

#bond {
    position: relative;
    transform: translate(17.5vw, -16vh);
    z-index: 2;
}

#bond img {
    position: absolute;
    width: 10vw;
    height: auto;
}

.button {
    position: relative;
    display: block;

    color: #2F58F7;

    width: auto;
    height: auto;
    background: #ffffff;

    border: 1px solid #2F58F7;
    border-radius: 4px;

    transition: all 0.35s;
}

.button p {
    position: relative;
    z-index: 2;
    font-weight: 600;
    padding: 10px 24px;
}

.button:after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #31B1E7 0%, #268CF5 35%, #2F58F7 100%);
    ;
    color: #ffffff;
    transition: all .35s ease-in-out;
}

.button:hover {
    color: #ffffff;
}

.button:hover:after {
    width: 100%;
}

/*
PROJECT AREA
*/
.project-header {
    width: 100vw;
    margin-bottom: 7.5vh;
}

.project-header img {
    width: 100%;
}

.tools {
    color: #BEBEBE;
    font-style: italic;
}

.project-text {
    margin-top: 17.5vh;
}

.project-text img {
    margin: 2.5vh 0;

    border-radius: 10px;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: calc(2vw + 1.75vh);

    width: 100%;

    justify-content: center;
}

.facts-grid div {
    padding: 2vw;
}

.column-65 .facts-grid {
    grid-template-columns: repeat(2, 1fr);
}

.column-65 h4 {
    margin-bottom: 0;
}

.fact {
    background-color: #F8F8F8;
    border-radius: 10px;
}

.fact1 {
    grid-column-start: 1;
    grid-column-end: 3;
}

.graph {
    padding: 2.5vh 0;
}

.graph .text {
    margin-bottom: 2vh;
}

table,
th,
td {
    text-align: left;
    padding: 16px;
    border: 1px solid #DCDCDC;
    border-collapse: collapse;
}

table tr:nth-child(even) {
    background-color: #F8F8F8;
}

#project #dots {
    position: absolute;
    transform: translate(17vw, -3.75vh);
    width: 400px;
}

.project-text h1 {
    margin: 0;
}

.header-back {
    display: inline-flex;
    align-items: center
}

.fa-arrow-left {
    margin-right: 16px;
    font-size: 24px;
    color: #DCDCDC;
}

.fa-arrow-left:hover {
    transition: color .4s ease-in-out;
    color: #268CF5;
}

/*
ABOUT AREA
*/
.about {
    margin-top: 20vh;
    text-align: right;
}

.about img {
    margin-right: 5vw;
    width: 50%;
}

.about-margin {
    margin-bottom: 7.5vh;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 4vw;

    margin-top: 5vh;
}

.icon-grid img {
    height: 70px;
    width: auto;
}

.hobbies {
    text-align: center;
    /* padding: 25px; */
}

.hobbies p {
    text-align: center;
}

#history {
    width: auto;

    display: flex;
    flex-direction: column;

    margin-top: 15vh;
}

.timeline-container {

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.timestamp {
    width: 5vw;
    height: auto;

    text-align: right;
}

.timestamp p {
    margin: 0;
}

.section {
    background-color: #F8F8F8;
    border-radius: 3px;
    padding: 2vw 2.5vw;
}

#work-history {
    margin: 0 25px 25px 0;
}

#work-history p:hover {
    transition: color 0.2s ease-in-out;
    cursor: pointer;
    color: #2F58F7;
}

#work-description div h2 {
    margin: 0;
    font-size: 2.4rem;
}


#work-description div:not(#description-porsche-13) {
    display: none;
    padding: 50px;
    animation: fadeIn 0.3s ease-in;
}

#description-porsche-13 {
    display: block;
    padding: 50px;
    animation: fadeIn 0.3s ease-in;
}

#porsche-13 {
    color: #2F58F7;
}

/*
FOOTER AREA
*/
footer {
    width: auto;

    padding: 5vh 15vw;

    background-color: #f2f2f2;

    font-size: 1.6rem;
    font-weight: 500;
}

footer a,
footer p {
    color: #9C9C9C;
}

footer a:hover {
    text-decoration: underline;
}

footer .fine-line {
    width: 100%;
    background-color: #BEBEBE;
}

footer #icon-contact {
    height: 24px;
    padding: 1em 12px;
}

/*
RESPONSIVE AREA
*/

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

    .information {
        display: none;
    }

    .column-65 {
        width: 100%;
    }

    #project #dots {
        display: none;
    }
}

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

    header {
        padding: 0 5vw;
        width: 90vw;
    }

    .text {
        text-align: left;
    }

    .navbar {
        width: auto;
    }

    .navbar img {
        padding-left: 0;
    }

    .helloWorld-text {
        width: 80vw;
    }

    #background,
    #clouds,
    #bond {
        display: none;
    }

    .container {
        margin: 0 5vw;
    }

    .project-text {
        padding-top: 17.5vh;
    }

    #about-me {
        padding: 5vh 7.5vw;
    }

    .container-text {
        margin: 0 7.5vw 7.5vh 7.5vw;
    }

    .fine-line {
        margin: 0vh 5vw;
    }

    #wide-forms {
        width: 100%;
    }

    footer {
        font-size: 16px;
        padding: 5vh 7.5vw 15vh 7.5vw;
    }
}

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

    .navbar {
        height: 56px;
    }

    .navbar img {
        height: 24px;
    }

    #menu-big {
        display: none;
    }

    #hamburger {
        display: block;
    }

    .links {
        padding-right: 0;
    }

    .links a {
        font-size: 20px;
    }

    .icon-grid {
        grid-template-columns: repeat(2, 2fr);
    }

    .icon-grid img {
        height: 50px;
    }

    .icon {
        display: none;
    }

    .container-wide {
        min-height: 65vh;
        height: auto;
        width: auto;
        padding: 125px 5vw 0 5vw;
        align-items: flex-start;
    }

    .grid {
        grid-template-columns: repeat(1, 2fr);
    }

    .onexthree {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 0;
        padding: 25px 30px;
    }

    .icon-interest img {
        display: none;
    }

    .project-grid {
        grid-template-columns: repeat(1, 3fr);
        grid-gap: 20px;
    }

    .project {
        padding: 30px;
    }

    .fact {
        overflow: scroll;
    }

    .facts-grid {
        grid-template-columns: repeat(1, 3fr);
    }


    .column-65 .facts-grid {
        grid-template-columns: repeat(1, 2fr);
    }

    .fact1 {
        grid-column-start: 1;
        grid-column-end: 1;
    }

    #about-text {
        width: 100%;
    }

    #about-me h1 {
        font-size: 30px;
    }

    #about-arrow {
        display: none;
    }

    .twocolumns-second {
        grid-column-start: 1;
    }

    #work-history {
        margin-right: 0;
        border-bottom: 1px solid #DCDCDC;
    }

    #work-history p {
        padding: 0 10px;
        white-space: nowrap;
    }

    #description-in-outdoorshop,
    #work-description div:not(#description-in-outdoorshop) {
        padding: 25px;
    }

    .flex-column {
        flex-direction: row;
        overflow-x: scroll;
    }

    .flex-column .fine-line {
        display: none;
    }

    .forward-button {
        padding: 0 10px;
    }

    .row {
        flex-direction: column;
        align-items: flex-start;
    }

    footer .flex-row {
        flex-direction: column;
    }

    .flex-row #row {
        width: 100%;
        margin-top: 5vh;
    }

    .icons-footer {
        max-height: 20px;
    }
}