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

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #f1f1f1;
    background: linear-gradient(45deg, rgb(59,50,50), rgb(22,28,29));
    height: 100vh;
}

.maxwidth {
    width: 800px;
    height: 600px;
    background: linear-gradient(45deg, #1068b6, #ec60a6);
    display: grid;
    grid-template: 100px 300px 100px 100px / repeat(8, 100px);
    margin: 100px auto 0;
    position: relative;
    border: 1px solid #f1f1f1;
}

header {
    /* deb row / deb col / fin row / fin col */
    grid-area: 1 / 1 / 2 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #f1f1f1;
}

section {

    /* deb row / deb col / fin row / fin col */
    grid-area: 2 / 1 / -1 / -1;
    display: grid;
    grid-template: 300px 100px 100px / repeat(8, 100px);

}

.principal {

    /* deb row / deb col / fin row / fin col */
    grid-area: 1 / 1 / 2 / -1;
    display: flex;
    justify-content: center;
    align-items: center;

}

.logo {

    width: 50%;

}

.logo img {

    width: 100%;
}

.info {

    width: 50%;

}

.info .typeDetemps {

    font-size: 40px;

}

.info .typeDetemps::first-letter {

    text-transform: capitalize;

}

.info .temperature {

    font-size: 60px;

}

.info .localisation {

    font-size: 40px;
    word-wrap: break-word;

}

.heure {

    grid-area: 2 / 1 / 3 / -1;
    display: grid;
    grid-template: 100px / repeat(7, 1fr);

}

.jour {

    grid-area: 3 / 1 / -1 / -1;
    display: grid;
    grid-template: 100px / repeat(7, 1fr);

}

.h, .j {

    display: flex;
    justify-content: center; /*alignement sur x*/
    align-items: center;    /*alignement sur y*/
    flex-direction: column; /*disposition sur en colonne (l'un sous l'autre) au lieu de row (l'un apres l'autre)*/
    border-top: 1px solid #f1f1f1;
    font-size: 21px;

}

.h:not(:last-child), .j:not(:last-child){

    border-right: 1px solid #f1f1f1;

}

.h p, .j p {

    margin: 5px;

}

/* Animation chargement */

.icone-chargement {
    
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgb(59,50,50), rgb(22,28,29));
    transition: opacity 1.1s ease-out;
    z-index: 1000;

}

.icone-chargement img {

    width: 150px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.disparition {

    opacity: 0;

}