@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wdth@0,75..100;1,75..100&family=Poppins&display=swap');


:root{
/* ### Primary */

--Violet: hsl(257, 40%, 49%);
--SoftMagenta: hsl(300, 69%, 71%);
}

body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-image: url("../images/bg-mobile.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--Violet);
}


/* Mobile CSS */

main {
    margin: 20px;
}

.header-content {
    display: flex;
    flex-direction: column;
}

.logo img {
   width: 100px;
   height: 50px;
}

.illustration {
    margin: 30px 0;
}
.illustration img {
    width: 100%;
    height: auto;
    background-size: contain;
}


.description {
    text-align: center;

    color: #ffffff;
    margin: 30px 0;
}

h1 {
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin: 20px;
}

p {
    font-size: 0.8rem;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    margin: 20px;
}
button {
    width: 70%;
    height: 40px;
    border-radius: 20px;
    border: none;
    color: gray;
    margin: 20px 0;
}


.social-icon {
    display: flex;
    justify-content: center;
    margin: 20px;
}

.social-icon i {
    width: 15px;
    color: #ffffff;
    margin: 0 0;
    border: 1px solid #ffffff;
    border-radius: 50%;
    padding: 5px;
    margin: 5px;
    
}

/* Desktop css using min screen size as 450px */

@media (min-width: 450px) {

    body {
        background-image: url("../images/bg-desktop.svg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-color: var(--Violet);
    }
    
    main {
        width: 80%;
        margin: 30px auto;
        display: flex;
    }

    .header-content {
        width: 50%;
        height: auto;
        margin: 0 0 0 20px;
    }

    .logo img {
        width: 150px;
        height: 70px;
    }
  
    .illustration img {
        width: 100%;
        height: auto;
        background-size: contain;
    }

    .description {
        width: 40%;
        margin: 120px 0 0 10px;
        text-align: left;
    }


    button, .social-icon i{
       cursor: pointer;
    }


    button {
        width: 30%;
        margin: 0 0 0 20px;
    }
    button:hover {
        background-color: var(--SoftMagenta);
        color: #ffffff;
    }


    .social-icon {
        display: flex;
        justify-content: flex-end;
        margin: 20px 0 0 10px;
    } 



    .social-icon i:hover {
        border: 1px solid var(--SoftMagenta);
        color: var(--SoftMagenta);
        
    }
}