@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

body{
    font-family: "Poppins", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    color: black;
    text-align: center;
}

body{
    background-size: cover;
    background-position: right;
}

.wrapper{
    box-sizing: border-box;
    background-image: url(images/pink-background.jpg);
    height: 100vh;
    min-width: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1{
    font-size: 30px;
    font-weight: 900;
    text-transform: uppercase;
}

form{
    width: min(200px, 100%);
    margin-top: 20px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

form > div {
    width: 100%;
    display: flex;
    justify-content: center;
}

form label{
    flex-shrink: 0;
    height: 30px;
    width: 30px;
    background-color: rgb(215, 118, 134);
    fill: beige;
    color: beige;
    border-radius: 5px 0 0 5px;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
}

form input{
    box-sizing: border-box;
    flex-grow: 1;
    height: 30px;
    padding: 5px;
    font: inherit;
    border-radius: 0 10px 10px 0;
    border: 2px solid rgb(255, 203, 212);
    border-left: none;
    background-color: rgb(255, 203, 212);
    transition: 150ms ease;
}

form input:hover{
    border-color:rgb(215, 118, 134);
}

form input:focus{
    outline: none;
    border-color: rgb(215, 118, 134);
}


.sign-up{
    padding: 13px;
    margin-top: 10px;
    background-color: rgb(215, 118, 134);
    color: whitesmoke;
    border: none;
    border-radius: 1000px;
    font: inherit;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: 150ms ease;
}

.sign-up:hover{
    background-color: rgb(246, 171, 183);
}

a{
    text-decoration: none;
    color: rgb(215, 118, 134);
}

a:hover{
    text-decoration: underline;
}

@media(min-width: 1024px){
    h1{
        font-size: 30px;
    }

    form{
        gap: 15px;
    }

    .wrapper{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: auto;
    }

    form label{
        height: 35px;
        width: 35px;
    }

    form input{
        height: 35px;
        font-size: 17px;
    }

    .sign-up{
        font-size: 13px;
        padding: 15px;
    }

    a{
        font-size: 16px;
    }

    p{
        font-size: 16px;
    }
}