@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Poppins:wght@400;600&display=swap');

:root{
    --violet: hsl(257, 40%, 49%);
    --softMagenta: hsl(300, 69%, 71%);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: var(--violet);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    flex-direction: column; 
    gap: 24px;
    background-image: url(./images/bg-mobile.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.container{
    width: 750px;
    align-items: center;
}

#logo{
    width: 254px;
    padding-bottom: 60px;
    padding-left: 70px;

}

#illustration{
    width: 589px;
    padding-bottom: 60px;
    display: block;
    margin: auto;

}

.text{
    color: #fff;
    font-family: 'Poppins', sans-serif;
    width: 450px;
    text-align: center;
    margin: auto;
    padding-bottom: 80px;

}
.text p{
    font-size: 22px;
    padding-bottom: 30px;

}

h1{
    font-size: 36px;
    padding-bottom: 30px;

}

button{
    color: var(--violet);
    padding: 16px;
    width: 300px; 
    border-radius: 80px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    border: none;
    box-shadow: 4px 8px 8px hsl(257, 44%, 32%);
    font-weight: 400;
}

button:hover{
    background-color: var(--softMagenta);
    color: #fff;
    cursor: pointer;
}
.social_media
{
    color: #fff;
    display: flex;
    gap: 16px;
    justify-content: center;
    }


.social_media div{
    border: 1.5px solid #fff;
    height: 50px;
    width: 50px;
    border-radius: 50%; 
    display: flex;
    justify-content: center;

}
.social_media div:hover{
    color: var(--softMagenta);
    cursor: pointer;
    border: 1.5px solid var(--softMagenta);

} 

.fa-facebook,
.fa-twitter,
.fa-instagram{
    margin: auto;

}

.attribution { 
    font-size: 11px; 
    text-align: center; 
    color: hsl(0, 0%, 100%); 

}
  .attribution a { 
    color: hsl(0, 0%, 100%); 
}

/*----------DESKTOP--------------------*/
@media only screen and  (min-width:1284px){
    body{
        background-image: url(./images/bg-desktop.svg);
        background-repeat: no-repeat;
        background-size: full;
    }
    
    .container{
        display: flex;
        width: 1285px;
        justify-content: center;
    }

    .graphics{
        width: 700px;
    }

    #logo{
        padding-left: 50px;
    }
    .info{
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 600px;
    }

.text{
    text-align: left;
    font-size: 24px;
    padding-bottom: 40px;
}

.text p,
h1{
    padding-bottom: 12px;
}
.social_media{   
    display: inline-flex;
    justify-content: flex-end;
    }

button{
        width: 50%; 
        padding: 20px;
        margin: 12px auto;
    }
}