* {
    box-sizing: border-box;
}
body {
    font-family: "Gothic A1", sans-serif;
    color:#f0f0f0;
    font-size: 16px;
    line-height: 1.5em;
    font-weight: 400;
    margin: 0;
}
p, ul, ol, h1, h2, h3, h4, h5, h6, div {
    margin: 0;
    line-height: 1.5em;
}
div.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
h1, h2, h3, h4, h5, h6 {
    line-height: 1.25em;
}
h2 {
    font-size: 2.25rem;
    margin-bottom: 0.5em;
}
a.btn {
    display: inline-block;
    width: auto;
    background-color: #000000;
    color: #f0f0f0;
    font-size: 1.25em;
    font-weight: 700;
    text-decoration: none;
    padding: 1em 2em;
    transition: 0.5s;
    border: 4px solid black;
}
a.btn hover {
    background-color: #808080;
    transition: 0.5s;
}
/* HEADER Styles */
header {
    background-color: #F05757;
    color: #000000;
}
header div.wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 20px;
}
nav ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 40px;
    margin-top: 0.375em;
}
nav a:link, nav a:visited {
    color: #000000;
    text-decoration: none;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.25em;
    transition: 0.5s;
}
nav a:hover {
    color: #f0f0f0;
    transition: 0.5s;
}
p.name {
    font-weight: 500;
    font-size: 36px;
    line-height: 1.25em;
}
/* HERO Styles */
#hero {
    min-height: 600px;
    background-image:url(assets/art-project.jpg);
    background-size: 200px;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
#hero h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
}
#hero p {
    font-size: 1.5em;
    margin-bottom: 1.5em;
    width: 100%;
}
/* ABOUT Section */
#about {
    background-color: #ffebcd;
    min-height: 600px;
    color: #000000;
}
#about div.wrapper {
    display: flex;
    flex-direction: row;
    gap: 40px;
    padding: 60px 0;
}
div.about-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}
div.about-left img {
    width: 76%;
}
div.about-right {
    width: 50%;
    width: calc(50% - 20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#about p:before {
    content: '“';
    position: absolute;
    margin-left: -1.5em;
    width: 1.5em;
    text-align: right;
  }

/* GALLERY Section */
#gallery {
    background-color: #ffebcd;
    min-height: 200px;
    color: #000000;
    text-align: center;
}
#gallery div.wrapper {
    padding: 120px 20px;
}
#gallery h2 {
    margin-bottom: 1em;
}
div.gallery {
    display: flex;
    flex-direction: row;
    gap: 40px;
}
div.gallery a {
    width: 23%;
}
div.gallery img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

/* INSPO Section */
#inspo {
    background-color:#ffebcd;
    padding: 60px 0;
    text-align: center;
}

#inspo div.wrapper {
    background-size:contain;
    background-repeat: no-repeat;
    background-position: right;
    padding: inherit;
}
p.quote {
    color: #000000;
    font-size: 48px;
}
p.credit {
    color: #000000;
    font-size: 1.5em;
    font-weight: 700;
}

/* PROJECTS Styles */
#projects {
    background-color: #ffebcd;
    text-align: center;
    color: #000000;
    padding: 96px 20px;
}

div.cards {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.card {
    display: flex;
    flex-direction: row;
}
.card img {
    width: 50%;
    height: 300px;
    object-fit: cover;
}
div.card-text {
    background-color: #ffffff;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}
div.card-text h4 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

/* Second Example */
div.cards {
    flex-direction: row;
}
.card {
    background-color: #ffffff;
    flex-direction: column;
    width: 50%;
    height: 600px;
    width: calc(50% - 20px);
}
.card img, div.card-text {
    width: 100%;
}
a.card {
    scale: 1;
    transition: 0.25s;
    color: #000000;
    text-decoration: none;
}
a.card:hover {
    scale: 1.05;
    transition: 0.25s;
}

/* FOOTER Styles */
footer {
    background-color: #F05757;
    color: #000000;
    padding: 10px 0 30px;
}
footer div.wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 20px;
}
div.social {
    display: flex;
    flex-direction: row;
    gap: 48px;
}
.social a img {
    width: 48px;
}
footer div.footer-bottom {
    align-items: flex-end;
    margin-top: 20px;
}
.social a:hover {
    opacity: 0.8;
}

.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: rgba(0,0,0,0.05);
}

.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: #232021;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-item {
  margin-left: 5rem;
}

.nav-link {
  font-size: 1.35rem;
  font-weight: 400;
  color: #232021;
}

a.nav-link:hover {
  border-bottom: 2px solid #55b57a;
}

a.nav-link:active {
  border-bottom: 2px solid #55b57a;
}

/************ MEDIA QUERIES ************/
/************     A.K.A.    ************/
/************ MOBILE STYLES ************/

@media only screen and (max-width:1000px) {

    div.gallery {
        flex-wrap: wrap;
        gap: 2%;
    }
    div.gallery images {
    width: 48%;
    padding-bottom: 2%;
    }
    div.gallery a {
    width: 48%;
    }
    div.cards {
    flex-direction: column;
    }
}

@media only screen and (max-width:480px) {
    h1, h2 {
    font-size: 2rem;
    }
    #hero {
        text-align: center;
    }
    div.gallery {
        flex-direction: column;
    }
    div.cards {
        flex-direction: column;
    }
    div.gallery a {
    width: 100%;
    }
    div.cards {
    flex-direction: column;
    }
    footer ul {
        flex-direction: column;
    }
}
@media only screen and (max-width: 1040px) {
    .nav-menu {
    position: fixed;
    left: -100%;
    top: 5rem;
    flex-direction: column;
    background-color: #fff;
    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);
  }
}
