:root {
--Violet: hsl(257, 40%, 49%);
--Soft-Magenta: hsl(300, 69%, 71%);
--White: hsl(0, 0%, 100%);

--blur: hsl(256, 39%, 38%);
}

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

body {
    background: var(--Violet);
    color: var(--White);
    display: flex;
    justify-content: center;
    font-family: "Poppins", sans-serif;
}

main {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.template {
    width: 100%;
}


.socials {
    display: flex;
    flex-direction: row;
}

@media screen and (min-width: 20rem) {
    body {
        background-image: url(images/bg-mobile.svg);
        background-repeat: no-repeat;
        background-size: contain;
        transition: all 0.4s ease;
}

    main {
        width: 90%;
    }

    .title-image {
        width: 100%;
        padding: 2rem 0.5rem 2rem;
    }
    
    .logo {
        width: 45%;
    }

    .container {
        display: flex;
        flex-direction: column;
    }

    .image {
        display: flex;
        justify-content: center;
    }

    .form-template {
        width: 90%;
    }

    .content {
        margin-top: 1.5rem;
        padding: 2rem 1rem 0;
        text-align: center;
    }

    .heading {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .desc {
        font-size: 0.98rem;
        font-weight: 300;
    }

    .btn {
        margin: 1.8rem;
        padding: 1rem;
        font-size: 1rem;
        font-weight: 500;
        color: var(--Violet);
        background: var(--White);
        outline: none;
        border: none;
        width: 65%;
        border-radius: 5rem;
        cursor: pointer;
        box-shadow: 0 5px 20px 1px hsl(257, 40%, 38%);
        transition: all 0.3s ease;


    }  

    .btn:hover {
        background: var(--Soft-Magenta);
        color: var(--White);
    }

    .socials {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        font-size: 1rem;
        gap: 2.5rem;
        margin: 2rem 0;
        width: 100%;
    }

    .icons {
        height: 3rem;
        width: 3rem;
        border: solid 0.14rem var(--White);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--White);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .icons:hover,
    .icons:active {
        border: solid 0.14rem var(--Soft-Magenta);

    }
    i:hover,
    i:active {
        color: var(--Soft-Magenta);
    }

}


@media screen and (min-width: 60rem) {
    body {
        background-image: url(images/bg-desktop.svg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
    }

    main {
        padding: 2rem;
    }

    .title-image {
        width: 100%;
        padding: 2rem 0.5rem 2rem;
    }
    
    .logo {
        padding-left: 0.2rem;
        width: 15%;
    }

        .container {
        display: flex;
        flex-direction: row;
    }

        .image {
        display: flex;
        justify-content: center;
        padding-top: 3rem;
        width: 60%;

    }
    
    .content {
        display: flex;
        flex-direction: column;
        justify-content: start;
        margin-top: 1.5rem;
        padding: 5rem 1rem 0;
        text-align: left;
        width: 40%;
    }

    .heading {
        font-size: 2rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .desc {
        font-size: 0.82rem;
        font-weight: 300;
    }

    .btn {
        margin: 1.8rem 0;
        padding: 0.8rem;
        font-size: 1rem;
        font-weight: 500;
        color: var(--Violet);
        background: var(--White);
        outline: none;
        border: none;
        width: 35%;
        border-radius: 5rem;
        cursor: pointer;
    }  

    .socials {
        display: flex;
        flex-direction: row;
        justify-content: end;
        align-items: center;
        font-size: 1rem;
        gap: 1rem;
        margin: 2rem 0;
        width: 100%;
    }

    .icons {
        height: 2rem;
        width: 2rem;
        border: solid 0.14rem var(--White);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--White);
        cursor: pointer;
        transition: all 0.3s ease;
    }

}


@media screen and (min-width: 90rem) {
    .heading {
        font-size: 2.5rem;
    }

    .desc {
        font-size: 1rem;
    }

    .btn{
        padding: 1.1rem;
        width: 30%;
    }
}

@media screen and (min-width: 119.5rem) {
    .heading {
        font-size: 3.2rem;
    }

    .desc {
        font-size: 1.2rem;
    }

}