* {
    box-sizing: border-box;
}
/* Simple CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul.nav-menu > li {
  list-style: none;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

a {
  text-decoration: none;
  padding: 0 0.45rem;
}

header {
  background-color: #3A2E39;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  z-index: 999;
  position: relative;
  background-color: #3A2E39;
}

.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: #ffffff;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-item {
  margin-left: 3rem;
}

.nav-link {
  font-size: 1.35rem;
  font-weight: 400;
  color: #232021;
}

body {
    font-family: "Fredoka", sans-serif;
    color: black;
    font-size: 16px;
    line-height: 1.5em;
    margin: 0;
}
p, ul, ol, h1, h2, h3, h4, h5, h6, div {
    line-height: 1.5em;
}
div.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
    line-height: 1.25em;
}
h2 {
    font-size: 2.4em;
}
a.btn {
    display: inline-block;
    width: auto;
    background-color:#3A2E39;
    color: white;
    font-size: 1.5em;
    text-decoration: none;
    padding: 0.75em 1em;
    border-radius: 25px;
    margin: 0.2em 0.75em 0.75em 0.75em;
}
a.btn:hover {
    background-color: #EDB183;
    color: white;
    transition: 0.5s;
}

/* HEADER STYLES ---------------------------------> */
header { 
    background-color: #3A2E39;
    color: #F4D8CD;
}
h1, h2 {
    font-family: "Fugaz One", sans-serif;
}
header p.name {
    font-family: "Fugaz One", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 19px;
}
header div.wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0em 1.5em;
}
nav ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 35px;
}
nav a:link, nav a:visited {
    color: #F4D8CD;
    text-decoration: none;
    font-weight: 400;
}
nav a:hover {
    color: #EDB183;
}

/* HERO styles --------------------------------------> */
#hero {
    min-height: 400px;
    background-image: url('assets/hero-section.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
#hero h1 {
    font-size: 2.75em;
    margin: 0.3em 0em 0em 0em;
    color: white;
}
#hero h2 {
    color: white;
    margin: 0px;
}
#hero p {
    font-size: 01em;
    margin-bottom: 1em;
    color: white;
    line-height: 1.2em;
    padding: 0em 4em;
    letter-spacing: 0.5px;
}
#hero div.wrapper {
    background-color: #1E555C;
    width: 500px;
    border-radius: 25px;
}
/* ABOUT section -------------------------------------------------------->*/
#about {
    background-color: #F4D8CD;
}
#about div.wrapper {
    display: flex;
    flex-direction: row;
    gap: 60px;
    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 {
    width: 70%;
}
div.about-right {
    width: 50%;
    width: calc(50% - 20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #3A2E39;
    margin: 100px 50px;
    padding: 0 4em;
    border-radius: 25px;
}
div.about-right p {
    color: white;
}
#about h2 {
    font-family: "Fugaz One", sans-serif;
    margin-bottom: 0;
    color: white
}
/*#about p:before {
    content: '"';
    position: absolute;
    margin-left: -1em;
    width: 1em;
    text-align: right;
}*/
/* GALLERY section ----------------------------------------------------->*/
#gallery {
    min-height: 200px;
    background-color: #1E555C;
}
#gallery div.wrapper {
    padding: 60px 20px;
}
#gallery h2 {
    font-family: "Fugaz One", sans-serif;
    background-color: #F4D8CD;
    color: #3A2E39;
    padding: 0.5em;
    margin-right: 20em;
    margin-bottom: 1em;
    box-sizing:content-box;
    border-radius: 25px;
    font-size: 2.5em;
}
div.gallery {
    display: flex;
    flex-direction: row;
    gap: 40px;
}
div.gallery a {
    width: 25%;
}
div.gallery img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}
a.card:hover {
    scale: 1.05;
    transition: 0.25s;
}

/* INSPO section -------------------------------------------------------->*/
#inspo {
    background-color: #3A2E39;
    padding: 60px 0;
    text-align: left;
    /*background-image: linear-gradient(#0059B8, #003566);*/
}
p.quote {
    color: #ffffff;
    font-size: 3em;
    font-family:"Fugaz One", sans-serif;
    padding: 0 5em;
    line-height: 2em;
    margin-top: 0;
}
p.credit {
    color: #ffffff;
    font-size: 2.5em;
    font-weight: 80;
    display: flex;
    justify-content: flex-end;
    padding: 0 3em 0 0;
    margin-bottom: 0;
    padding-top: 0;
}
p img.close-quote {
    padding: 0 0 0 0.3em;
}
p img.open-quote {
    padding-right: 0.3em;
}
/* PROJECTS section ----------------------------------------------------->*/
#projects {
    min-height: 200px;
    background-color: #F4D8CD;
    padding: 90px 20px;
}
#projects div.wrapper h2 {
    font-family: "Fugaz One", sans-serif;
    background-color: #3A2E39;
    color: white;
    padding: 0.5em;
    margin-right: 24em;
    margin-bottom: 1em;
    box-sizing:content-box;
    border-radius: 25px;
    text-align: center;
}
div.cards {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.card {
    display: flex;
    flex-direction: row;
}
.card img {
    width: 50%;
    object-fit: cover;
}
.card-text {
    background-color: white;
    color: #3A2E39;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    font-weight: 200;
}
.card-text h4 {
    font-size: 1.5em;
    margin-bottom: 20px;
}
a.card {
    scale: 1;
    transition: 0.25s;
    text-decoration: none;
}
a.card:hover {
    scale: 1.05;
    transition: 0.25s;
}

/* FOOTER styles -------------------------------------------------------->*/
footer { 
    background-color: #1E555C;
    color: #F4D8CD;
    padding: 1em 0 2em;
}
footer p.name {
    font-family: "Fugaz One", sans-serif;
    font-style: normal;
    font-size: 19px;
}
footer div.wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0em 1.5em
}
div.social {
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.social a img {
    width: 35px;
}
footer div.footer-bottom {
    align-items: flex-end;
    margin-top: 20px;
}
footer p.copyright{
    font-size: 12px;
}
.social a:hover {
    opacity: 0.8;
}
/************** MEDIA ****************/
/************* QUERIES **************/

/* Media Queries for the NAV */

@media only screen and (max-width: 1150px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 5rem;
    flex-direction: column;
    background-color: #3A2E39;
    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);
  }
}
 @media only screen and (max-width:1080px) {
    header div.wrapper {
        padding: 0 3em;
    }
    body {
        font-size: 1em;
        line-height: 1.5em;
        margin: 0;
    }
    #about div.wrapper {
        display: flex;
        flex-direction: row;
        gap: 60px;
        padding: 4em 4em;
    }
    div.about-right {
        margin: 1em;
    }
    #gallery div.wrapper {
        padding: 4em;
    }
    #gallery h2 {
        margin-right: 14.9em;
    }
    #projects div.wrapper h2 {
        margin-right: 18em;
        margin-left: 2em;
    }
    a.card {
        scale: 0.85;
    }
    footer {
        padding: 0 3em 1em;
    }
}
@media only screen and (max-width:768px) {
    header div.wrapper {
        padding: 0 5em;
    }
    /* may be irrelevant ^^, remeber to add hambuerger menu */
    body {
        font-size: 16px;
        line-height: 1.5em;
        margin: 0;
    }
    #hero div.wrapper {
        margin: 0 4em;
    }
    #hero h1 {
        font-size: 2em;
        margin: 0.3em 0em 0em 0em;
    }
    #hero h2 {
        font-size: 2em;
        margin: 0px;
    }
    #hero h1, h2 {
        padding: 0;
    }
    #hero p {
        font-size: 16px;
        padding: 0 4em;
    }
    div.about-left img {
        width: 100%;
    }
    #about div.wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 60px;
        padding: 4em 2em;
    }
    .gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    }
    #gallery div.wrapper {
        padding: 4em;
    }
    #gallery a.card {
        display: flex;
        flex-direction: column;
    }
    #gallery h2 {
        margin-right: 7em;
    }
    #inspo p {
        font-size: 3em;
        padding: 0.5em;
        margin: 0;
    }
    #projects div.wrapper h2 {
        margin-right: 10em;
        margin-left: 1em;
    }
    a.card {
        scale: 0.85;
    }
    footer {
        padding: 0 3em 1em;
    }
}