
/* style.css */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    
    background: linear-gradient(to bottom, #3b8361, #444);
    padding: 1rem auto;
    font-family: Arial, sans-serif;  
    
}

.iphone-frame {
    width: 360px;
    height: 760px;
    background: linear-gradient(to bottom, #57b85f, #ff8c00);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    border: 10px solid black;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    background-image: url(/imges/WhatsApp\ Image\ 2025-03-03\ à\ 00.10.11_57d56e61.jpg);
    background-size: cover;
    background-position: center;
    background-image: url(/imges/download-ios-16-wallpaper-01.webp);
    background-size: cover;
    background-position: center;
     
    
}

/* Notch */
.notch {
    width: 200px;
    height: 30px;
    background: black;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    padding: 5px 15px;
    color: white;
    font-size: 14px;
}

/* Applications Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 80px 20px 20px;
}

.app img {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    transition: transform 0.2s;
}

.app img:hover {
    transform: scale(1.1);
}

/* Dock */
.dock {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
}

.dock .app img {
    width: 50px;
    height: 50px;
}

/* Control Center */
.control-center {
    position: absolute;
    top: -1000px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 460px;
    background: rgba(19, 18, 18, 0.418);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    transition: top 0.5s;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px;
}

.control-item {
    width: 80px;
    height: 80px;
    background: rgba(10, 10, 10, 0.2);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    margin: 10px;
}

/* Animation ouverture Control Center */
-frame:hover .control-center {
    top: 60px;
}

/* Styles des icônes du Control Center */
.control-item {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    transition: background 0.3s;
}

.control-item:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Taille et bordure des icônes */
.control-item img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0px 0px 5px rgba(255, 255, 255, 0.8)); /* Ajoute un léger halo blanc */
}

#heure{
    color: aliceblue;
}





/* Style CSS pour l'écran de verrouillage */
.lock-screen {
    position: absolute;
    top: -100%; /* Caché en haut au départ */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px;
    border-radius: 35px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    transition: top 0.5s ease;
    z-index: 1;
    background-image: url(/imges/WhatsApp\ Image\ 2025-03-03\ à\ 00.10.11_57d56e61.jpg);
    background-size: cover;
    background-position: center;
    
    
    
}

/* Notifications de verrouillage */
.lock-notifications {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    background-color: rgba(255, 255, 255, 0.171);
    padding: 10px;
    border-radius: 10px;
    width: 100%;
    text-align: center;
}


.iphone-screen {
    position: absolute;
    top: 50px; /* Ajuste selon ton interface */
    left: 0;
    width: 100%;
    height: calc(100% - 50px); /* Moins la barre du haut */
    border: none;
    display: none; /* Caché par défaut */
    background: white;
}

h1{
    font-size: 500%;
    margin-top: 15%;
}

P{
    margin-top: 20%;

}

#bare{
    border-radius: 10%;
}





