body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background-color: #F0F0F0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: 'Poppins', sans-serif;
    gap: 10px;
}

main {
    width: 340px;
    height: 500px;
    background-color: white;
    border-radius: 15px 15px 80px 15px;
}

.all-input-div {
    display: flex;
    justify-content: space-evenly;
    margin-top: 50px;
    color: #5B5B5B;
    letter-spacing: 2px;
}

.inp input {
    margin-top: 5px;
    width: 90px;
    height: 35px;
    border-radius: 5px;
    border: 2px solid #DCDCDC;
}

#errorMessage {
    color: red;
    margin-left: 20px;
}

.click-div {
    position: relative;
    width: 340px;
    height: 100px;
    margin-top: 30px;
}

.hr {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    width: 337.5px;
    background-color: #EDEDED;
    height: 2px;
    border: none;
}

img {
    position: absolute;
    background-color: #8146F6;
    height: 70px;
    width: 70px;
    border-radius: 50%;
    cursor: pointer;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
}

@keyframes moveUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
img {
    animation: moveUpDown 2s infinite;
}

.display-div {
    display: flex;
    flex-direction: column;
    margin-left: 30px;
    margin-bottom: 20px;
}

.year-div, .month-div, .day-div {
    display: flex;
    flex-wrap: nowrap;
    gap: 9px;
    margin-top: 10px;
    font-size: 40px;
    font-weight: 900;
}

.purple {
    color: #8247FB;
}

div a {
    text-decoration: none;
    color: #8146F6;
}

.footer-div {
    font-size: 13px;
}

@media  screen and (min-width: 1024px) {
    main {
        width: 700px;
        border-radius: 15px 15px 130px 15px;
    }

    .inp input {
        width: 110px;
        height: 50px;;
    }

    .all-input-div {
        display: flex;
        justify-content: flex-start;
        gap: 50px;
        margin-left: 40px;
    }

    .hr {
        width: 530px;
        margin-left: 120px;
    }

    img {
        position: absolute;
        top: 20px;
        background-color: #8146F6;
        height: 70px;
        width: 70px;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        top: 50%;
        left: 150%;
        cursor: pointer;
    }

    .display-div {
        display: flex;
        flex-direction: column;
        margin-top: -20px;
        margin-left: 40px;
    }
}