
/* Colors */
:root{
    --primary-color: #ffffff;
    --secondary-color: #eeeeee;
    --font-colors: #222831;
    --accent-color: #7bc74d;
    --ff-primary:'Roboto', sans-serif;
    --ff-secondary: 'Open Sans',sans-serif;
    --font-header-size: 2rem;
    --font-subheader-size: 1.5rem;
    --font-p-text-size: 1rem;
}


/* Global Elements CSS */
html, main, body {
    flex: 1 0 auto;
    scroll-behavior: smooth;
    overflow: none;
  }

*,
*::before,
*::after{
    box-sizing: border-box;
}

body{
    font-family: var(--ff-primary);
    font-weight: 400;
    font-size: 1.3125rem;
    line-height: 1.6;
}  

body,
h2,
h3,
p {
    margin: 0;
}


h2,
h3{
    font-family: var(--ff-secondary);
    font-weight: 900;
    line-height: 1.6;
}

h2, 
h3,
p{
    margin-bottom: 0.5em;
}

header,
section {
    padding: 2rem 0;
    display: block;
    overflow: visible;
    
}

section:nth-child(1){
    background-color: var(--secondary-color);
}

section:nth-child(3) {
    background-color: var(--secondary-color);
}

section:nth-child(5) {
    background-color: var(--secondary-color);
}

.container-fluid{
    margin-inline: auto;
    width: min(100%, 80rem);
}

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


nav{
    background-color: var(--font-colors) !important;
    position: fixed;
    box-shadow: none;
    z-index: 2;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
}

.hide-on-med-and-down a{
    font-size: 1.5rem;
}

.sidenav {
    background-color: #000000;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-evenly;
}

.sidenav a {
    color: #eeeeee !important;
    display: flex !important;
    justify-content: center;
    font-size: var(--font-subheader-size) !important;
}

#menuButton{
    color: #eeeeee;
    z-index: 100;
}

.navbar-fixed img{
    max-width: 25px;
}


.sidenav {
    background-color: #393e46 !important;

}



/* Animation Intro */
.intro{
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--font-colors);
    transition: 1s;
}

.logo-header{
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo{
    position: relative;
    display: inline-block;
    bottom: -20px;
    opacity: 0;
    font-size: 10rem;
}

.logo.active{
    bottom: 0;
    opacity: 1;
    transition: ease-in-out 0.5s;
}

.logo.fade{
    bottom: 150px;
    opacity: 0;
    transition: ease-in-out 0.5s;
}

/* ------------- Landing Page ----------*/
#one {
    height: 100vh;
}

.container--center {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    padding: 4rem 0;
}

.container--center img{
    padding: 1rem 0;
    width: min(100%, 15rem);
}
    @media(min-width: 40em){
        .container--center img{
            width: min(100%, 20rem)
        }
    }

header h1 {
    display: flex;
    position: absolute;
    color: var(--secondary-color);
    z-index: -1;
    font-size: 10rem;
    text-align: center;
}
    @media (min-width: 30em) {
        header h1{
            font-size: 20rem !important;
        }
    }

header p {
    position: absolute;
    color: #393e46;
    font-size: 3rem;
    z-index: 1;
    bottom: 0;
    left: 0;
    right: 0;
    margin-bottom: 0;
    text-align: center;
}


/**-------------------- About Me --------------------*/

.sectionHeader {
    text-align: center;
    font-family: 'Acme', sans-serif;
}

.container--about{
    width: min(95%, 80rem) !important;
}


.skills{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    text-align: center;
    line-height: 2rem;
}
    @media (min-width: 40em){
        .skills {
            flex-direction: row;
        }
    }

.skillHeader, ul{
    margin-top: 0 !important;
}

.skillHeader{
    font-size: var(--font-subheader-size);
    font-family: var(--ff-secondary);
    color: var(--accent-color) !important;
}

.skills li{
    font-size: var(--font-p-text-size);
}


/*-------------- Portfolio ----------------*/
.project-cards{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-cards .row{
    margin-top: 2em;
}

.card-panel{
    box-shadow: none !important;
    padding: 20px;

}

@media (min-width: 40em){
    .card-panel{
        display: flex;
        flex-direction: row;
    }
    .card-panel>* {
        flex-basis: 100%;
    }
    .card-panel>*+* {
        margin: 1em;
    }
}


.split { 
   flex: 1;
}

.split p{
    display:none;
    font-size: var(--font-p-text-size);
}

 .split a{
     margin-top: 1em;
 }

.split img{
    width: 100%;
    height: 100%;
    margin-top: 1em;
}

@media (min-width: 40em) {
    .split>* {
        flex-basis: 100%;
    }
    .split img {
        margin-top: 0;
    }
    .split p{
        display:block;
    }

}

.techStack{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.techStack>*{
    margin-right: 1em;
    font-size: var(--font-subheader-size);
}

hr{
    font-weight: 400;
    color: var(--font-colors) !important;
    background-color: red;
}


.liveBtn{
    background-color: var(--font-colors)!important;
    color: var(--secondary-color)!important;
    border-radius: 5px;
    box-shadow: 1px 1px 2px var(--font-colors) !important;
    margin: 2px;
}

.repoBtn{
    box-shadow: none !important;
    margin: 2px;
}


.repoBtn:hover{
    color: var(--primary-color);
    background-color: var(--accent-color);
    box-shadow: 1px 0px 4px var(--font-colors) !important;
}



/*------------ Contact Me ------------*/
.container--form{
    height: 100%;
    max-width: 50%;
    text-align: center;
}

form{
    width: min(90%, 90rem)
}


input{
    color: #393e46;
}

.btn{
    background-color: var(--accent-color) !important;
}


#li1, a{
    font-size: 1.2rem;
    font-weight: bold;
}

a{
    text-decoration: none;
    margin: 0;
}



footer{
    color: #7bc74d;
    text-align: center;
    bottom: 0;
    line-height: 5rem;
    font-size: 1.75rem;
    padding-top: 5%;    
    background-color: var(--secondary-color);
}

footer p{
    padding: 1em;
    line-height: 1.6;
    margin:0;
}



