html{
    scroll-behavior: smooth;
    display: flex;
    align-content: center;
}

body{
    background-color: #F2F4FF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-self: center;
    overflow-x: hidden;
    width: 100vw;
}

.title{
    justify-content: center;
    font-family: "Cooper Hewitt", sans-serif;
    font-weight: 713;
    font-size: 3em;
    margin: 10% 0 2% 0;
    color: #F2F4FF;
}

a {
    all: unset;
}

/*Dropdown Navbar Styles*/

.hidden-nav{
    transform: translateY(0);
    display: flex;
    transition: top 1s;
    justify-content: center;
    align-items: center;
    background-color: rgba(36, 35, 37, 0.5);
    top: -10rem;
    gap: 3%;
    width: 110%;
    height: 3rem;
    position: fixed;
    z-index: 10;
}

.hidden-nav button {
    font-family: "Cooper Hewitt", sans-serif;
    font-size: 1.25rem;
    font-weight: 713;
    font-stretch: expanded;
    font-style: normal;
    border: none;
    background: transparent;
    color: white;
}

.hidden-nav button:hover{
    transform: scale(1.05);
    border: #F2F4FF;
    cursor: pointer;
}

/*Header Styles*/

.header-background{
    display: flex;
    justify-content: right;
    background-color: #242325;
    width: 100%;
    height: 100%;
    top: -10px;
    padding: 0.5rem;
    margin: 0 0 8rem 0;
    position: relative;
}

#header{
    transition: 100ms;
    width: 100%;
    display: flex;
    justify-content: right;
    align-items: center;
    height: 2.5rem;
    margin-right: 5%;
}

.about, .projects, .contact{
    color: #F2F4FF;
}

#header button{
    height: 100%;
    padding: 0 1% -5px 1%;
    margin: 0 1rem;
    font-family: "Cooper Hewitt", sans-serif;
    font-weight: 713;
    font-size: 1.25rem;
    background-color: transparent;
    border: transparent;
}

#header button:hover{
    display: inline-block;
    transform: scale(1.05);
    cursor: pointer;
    color: rgb(242,149,89);
}

/*Biography Styles*/

.bio-container{
    display: flex;
    width: 80%;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
}

.bio-container img {
    aspect-ratio: 1;
    width: 40%;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid rgb(242,149,89);
}

.bio{
    margin-left: 5%;
    justify-content: center;
    font-family: "Cooper Hewitt", sans-serif;
    font-weight: 713;
    font-size: 1.25rem;
    color: #242325;
}

.name{
    color: rgb(242,149,89);
}

/*About Styles*/

.about-title{
    color: #242325;
    font-size: 2rem;
}

#gallery{
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    width: 80%;
    background-color: #F2F4FF;
    padding: 0 2%;
    overflow: visible;
    max-width: 1000px;
}

#gallery img{
    margin: 0.5rem;
    max-width: 100%;
    object-fit: cover;
    width: 17rem;
    height: 17rem;
    box-shadow: 0 0 20px #888888;
}

.about-description{
    font-family: "Cooper Hewitt", sans-serif;
    font-weight: 713;
    font-size: 1rem;
}

/*Projects Styles*/

.projects-title{
    color: #242325;
    font-size: 2rem;
}

.projects-wrapper{
    display: flex;
    justify-content: center;
    width: 75%;
    overflow: clip;
    max-width: 1000px;
}

.scroller-items{
    display: flex;
    gap: 10%;
    overflow-x: hidden;
    height: 30rem;
    min-width: 100%;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.scroller-item{
    transition: 300ms;
    transform: scale(0.9);
    font-family: "Cooper Hewitt", sans-serif;
    font-weight: 713;
    font-size: 2.5rem;
    line-height: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
    min-width: 70%;
    padding: 5%;
    background-color: #F2F4FF;
    scroll-snap-align: center;
    text-align: center;
    overflow-y: clip;
    box-shadow: 0 0 20px #888888;
}

.scroller-item:hover{
    cursor: pointer;
    transform: scale(0.95);
    background-color: #F2F4FF;
}

.scroller-item:first-child{
    margin-left: 25%;
}

.scroller-item:last-child{
    margin-right: 25%;
}

.gradient-wrapper{
    position: relative;
    display: flex;
    width: 100%;
}

.gradient-left{
    height: 100%;
    width: 100%;
    background-image: linear-gradient(to right, #F2F4FF 0, transparent 10%);
    position: absolute;
    z-index: 5;
    pointer-events: none;
}

.gradient-right{
    height: 100%;
    width: 100%;
    background-image: linear-gradient(to left, #F2F4FF 0, transparent 10%);
    position: absolute;
    z-index: 5;
    pointer-events: none
}

.arrow {
    transition: 100ms;
    opacity: 50%;
    cursor: pointer;
    position: relative;
    /*top: 50%;*/
    width: 0;
    height: 0;
    z-index: 10;
    border-style: solid;
    align-self: center;
}

.arrow:hover {
    opacity: 100%;
    transform: scale(1.1);
}

#arrow-left {
    border-width: 20px 30px 20px 0;
    border-color: transparent #242325 transparent #242325;
    left: 10%;
    margin-right: 2.5%;
}

#arrow-right {
    border-width: 20px 0 20px 30px;
    border-color: transparent #242325 transparent #242325;
    right: 10%;
    margin-left: 2.5%;
}

.project-slider{
    display: flex;
    flex-direction: column;
    align-self: center;
    position: absolute;
    font-size: 2rem;
    width: 100%;
    height: 100%;
    top: -5rem;
    left: 0;
    transition: 700ms;
    transform: translate3d(0, 100%, 0);
    background-color: rgb(242,149,89,0.9);
}

.project-slider:hover{
    transform: translate3d(0, 50%, 0);
}

.more-info-title{
    font-size: 2rem;
    padding: 1.25rem 0;
    background-color: rgb(242,149,89);
}

.more-info{
    display: inline-block;
    justify-content: space-evenly;
    padding: 2% 5%;
    font-size: 1.25rem;
    line-height: 1.25;
}

.more-info p{
    text-align: start;
}

.more-info img:hover {
    cursor: pointer;
    transform: scale(1.1);
}

.scroller-title{
    border-bottom: 5px solid #242325;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.scroller-item img{
    transition-duration: 100ms;
    margin: 0.5rem;
    max-width: 100%;
    object-fit: cover;
    width: 10rem;
    height: 10rem;
}

.scroller-item img:hover{
    scale: 1.05;
}

.github-wrapper p{
    margin: 0;
    font-size: 1.25rem;
}

.github-wrapper{
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/*Contact Styles*/

.contact-title{
    color: #242325;
    font-size: 2rem;
}

.contact-wrapper{
    margin-bottom: 10%;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    width: 70%;
    max-width: 1000px;
}

.contact-paragraph{
    font-family: "Cooper Hewitt", sans-serif;
    font-weight: 713;
    font-size: 1rem;
    width: 75%;
    text-align: center;
    color: whitesmoke;
}

.contact-textandsubmit{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
}

#contact-textarea{
    transition: 300ms;
    font-family: "Cooper Hewitt", sans-serif;
    font-weight: 713;
    font-size: 1rem;
    resize: none;
    width: 90%;
    padding: 3%;
    line-height: 30px;
    margin: 1% 0;
    align-self: center;
    box-shadow: 0 0 20px #888888;
    border: none;
    background-color: #F2F4FF;
}

#contact-textarea:focus{
    transform: scale(1.01);
    outline: none;
}

#contact-email{
    transition: 300ms;
    font-family: "Cooper Hewitt", sans-serif;
    font-weight: 713;
    font-size: 1rem;
    resize: none;
    border: none;
    width: 90%;
    padding: 3%;
    line-height: 30px;
    margin: 1% 0;
    box-shadow: 0 0 20px #888888;
    background-color: #F2F4FF;
}

#contact-email:focus{
    transform: scale(1.01);
    outline: none;
}

#contact-name{
    transition: 300ms;
    border: none;
    font-family: "Cooper Hewitt", sans-serif;
    font-weight: 713;
    font-size: 1rem;
    resize: none;
    width: 90%;
    padding: 3%;
    line-height: 30px;
    margin: 1% 0;
    box-shadow: 0 0 20px #888888;
    background-color: #F2F4FF;
}

#contact-name:focus{
    transform: scale(1.01);
    outline: none;
}

.contact-submit{
    border: none;
    width: 20%;
    transition: 300ms;
    font-family: "Cooper Hewitt", sans-serif;
    font-weight: 713;
    font-size: 1rem;
    align-self: flex-start;
    margin: 1% 0 0 2%;
    padding: 2%;
    box-shadow: 0 0 20px #888888;
    background-color: #F2F4FF;
}

.contact-submit:hover{
    background-color: rgb(242,149,89);
    cursor: pointer;
    transform: scale(1.05);
    outline: none;
}

