html,*,*::after,*::before{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 100vw;
    height: 100vh;
    background-color: #212121;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.mobile{
    width: 23rem;
    height: 45rem;
    border-radius: 2rem;
    outline: 5px solid black;
    border-bottom: 15px solid black;
    background: url("../image/WallpaperGram.IR_ws1588202764_24537\ \(1\).jpg") center fixed;
    position: relative;

}
.black{
    position: absolute;
    width: 23rem;
    height: 45rem;
    border-radius: 2rem;
    background-color: black;
    z-index: 8;
    transition: all 100ms ease;
    opacity: 1;
}
.volume{
    position: absolute;
    width: 5px;
    height: 7rem;
    background-color: black;
    border-radius: 1rem;
    right: -9px;
    top: 5rem;
}
.power{
    position: absolute;
    width: 5px;
    height: 3rem;
    background-color: black;
    border-radius: 0.5rem;
    right: -9px;
    top: 15rem;
    cursor: pointer;
}
.power__text{
    position: absolute;
    width: 10rem;
    margin-left: 2rem;
    color: rgba(255, 255, 255, 0.636);
    transition: all 100ms linear;
}
.selfi{
    width: 2rem;
    height: 2rem;
    border-radius: 4rem;
    background-color: #212121;
    position: absolute;
    left: 1rem;
    top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.selfi div{
    width: 1rem;
    height: 1rem;
    border-radius: inherit;
    background-color: black;
}


/* ========================> First Page <====================== */

.first-page{
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    flex-direction: column;
    transition: all 300ms ease-in;
    opacity: 1;
    /* display: none; */
}

.clock-container{
    width: 14rem;
    height: 7rem;
    margin-top: 6rem;
    text-align: center;
}
.clock__clock{
    font-size: 4rem;
}

.massage-container:hover{
    box-shadow: 0 0 10px -2px rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.162);
}

.massage-container{
    width: 90%;
    height: 12rem;
    border-radius: 1.5rem;
    margin-top: 1rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.162);
    backdrop-filter: blur(5px);
    transition: all 150ms ease-in-out 20ms;
    cursor: pointer;

}
.massage__profile{
    font-size: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(199, 199, 199);
    margin-right: 0.5rem;
    background: linear-gradient(45deg,rgba(129, 24, 161, 0.53),rgba(48, 48, 183, 0.503));
}
.massage-info{
    display: flex;
    width: 100%;
}
.massage-org{
    margin-top: 1rem;
    color: rgba(218, 218, 218, 0.866);
    text-align: center;
}
.massage__svg{
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0.9rem;
    height: 0.9rem;
    background-color: rgba(255, 255, 255, 0.41);
    border-radius: inherit;
}
.massage__name{
    margin-right: 0.4rem;
}
.massage__time{
    color: rgb(33, 33, 33);
}
.camera-box{
    width: 2.5rem;
    height: 2.5rem;
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.256);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.8rem;
}
.camera,.telephone{
    width: 1.5rem;
    height: 1.5rem;

}
.telephone-box{
    width: 2.5rem;
    height: 2.5rem;
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.256);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.8rem;
}


/* =====================> Second Page <=====================*/

.second-page{
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    flex-direction: column;
    transition: all 300ms ease-in;
    opacity: 1;
    display: none;
}

.google{
    width: 90%;
    margin-top: 10rem;
    height: 3rem;
    border-radius: 1.5rem;
    background-color: rgba(255, 255, 255, 0.586);
    backdrop-filter: blur(3px);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
}
.camera__google{
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    right: 1rem;
}
.zarebin{
    position: absolute;
    left: 1rem;
    width: 1.5rem;
    height: 1.5rem;
}
.microphone__google{
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    right: 3.5rem;
}
.myApp{
    display: flex;
    justify-content: center;
    align-items: start;
    width: 100%;
    margin-top: 2rem;
    gap: 0.5rem;
}
.app-box-flex{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width:45%;
    gap: 1rem;
}
.app-box{
    width: 10rem;
    height: 10rem;
    background-color: rgba(255, 255, 255, 0.295);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 1rem;
    position: relative;
}
.box-name{
    position: absolute;
    width: 6rem;
    height: 1.7rem;
    top: -1.7rem;
    background-color: rgba(255, 255, 255, 0.295);
    backdrop-filter: blur(5px);
    border-radius: 0.5rem 0.5rem 0 0;
    text-align: center;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.412);
}
.app-without{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    row-gap:1.5rem ;
    width: 45%;

}
.app-flex{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.app{
    width: 4rem;
    height: 4rem;
    background-color: rgba(158, 158, 158, 0.786);
    border-radius: 1rem;
    text-decoration: none;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    transition: all 150ms ease-out;
}
.app:hover{
    background-color: rgba(0, 0, 0, 0.700);
    color: rgb(221, 221, 221);
    font-weight: 700;
    transform: scale(1.08);
}
.opacity{
    opacity: 0.2;
}
.homeDot{
    margin-top: 5.5rem;
    display: flex;
    gap: 0.5rem;
}
.dot{
    width: 0.4rem;
    height: 0.4rem;
    background-color: rgba(255, 255, 255, 0.295);
    backdrop-filter: blur(5px);
    border-radius: 2rem;
}
.dotorg{
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.400);
}
.mobileApp{
    margin-top: 2rem;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.svg__container{
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.camera-app{
    background-color: rgb(219, 53, 53);
}
.telephone-app{
    background-color: rgb(104, 213, 104);
}
.massage-app{
    background-color: #4e4eff;
}
.app-svg{
    width: 80%;
    height: 80%;
}


html{
    font-size: clamp(10px, 4vw, 16px);
}

html, body{
    overflow-x: hidden;
    width: 100%;
}

@media (max-width: 750px){
    .power__text{
        display: none;
        color: white;
    }
}
@media (max-width: 340px){
    .power__text{
        color: white;
    }
}