*, ::before, ::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
*, ::before, ::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face{
    font-family: "Merriweather";
    src: url("../police/Merriweather/Merriweather-Regular.ttf");
}

.container-meteo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    margin: 4rem auto 0;
    position: relative;
    font-family: "Merriweather";
}
.night-container{
    background: linear-gradient(45deg, #10b0b6, #000000);
    color: wheat;
    border: 1px solid #f1f1f1;
}

.light-container{
    background: linear-gradient(45deg, #005dff, #d5dd5d);
    color: rgb(0, 0, 0);
    border: 1px solid #000000;
}

.title-meteo {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 10px;
    margin: 0;
}

.bloc-logo-info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.logo-with-info{
    display: flex;
    flex-wrap: wrap;
    padding-right: 10px;
    padding-top: 10px;
}

/* logo avec info principal */
.bloc-logo {
    width: 50%; 
    position: relative;
}

.bloc-logo img {
    width: 100%;
    height: auto;
    position: absolute;
    top: -50px;
}
.block-info {
    height: 100%;
}

/* information principal */
.bloc-info .temps {
    font-size: 40px;
}
.bloc-info .temps::first-letter {
    text-transform: capitalize;
}
.bloc-info .temperature {
    font-size: 60px;
}
.bloc-info .localisation {
    font-size: 40px;
    word-wrap: break-word;
}

.heure-bloc-prevision, .jour-prevision-bloc {
    display: flex;
}


.bloc-h, .bloc-j {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: calc(100% / 7);
    border: 1px solid #f1f1f1;
    font-size: 21px;
}
.bloc-h p, .bloc-j p{
    width: 100%;
    margin: 5px;
}
.bloc-h img, .bloc-j img{
    width: 100%;
    height: auto;
}

.heure-prevision-icon{
    width: 20px;
    height: 20px;
}

.info-current{
   display: flex; 
   justify-content: center;
    border-radius: 15px;
    width: auto;
    position: absolute;
    bottom: 10%;
    left: 20%;
}

.info-current-night{
    border: 1px solid wheat;
    background-color: black;
}
.info-current-light{
    border: 1px solid rgb(0, 0, 0);
    background-color: rgb(248, 248, 248);
}
.info-current p{
   margin: 0 10px; 
   text-transform: capitalize;
}

.info{
    display: flex;
    flex-wrap: wrap;
}


/* Animation chargement */
.overlay-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: 500;
}
.overlay-icone-chargement img {
    width: 150px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.disparition {
    opacity: 0;
}


.misa-report{
    width: 100%;
    height: auto;
    border: 9px ridge #38364c;
    margin-bottom: 10px;
}


/* slide flash info */
div.flash-info {
    width:100%;
    overflow:hidden;
    background: linear-gradient(#000000, #2738f4);
    height: auto;
    border: 2px solid gray;
    font-size: 15px;
    color: #E4F6F8;
  }
  div.slide-right p {
    -moz-animation: 5s slide-right;
    -webkit-animation: 5s slide-right;
    -o-animation: 5s slide-right;
    animation: 5s slide-right;
    margin:0;
  }
  div.slide-left p {
    -moz-animation: 5s slide-left;
    -webkit-animation: 5s slide-left;
    -o-animation: 5s slide-left;
    animation: 5s slide-left;
    margin:0;
  }
  @-webkit-keyframes slide-right { from { margin-left: 100%;width: 300%; }
    to {margin-left: 0%;width: 100%;} }
  @-moz-keyframes slide-right { from { margin-left: 100%;width: 300%; }
    to {margin-left: 0%;width: 100%;} }
   @-o-keyframes slide-right { from { margin-left: 100%;width: 300%; }
    to {margin-left: 0%;width: 100%;} }
  @keyframes slide-right { from { margin-left: 100%;width: 300%; }
    to {margin-left: 0%;width: 100%;} }
  
  @-webkit-keyframes slide-left { from {margin-left: 0%;width: 100%;}
   to {margin-left: -100%;width: 300%;} }
  @-moz-keyframes slide-left { from {margin-left: 0%;width: 100%;}
   to {margin-left: -100%;width: 300%;} }
  @-o-keyframes slide-left { from {margin-left: 0%;width: 100%;}
   to {margin-left: -100%;width: 300%;} }
  @keyframes slide-left { from {margin-left: 0%;width: 100%;}
   to {margin-left: -100%;width: 300%;} }