/* width */
::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgba(136, 136, 136, 0.331);
}
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: rgb(136, 136, 136);;
  }


html{
    /* edit */
    position: relative;
    height: 100%;
    overflow: hidden;
}

body {
    background-image: url('./assets/leafBackground.jpg');
    background-size: cover;
    background-position:center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    font-size: xx-large;
    letter-spacing: .1em;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    /* edit */
    position: relative;
}
body b{
    font-weight: 600;
}

h2{
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    letter-spacing: .2em;
    line-height: 30px;
    font-size: xx-large;
}

.border {
    border-style: solid;
}


#sitemap {
    height: 100%;
    width: 100%;
    visibility: visible;
    opacity: 1;
    transition-delay: 0.1s;
    transition: all 700ms ease;
    z-index: 3;
}

#backlayer{
    position:absolute;
    height: 100%;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    z-index: 3;
    color: white;
    background-color: rgba(162, 171, 169);
    font-family: 'Source Code Pro', monospace;
    letter-spacing: 0em;
    font-size: x-large;
    font-weight: 300;
    line-height: 1.4em;
}


#sitemap b{
    font-weight: 500;
}

#sitemap a{
    text-decoration: none;
    color: white;
}

#sitemap .intro-text{
    height: 85%;
}



#sitemap.hide {
    visibility: hidden;
    opacity: 0;
    transition-delay: 0.1s;
    transition: all 700ms ease;
}

/* Hover animations */

.hover{
    cursor: pointer;
}

#home:hover {
    border-left: 3px solid white;
}


#sitemap .hover:hover{
    font-weight: 500;
}

#sitemap .view-hover:hover{
    border-left: none;
    padding-left: 0;
    font-weight: 500;
    margin-top: -5px;
    text-decoration:  underline;
    cursor: pointer;
}

#sitemap .section-hover:hover{
    border-left: 2px solid white;
    padding-left: 5px;
}

#sitemap .section-hover-lock:hover{
    border-left: 2px solid white;
    padding-left: 7px;
    margin-right: -9px;
}

.x.hover {
    font-weight: 300;
}

.resume-linkedin:hover{
    margin-top: -5px;
}

/* Sitemap formatting */

.sitemap-text {
    letter-spacing: 0em;
}

.intro-text-first-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.intro-text-first-line:hover {
    padding-left: 7px;
}

.intro-text-first-line .x {
    align-self: flex-end;
    font-size: 35px;
}

.expand:hover{
    opacity: .5;
}

.expand:active{
    scale: 1.1;
}


.links .hover:hover{
    margin-top: -5px;
}

.views .hover:hover{
    margin-top: -5px;
}


#sitemap .intro-views{
    width: 0%;
    height: 45px;
    display: flex;
    justify-content: center;
    border-style: solid;
    margin-left: 60px;

}

#sitemap .intro-views img{
    height: 35px;
}

#sitemap .move {
    padding-top: 12px;
}

#sitemap #fishView {
    padding-bottom: 5px;
    margin-top: 5px;
}

nav {
    height: 100%;
    width: 100%;
}

nav .topbar {
    height: 10%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-around;
    color: #5f6d6a;
    opacity: 1;
    margin-top: 0;
}


nav .top.expanded {
    height: 650px;
    background-color: rgb(255, 255, 255,0.95);
    position: fixed;
    width: 100%;
    top: -650px;
    transition-delay: 0.1s;
    transition: all 600ms ease;
    z-index: 2;
    margin-top: 85px;
    
}

nav .top.expanded.mobile {
    top: 0;
    height: 100%;
    margin-top:0;
}


nav .top.expanded .name {
    padding-left: 20px;
}

img.hamburger  {
    height: 40px;
    width: 40px;
}

nav .x { 
    padding-right: 20px;
    font-size: 40px;
    font-variation-settings: 
    'FILL' 0, 
    'wght' 600, 
    'GRAD' 0, 
    'opsz' 48; 
    color: #5f6d6a; 
}

nav ul {
    list-style: none;
    display: flex;
    height: 50%;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

nav li {
    text-align: center;
    line-height: 100px;
    color: #ffffff; 
    width: 100%;
}

.highlighted {
    background-color: #5f6d6a;
}

nav .links {
    height: 5%;
}

nav .links-whitespace{
    height: 15%;
}

nav .top.expanded .links{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

nav .top.expanded .links img {
    height: 50px;
    padding-left: 15px;
    padding-right: 15px;
}

nav .links #email {
    color: #5f6d6a;
    font-size: 50px;
    font-variation-settings:'FILL' 1;
    padding-right: 15px;
    padding-left: 15px;
}

nav .top.expanded .views{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


nav .top.expanded .views img {
    height: 35px;
    padding-left: 5px;
    padding-right: 5px;
}

.desktop, .desktop img {
    display: none;
}

.views.mobile div{
    width: 100%;
    text-align: center;
    color: #5f6d6a;
    letter-spacing: 0em;
    font-size: xx-large;
}

nav .bottombar {
    height: 100px;
    padding-right: 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-around;
    color: #5f6d6a;
    opacity: 1;
    margin-top: 0;
}

nav .bottombar.expanded {
    display: none;
}

#fishView {
    padding-right: 12px;
}
#leafView{
    padding-right: 15px;
}

.views {
    color: #5f6d6a;
}

main {
    color: white;
    position: absolute;
    top: 85px;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.viewscreen {
    height: 90%;
    width: 80%;
    padding-left: 20px;
    padding-top: 10px;
    padding-right: 20px;
    color: #5f6d6a;
    letter-spacing: .0em;
    font-size: large;
    border-radius: 3px;
    display: flex;
    background-color: rgb(236, 236, 236, .9);
}
.viewscreen a{
    color: inherit;
}


/* Home Section Content */
.viewscreen .home{
    opacity: 0;
    visibility: hidden;
    /* edit */
}

.viewscreen .home.visible{
    visibility: visible;
    opacity: 1;
    transition-delay: 0.1s;
    transition: all 1000ms ease;
    overflow-y: auto;
    /* edits */

}


.home .material-symbols-outlined {
    font-variation-settings:
    'FILL' 0,
    'wght' 600,
    'GRAD' 0,
    'opsz' 48;
    position: relative;
    top: 5px;
}



.home #profilepic{
    position: fixed;
    width: 200px;
    height: 200px;
    z-index: 1;
    right: 0;
    margin-right: -6px;
    bottom: 0;
    margin-bottom: -12px;
    align-self: flex-end;
    float: right;
}

.home #profilepic:hover  {
    bottom: 5px;
    right: 2px;
}

.home #profilepic.clicked {
    bottom: 12px;
    right: 6px;
}

.viewscreen .bio{
    position: absolute;
    height: inherit;
    width: inherit;
    visibility: hidden;
    opacity: 0;
}

.viewscreen .bio.visible{
    visibility: visible;
    opacity: 1;
    transition-delay: 0.1s;
    transition: all 1000ms ease;
    overflow-y: auto;
    display: block;
}
.viewscreen .projects{
    position: absolute;
    height: inherit;
    width: inherit;
    visibility: hidden;
    opacity: 0;
}

.viewscreen .projects.visible{
    visibility: visible;
    opacity: 1;
    transition-delay: 0.1s;
    transition: all 1000ms ease;
    overflow-x: hidden;
    overflow-y: auto;
    display: block;
}
.viewscreen .resume{
    position: absolute;
    height: inherit;
    width: inherit;
    visibility: hidden;
    opacity: 0;
}

.viewscreen .resume.visible{
    visibility: visible;
    opacity: 1;
    transition-delay: 0.1s;
    transition: all 1000ms ease;
    overflow-y: auto;
    display: block;
}

/* Resume Page */
.resume-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: center;

}

h3{
    margin-bottom: 0;
}

.resume-content {
    margin-top: 0;
    margin-left: 10px;
}

.resume-linkedin {
    height: 35px;
}

.grey-text {
    font-weight: 400;
    font-family: 'Source Code Pro', monospace;
    color: rgb(152, 152, 152);
    font-size: medium;
    letter-spacing: -.05em;
}

/* BIO Page - styling for video. Video code was copy/pasted from bombbomb.com's website (they provided embed code)*/
.videoWrapper{
    width: 100%;
    display: flex;
}

.bbVideoIframe{
    width: 100%;
    height: 250px; 
    margin: 10px;
    box-shadow: 0px 0px 10px 0px;
    border-radius: 5px;
}

.bbVideoIframe:hover{
    opacity: .5;
}

/* Change theme window properties */
#change-theme-window {
    text-align: center;
    letter-spacing: 0em;
    position: absolute;
    width: 55%;
    height: auto;
    z-index: 2;
    border-radius: 5px;
    padding: 5px;
    right: 0;
    margin-right: 125px;
    bottom: 0;
    margin-bottom: 110px;
    color: white;
    background-color: rgba(162, 171, 169);
    font-family: 'Source Code Pro', monospace;
    font-weight: 400;
    font-size: large;
    box-shadow: 2px 2px 10px grey;

}
#change-theme-window.hide{
    visibility: hidden;
}


/* Fish View Properties */

body.fish {
    background-image: url('./assets/fishBackground.jpg');
}

nav .topbar.fish {
    color: #025762;
}

nav .top.collapsed.fish{
    color: #025762;
}

nav .x.fish {
    color: #025762;
}

.highlighted.fish{
    background-color: #025762;
}
nav .bottombar.fish {
    color: #025762;
}

nav .bottombar.fish{
    color: #025762;
}

.views.fish {
    color: #025762;
}

.viewscreen.fish {
    color: #025762;
}
.viewscreen a.fish{
    color: #025762;
}

nav .links #email.fish {
    color: #025762;
}

.sitemap-text.fish {
    color: #025762;
}

.ProjectContainer{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.ProjectText{
    margin: 5px;
}

.ProjectImage{
    width: 95%;
    margin: 10px;
    box-shadow: 0px 0px 10px 0px;
    border-radius: 5px;
}

.ProjectImage:hover{
    opacity: .5;
    scale: 1.005;
}

.ProjectImage:active{
    scale: 1.025;
}



/* Desktop Properties */
@media (min-width: 700px) {
    
    body {
        font-weight: 300;
        font-size: x-large;
        letter-spacing: .2em;
    }

    #sitemap {
        font-size: large;
    }

    nav {
        width: 300px;

    }
    nav .top.expanded {
        display: block;
        height: 100%;
        width: 300px;
        background-color: rgb(95, 109, 106, 0.4);
        top: 0;
        margin-top: 0;
    }

    nav .bottombar {
        display:none;
    }

    nav .top.expanded.fish {
        background-color: rgb(2, 87, 98, 0.45);
    }
    nav .x, .whitespace {
        display: none;
    }

    nav .top.expanded .name{
        padding: 0;
        width: 100%;
        text-align: center;
        color: white;
    }

    nav li {
        color:#5f6d6a;
    }

    .highlighted {
        background-color: white;
    }
    
    nav .mobile, nav img.mobile{
        display: none;
    }

    nav .desktop, nav img.desktop {
        display: block;
    }

    nav .top.expanded .links.mobile{
        height: 0;
    }

    .desktop, .desktop img {
        display: block;
        height: 20%;
    }

    nav .views.desktop {
        display: block;
    }

    main {
        top: 0;
        bottom: 0;
        right: 0;
        left: 300px;
        
    }

    .views {
        color: white;
    }

    main {
        width:auto;
        font-weight: 400;
    }

    .viewscreen {
        height: 80%;
        width: 80%;
    }

    .home #profilepic {
        width: 300px;
        height: 300px;
    }

    nav .links #email {
        color: white;
    }

    nav .links #email.fish {
        color: white;
    }
    nav .links #email.leaf {
        color: white;
    }

    /* Fish View Properties */


    nav li .fish {
        color: #025762;
    }
    .highlighted.fish{
        background-color: white;
    }

    .views.fish{
        color: white;
    }

    #change-theme-window {
        width: 25%;
        margin-right: 200px;
        margin-bottom: 170px;
        font-size: large;
    }
    .bbVideoIframe{
        /* width: 400px;
        height: 225px;  */
    }

    .ProjectContainer{
        width: 100%;
        display: grid;
        grid-template-rows: 1fr;
        grid-template-columns: 400px 1fr;
    }
    
    .ProjectText{
        margin: 5px;
    }
    
    .ProjectImage{
        margin: 10px;
        box-shadow: 0px 0px 10px 0px;
        border-radius: 5px;
    }

}
