body {
    font-family: "Roboto", -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
    margin:0;
    padding:0;
    line-height: 1.5;
}

.container {
    display: flex;
    padding: 16px;
    flex-direction: column;
    height: 100vh;
    position: fixed;
    width: 100vw;
    box-sizing: border-box;
    box-shadow: inset 0px 0px 0 8px #fff, inset 0 0 0 9px #e4e0cb;
}

.container__inner {
    height: 100%;
    overflow-y: scroll;
}

.logo {
    width: 48px;
    height: 48px;
    background: #EC1C24;
    position: absolute;
    top: 32px;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image {
    background-image: url('assets/images/img.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    padding-top: 66%;
    overflow: hidden;
}

.main-image--about {
    background-image: url('assets/images/img-family.png');
}

.main-image--time-machine {
    background-image: url('assets/images/img-time-machine.jpg');
}

.nav {
    display: flex;
    align-items: center;
    width: 100%;
    padding-bottom: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid #E4E0CB;
}

.nav__item {
    font-size: 14px;
    font-family: "Roboto Slab", serif;
    font-weight: 700;
    padding: 0 12px;
    text-decoration: none;
    color: #2D2D29;
    border-right: 1px solid #E4E0CB;
}

.nav__item:first-child {
    padding-left: 0;
}
.nav__item:last-child {
    border-right: none;
}

.nav__item.selected {
    color: #468DF8;
}

.nav__item:hover {
    color: #775E5E;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 32px 16px;
    background: #F6F4E9;
    color: #775E5E;
}
.content__title {
    margin-bottom: 24px;
    font-size: 30px;
    line-height: 40px;
}

.content__subtitle {
    margin-top: 80px;
    margin-bottom: 60px;
    font-size: 24px;
    line-height: 30px;
    padding-top: 24px;
    border-top: 1px solid #e4e0cb;
}

.content__subheading {
    margin-bottom: 24px;
    font-size: 24px;
    line-height: 30px;
}

.content__body {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 24px;
}

.content__body p {
    margin-bottom: 24px;
}

.content__body p:last-child {
    margin-bottom: 0;
}

.content__cta {
    margin-bottom: 24px;
}

.heading {
    font-family: "Roboto Slab";
    color: #2D2D29;
}

.heading3 {
    font-family: "Roboto Slab";
    font-weight: bold;
    color: #775E5E;
}

.button {
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    padding: 24px 40px;

    height: 66px;

    background: #EC1C24;
    border-radius: 16px;

    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;

    text-align: center;
    text-decoration: none;

    color: #FFFFFF;
}
.button:hover {
    background: #B51C27;
    transition: background-color .2s linear;
    -webkit-transition: background-color .2s linear;
    -moz-transition: background-color .2s linear;
}

.button--secondary {
    background: #468DF8;
}

.button--secondary:hover {
    background: #0485AD;
    transition: background-color .2s linear;
}

.button--block {
    width: 100%;
}

.button-small {
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    padding: 16px 40px;
    margin-bottom: 16px;

    background: #775E5E;
    border-radius: 16px;

    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;

    text-align: center;
    text-decoration: none;

    color: #FFFFFF;
}

.button-small:hover {
    background: #4e3d3d;
    transition: background-color .2s linear;
    -webkit-transition: background-color .2s linear;
    -moz-transition: background-color .2s linear;
}

.icon-button {
    width: 48px;
    height: 48px;
    background: #E4E0CB;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-button:hover {
    background: #fff;
    transition: background-color .2s linear;
}

.icon-list {
    display: flex;
    flex-wrap: wrap;
    row-gap: 16px;
    column-gap: 8px;
}

.icon {
    display: block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-position: center;
}
.icon--twitter {background-image: url('assets/icons/twitter.svg');}
.icon--behance {background-image: url('assets/icons/behance.svg');}
.icon--dribbble {background-image: url('assets/icons/dribbble.svg');}
.icon--facebook {background-image: url('assets/icons/facebook.svg');}
.icon--figma {background-image: url('assets/icons/figma.svg');}
.icon--instagram {background-image: url('assets/icons/instagram.svg');}
.icon--linkedin {background-image: url('assets/icons/linkedin.svg');}
.icon--medium {background-image: url('assets/icons/medium.svg');}
.icon--spotify {background-image: url('assets/icons/spotify.svg');}
.icon--tumblr {background-image: url('assets/icons/tumblr.svg');}
.icon--youtube {background-image: url('assets/icons/youtube.svg');}



.link {
    color: #468DF8;
    text-decoration: none;
    font-weight: bold;
}

.link:hover {
    color: #0485AD;
    text-decoration: underline;
    font-weight: bold;
    transition: background-color .2s linear;
}

/* tablet styles */
@media (min-width: 834px) {
    .container {
        padding: 32px;
        box-shadow: inset 0px 0px 0 16px #fff, inset 0 0 0 17px #e4e0cb;
    }

    .logo {
        width: 80px;
        height: 80px;
        top: 72px;
    }

    .logo img {
        width: 48px;
        height: 48px;
    }

    .nav {
        margin-bottom: 40px;
    }

    .nav__item {
        font-size: 16px;
        line-height: 21px;
    }

    .content {
        padding: 48px;
    }

    .content__title {
        margin-bottom: 40px;
        font-size: 48px;
        line-height: 63px;
    }

    .content__body {
        font-size: 24px;
        line-height: 34px;
        margin-bottom: 40px;
    }

    .content__cta {
        margin-bottom: 40px;
    }

    .button {
        height: 80px;
        font-size: 24px;
        line-height: 32px;
    }

}


/* desktop styles */
@media (min-width: 1200px) {

    .container {
        height: 100vh;
        position: fixed;
        width: 100vw;
        overflow-y: scroll;
        box-sizing: border-box;
    }

    .container__inner {
        display: flex;
        flex-direction: row;
        height: 100%;
    }

    .main-image {
        width: 100%;
        padding-top: 0;
    }

    .content {
        flex: 1 1 100%;
        max-width: 600px;
        overflow-y: scroll;
    }
}