@font-face {
    font-family: Bahnshrift;
    src: url("/assets/bahnschrift.ttf");
}

:root {
    scrollbar-width: none;
}

body {
    margin: 0;
    width: 100vw;
    height: 100vh;
    font-weight: 400;
    background-color: #101018;
    color: #e8e8e8;
    font-family: Bahnshrift, Arial, sans-serif, cursive, "Apple Braille";
}

#hero {
    margin: 0;
    width: 100vw;
    height: 100vh;
    background-color: #101018;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
}

#hero h1 {
    color: white;
    margin: 0;
    font-size: 60px;
}

#hero h2 {
    margin: 0;
    font-weight: 350;
    font-size: 24px;
}

@keyframes goUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100vh);
        display: none;
    }
}

.animateUp {
    animation-name: goUp;
    animation-duration: 500ms;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}
  
#logo {
    width: 200px;
    height: 200px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("/assets/Riley0122_dark_transparent.png");
}

#header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 200px;
    position: fixed;
    top: 0;
    right: 0;
    background-color: inherit;
    width: 100vw;
    z-index: 100;
}

#header a {
    color: inherit;
    text-decoration: none;
    font-size: 18px;
}

nav {
    display: flex;
    gap: 3vw;
    margin-right: 10vw;
    align-items: center;
}

section {
    padding-top: 200px;
    height: calc(100vh - 200px);
}

::-webkit-scrollbar {
    display: none;
}

.portrait {
    position: absolute;
    top: 10vh;
    left: 10vh;
    z-index: 101;
}

.portrait_back {
    background-color: #D790FD;
    width: 400px;
    height: 600px;
    border-radius: 40px;
    position: absolute;
}

.portrait_image {
    background-color: black;
    width: 400px;
    height: 600px;
    border-radius: 40px;
    position: absolute;
    left: 30px;
    top: 15px;
}

#about .portrait_image {
    background-image: url("/assets/portrait.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-position-x: -475px;
}

#contact .portrait_image {
    background-image: url("/assets/woof.jpg");
    background-repeat: no-repeat;
    background-position: center;
}

#contact .portrait_alt {
    padding-left: 0;
    padding-right: 0;
    width: 200px;
}

.portrait_alt {
    position: absolute;
    background-color: #e8e8e8;
    color: #101018;
    font-size: 32px;
    padding: 10px;
    padding-left: 60px;
    padding-right: 60px;
    border-radius: 40px;
    top: 500px;
    left: 300px;
    font-weight: 500;
    text-align: center;
}

.text_block_right {
    font-size: 18px;
    width: 50vw;
    min-width: 700px;
    position: absolute;
    right: 200px;
}

hr {
    width: 60vw;
}

@media (max-width:1300px) {
    .text_block_right {
        width: 45vw;
        min-width: 600px;
        right: 50px;

    }
}

@media (max-width:1200px) {
    .text_block_right {
        min-width: 500px;
    }
}

#mobileBlogInstructions {
    display: none;
}

#desktopBlogInstructions {
    display: block;
}

.mobileOnly {
    display: none;
}

@media (max-width:1100px) {
    /* This is where we go full column layout */
    .text_block_right {
        position: relative;
        right: unset !important;
        left: unset !important;
        padding: 0 !important;
    }

    .portrait {
        position: relative;
        top: unset !important;
        left: unset !important;
        padding: 0 !important;
        z-index: unset !important;
    }

    .portrait_alt, .portrait_back, .portrait_image {
        display: none;
    }

    #hero {
        display: none;
    }

    section {
        display: flex;
        flex-direction: column;
        width: 100vw;
        align-items: center;
        height: max-content;
        padding: 15px;
    }

    #about {
        padding-top: 200px;
    }

    .scrollDown {
        display: none;
    }

    #projects {
        height: 100vh;
    }

    #mobileBlogInstructions {
        display: block;
    }

    #desktopBlogInstructions {
        display: none;
    }

    .mobileOnly {
        display: block;
    }

    .mobileExcluded {
        display: none;
    }
}

/* Fix issue where in the blog, the text would be left of the icon
   which would place "Nothing Selected" below the scroll down icon*/
#blog_text_block {
    display: flex;
    flex-direction: column;
}

@media only screen and (max-width: 1500px) {
    .text_block_right {
        right: 100px;
    }
}

@keyframes pulse {
    0% {
        opacity: 60%;
    }
    25% {
        opacity: 75%;
    }
    100% {
        opacity: 60%;
    }
}

.scrollDown {
    width: 150px;
    margin: 200px;
    margin-left: 0;
    opacity: 50%;
    cursor: pointer;
    animation-name: pulse;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-delay: 15s;
}

a {
    color: inherit;
}

@keyframes bounce {
    0% {
        bottom: 200px;
    }
    50% {
        bottom: 175px;
    }
    100% {
        bottom: 200px;
    }
}

#hero_scroll {
    cursor: pointer;
    margin-top: 100px;
    width: 150px;
    position: absolute;
    bottom: 200px;
    animation-name: bounce;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-delay: 5s;
}

#blog .portrait {
    top: 220vh;
}

#projects .portrait {
    top: 320vh;
}

#blogContent {
    transform: translateY(-5vh);
}

.menuHighlight {
    color: #D790FD !important;
}
