/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* User stylings */

html {
    width: 100%;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5; 
    scroll-behavior: smooth;
}

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

p {
   line-height: 1.5; 
}

strong {
    font-weight: bold;
}

.link {
    text-decoration: none;
    color: blue;
    /* font-style: italic; */
}

.line-height {
    line-height: 1.5;
}
/* Flex Styles */

.flex {
    display: flex;
}

.column {
    flex-direction: column;
}

.row {
    flex-direction: row;
}

.gap {
    gap: 1rem;
}

.gap-less {
    gap: .5rem;
}

.gap-more {
    gap: 3rem;
}

.flex-right {
    justify-content: end;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.space-between {
    justify-content: space-between;
}

.width-100 {
    width: 100%;
}

.width-50px {
    width: 50px;
}


.center {
}

/* paddings */

.padding {
    padding: 3rem;
}

.padding-sides {
    padding: 0 4rem;
}

.padding-less {
    padding: .5rem;
}

/* margins */

.margin {
    margin: 1rem;
}

.margin-left {
    margin-left: 1rem;
}

/* grid */

.grid {
    display: grid;
}

.two-col {
    grid-template-columns: 1fr 1fr;
}

.grid-gap {
    gap: 1rem;
}


/* lists */

.list {
    grid-template-columns: 1fr;
}

/* Header and Logo */

header {
    display: flex;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    padding: 1rem;
}

#logo {
    /* background: url(images/logo/logo.png); */
}



/* welcome texts */

#name {
    font-size: 2.5rem;
    text-overflow: none;
    /* margin-top: .5rem; */
}

h2 {
    font-size: 1.5rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

.highlight {
    color: #7E9CD9;
}

#welcome-text {
    /* margin-top: 4rem; */
    /* height: 100vh; */
}

#welcome-text p{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 100;
    font-size: 1.25rem;
}

#welcome-description {
    margin-top: 9rem;
    line-height: 1.5;
}


/* light mode */

.light-mode-text {
    /* color: #7E9CD9; */
    color: #cdcfd7;
}

body {
    background-color: #1D284A;
}

/* buttons */

.button {
    /* border: 2px solid #A0A8CC; */
    border: 2px solid #E6F285;
    width: fit-content;
    padding: 1rem 2rem;
    color: #E6F285;
    text-decoration: none;
    border-radius: 4px;
}

#buttons {
    flex-direction: column;
}

.button:hover {
    background-color: #364b76;
    transition: all 500ms;
}


#see-my-work {
    margin-top: 4rem;
}

#accessibility-button {
    /* margin-top: 4rem; */
}

/* margins */

.margin-top {
    margin-top: 1rem;
}

.margin-top-less {
    margin-top: .5rem;
}

/* navbar */

#nav-bar-mobile {
    display: none;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgb(28, 27, 27);
    overflow: hidden;
    transition: all 250ms;
}

#nav-bar-mobile.active {
    display: flex;
    transform: translateX(100%);
}

#nav-bar-mobile.slide {
    transform: translateX(0);
}

nav {

}

.nav-link {
    padding: 2rem;
    color: #e0e4f2;
    text-decoration: none;
}

/* close nav */

.close-modal {
    color: white;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

/* skills section */

#skills {
    background-color: #e0e4f2;
}



#skills p {
    color: #1D284A;
}
#skills h2 {
    font-size: 2rem;
    color: #366ede;
}

#skills p {
    color: #1D284A;
}

/* projects */

#projects { 
 
}

#projects h2{
    font-size: 2rem;
    color: #7E9CD9;
}

#projects p {
    color: #cdcfd7;
}

.project-button {
    text-align: center;
    border: #E6F285;
}

.center {
    /* display: block; */
    margin: 0 auto;
}

.blue-text {
    color: #7E9CD9;
}

.light-text {
    color: #cdcfd7;
}

#sonnet {
    background-image: url(images/sonnet-small.png);
    background-size: cover;
    width: 100%;
    height: 250px;
}

#recipe {
    background-image: url(images/recipe-small.png);
    background-size: cover;
    width: 100%;
    height: 250px;
}

#wayward-witch {
    background-image: url(images/wayward-witch-small.png);
    background-size: cover;
    width: 100%;
    height: 250px;
}

#narrative {
    background-image: url(images/narrative-small.png);
    background-size: cover;
    width: 100%;
    height: 250px;
}

#todo {
    background-image: url(images/todo-small.png);
    background-size: cover;
    width: 100%;
    height: 250px;
}

/* overlay */

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

#projects {
    grid-template-columns: 1fr;
}

.project {
    margin: 0 auto;
}

.project-overlay {
    background-image: linear-gradient(360deg, #2c2e33 10%, #2c2e33d8, #2c2e3394, #fab40200);
    width: 100%;
    height: 50%;
    bottom: 0;
    transition: all 750ms;
}


.project-overlay h3 {
    font-size: 1.25rem;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 2rem;
    color: #cdcfd7;
    /* color: #FAB502; */
}

.project-overlay p {
    color: #cdcfd7;
}


.project-overlay p, .project-overlay a {
    display: none;
    opacity: 0%;
    font-size: 1rem;
    margin: 0 2rem;
    transition: all 200ms;
}

.project-overlay p.active, .project-overlay a.active {
    display: block;
}

.project-overlay p.transition-in, .project-overlay a.transition-in {
    opacity: 100%;
}

.project-overlay.active {
    height: 100%;
}

.no-pointer-events {
    pointer-events: none;
}

.auto-pointer-events {
    pointer-events: auto;
}

/* about me */

#about-me {
    background-color: #e0e4f2;
}

#about-me h2 {
    font-size: 2rem;
    color:  #366ede;
    margin-right: auto;
}

.portrait {
    display: block;
    background-image: url(images/profilepic.jpeg);
    background-size: contain;
    border-radius: 50%;
    width: 250px;
    height: 250px;
}

#nav-bar-large-screen {
    display: none;
}

.responsive-width {
}

#skill-lists {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

/* tablet styles */

@media (min-width: 600px) {


    #buttons {
        flex-direction: row;
    }

    #accessibility-button {
        margin-top: 4rem;
    }

    #nav-bar-mobile {
        /* display: flex; */
    }

    .responsive-width {
        /* width: 100%; */
    }
    section {
        padding-left: 5rem;
        padding-right: 5rem;
    }

    #skill-lists {
        grid-template-columns: 1fr 1fr;
    }

    .list {
        flex-direction: row;
        justify-content: space-between;
    }
    
    #projects {
        grid-template-columns: 1fr 1fr;
    }


    #projects h2 {
        grid-column: 1 / span 2;
    }

    #welcome-text {
    }

    #skills {
    }

}

@media (min-width: 800px) {
    .project {
        width: 350px;
    }

    #logo {
        margin-left: 1rem;
    }

    .list {
        grid-template-columns: 1fr 1fr;
    }

    #hamburger {
        display: none;
    }

    #nav-bar-large-screen {
        display: flex;
    }

    #welcome-text {
        justify-content: center;
        text-align: left;
        align-items: left;
    }

    #about-me div.about{
        width: 600px;
    }

    #skill-lists{
        /* background-color: #e0e4f2; */
    }
}

@media (min-width: 1000px) {
    .project {
        /* width: 450px; */
    }

    #skills {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    
    .responsive-width {
        /* width: 800px; */
    }



}

@media (min-width: 1400px) {
    .project {
        width: 400px;
    }

    #welcome-text {
        /* margin-left: 10%; */
    }
}

@media (min-width: 1500px) {
    #projects {
        grid-template-columns: 1fr 1fr 1fr;
    }


    #projects h2 {
        grid-column: 1 / span 3;
    }
}