* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    color: #ffe1b5;
    font-family: Arial, Helvetica, sans-serif;
    background-color:#142038;
}

/* Header */
header {
    padding: 20px 35px;
    background-color: #ffe1b5;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background: transparent;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-position: 80%;
    z-index: 9999;
    align-items: center;
}

header h1 {
    font-weight: bold;
    margin: 0;
    font-size: 72px;
    color: #CA84B2;
    text-shadow: 2px 2px #ffe1b5;
}
header a {
    text-decoration: none;
    color: #ffe1b5;
}

header nav{
    margin: 7px 0;
}

header nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content:space-between;
    align-items: center;
    list-style: none;
}

header nav ul li a{
    padding: 10px 10px;
    margin: 0px 10px;
    font-weight: lighter;
    font-size: 2.55vw;
    text-shadow: 0 0 10px rgba(0,0,0,0.5)
}

header nav ul li a:hover {
    background: #CA84B2;
    color: #ffe1b5;
    border-radius: 15px;
    text-shadow: none;

}

/* h2 headers for the page */
.margin-header {
    margin: 30px;
    border-bottom: solid 5px;
    font-size: 55px; 
}

/* Hero */

.hero {
    background-image: url("../assets/images/hero.jpg");
    /* background-size: contain; */
    background-repeat:no-repeat;
    background-position: center;
    display: flex;
    justify-content:space-around;
    flex-wrap: no-wrap;
    align-items: center;
    width: 100vw;
    height: 100vh;
}

.hero h2 {
    font-style: italic;
    font-size: 55px;
    color: #CA84B2;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    font-weight: bold;
    opacity: .5;
    padding: 300px;
    text-align: center;
}

.hero h2:hover {
    opacity: 1;
    text-shadow: 2px 2px #ffe1b5;
    transition-duration: 1s;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    padding: 0px 100px;
}


/* About Me Section */
.about-me p {
    color:#142038;
    font-size: 2vw;
    width: 30vw;
    min-width: 400px;
    line-height: 1.5;
    background-color: #ffe1b5;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}   

.about-me img {
    width: 30vw;
    flex-basis: 300px;
    border: 5px solid #ffe1b5;
    border-radius: 100px;
}



/* Works Section */
.works h3 {
    font-size: 35px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 18px;
    margin-top: 18px;
}

.featured-img {
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    justify-content: space-around;
    margin-left: auto;
    margin-right: auto;
    border: 5px solid #ffe1b5;
}

.labeled-img{
    position: relative;
    text-align: center;
    opacity: .5;
}

.labeled-img:hover{
    opacity: 1;
    top: -10px;
    transition-duration: 1s;
}

.description{
    position: absolute;
    bottom: 10%;
    font-size: 2vw;
    left: 65%;
    width: 20%;
    background-color: rgba(255,225,181,.5);
    color:#142038;
    padding: 15px;
}

.label {
    position: absolute;
    bottom: 10%;
    left: 10%;
    background:#CA84B2;
    font-size: 1.5vw;
    padding: 30px;
}

.label-2 {
    position: absolute;
    bottom: 10%;
    background:#CA84B2;
    font-size: 20px;
    padding: 15px 15px;
    margin: 15px;
}

.flex-projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    position: relative;
    
}

.flex-projects a {
    width: 400px;
}

.flex-projects img {
    margin: 15px;
    border: 5px solid #CA84B2;
    width: 400px;
}


/* Contact Me Section */
.icon {
    height: 80px;
    width: 80px;
    padding: 18px;
    border: 2px solid #ffe1b5;
    border-radius: 40px;
    margin: 0px 20px;
}

.icon:hover {
    background-color: #CA84B2;
}

.contact-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0px;
    font-size: 22px;
}
