@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Manrope:wght@200..800&display=swap');

:root {
    --green: #44FFA1;
    --purple-900: #24053E;
    --purple-500: #584D62;
    --purple-100: #FCF88F;
    --slate-100: #FCF8FF;
    --white: #FFF;
    --font-fraunces: "Fraunces", serif;
    --font-manrope: "Manrope", sans-serif;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

header, main, footer {
    max-width: 100%;
}

header,
section > * {    
    padding-left: 20px;
    padding-right: 20px;
}

img {
    max-width: 100%;
}

header, .hero {
    background-color: var(--purple-900);
}

header {
    display: flex;
    justify-content: space-between;
    padding-top: 32px;
}

header > a {
    text-decoration: none;
    font-family: var(--font-manrope);
    font-weight: bold;
    color: var(--white);
    font-size: 1.8rem;
    line-height: 150%;
    letter-spacing: 0px;
    border-bottom: 3px var(--green) solid;
}

header > a:hover {
    color: var(--green);
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 56px;
    position: relative;
    overflow: hidden;
    padding-bottom: 144px;
}

.hero > h1 {
    color: var(--white);
    font-family: var(--font-fraunces);
    font-weight: 600;
    font-size: 4rem;
    line-height: 100%;
    letter-spacing: 0px;
    text-align: center;
    margin-bottom: 40px;
    max-width: 100%;
}

span {
    border-bottom: 3px var(--green) solid;
}

.hero > #bg-pattern-1,
.hero > #bg-pattern-2,
.founder-info > #bg-pattern-3 {
    display: none;
}

button {
    cursor: pointer;
    border: none;
    background-color: var(--green);
    color: var(--purple-900);
    padding: 12px 32px;
    font-family: var(--font-manrope);
    font-weight: bold;
    font-size: 1.6rem;
    line-height: 180%;
    letter-spacing: 0px;
    border: 2px solid var(--green);
}

button:hover {
    background-color: var(--purple-900);
    color: var(--green);
}

.illustration {
    background-color: var(--slate-100);
}

#img-illustration {
    position: relative;
    top: -70px;
}


.info {
    padding-bottom: 64px;
    text-align: center;
    background-color: var(--slate-100);
}

.info-number {
    width: 48px;
    height: 48px;
    font-family: var(--font-fraunces);
    font-size: 2rem;
    font-weight: 600;
    line-height: 40px;
    letter-spacing: 0px;
    color: var(--purple-900);
    margin: auto;
    border: 1px var(--purple-900) solid;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info > div > div > h2 {
    padding-top: 24px;
    padding-bottom: 16px;
    color: var(--purple-900);
    font-family: var(--font-fraunces);
    font-weight: 600;
    font-size: 2rem;
    line-height: 120%;
    letter-spacing: 0px;
}

.info-desc {
    color: var(--purple-900);
    font-family: var(--font-manrope);
    font-size: 1.6rem;
    line-height: 180%;
    letter-spacing: 0px;
    margin-bottom: 32px;
}

.info-desc-last {
    margin-bottom: 0px;
}

.founder {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 112px;    
    padding-left: 20px;
    padding-right: 20px;
}

.founder-img {
    margin: auto;
    max-width: 85%;
}

.founder-info {
    background-color: var(--purple-900);
    padding: 32px;
    text-align: center;
    position: relative;
    top: -50px;
}

.founder-info > h2 {
    text-align: center;
    color: #FFF;
    font-family: var(--font-fraunces);
    font-weight: 600;
    font-size: 2.5rem;
    line-height: 120%;
    letter-spacing: 0px;
}

.founder-info > p {
    padding: 32px 0;
    color: var(--white);
    text-align: center;
    font-family: var(--font-manrope);
    font-size: 1.6rem;
    line-height: 180%;
    letter-spacing: 0px;
}

footer {
    padding: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
}

footer > .social-media {
    display: flex;
    gap: 28px;
}

@media (min-width: 768px) and (max-width: 1023px) {
    header,
    section {    
        padding-left: 44px !important;
        padding-right: 44px !important;
    }

    .hero > h1 {
        font-size: 8rem;
        max-width: 80%;        
    }

    .hero > #bg-pattern-1 {
        display: block;
        position: absolute;
        left: -270px;
        top: 0;
    }

    .hero > #bg-pattern-2 {
        display: inline;
        position: absolute;
        right: -140px;
        top: 250px;
    }

    #img-illustration {
        max-width: 80%;
        position: relative;
        left: 80px;
        top: -100px;
    }

    .info > div {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 56px;
    }

    .founder {
        align-items: flex-start;
    }

    .founder-img {
        max-width: 50%;
        margin: 0;
    }

    .founder-info {
        max-width: 65%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        top: -120px;
        left: 220px;
    }

    .founder-info > p {
        text-align: left;
    }

    .founder-info > #bg-pattern-3 {
        display: block;
        position: absolute;
        top: 230px;
        left: 250px;
    }
}

@media (width > 1023px) {
    header,
    section {    
        padding-left: 80px !important;
        padding-right: 80px !important;
    }
    .hero {
        padding-bottom: 296px;
    }    

    .hero > h1 {
        font-size: 10rem;
        max-width: 60%;        
    }

    .hero > #bg-pattern-1 {
        display: block;
        position: absolute;
        left: -200px;
        top: 100px;
    }

    .hero > #bg-pattern-2 {
        display: inline;
        position: absolute;
        right: -120px;
        top: 300px;
    }

    #img-illustration {
        max-width: 700px;
        position: relative;
        left: 30%;
        top: -150px;
    }

    .info {
        display: flex;
        flex-direction: row;
        gap: 32px;
    }

    .info > div {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .founder {
        align-items: flex-start;
    }

    .founder-img {
        max-width: 500px;
        margin: 0;
    }

    .founder-info {
        max-width: 70%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        top: -220px;
        left: 300px;
    }

    .founder-info > p {
        text-align: left;
    }

    .founder-info > #bg-pattern-3 {
        display: block;
        position: absolute;
        top: 180px;
        left: 300px;
    }
}