/* General Stylings */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600&display=swap');

:root
{
    --navbar-height: 8vh;
    --scroll-padding: calc(var(--navbar-height) + 2vh);
}

*
{
    margin: 0;
    padding: 0;
}

body
{
    font-family: 'Jost', sans-serif;
    overscroll-behavior-y: none;
}

html
{
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow: auto;
    background-color: white;
}


p
{
    color: rgb(85,85,85);
     
}

/* Transitions */
a, .btn 
{
    transition: all 300ms ease;
}

.nav-parent
{
    top: 0;
}

/* Desktop Navigation */
.nav-links, .social-links
{
    display: flex;
    gap: 2rem;
    list-style: none;
    font-size: 1.5rem;
}

.nav-links
{
    text-align: left;
    vertical-align: middle;
}

.social-links
{
    text-align: right;
    vertical-align: middle;
    direction: rtl;
}

nav
{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    height: var(--navbar-height);
    z-index: 1;

    padding-left: 5vw;
    padding-right: 5vw;
    padding-top: 0;

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

    /* change this to only show when scrolling? */
    border-bottom: .1rem solid lightgray;
    
    background-color: white;

   
}

nav > div 
{
    width: 33%;
    height: 100;
    /* border: 2px dashed red; */
    /* vertical-align: middle; */
    
}

a
{
    color: black;
    text-decoration: none;
    text-decoration-color: white;
}

a:hover
{
    color: grey;
    text-decoration: none;
}

.logo
{
    font-size: 2.5rem;
    text-align: center;
    text-wrap: nowrap;
    opacity: 0;
}

.logo:hover
{
    cursor: default;
}

.socials-container
{
    display: flex;
    justify-content: right;
    margin-top: 1rem;
}

/* Icons */

.icon
{
    cursor: pointer;
    height: 2.5rem;
    transition: all 300ms ease;
}

.icon:hover
{
    cursor: pointer;
    opacity: .6;
}

/* Mobile Navigation */
#mobile-nav
{
    display: none;
}

.hamburger-menu
{
    position: relative;
    width: 30px;
    display: inline-block;
}

.hamburger-icon
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.hamburger-icon span 
{
    width: 100%;
    height: 4px;
    background-color: black;
    transition: all 0.3 ease-in-out;
}

.menu-links
{
    position: absolute;
    top: 5vh;
    right: 0;
    background-color: white;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3 ease-in-out;
}

.menu-links a 
{
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: black;
    text-decoration: none;
    transition: all 0.3 ease-in-out;
}

.menu-links a:hover
{
    color:grey;
}

.menu-links li
{
    list-style: none;
}

.menu-links.open
{
    width: 120px;
    max-height: 300px;
    border-left: .1rem solid lightgray;
    border-right: .1rem solid lightgray;
}

.ham-social-links
{
    display: flex;
    flex-direction: row;
    direction: rtl;
    position: absolute;
    top: 22.5vh;
    right: 0;
    background-color: white;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3 ease-in-out;
    /* border: 2px dotted red; */
}

.ham-social-links a 
{
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: black;
    text-decoration: none;
    transition: all 0.3 ease-in-out;
}

.ham-social-links li
{
    list-style: none;
}

.ham-social-links.open
{
    width: 120px;
    max-height: 300px;
    border-bottom: .1rem solid lightgray;
    border-left: .1rem solid lightgray;
    border-right: .1rem solid lightgray;
}

.hamburger-icon.open span:first-child
{
    transform: rotate(45deg) translate(11px, 4px);
}

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

.hamburger-icon.open span:last-child
{
    transform: rotate(-45deg) translate(10px, -4px);
}

.hamburger-icon span:first-child
{
    transform: none;
}
.hamburger-icon span:nth-child(2)
{
    opacity: 1;
}
.hamburger-icon span:last-child
{
    transform: none;
}

/* Section Sylings */

section
{
    
    /*height: 96vh;*/
    margin: 0 10rem;
    box-sizing: border-box;
    min-height: fit-content;
    /*border: 2px dotted red;*/
    /*scroll-snap-stop: always;*/
    scroll-snap-align: start;
    padding-top: var(--scroll-padding);
    padding-bottom: var(--scroll-padding);
    /*margin-top: calc(var(--scroll-padding) * -1);*/
}

.section-container
{
    display: flex;
}

/* Intro Section */

#intro
{
    display: flex;
    justify-content: center;
    gap: 5rem;
    height: 100vh;
    padding-top:0;
    margin-top:0;
    scroll-padding-top: 0;
    /* border: 2px dotted red; */
}

.section-pic-container
{
    display: flex;
    height: 400px;
    width: 400px;
    margin: auto 0;
}

.section-text
{
    align-self: center;
    text-align: center;
}

.section-text-p
{
   font-size: 1rem;
   font-weight: 400;
}

.section-text-h
{
    font-size: 3rem;
    text-align: center;
}

/* About Section */

#about
{
    display: flex;
    align-items: center;
}

.section-about-text-h1
{
    font-size: 2rem;
    text-align: left;
    padding-left: 5%;
}

.section-about-text-p1
{
    text-align: left;
    padding-left: 5%;
}

.section-about-image-container
{
    display: flex;
    height: 250px;
    width: 250px;
}

.section-about-mobile-image-container
{
    display: none;
}


/* Projects Section */

#projects
{
    height: 100vh;
}

#projects select
{
    height: 25px;
    align-self: top;
    vertical-align: top;
    font-family: 'Jost', sans-serif;
}

.sort-icon
{
   height: 25px;
   width: 25px;
}

.section-projects-text
{
    overflow-x: scroll; 
    overflow-y: hidden;
    white-space: nowrap;
}

.section-projects-text::-webkit-scrollbar-track 
{
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

.section-projects-text::-webkit-scrollbar 
{
  background-color: #F5F5F5;
}

.section-projects-text::-webkit-scrollbar-thumb 
{
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  background-color: lightgrey;
}

.section-projects-h1
{
    font-size: 2rem;
    text-align: center;
    align-items: center;
}

.project-container
{
    height: 70vh;
    width: 24vw;
    border: 2px solid grey;
    border-radius: 25px;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    display: inline-block;
    white-space: wrap;
    vertical-align: top;
    position: relative;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
}​

.project-container#outer
{
    /*overflow:visible;*/
}

.project-image
{
    max-width:100%;
    height:auto;
    border-top-right-radius: 25px;
    border-top-left-radius: 25px;
    border-bottom: 1px solid grey;
}

.project-title
{
    text-align: center;
}

.project-links-list
{
    display: flex;
    padding: 5px;
    list-style: none;
    justify-content: center;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%,0%);
}

#projects .icon
{
    padding: 3px;
}

.project-body
{
    padding: 5px;
}

.project-skills-title
{
    padding: 5px;
    font-size: 1.2rem;
    text-align: left;
}

.project-skills-list
{
    padding-left: 20px;
}

.project-skills-item
{
    font-size: 1rem;
    font-weight: 400;
    color: rgb(85,85,85);
}

/* Contact Section */

#contact
{
    height: 96vh;
    position: relative;
}

#contact p
{
    font-size: 1.25rem;
}

.section-contact-h1
{
    font-size: 2rem;
    text-align: center;
    align-items: center;
    padding-bottom: 5vh;
}

input[type=text] 
{
    width: 100%;
    padding: 2%;
    margin: 8px 0;
    box-sizing: border-box;
    border: 1px solid black;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
}

input[type=text]:focus 
{
    background-color: rgba(0, 0, 0, .05);
    outline: none;
    border: 1px solid black;
}

textarea
{
    width: 96%;
    max-width: 100%;
    height: 10rem;
    padding: 2%;
    margin: 8px 0;
    resize: none;
    border: 1px solid black;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
}

textarea:focus
{
    background-color: rgba(0, 0, 0, .05);
    outline: none;
    border: 1px solid black;
}

input[type=button], input[type=submit], input[type=reset] 
{
    background-color: black;
    border: none;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
    float: right;
    border-radius: 10px;
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    transition: all 300ms ease;
}

input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover
{
    background-color: grey;
}

form
{ 
    width: 50%;
    height: 51vh;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0 0 6px rgba(0, 0, 0, .3);
    border-radius: 10px;
}

#contact .icon
{
    border: none;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%,-200%);
}

/* Footer */
footer
{
    text-align: center;
    color: grey;
    padding-bottom: 1rem;
}