@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    background-image: url(./images/bg-desktop.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position:20% 20%;
    background-color: hsl(257, 40%, 49%);
    min-height: 100vh;
    overflow: hidden;
}
.wrapper{
    margin: 2rem 4rem;
}
main{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgb(236, 228, 228);
    margin-top: 3rem;
}
main img{
    width: 50%;
    height: 50%;
}
main p{
    font-family: 'Open Sans', sans-serif;
    max-width: 500px;
}
main h2{
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
}
nav{
    position: sticky;
}
nav img{
    width: 15%;
}
.content{
    padding: 3rem;
    max-width:500px;
    margin-left: 0;
}
button{
    border: 0;
    outline: none;
    color: hsl(257, 40%, 49%);
    background: rgb(236, 228, 228);
    padding: 1rem 3rem;
    border-radius: 25px;
    margin-top: 20px;
    transition: all .2s ease-in;
}
button:hover{
    cursor: pointer;
    color: rgb(236, 228, 228);
    background: hsl(300, 69%, 71%);
}

footer{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 2rem;
    position: relative;
    bottom: 10%;
}
.fa{
    margin-left: 1.5rem;
    padding:.5rem ;
    color: rgb(236, 228, 228);
    transition: all .2s ease-in;
}
 footer i{
    position: relative;
    margin-right: 1rem;
} 
footer i::after{
    content: '';
    position: absolute;
    height: 40px;
    width: 40px;
    border: 2px solid rgb(236, 228, 228);
    border-radius: 50%;
    left: -6px;
    bottom: -6px;
    transition: all .2s ease-in-out;
} 
.iwo::after{
    left: -7px;
    bottom: -6px;
} 
.face{
    margin-left: .9rem;
}
.fa:hover{
    color: hsl(300, 69%, 71%);
}
footer i:hover:after{
    border-color: hsl(300, 69%, 71%);
}

/* @media only screen and (max-width:1200px) {
    footer{
        margin-bottom:4rem;
        position: absolute;
        bottom: 0;
        right: 0;
    }
} */
@media only screen and (max-width:750px) {
    main{
        display: flex;
        flex-direction: column;
    }
    nav img{
        width: 25%;
    }
    main img{
        width: 100%;
    }
    .wrapper{
        margin: 2rem;
    }
    body{
        overflow: scroll;
        height: 100%;
    }
    footer{
       justify-content: center;
    }
}

@media only screen and (max-width:475px) {
    button{
        margin-top: 3rem;
        width: 100%;
    }
    .content{
        max-width:700px;
        margin-left: 0;
        padding: 1rem;
    }
    h2{
        font-size: 20px;
    }
    footer{
        margin-top: 2rem;
    }
}