body {
    margin: 0;
    font-family:'Lato', sans-serif;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('../images/index/background.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* Hero Section */

.hero-section {
    background-image: 
        url('../images/index/image-card.webp'),
        url('../images/index/color-card.svg'),
        url('../images/index/mouse.webp');

    background-position: 
        left 20% top 10%,
        right 5% bottom 10%,
        right 20% top 5%;

    background-size: 
        80px auto,
        120px auto,
        170px auto;

    background-repeat: 
        no-repeat,
        no-repeat,
        no-repeat;
}

.flower{
    position: absolute;
    left: -5%;
    bottom: -10%;
    width: 25%;
    height: auto;
    pointer-events: none;
    z-index: 0;
}

.hero {
    height:80vh;
    align-content: center;
    z-index: 1;
}

.hero ul {
    display: flex;
    justify-content: center;
    gap: 16px;
}

h1{
    font-family: 'DM Serif Display';
    font-size: 96px;
    font-weight: 400;
    text-align: center;
    color: #002AB4;
}

h2 {
    font-family: 'Lato', sans-serif;
    font-size: 48px;
    font-weight: 400;
    text-align: center;
    color: #2E75BA;
}

.slogan {
    padding-bottom: 64px;
}

.slogan div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

/* Section Project */

h3{
    font-family: 'Crimson Pro', sans-serif;
    font-size: 64px;
    font-weight: 600;
    text-align: center;
    font-style: italic;
    color: #002AB4;
    height: 100%;
    align-content: center;
}

.projects ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
    padding-bottom: 56px;
}

.projects li {
    display: block;
    width: 100%;
    text-align: center;
}

.projects li img {
  width: 100%;
  display: block;
}

.projects div {
    display: flex;
    justify-content: center;
}

/* Section Contact */

.contact-section {
    background-image: url('../images/index/text.svg');
    background-position: left 10% bottom 15%;
    background-size: 100px auto;
    background-repeat: no-repeat;
    position: relative;
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.contact ul {
    width: 100%;
    display: flex;
    justify-content: right;
    gap: 16px;
    padding-top: 64px;
}

.envelope > p {
    font-family: 'DM Serif Display';
    font-size: 72px;
    font-weight: 400;
    text-align: left;
    color: #3357CC;
    padding-bottom: 16px;
}

.envelope p span {
    font-style: italic;
    color: #002AB4;
}

.envelope div {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 8px;
}

.envelope div p {
    font-family: 'Lato', sans-serif;
    font-style: italic;
    font-size: 32px;
    font-weight: 400;
    color: #3357CC;
}

.envelope div p span {
    color: #002AB4;
}

.envelope {
    width: 80%;
    height: 80vh;
    background-image: url('../images/index/envelope.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: rotate(-2deg);
}

.divider {
    width: 56px;
    height: 2px;
    background-color: #2E75BA;
}

.flower-2{
    position: absolute;
    right: 0%;
    top: -10%;
    width: 20%;
    height: auto;
    pointer-events: none;
    z-index: 0;
}

/* ----- RESPONSIVE ----- */

@media (max-width: 960px) {
    h1 {
        font-size: 80px;
    }

    h2{
        font-size: 40px;
    }

    .hero-section {
        background-position: 
            left 10% top 15%,
            right 0% bottom 10%,
            right 5% top 5%;
    }

    .projects ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-section {
        background-position: left 0% bottom 0%;
    }

    .envelope > p {
        font-size: 56px;
    }

    .divider {
        width: 40px;
    }
}

@media (max-width: 720px) {
    h1 {
        font-size: 72px;
    }

    h2 {
        font-size: 32px;
    }

    .slogan div img {
        width: 28px;
        height: auto;
    }

    h3 {
        padding-bottom: 16px;
    }

    .projects ul {
        padding-bottom: 40px;
    }

    .envelope {
        height: 50vh;
    }

    .envelope > p {
        font-size: 40px;
    }

    .envelope div p {
        font-size: 24px;
    }

    .divider {
        width: 32px;
    }

    .contact ul{
        justify-content: center;
        padding-top: 40px;
    }
}

@media (max-width: 540px) {
    h1 {
        font-size: 56px;
    }

    h2 {
        font-size: 28px;
    }

    .hero-section{
        background-position: 
        left 5% top 10%,
        right 5% bottom 10%,
        right 15% top 5%;

        background-size: 
        70px auto,
        90px auto,
        90px auto;
    }

    h3 {
        font-size: 48px;
        padding-bottom: 16px;
    }

    .projects ul {
        grid-template-columns: 1fr;
    }

    .hero ul {
        flex-direction: column;
        align-items: center;
    }

    .envelope {
        width: 90%;
    }

    .contact-section {
        background-image: none
    }

    .flower {
        display: none;
    }

    .flower-2 {
        display: none;
    }
}

@media (max-width: 376px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 24px;
    }

    .slogan div img {
        width: 24px;
        height: auto;
    }

    .hero-section{
        background-image: none;
    }

    h3 {
        font-size: 40px;
    }

    .envelope {
        width: 100%;
        height: 30vh;
    }

    .envelope > p {
        font-size: 28px;
    }

    .envelope div p {
        font-size: 16px;
    }

    .divider {
        width: 16px;
    }
}