*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

img,
svg {
    display: block;
    max-width: 100%;
}

body {
    background-color: hsl(257, 40%, 49%);
    background-image: url(./images/bg-desktop.svg);
    background-repeat: no-repeat;
    background-position: 0vh 0vw;
    background-size: contain;
}

header img {
    margin-left: 9.6rem;
    margin-top: 4rem;
    margin-bottom: 6rem;
}

.main-container {
    display: flex;
    justify-content: center;
}

.illustration-mockup {
    margin-left: 2rem;
    margin-bottom: 2rem
}

.illustration-text {
    margin: 3rem;
}

.illustration-text h1 {
    color: #fff;
    width:430px;
    font-family: 'Poppins', sans-serif;
    font-size: 38px;
    font-weight: 600;
}

.illustration-text p {
    color: #fff;
    width: 390px;
    margin-top: 2rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5rem;
}

.button {
    color: hsl(256, 44%, 57%);
    box-shadow: 0px 5px 10px 3px rgba(0,0,0,0.34);
    margin-top: 1.5rem;
    width: 167px;
    height: 48px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: 32px;
    cursor: pointer;
    transition: all .2s ease-in;
}

.button:hover {
    color: #fff;
    background-color: hsl(300, 73%, 74%);
    opacity: 0.9;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 3rem;
    margin-right: 4rem;
}

.social-links img {
    width: 32px;
}

.facebook-icon {
    margin: 1rem;
    cursor: pointer;
    transition: all .2s ease-in;
}

.twitter-icon {
    margin: 1rem;
    cursor: pointer;
    transition: all .2s ease-in;
}

.instagram-icon {
    margin: 1rem;
    cursor: pointer;
    transition: all .2s ease-in;
}

.facebook-icon:hover {
    background-color: hsl(300, 69%, 71%);
    border-radius: 50%;
}

.twitter-icon:hover {
    background-color: hsl(300, 69%, 71%);
    border-radius: 50%;
}

.instagram-icon:hover {
    background-color: hsl(300, 69%, 71%);
    border-radius: 5px;
}

/* 


Media Queries


*/

@media screen and (max-width: 1024px) {

    header img {
        margin-left: 3rem;
        margin-top: 2rem;
        margin-bottom: 6rem;
    }

    .illustration-mockup {
        width: 55%;
        margin-left: 3rem;
        margin-bottom: 0rem
    }

    .illustration-text h1 {
        width: 105%;
    }

    .illustration-text p {
        width: 82%;
        margin-left: 0.5rem;
    }

}

@media screen and (max-width: 800px) {

    body {
        background-image: url(./images/bg-mobile.svg);
    }

    .main-container {
        display: flex;
        flex-direction: column;
    }

    header img {
        margin-left: 5rem;
        margin-top: 4rem;
        margin-bottom: 6rem;
    }

    .illustration-mockup {
        width: 80%;
        margin-left: 5rem;
        margin-bottom: 2rem
    }

    .illustration-text {
        margin-left: 12rem;
        text-align: center;
    }

    .illustration-text h1 {
        width: 75%;
    }

    .illustration-text p {
        width: 59%;
        margin-left: 3.5rem;
    }

    .button {
        width: 230px;
        margin-right: 7rem;
        margin-top: 3rem;
    }

    .social-links {
        margin-right: 18rem;
        margin-top: 2rem;
    }

}

@media screen and (max-width: 500px) {

    header img {
        margin-left: 2rem;
    }

    .illustration-mockup {
        margin-left: 3rem;
    }

    .illustration-text {
        width: 80%;
        margin-left: 6rem;
    }

    .illustration-text p {
        margin-left: 2.3rem;
    }

    .button {
        margin-left: 2.4rem;
    }

    .social-links {
        margin-right: 8.3rem;
    }

}

@media screen and (max-width: 320px) {

    header img {
        margin-left: 3rem;
    }

    .illustration-mockup {
        width: 90%;
        margin-left: 4rem;
    }

    .illustration-text {
        width: 90%;
        margin-left: 6rem;
        text-align: center;
    }


    .illustration-text p {
        margin-left: 2rem;
    }

    .button {
        margin-left: 0.5rem;
    }

    .social-links {
        margin-right: 0.5rem;
    }

}
