body {
    margin: 0;
    min-height: 100vh;
  	background-image: url("../images/fondalpine.jpg");
  	background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  	background-attachment: fixed;
}
h2,h3 {
    color: grey;

}
button {
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    padding: 0;
}
button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
button:active {
    transform: scale(0.9);
}
iframe {
    border-radius: 15px;
    overflow: hidden;
}
/* Ordinateur */
@media (min-width: 769px) {
    body {
        color: whitesmoke;
        background-color: black;
        background-position: center;
        background-size: contain;
    }
}

/* Smartphone */
@media (max-width: 768px) {
    body {
        color: whitesmoke;
        background-position: center;
        background-size: cover;
        background-attachment: scroll;
        font-size:2.5rem;
    }}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.profile-photo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}
.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 768px) {
    .image {
        width: 25px;
        height: 25px;
    }
}

.image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.grille {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 20px;
    width: 90%;
    max-width: 1200%;
    margin: 0 auto;
}
.case {
    min-height: 300px;
    padding: 20px;
    background: transparent;
    border-radius: 15px;
    box-sizing: border-box;
}
.ligne {
    display: flex;
    align-items: center;
    gap: 8px; 
    border-radius: 50%;
}
.texte {
    width: 100px;
}
.ligne img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    overflow: hidden;
    border-radius: 50%;
}
.meteo {
    display: flex;
    justify-content: right;
    align-items: right;
    height: 100%;
    margin: 0;
    padding: 0;
}
@media (max-width: 768px) {

    .grille {
        grid-template-columns: 1fr;
        grid-template-rows:auto;
        width: 100%;
    }

    .case {
        min-height: auto;
        max-height: auto;
        width:auto;
    }
    .texte {
    width: 250px;
    }
    .ligne img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    overflow: hidden;
    border-radius: 50%;
    
    
    }
    .meteo {
        display: flex;
        justify-content: right;
        align-items: center;
        overflow: visible;
        margin: auto;
    }
    .meteo iframe {
        width: 200%;
        align-items:center;
    }
}
.case-crypto{
    grid-column: 1/3;
}
.dateHeure
{
    font-size: xx-large;
    color:gray;
    text-align: right;
}
.heureCreuse
{
    font-size: x-large;
    font-style: italic;
    color: green;
}
.heurePleine
{
    font-size: x-large;
    font-style: italic;
    color: red
}
.train-heure{
    color:whitesmoke;
}
