@font-face{
    font-family: 'berliana_lovelyregular';
    src: url('assets/berliana_lovely_freebies-webfont.woff') format('woff'),
    url('assets/berliana_lovely_freebies-webfont.woff2') format('woff2');
    }
/** BODY STYLES **/

body {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 0;
    margin: 0;
}

div.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
* {
    box-sizing: border-box;
    /* border: thin solid rgb(168, 168, 255); */
}
html {
    padding: 0;
} 

main {min-height: 200px;}

/*** HEADER AND FOOTER STYLES ***/
header {
    font-family: 'berliana_lovelyregular';
    width: 100%;
    background-color: #5B61B2;
    margin: 0;
    padding: 20px;
    color: #DEC1D8;
}
footer {
    font-family: 'berliana_lovelyregular';
    width: 100%;
    background-color: #5B61B2;
    margin: 0;
    padding: 20px;
    color: #DEC1D8;
}

header a, footer a {
    text-decoration: none;
}

footer div.socials img {
    width: 100%;
    height: 100%;
    max-width: 30px;
    max-height: 30px;
}


footer div.socials {
    max-width: fit-content;
    display: flex;
    flex-direction: row;
    gap: 25px;
}

div.socials a {
    justify-items: center;
}

div.footer-bottom p {
    text-align: right;
    padding: 15px;
}

header div.wrapper, div.header-nav, div.footer-nav, div.footer-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

header nav ul, footer nav ul {
    font-family: 'Inter';
    display: flex;
    flex-direction: row;
    gap: 50px;

}

header nav ul li, footer nav ul li {
    list-style: none;
}

header nav li a, footer nav li a {
    color: #DEC1D8;
}

 /* HERO STYLES */
#hero {
    width: 100%;
    padding: 100px 0 120px; 
    background-image: url(assets/animation\ -for-web-resized-04.gif);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #F5F5F5;
    align-content: center;
    text-align: center;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.253);
}

#hero p {
    width: 100%;
    max-width: 50%;
    display: flex;
    margin: 0 auto;
    padding: 10% 5% 10% 5%;
    font-size: 22px; 
}

#hero div.wrapper a.button, a.view-button {
    display: inline-block;
    background-color: #5B61B2;
    color: #EEE2DF;
    text-decoration: none;
    padding: 16px 36px; /** ADJUST TO TASTE - REFER BACK TO PROTOTYPE IN FIGMA **/
    font-size: 17px;
    font-weight: lighter;
    padding: 20px 30px;
    border-radius: 30px;
    align-items: center;
    margin: 0px 30px;
}

#hero div.wrapper a.button:hover, a.view-button:hover, #gallery a.view-button:hover {
    background-color: #BCC1FF;
    color: #5B61B2;
    transition: 0.3s;
}

/** ABOUT STYLES **/
h2 {
    font-family: 'berliana_lovelyregular';
}

h2 > p {
    font-family: 'Inter';
}

div.pictures-about-me {
    position: relative;
}

#about {
    padding: 120px 0;
    background-color: #C1DCFF;
    color: #2F80E1;
}
#about div.wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
}
#about img {
    width: 374px; /** resize the photo and make it look like the prototype **/
    height: 374px;
    display: flex;
    flex-direction: row;
}

#about div.wrapper {
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

#about img.singing {
    width: 50%;
    height: auto;
    display: block;
    position: absolute;
    top: -70px;
    left: -40px;
}

#about img.selfie {
    width: 100%;
    height: 100%;
    max-width: 1200px;
    display: block;
}

#about img.food {
    width: 35%;
    height: 35%;
    display: block;
    position: absolute;
    top: 280px;
    left: 310px;
}

/** INSPO STYLES **/

#inspo {
    width: 100%;
    background-color: #DEC1D8;
    color: #5B61B2;
    padding: 120px 0px;
    background-image: url('assets/quotation.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

#inspo p {
    font-family: 'berliana_lovelyregular';
}

#inspo div.wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 400px;
    text-align: center;
}
#inspo blockquote {
    margin: 0;
    font-size: 48px;
}
#inspo p {
    font-size: 24px;
    font-weight: 700;
}

/** WORKS STYLES **/

#gallery {
    align-content: center;
    text-align: center;
}

#gallery h2 {
    text-align: center;
}

#gallery div.works-list {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    margin: 0% auto;
    max-width: 100%;
    gap: 30px;
}

div.works-list div {
    min-width: 0%;
}

div.works-list div img {
    width: 100%;
}

div.j-hope {
    width: 3900px;
}

div.collage {
    width: 4000px;
}

#gallery div.wrapper {
    padding: 40px
}
/** PROJECT CARDS STYLES **/

#projects {
    padding: 100px 0 120px;
    background-color: #C1DCFF;
    color: #2F80E1;
}

div.wrapper h3 {
    font-family: 'berliana_lovelyregular';
    letter-spacing: 0.3px;
}

#projects div.wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
}

div.cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
}

div.project a {
    display: flex;
    flex-direction: row;
    gap: 30px;
    text-decoration: none;
    height: 100%;
}

div.project {
    display: block;
    width: calc(50% - 20px);
}

div.project img {
    object-fit: cover;
    width: 50%;
    max-width: 100%;
    display: block;
}

div.project-meta {
    background-color: #2F80E1;
    color: #C1DCFF;
    padding: 20px;
}

div.project a {
    display: flex;
    flex-direction: row;
}

/* MEDIA QUERIES */

@media screen and (max-width:1024px){
    header {
        overflow-x: hidden;
        background-color: blue;
    }
    div.wrapper {
        padding: 0 20px;
    }
    #about img.food {
        width: 35%;
        height: 35%;
        display: block;
        position: absolute;
        top: 180px;
        left: 180px;
    }
}

@media screen and (max-width: 768px) {
    header {
        background-color: red;
    }
    div.project {
        width: 100%;
    }
    #about img.food {
        width: 35%;
        height: 35%;
        display: block;
        position: absolute;
        top: 130px;
        left: 125px;
    }
    #about img.singing {
        width: 50%;
        height: auto;
        display: block;
        position: absolute;
        top: -50px;
        left: -20px;
    }
}

/* HAMBURGER STYLES */

.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;
}

.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);
}