* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}


main {
    background-color: hsl(257, 40%, 49%);
    background-image: url(./images/bg-desktop.svg);
    height: 120vh;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 2rem 1rem 1rem 1rem;
}

header img {
    width: 12rem;
}

.content {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 2rem;
}

.content-left img {
    width: 40rem;
}

.content-right {
    width: 27rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

h1 {
    font-family: 'Poppins',
        sans-serif;
    font-weight: 600;
    color: white;
    padding-top: 1.5rem;
}

p {
    font-family: 'Open Sans',
        sans-serif;
    font-weight: 400;
    color: rgb(194, 189, 189);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.content-right a {
    display: inline-block;
    width: 10rem;
    border: 1px solid white;
    padding: 0.7rem 1rem;
    color: rgb(141, 137, 137);
    background-color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 1.5rem;
    font-family: 'Open Sans',
        sans-serif;
    font-weight: 400;
    border: 2px solid rgb(255, 255, 255);
    box-shadow: 1px 1px 16px -5px rgb(0, 0, 0);
}

.content-right a:hover {
    background-color: hsl(300, 69%, 71%);
    color: white;
    border: 2px solid hsl(300, 69%, 71%);
}

footer {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    height: 6rem;
    margin: 1rem;
}

li {
    display: inline-block;
    padding: 0 0.5rem;
    margin: 0.5rem;
}

.social-facebook,
.social-twitter {
    width: 2.3rem;
}

.social-instagram {
    width: 2rem;
}

.social:hover {
    transform: scale(1.2, 1.1);
    border-bottom: 2px solid black;
}

/* media queries */

@media only screen and (max-width:1215px) {
    .content-left img {
        width: 30rem;
    }

    .content-right {
        width: 23rem;
        margin-left: 3rem;
    }

    li {
        display: inline-block;
        padding: 0 0.3rem;
        margin: 0.5rem;
    }
}

@media only screen and (max-width:950px) {

    main {
        height: 100vh;
    }

    .content-left img {
        width: 25rem;
    }

    .content-right {
        width: 25rem;
        margin-left: 3rem;
    }

    h1 {
        padding-top: 0rem;
    }

    p {
        padding-bottom: 1rem;
    }

    li {
        display: inline-block;
        padding: 0 0.3rem;
        margin: 0.5rem;
    }

    .social-facebook,
    .social-twitter {
        width: 2rem;
    }

    .social-instagram {
        width: 1.7rem;
    }
}

@media only screen and (max-width:875px) {

    main {
        height: 100vh;
    }

    h1 {
        padding-top: 0rem;
        font-size: 24px;
    }

    p {
        font-size: 14px;
    }
}

@media only screen and (max-width:777px) {
    .content {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }

    main {
        height: 130vh;
    }

    .content-right {
        margin-top: 3rem;
        margin-left: 0rem;
    }

    p {
        margin-bottom: 1rem;
    }

    footer li {
        margin-bottom: 4rem;
    }
}

@media only screen and (max-width:485px) {
   
    main {
        background-color: hsl(257, 40%, 49%);
        background-image: url(./images/bg-mobile.svg);
        height: 100vh;
    }
    
    .content-left img {
        width: 15rem;
    }

    .content-right {
        width: auto;
        margin-left: 0rem;
        justify-content: center;
        text-align: center;
    }

    .content-right a {
        margin: 0 auto;
    }

    footer {
        justify-content: center;
    }

    footer li {
        margin-bottom: 1rem;
    }
}
