@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100;0,200;0,300;0,400;0,700;1,100;1,200;1,300&display=swap');

body {
    background-color: #f5f3f0;
    font-family: 'Roboto Slab';
    color: #49352f;
    margin: auto;
    padding: 1.4rem;
    letter-spacing: .06rem;
    word-spacing: 0.4rem;
    line-height: 1.6;
    max-width: 38rem;
    font-weight: 400;
}

nav {
    font-family: 'Roboto Mono';
    font-weight: 400;
    font-size: 115%;
    margin: 0;
    padding: 10px 0 0;
    text-align: center;
    word-spacing: 0.7rem;
}

nav a,
nav a:visited {
    line-height: 30px;
    color: #80664b;
    text-decoration: none;
    list-style-type: none;
}

nav a:hover {
    color: #665039;
}

header {
    justify-content: space-between;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 320px) {
    header {
        flex-direction: row-reverse;
    }
}

h1 {
    padding-top: 30px;
    font-size: 50px;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 45px;
    text-align: left;
}

h2 {
    font-family: roboto mono;
    padding-top: 5px;
    font-size: 25px;
    font-weight: 300;
    margin-bottom: 15px;
    line-height: 45px;
    text-align: left;
}

.photo {
    max-width: 280px;
    padding: 0.3em;
}

.paragraph1 {
    margin-left: 16px;
    margin-right: 16px;
}

.paragraph1 p {
    color: #49352f;
    font-size: 95%;
    margin-left: 0;
    margin-right: 0;
}

.kokenmet a {
    list-style-type: none;
    color: #80664b;
}

/* RESUME, BLOG AND CONTACT */

.resume h3 {
    font-size: 110%;
    padding-top: 10px;
    line-height: 23px;
    color: #8ab3d6;
    white-space: normal;
    width: auto;
}

.resume h4 {
    font-family: roboto mono;
    font-size: 95%;
    color: #49352f;
    font-style: italic;
    line-height: 3px;
    margin-bottom: 30px;
}

.resume p {
    font-size: 90%;
    margin-bottom: 0.8px;
}

.blogposts {
    font-family: roboto mono;
    font-size: 110%;
}

.blogposts a {
    text-decoration: none;
    list-style-type: none;
    color: #80664b;
}

.blogposts a:hover {
    text-decoration: underline;
}

img {
    margin-top: 15px;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 0 20px #ccc;
    border-radius: 10px;
}

.contactphoto img {
    max-width:190px;
    margin-bottom: 10px;
}

a:link,
a:visited {
    color: #80664b;
}

a:hover,
a:focus-visible {
    color: #665039;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.15em;
}

.email a:hover {
    opacity: 0.6;
}

.linkedin-badge {
    object-position: relative;
    padding-top: 1.2rem;
}

.linkedin-badge i {
    color: #49352f;
}

.linkedin-badge a:hover {
    opacity: 0.6;
}

.indexphoto { align-items: center; background-color: #8ab3d6; border-radius: 18px; box-sizing: border-box; display: flex; gap: 1rem; justify-content: space-between; margin: 34px 0 28px; max-width: 100%; padding: 16px; width: 100%; }
.indexphoto-name { color: #fff; flex: 1; font-size: clamp(2rem, 7vw, 3.8rem); font-weight: 400; letter-spacing: 0; line-height: 1.08; word-spacing: 0; }
.indexphoto img { aspect-ratio: 1 / 1; border-radius: 10px; box-shadow: none; display: block; flex: 0 0 38%; margin: 0; max-width: 230px; object-fit: cover; object-position: center 38%; width: 38%; }
