/*custom colors*/
:root {
    --main-red: #E68774;
    --main-orange: #F3BC85;
    --main-blue: #4A506A;
    --main-white: #EFEAD9;
}
/* Base reset */
* {
    margin: 0;
    padding: 0;
}

/* box-sizing and font sizing */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;

    /* Set font size for easy rem calculations
     * default document font size = 16px, 1rem = 16px, 100% = 16px
     * (100% / 16px) * 10 = 62.5%, 1rem = 10px, 62.5% = 10px
    */
    font-size: 62.5%;
    scroll-behavior: smooth;
    background-color: #EFEAD9;
    font-family: 'Montserrat Medium', sans-serif;
}
h1 {
    font-family: 'Yanone Kaffeesatz', Serif;
    letter-spacing: 12px;
    font-size: 100px;
    text-align: center;
    color: var(--main-orange);
}

h2 {
    font-size: x-large;
}

p {
    font-size: large;
}
/*Nav bar stuff*/
nav {
 position:fixed;
    width: 100%
}
nav ul{
    background-color: var(--main-red);
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
nav li{
    float:right;
    width: 12%;
    max-width: 300px;
    min-width: 80px;
}
nav li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    height: 70px;

}
nav li a:hover {
    background-color: var(--main-white);
    color: black;
}
nav i {
    font-size: 30px;
    padding-bottom: 2px;
}
/*nav bar stuff end*/

/* welcome section*/
#welcome-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-color: var(--main-blue);
    color: white;
}
/*welcome end*/


/*&project start*/
#projects {
    background-color: var(--main-white);
    color: black;
}
.project-section {
    padding: 90px 200px 30px 200px;
    text-align: center;
}
.projects-section-header {
    font-family: 'Yanone Kaffeesatz', Serif;
    letter-spacing: 4px;
    font-size: 35px;
    margin: 0 auto 6px auto;
    padding-bottom: 15px;
    border-bottom: 2px solid black;

}

.project-grid {  /*grid layout with auto resizing*/
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-gap: 40px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    margin-bottom: 60px;
}

/*project end*/


