:root {
    --font-poppins: 'Poppins', sans-serif;
    --font-open-sans: 'Open Sans', sans-serif;
    --font-regular: 400;
    --font-semi: 600;
    /* colors */
    --violet: hsl(257, 40%, 49%);
    --soft-magenta: hsl(300, 69%, 71%);
    --white: hsl(0, 100%, 100%);
}
body {
    background-image: url(./images/bg-desktop.svg);
    background-repeat: no-repeat;
    background-color: var(--violet);
    background-size: cover;
    color: var(--white);
    font-family: var(--font-open-sans);
    width: 1440px;
    margin: 0 auto;
}
header {
    width: 12rem;
    margin: 2rem 0 3rem 0;
}
main {
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}
.part-one {
    width: 60%;
}
.part-two {
    display: flex;
    flex-direction: column;
    width: 40%;
    justify-content:space-between;
}
.part-two-heading {
    font-family: var(--font-poppins);
    font-size: 2.6rem;
    margin: 2rem 0 1rem 0;
}
.part-two-para {
    padding: 0 4rem 0 0;
    font-size: 1rem;
}
.part-two-register {
    padding: 0.5rem 3rem;
    border: none;
    margin-top: 1rem;
    color: var(--violet);
    border-radius: 3rem;
    width: 10rem;
}
.part-two-social {
    display: flex;
    justify-content: end;
    margin: 1rem 5rem 0 0;
}
.part-two-social ion-icon {
    font-size: 1.5rem;
    padding: 0.2rem;
    border-radius: 50%;
    border: 1px solid var(--white);
    margin: 0.3rem;
}



/* Attribution styles */
.attribution { 
    font-size: 11px; 
    text-align: center; 
}
.attribution a { 
    color: hsl(228, 45%, 44%); 
}

/* Responsive designs for 375px mobile screens */
@media screen and (max-width:400px) {
    body {
        width: 375px;
        padding: 0 2rem;
        background-image: url(./images/bg-mobile.svg);
        background-size: contain;
    }
    main {
        flex-direction: column;
    }
    header {
        width: 8rem;
        margin: 2rem 0 3.5rem 0;
    }
    .part-one,
    .part-two {
        width: 100%;
        text-align: center;
    }
    .part-two-heading {
        font-size: 1.5rem;
    }
    .part-two-para {
        padding: 1.2rem;
        font-size: 0.9rem;
    }
    .part-two-register {
        width: 14rem;
    }
    .part-two-social {
        justify-content: center;
        margin: 3rem 0 1.5rem 0;
    }
    .part-two-social ion-icon {
        font-size: 1rem;
    }

}