*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Tajawal' , sans-serif;
    -webkit-tap-highlight-color: transparent;
}
body{
    background-color:#89CFF0 ;
}
:root{
    --main-color : #22a5e1 ;
}

.login {
    background-color: #fff;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
    width: 320px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 30px 30px;
    border-radius: 25px;
    text-align: center;
}
.login .login-image{
    width: 150px;
    height: 150px;
    margin: 40px auto;
    
}
.login .login-image img{
    width: 100%;
    border-radius: 50%;
}
.login h1{
    color: var(--main-color);
}
.login p{
    color: #777;
}

.login .password{
    width: 100%;
    height: 50px;
    border: 1px solid var(--main-color);
    border-radius: 50px;
    margin: 20px 0;
    display: flex;
}
.login .password input{
    font-size: 20px;
    font-weight: bold;
    padding-left: 10px;
    outline: 0;
    border: 0;
    border-radius: 50px;
    width: calc(100% - 50px);
}
.login .password .enter{
    background-color: var(--main-color);
    width: 50px;
    line-height: 50px;
    font-size: 25px;
    border-radius: 0 50px 50px 0 ;
    cursor: pointer;
}
.login .wrong{
    color: var(--main-color);
    display: none;
}

/* ================ message ================= */

.message{
    background-color: #fff;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
    width:320px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px 40px;
    border-radius: 25px;
    text-align: center;
    font-weight: 500;
}
.message span{
    display: block;
    font-size: 35px;
    margin-bottom: 10px;
}
.message button{
    cursor: pointer;
    padding: 10px 30px;
    border-radius: 50px;
    border: 0;
    outline: 0;
    background-color:var(--main-color) ;
    color: #fff;
    font-weight: bold;
    font-size: 17px;
    margin-top: 30px ;
    margin-bottom: 10px ;
}


/* ================ quiz ================= */

.content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.content p{
    color: #666;
    font-weight: bold;
}
.content .quiz{
    width: 320px;
    background-color: #fff;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
    border-radius: 25px;
    padding: 5px 40px 20px;
    margin-top: 10px;
    color: var(--main-color);
}
.content .quiz h1{
    margin: 20px 0;
}
.content .quiz .btns{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.content .quiz .btns button{
    margin-bottom: 10px;
    padding: 10px 0;
    border-radius: 50px;
    border: 2px solid var(--main-color);
    background-color: #fff;
    font-size: 16px;
    font-weight: bold;
    width: 250px;
    cursor: pointer;
}
.content .quiz .btns button:hover{
    color: var(--main-color);
    background-color: var(--main-color);
    color: #fff;
}

.content .quiz .true-false {
    margin-top: 10px;
}
.content .nxtbtn {
    cursor: pointer;
    padding: 10px 50px;
    border-radius: 50px;
    border: 0;
    outline: 0;
    background-color: var(--main-color);
    color: #fff;
    font-weight: bold;
    font-size: 17px;
    margin-top: 10px;
}
.content .true , .content .false , .content .nxtbtn , .q {
    display: none;
}
.q:first-child {
    display: block;
}
.q:last-of-type > span {
    display: block;
    font-size: 50px;
    margin: 15px;
}
.q:last-of-type h2{
    font-size: 35px;
}
.q:last-of-type h3{
    font-size: 30px;
}
.q:last-of-type p {
    margin-top: 10px;
}

/* time ======== */

#date{
    background-color: #ceedfb;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.05);
    width: 320px;
    margin: 180px auto;
    padding: 20px ;
    border-radius: 25px;
    text-align: center;
    font-weight: 500;
}
#date p {
    color: #666;
}
#date> h1{
    color: var(--main-color);
}
#date .time{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}
#date .time .time-top , #date .time .time-bottom{
    display: flex;
    justify-content: space-between;
}
#date .time .time-top div ,
#date .time .time-bottom div{
    background-color: #fff;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
    width: calc((100% / 3) - 6px );
    height: 90px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#date .time span{
    color: var(--main-color);
    font-weight: bold;
    font-size: 30px;
}

/* memories  */

#memories{
    width: 320px;
    margin: 50px auto;
    text-align: center;
    font-weight: 500;
}
#memories h1{
    color: #09abf7;
}
#memories p{
    color: #666;
}
#memories .memorybtns{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}
#memories button{
    cursor: pointer;
    padding: 10px 30px;
    border-radius: 50px;
    border: 0;
    outline: 0;
    background-color: var(--main-color);
    color: #fff;
    font-weight: bold;
    font-size: 17px;
}

#memories .card {
    height: 480px;
    perspective: 1000px;
}
#memories .memories{
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
    border-radius: 25px;
    height: 100%;
    margin: 10px 0;

    cursor: pointer;
    position: relative;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
#memories .memories .photo{
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    backface-visibility: hidden;
}
#memories .memories .photo img{
    width: 100%;
    height: 100%;
    border-radius: 25px;
    object-fit: cover;
}
#memories .memories .text{
    width: 100%;
    height: 100%;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ceedfb;
    padding: 30px;
    color: rgba(0, 0, 0, 0.65);
    font-size: 18px;
    position: absolute;
    transform: rotateY(180deg);
    backface-visibility: hidden;
    font-size: 23px;
}

#memories .card.flipped .memories {
    transform: rotateY(180deg);
}

.memories {
    display: none;
}
.memories:first-child {
    display: block;
}

.quizbtn{
    margin: 10px auto;
    width: 320px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#quiz{
    cursor: pointer;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    border: 0;
    outline: 0;
    background-color:#E53935;
    color: #fff;
    font-weight: bold;
    font-size: 17px;
}