* {
    box-sizing: border-box;
    margin: 0;
}

body {
    cursor: url(assets/cursor.png), auto;
    font-family: "lato", sans-serif;
    color: #544390;
    font-size: 20px;
    line-height: 1.5em;
    font-weight: 400;
}

p,
ul,
ol,
div,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0%;
    line-height: 1.5em;
}

header nav {
    font-family: "lato", sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

div.wrapper {
    width: 100%;
    max-width: 77%;
    margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.25em;
    font-family: "Kumar One", serif;
}

h2 {
    font-size: 25px;
    font-weight: 400;
}

h4 {
    font-size: 20px;
    font-weight: 400;
}

a.btn {
    display: inline-block;
    width: auto;
    color: whitesmoke;
    font-size: 16px;
    text-decoration: none;
    padding: 0.15em 1em;
    transition: 0.5s;
    border-radius: 0.75em;
    font-family: "Kumar One", serif;
    letter-spacing: 1.5px;
}

a.btn:link,
a.btn:visited {
    color: whitesmoke;
    background-color: #544390;
}

a.btn:hover {
    background-color: #D7CCFF;
    color: #544390;
    transition: 0.5s;
}

/* header styles */
nav ul > li {
  list-style: none;
  letter-spacing: 0.1rem;
}

a {
  text-decoration: none;
  padding: 0 0.45rem;
}

.hamburger {
  display: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #544390;
  border-radius: 0.75em;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header {
    background-color: #D7CCFF;
    color: #544390;
}

header div.wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px 3.23%;
    z-index: 999;
    position: relative;
    max-width: 1200px;
}

header p.name {
    font-family: "Kumar One", serif;
}

nav ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 40px;
}

nav a:link,
nav a:visited {
    color: #544390;
    text-decoration: none;
}

nav a:hover {
    color: #A48AFF;
}

/* hero styles */
#hero {
    min-height: 400px;
    background-color: whitesmoke;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url(assets/beetle-bg.png);
    background-size: 1903px;
    background-attachment: fixed;
    width: 100%;
}

#hero h1 {
    font-size: 4em;
    margin-bottom: 20px;
    font-weight: 400;
}

#hero p {
    font-family: "lato", sans-serif;
    font-size: 0.75em;
    letter-spacing: .05em;
    margin-bottom: 3em;
    font-weight: 700;
}

/* about styles */
#about {
    background-color: #D7CCFF;
    width: 100%;
}

#about div.wrapper {
    display: flex;
    flex-direction: row;
    gap: 100px;
    padding: 60px 0;
}

div.about-left {
    width: 50%;
    width: calc(50% - 20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

div.about-left img {
    max-width: 55%;
}

div.about-right {
    width: 30%;
    width: calc(30% - 20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

div.about-right p {
    font-family: "lato", sans-serif;
    font-size: 1em;
}

div.about-right h2 {
    font-weight: 400;
    padding: 20px 0;
    font-size: 1.5em;
}

/* gallery styles */
#gallery {
    background-image: linear-gradient(whitesmoke, #A48AFF);
    width: 100%S;
}

#gallery div.wrapper {
    padding: 100px 0px;
    justify-content: center;
    text-align: center;
}

div.gallery {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;

}

div.gallery img {
    margin: 15px 0;
}

div.gallery a:link,
a:visited {
    transition: 0.25s;
}

div.gallery a:hover {
    scale: 105%;
    transition: 0.25s;
}

#gallery h2 {
    color: #705AC1;
    margin-bottom: 30px;
    font-size: 1.5em;
}

/* inspo section */
#inspiration {
    background-image: linear-gradient(#a48aff, #544390);
    color: #D7CCFF;
    text-align: center;
    width: 100%;

}

#inspiration div.wrapper {
    padding: 120px 20px;
}

p.quote {
    font-size: 3em;
    margin-bottom: 1em;
    font-weight: bold;
    font-style: italic;
}

p.credit {
    font-size: 1em;
    letter-spacing: 2px;
}

/* projects styles */
#projects {
    padding: 80px 0;
    background-color: #D7CCFF;
    width: 100%;
}

#projects h2 {
    padding-bottom: 40px;
    text-align: center;
    font-size: 1.5em;
}

div.cards {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

div.cards a {
    display: flex;
    flex-direction: row;
}

div.cards a:link,
a:visited {
    color: #705AC1;
    text-decoration: none;
    transition: 0.25s;
}

div.cards a:hover {
    color: #A48AFF;
    scale: 105%;
    transition: 0.25s;
}

div.cards img {
    width: 50%;
    object-fit: cover;
}

div.card-text {
    background-color: whitesmoke;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

div.card-text h4 {
    padding-bottom: 10px;
}

div.card-text p {
    font-size: 0.9em;
}


/* footer styles */
footer nav {
    font-family: "lato", sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

footer p.name {
    font-family: "Kumar One", serif;
}

footer {
    background-color: #A48AFF;
    color: #544390;
    background-image: url(assets/beetle-bg.png);
    background-size: 1603px;
    background-attachment: fixed;
}

footer div.wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

footer nav a:hover {
    color: whitesmoke;
}

.social a img {
    margin-right: 30px;
    width: 30px;
}

div.social {
    display: flex;
    flex-direction: row;
}

footer div.footer-bottom {
    align-items: flex-end;
}

.social a:hover {
    opacity: 40%;
}

.copyright {
    font-family: "lato", sans-serif;
    font-size: 0.7em;
    font-weight: 700;
    letter-spacing: 1px;
}



/* Media Queries */

@media only screen and (max-width:1200px) {
    header p.name {
    font-size: 0.8em;
    }

    nav ul {
        gap: 20px;
        font-size: 0.8em;
    }

    div.about-right {
        width: calc(50% - 20px);
    }

    div.gallery img {
        max-width: 90%;
    }

    p.quote {
        font-size: 2.5em;
    }
}

@media only screen and (max-width:780px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 5rem;
        flex-direction: column;
        background-color:whitesmoke;
        width: 100%;
        border-radius: 10px;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 2.5rem 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    #hero h1 {
    font-size: 2.3em;
    }

    #about div.wrapper {
        flex-direction: column;
        align-items: center;
        padding: 60px 0;
        gap: 20px;
    }

    div.about-left {
        align-items: center;
    }

    div.about-right {
        width: calc(80% - 20px);
        align-items: center;
    }

    div.about-right p {
        font-size: 0.8em;
    }

    div.about-right h2 {
        font-size: 1.25em;
    }

    div.gallery {
        flex-wrap: wrap;
        gap: 20px;
    }

    div.gallery img {
        max-width: 100%;
    }

    p.quote {
        font-size: 2.5em;
    }

    div.cards {
        margin: 40px -40px;
    }

    div.cards a {
        flex-direction: column;
        align-items: center;
    }

    div.card-text h4 {
        font-size: 0.7em;
    }

    div.card-text p {
        font-size: 0.6em;
    }

    footer p.name {
        font-size: 0.6em;
    }

    footer nav ul {
        display: flex;
        flex-wrap: wrap;
    }
}

