@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Poppins:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: hsl(257, 40%, 49%);
    background-image: url('./images/bg-mobile.svg');
    background-repeat: no-repeat;
    font-family: 'Open Sans', sans-serif;
}

header {
    padding: 32px;
}

header img {
    width: 130px;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-container img {
    width: 300px;
    margin-top: 15px;
    margin-bottom: 55px;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-align: center;
    color: white;
    margin-bottom: 20px;
}

p {
    width: 80%;
    text-align: center;
    color: white;
    margin-bottom: 25px;
}

button {
    border: none;
    border-radius: 40px;
    padding: 12px 75px;
    background-color: white;
    box-shadow: 4px 8px 8px -3px rgba(0, 0, 0, 0.3);
    margin-bottom: 70px;

    font-weight: 400;
    font-size: 0.75rem;
    color: hsl(257, 40%, 49%);
}

button:hover {
    background-color: hsl(300, 69%, 71%);
    color: white;
}

/* SOCIAL ICONS */
.icons {
    display: flex;
    justify-content: center;
}

.icons i {
    border: 1px solid white;
    border-radius: 100%;
    padding: 8px;
    margin-right: 15px;
    margin-bottom: 60px;

    color: white;
    text-align: center;
}

.icons i:hover {
    border: 1px solid hsl(300, 77%, 63%);
    color: hsl(300, 77%, 63%);
}

/* FOOTER */
.attribution { 
    font-size: 11px; 
    text-align: center; 
    color: white;
    margin: 0 auto;
}

.attribution a { 
    color: hsl(228, 100%, 80%);
}

/* MEDIA QUERIES */
@media screen and (min-width: 1440px) {
    header img {
        width: 200px;
    }

    body {
        background-color: hsl(257, 40%, 49%);
        background-image: url('./images/bg-desktop.svg');
        background-repeat: no-repeat;
    }

    .main-container {
        display: flex;
        flex-direction: row;
        justify-content: between;
        padding: 40px;
        /* margin-top: 20px; */
    }

    .main-container img {
        width: 750px;
        margin: 0px;
    }

    .content {
        align-items: flex-start;
        width: 580px;
        margin-left: 50px;
        margin-top: -110px;
    }

    h2, p {
        text-align: left;
    }

    h2 {
        font-size: 2rem;
    }

    .icons {
        justify-content: end;
        padding-right: 150px;
    }
}