@font-face {
    font-family: 'font';
    src: url(../font/SFPRODISPLAYBOLD.OTF);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: rgb(78, 78, 78);
    color: white;
    font-family: 'font';
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}


.notification-wrapper {
    top: -100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: absolute;
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: top 0.5s ease;
}

.active-notif {
    display: grid;
    grid-template-columns: 0.2fr 1fr;
    color: black;
    border-radius: 15px;
    background-color: rgba(231, 231, 231, 0.95);
    width: 90%;
    height: 60px;
}

.notif-image {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 1/2;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
}

.notif-image img {
    border-radius: 10px;
    width: 60%;
    height: 60%;
}

.notif-title {
    font-weight: bold;
    padding-top: 5px;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.notif-content {
    font-weight: 500;
    font-size: 0.9em;

}

.notif-now {
    font-weight: 500;
    color: rgb(63, 63, 63);
    padding-top: 0px;
    padding-right: 15px;
    font-size: 0.8em;
}

.flash {
    display: none;
    box-shadow: 31px 47px 347px 200px rgb(255, 255, 255);
    -webkit-box-shadow: 31px 47px 347px 200px rgb(255, 255, 255);
    -moz-box-shadow: 31px 47px 347px 200px rgb(255, 255, 255);
    background-color: red;
    width: 150px;
    height: 150px;
    position: absolute;
    left: 48%;
    top: 20%;
    transform: translateX(-50%);
}

.opacity {
    opacity: 0%;
}

.widget-menu {
    z-index: -1;
    opacity: 0;
    left: -100%;
    border-radius: calc(40px / 1.4);
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    transition: top 0.3s ease;
    transition: all 0.3s ease;
    background-image: url(../img/IMG_7975.PNG);
    background-size: cover;
}

.app-menu {
    z-index: -1;
    opacity: 0;
    left: -100%;
    border-radius: calc(40px / 1.4);
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    transition: top 0.3s ease;
    transition: all 0.3s ease;
    background-image: url(../img/IMG_7977.PNG);
    background-size: cover;
}

.notif-menu {

    left: 0;
    position: absolute;
    width: 50%;
    height: 30px;

}



.bar {
    z-index: 5;
    cursor: pointer;
    position: absolute;
    bottom: 2px;
    width: 45%;
    height: 4px;
    background-color: rgb(48, 48, 48);
    border-radius: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.mask {
    z-index: 50;
    position: absolute;
    top: -505px;
    left: 0;
    width: 100%;
    height: 500px;
    background-color: rgb(78, 78, 78);
}

.left-mask {
    z-index: 10;
    position: absolute;
    left: calc(-100% - 5px);
    width: 100%;
    height: 100%;
    background-color: rgb(78, 78, 78);
}

.notif {
    opacity: 0;
    top: -100%;
    border-radius: calc(47px / 1.4);
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    transition: top 0.3s ease;
    transition: all 0.3s ease;
    background-image: url(../img/ios17-wallpaper-light.jpg);
    background-size: cover;
}

.date {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 50px;
}

#notif-hour {
    font-size: 5em;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.control.visible,
.notif.visible {
    transition: top 0.3s ease;
    opacity: 1;
    top: 0;
}

.control-menu {
    right: 0;
    position: absolute;
    width: 50%;
    height: 30px;

}

.control {
    opacity: 0;
    top: -100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: calc(40px / 1.4);
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(50px);
    transition: top 0.3s ease;
    transition: all 0.3s ease;
    background-color: azure;
}

.control-wrap {
    gap: 15px;
    padding: 0 10% 0 10%;
    background-image: url(../img/blur-ios17-wallpaper-light.jpg);
    background-size: cover;
    padding-top: 20px;
    width: 100%;
    height: 100%;
    border-radius: calc(40px / 1.4);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(10, 1fr);
}

.control-head {
    display: flex;
    justify-content: space-between;
    align-content: center;
    height: 15px;
    width: 100%;
    grid-column: 1/5;
    grid-row: 1/2;
}
.control-head img{
    cursor: pointer;
    width: 15px;
    filter: invert(1);
}
.control-head span{
    cursor: pointer;
}
.control-second-head {
    padding-bottom: 15px;
    display: grid;
    grid-template-columns: 1fr 0.5fr 1fr;
    grid-column: 1/5;
    grid-row: 2/3;
}

.second-head-left {
    display: flex;
    justify-content: space-evenly;
    align-items: end;
    grid-column: 1/2;
}

.cellular-sec-head {
    width: 15px;
    height: 15px;
    background-image: url(../img/icon/ios15-cellular-signal-icon.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}

.operateur-sec-head {
    margin-bottom: -2px;
    font-size: 0.8em;
}

.wifi-sec-head {
    width: 15px;
    height: 15px;
    background-image: url(../img/icon/ios15-wifi-icon.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}

.second-head-right {
    display: flex;
    justify-content: end;
    gap: 7px;
    align-items: end;
    grid-column: 3/4;
}

.pourcentage-sec-head {
    margin-bottom: -2px;
    font-size: 0.8em;
}

.battery3 {
    display: flex;
}

.battery3 img {
    width: 30px;
}

.control-spotify {
    background-color: rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-column: 1/5;
    grid-row: 3/5;
    border-radius: calc(30px / 1.4);
    background-size: cover;

}

.spotify-image {
    cursor: pointer;
    border-radius: calc(25px / 1.4);
    background-image: url(../img/icon/spotify-image.jpeg);
    background-size: cover;
    width: 85%;
    height: 85%;
}

.control-spotify-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    grid-column: 1/2;
    grid-row: 1/4;
}

.control-spotify p {
    grid-column: 2/3;
    grid-row: 1/2;
    padding-top: 15px;
}

.artist {
    color: rgb(177, 177, 177);
    font-size: 0.9em;
}

.spotify-buttons {
    grid-column: 2/4;
    padding-top: 5px;
    filter: invert(1);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    width: 100%;
    height: 50px;
}

.boutton-back {
    cursor: pointer;
    margin-left: 10px;
    grid-column: 1/2;
    grid-row: 1/2;
    width: 20px;
    height: 20px;
    background-image: url(../img/icon/back.svg);
    background-size: contain;
}

.boutton-play {
    cursor: pointer;
    margin-left: 5px;
    grid-column: 2/3;
    grid-row: 1/2;
    width: 20px;
    height: 20px;
    background-image: url(../img/icon/pause.svg);
    background-size: contain;
}

.boutton-next {
    cursor: pointer;
    margin-right: 10px;
    grid-column: 3/4;
    grid-row: 1/2;
    width: 20px;
    height: 20px;
    background-image: url(../img/icon/next.svg);
    background-size: contain;
}

.spotify-bar {
    margin-top: 5px;
    grid-column: 1/4;
    grid-row: 2/3;
    width: 90%;
    height: 3px;
    background-color: rgb(22, 22, 22);
    border-radius: 3px;
}

.spotify-timers {
    padding-right: 13px;
    margin-top: -10px;
    grid-column: 2/4;
    grid-row: 3/4;
    font-size: 0.7em;
    display: flex;
    justify-content: space-between;
}

.control-link {
    padding: 15px;
    gap: 10px;
    border-radius: calc(30px / 1.4);
    background-color: rgba(0, 0, 0, 0.5);
    grid-column: 1/3;
    grid-row: 5/7;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.control-airdrop {
    transition: background-color 0.3s ease;
    cursor: pointer;
    background-image: url(../img/icon/airdrop-removebg-preview.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 35px;
    width: 100%;
    grid-column: 2/3;
    grid-row: 1/2;
    border-radius: 50%;
    background-color: #338ffb;
    aspect-ratio: 1/1;
}

.control-wifi {
    transition: background-color 0.3s ease;
    cursor: pointer;
    background-image: url(../img/icon/ios15-wifi-icon.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
    width: 100%;
    grid-column: 1/2;
    grid-row: 2/3;
    border-radius: 50%;
    background-color: #338ffb;
    aspect-ratio: 1/1;
}

.control-avion {
    transition: background-color 0.3s ease;
    cursor: pointer;
    background-image: url(../img/icon/plane.png);
    background-size: 20px;
    ;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    grid-column: 1/2;
    grid-row: 1/2;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    /* background-color: #ff9500; */
    aspect-ratio: 1/1;
}

.control-other {
    cursor: pointer;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.other {
    width: 90%;
    height: 90%;
    border-radius: 50%;
    aspect-ratio: 1/1;
}

.control-data {
    transition: background-color 0.3s ease;
    cursor: pointer;
    background-image: url(../img/icon/ios15-cellular-signal-icon.png);
    background-position: center;
    background-repeat: no-repeat;
    background-color: #34c759;
    background-size: 10px;
    grid-column: 1/2;
    grid-row: 1/2;
}

.control-bluetooth {
    transition: background-color 0.3s ease;
    cursor: pointer;
    background-image: url(../img/icon/bluetooth.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-color: #338ffb;
    background-size: 9px;
    grid-column: 2/3;
    grid-row: 1/2;
}

.control-partage {
    transition: background-color 0.3s ease;
    cursor: pointer;
    background-image: url(../img/icon/partage-removebg-preview.png);
    background-size: 25px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.5);
    grid-column: 1/2;
    grid-row: 2/3;
}

.control-vpn {
    transition: background-color 0.3s ease;
    cursor: pointer;
    background-image: url(../img/icon/vpn.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 13px;
    background-color: rgba(0, 0, 0, 0.5);
    grid-column: 2/3;
    grid-row: 2/3;
}

.lumen-wrap {
    cursor: pointer;
    grid-column: 3/4;
    grid-row: 5/7;

}

.volume-wrap {
    cursor: pointer;
    grid-column: 4/5;
    grid-row: 5/7;

}

.control-focus {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding-left: 6px;
    border-radius: calc(30px / 1.4);
    background-color: rgba(0, 0, 0, 0.5);
    grid-column: 1/3;
    grid-row: 7/8
}

.control-focus p {
    padding-left: 5px;
    font-size: 0.9em;
}

.focus-img {
    transition: background-color 0.3s ease;
    background-image: url(../img/icon/focus.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 15px;
    width: 38%;
    border-radius: 50%;
    background-color: #ffffff2a;
    aspect-ratio: 1/1;
}

.control-encoche {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.control-encoche img {
    height: 26px;
}

.control-rotate {
    transition: background-color 0.3s ease, background-image 0.3s ease;
    cursor: pointer;
    aspect-ratio: 1/1;
    background-image: url(../img/icon/rotate.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 35px;
    grid-column: 3/4;
    grid-row: 7/8;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
}

.control-lightmode {
    transition: background-color 0.3s ease, filter 0.3s ease, transform 0.3s ease;
    transform: rotate(0deg);
    cursor: pointer;
    aspect-ratio: 1/1;
    background-image: url(../img/icon/dark-mode.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 35px;
    filter: invert(1);
    grid-column: 4/5;
    grid-row: 7/8;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
}

.control-lowermode {
    transition: background-color 0.3s ease, background-image 0.3s ease;
    cursor: pointer;
    aspect-ratio: 1/1;
    background-image: url(../img/icon/ios15-battery-status-icon.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30px;
    grid-column: 2/3;
    grid-row: 8/9;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
}

.control-flash {
    transition: background-color 0.4s ease, background-image 0.3s ease;
    cursor: pointer;
    aspect-ratio: 1/1;
    background-image: url(../img/icon/ios-flashlight-1.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 35px;
    filter: invert(1);
    grid-column: 1/2;
    grid-row: 8/9;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
}

.control.visible {
    transition: all .3s;
    opacity: 1;
    top: 0;
}

.main-wrap {
    backdrop-filter: blur(5px);
    border: 5px solid black;
    background-color: rgb(109, 107, 107);
    background-size: cover;
    border-radius: calc(47px/1.4);
    width: calc(428px/1.4);
    height: calc(926px/1.4);
}

.head {
    z-index: 500;
    display: flex;
    flex-direction: row;
    width: 100%;
    color: #000;


}

.w33 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100%/3);
    height: 100%;
}

.left {
    height: 100%;
    padding-top: 10px;
    padding-left: 2px;
    display: flex;
    justify-content: center;


}

#hour {
    z-index: -1;
    display: flex;
    height: 100%;
    width: 100%;
    align-items: end;
    justify-content: center;
    font-size: 0.8em;
}

.mid img {
    width: 300%;
    height: 26px;
}

.right-icon {
    filter: invert(1);
    z-index: -1;
    padding: 4px 15px 0 15px;
    display: flex;
    align-items: end;
    justify-content: start;
}

.right-icon img {
    width: 70%;
    height: auto;
}

.right-icon .battery img {
    height: 10px;
    width: auto;
}

.scroll-wrapper {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    height: 100%;
    width: 100%;
    border-radius: calc(40px/1.4);
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.section {
    scroll-snap-align: start;
    flex: none;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
}


.app img {
    aspect-ratio: 1/1;
    width: 100%;
    border-radius: 15px;
}

.widget img {
    aspect-ratio: 1/1;
    width: 100%;
    border-radius: 15px;
}

.big-widget img {
    width: 100%;
    border-radius: 15px;
}

.battery {
    grid-column: 1/5;
    grid-row: 1/3;
}

.battery2 {
    grid-column: 1/5;
    grid-row: 1/3;
}
.section-chat{
    z-index: -11;
    top: 0;
    left: 0;
    right: 0;
    position: absolute;
    border-radius: calc(38px / 1.4);
    background-color: #e9e9e9;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
.form_connexion_inscription {
    z-index: -10;
    color: black;
    display: flex;
    background-color: #ffffff;
    flex-direction: column;
    width: 90%;
    height: 80%;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.1);
}
.form_connexion_inscription h1{
    text-align: center;
    margin-bottom: 50px;
}
.image-conteneur{
    display: flex;
    justify-content: center;
    width: 100%;
}
.form_connexion_inscription img{
    width: 75px;
}
.form_connexion_inscription .message_error {
    color: red;
    font-size: 14px;
}
.form_connexion_inscription  label {
    color: #797979;
    font-size: 14px;
    margin: 14px 0 7px 0;
}
.form_connexion_inscription input {
    padding: 13px;
    outline: 0;
    background-color: #e9e9e9;
    border: none;
}
.form_connexion_inscription input[type='submit']{
    margin-left: 55px;
    margin-top: 20px;
    background-color: yellow;
    color: #000;
    border-radius: 100px;
    width: 50%;
}
.form_connexion_inscription .link {

    margin-top: 25px;
    font-size: 14px;
    text-align: center;
}
.link a {
    color: #1877f2;
    font-size: 14px;
    text-decoration: 0;
}
.link a:hover {
    text-decoration: underline;
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 6px;
}

/*Chat CSS*/
.chat {
    color: #000;
    background-color: #fff;
    padding:5px;
    border-radius: calc(38px / 1.4);
    width: 100%;
    height: 100%;
}
.button-email {
    margin-top: 25px;
    font-size: 20px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    
}
.img{
    margin-right: 10px;
    background-image: url(../img/avatar.jpg);
    background-size: 40px;
    background-position: center;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: solid 1px rgb(0, 0, 0);
}
.Deconnexion_btn {
    margin-left: 100px;
    padding: 5px 20px;
    color: #fff;
    background-color: #1877f2;
    font-size: 13px;
    text-decoration: 0;
    border-radius: 6px;
}
.messages_box {
    height: 470px;
    width: 100%;
    margin: 10px 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 5px 10px;
    border-top: 1px solid #999;
    display: flex;
    flex-direction: column;
}

.messages_box .message {
    margin-bottom: 5px;
    padding-left: 8px;
    width: 100%;
}

.messages_box .message span {
    font-weight: bold;
    font-size: 17px;
}

.messages_box p {
    margin-top: 0px;
    word-break: break-all;
    font-size: 14px
}

.your_message {
    border-left: 5px solid #1877f2;

}

.your_message span {
    color: #1877f2;
    margin-bottom: 0px;
}

.others_message {
    border-left: 5px solid #d61010;
}

.others_message span {
    color: #d61010;
    text-transform: uppercase;
}

.chat-date {
    width: 100%;
    text-align: end;
    color: #ccc;
}

.send_message {
    border-top: 1px solid #999;
    display: flex;
    flex-direction: row;
    padding: 10px
}

.send_message textarea {
    width: 100%;
    resize: none;
    border-radius: 6px;
    outline: 0;
    padding: 5px;
    font-size: 13px;
}

.send_message input[type='submit'] {
    width: 20%;
    padding: 5px 0;
    margin-top: 0px;
    border-radius: 6px;
    background-color: #1877f2;
    color: #fff;
    font-size: 13px;
    border: 1px solid #1877f2;
    cursor: pointer;
}

.message_inscription {
    padding: 10px 0;
    margin: 5px 0;
    text-align: center;
    background-color: green;
    color: #fff;
    font-size: 12px;
    border-radius: 6px;
}


/*Scrollbar CSS*/
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 6px;
}