@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700;800&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
:root{
    --White: hsl(0, 0%, 100%);
    --Off-white: hsl(0, 0%, 94%);
    --Light-grey: hsl(0, 0%, 86%);
    --Smokey-grey: hsl(0, 1%, 44%);
    --Off-black: hsl(0, 0%, 8%);
    --Purple: hsl(259, 100%, 65%);
    --Light-red: hsl(0, 100%, 67%);
    --font-400:400;
    --font-700:700;
    --font-800:800;
}
body{
    height: 100vh;
    background-color: var(--Off-white);
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-container{
    min-height: 60vh;
    min-width:260px;
    margin: 0px 10px;
    background-color: var(--White);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
    position: relative;
    border-radius: 30px;
    border-bottom-right-radius: 150px;
}
.hr-btn{
    width: 100%;
    height: 80px;
    position:relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0px;
}
hr{
    width: 100%;
    border:1px solid var(--Light-grey);
}
.d-m-y{
    max-width: 400px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
p{
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: var(--font-400);
    color: var(--Smokey-grey);
    transition: 300ms linear;
}
.input-div{
    width: 30%;
}
.date-e{
    max-width: 105px;
    min-width: 65px;
}
.month-e{
    max-width: 115px;
    min-width: 65px;
}
.year-e{
    min-width: 80px;
    max-width: 250px;
}
input{
    height: 40px;
    width: 100%;
    text-indent: 10px;
    font-size: 25px;
    font-weight: var(--font-700);
    margin: 5px 0px;
    border: 1px solid var(--Light-grey);
    transition: 300ms linear;
}
.input-div:hover .p{
    color: var(--Purple);
    transition: 200ms linear;
}
.input-div:hover input{
    border:1px solid var(--Purple);
    transition: 200ms linear;
}
.invalid-date,.invalid-month,.invalid-year{
    letter-spacing: 0px;
    font-size: clamp(6px,2.5vw,10px);
    color: var(--Light-red);
}
.inp-vis{
    color: var(--Light-red);
    border: 1px solid var(--Light-red);
}
.visible{
    visibility: visible;
}
.hidden{
    visibility:hidden ;
}

.btns{
    position: absolute;
    top:50%;
    left: 93%;
    transform: translate(-50%,-50%);
    transition: 400ms;
}
.btn{
    width: 80px;
    height: 80px;
    background-color: var(--Purple);
    border-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: 300ms linear;
}
img{
    width: 50%;
    height: 50%;
}
.btn:hover{
    transition: 300ms;
    background-color: black;
}
h1{
    font-size: 5rem;
    font-weight: var(--font-700);
    font-style: italic;
    transition:300ms linear ;
}
span{
    color: var(--Purple);
    font-weight: var(--font-800);
    transition: 300ms linear;
}
@media(min-width:569px){
    .main-container{
        min-width: 500px;
    }
}
@media(max-width:569px){
    .btn{
        height: 65px;
        width: 65px;
    }
    .hr-btn{
        height: 65px;
    }
    h1{
        transition:300ms linear;
        font-size: 3.2rem;
    }
    .btns{
        left: 50%;
        transition: 300ms linear;
    }
    span{
        font-size: 3rem;
        transition: 300ms linear;
    }
}


                            /*--END--*/