@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;
}

:root {
    --background-color: #39076e;
    --my-green: #acf074a9;
    --color2: #d2abf3;
    --color3: #7b00ff;
    --color4: #f2e7fe;
    --color5: #e4c6ff;
}

body {
    font-family: "Poppins", sans-serif;
    height: 100vh;
    display: grid;
    background: linear-gradient(65deg, #530351, #220266f9);
    place-items: center;
    background-repeat: no-repeat;
}

main {
    background-color: var(--color2);
    width: 370px;
    height: auto;
    border-radius: 10px;
}

h2 {
    font-size: 36px;
    text-align: center;
    font-weight: 200;
}

h2 span {
    background: linear-gradient(210deg, rgb(255, 0, 128), rgba(0, 4, 255, 0.767));
    -webkit-background-clip: text;
    color: transparent;
    background-clip: text;
    font-weight: 700;
}


.container {
    background-color: var(--color4);
    padding: 20px 32px;
    margin: 16px;
    border-radius: 12px;
}

.container h4 {
    font-size: 20px;
}

.container img {
    vertical-align: middle;
    height: 25px;
}

.container .sun-face {
    position: relative;
    height: 5px;
    left: -19.5px;
    top: 0.7px;
}

.container .sun {
    animation: rotate 5s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.container p {
    font-size: 13px;
    color: grey;
}

.path {
    margin: 12px 0 30px 0;
    height: 19px;
    background-color: var(--color5);
    border-radius: 13px;
}

.tracker {
    height: 100%;
    background-color: var(--color3);
    width: 0;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease-in-out;
    overflow: hidden;
}

.tracker p {
    color: white;
    font-size: 9px;
    min-width: max-content;
}

.error-msg {
    position: relative;
    top: 3px;
    left: 4px;
    color: #FF5151;
    font-size: 10px;
    display: none;
}

.show-error .error-msg {
    display: block;
}

.input-box {
    height: 52px;
    max-width: 350px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    border-radius: 8px;
    padding-left: 10px;
    margin: 15px 0;
}

.input-box p {
    cursor: pointer;
}

.check-box {
    height: 22px;
    width: 22px;
    background-color: var(--color5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.check-box .check-img {
    height: 12px;
    width: 13px;
    display: none;
}

.input-fields input {
    outline: none;
    width: 90%;
    height: 100%;
    border: none;
    border-radius: 8px;
    padding: 10px 0;
    margin: 10px 0;
    font-family: "Poppins", sans-serif;
}

.input-fields input::placeholder {
    font-family: "Poppins", sans-serif;
    color: grey;
    font-size: 12px;
}

.check .check-box {
    background-color: var(--color3);
}

.check .check-img {
    display: block;
}

.check input {
    text-decoration: line-through;
    color: var(--color3);
}

.quote {
    font-size: 13px;
    text-align: center;
    margin-top: 20px;
}

.credits {
    font-size: 9px;
    text-align: center;
    margin: 10px;
}

@media screen and (max-width: 412px) {
    main {
        width: auto;
        margin: 24px;
        height: auto;
    }
}