/**************** GENERAL ****************/
/* html{
    scroll-behavior: smooth;
} */
body{
    font-family: 'Raleway';
    box-sizing: border-box;
}
a{
    text-decoration: none;
    color: #05a35f;
}
a:hover{
    color: rgb(13, 106, 143);
}
ul{
    list-style-type: none;
}
.bold{
    font-weight: 700;
}
.remove{
    display: none;
}
h2{
    font-size: 2.5em;
    width: 90%;
    border-bottom: 1px solid #1b98e6;
    margin-top: 60px;

    color: #1b98e6;
}
h3{
    font-size: 2em;
    color: #1b98e6;
}


/****************** HEADER ******************/
header{
    width: 100%;
    margin-bottom: 60px;
    background-image: url("../../static/img/pre_home/earth-seen-from-space_mini_rotate.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: black;
    /* display: flex;
    flex-direction: column;
    justify-content: space-between; */
}
header h1{
    margin: 0;
    font-size: 5em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .7);
    color: white;
    text-align: center;
    width: 80%;
}

.title_content{
    height: 300px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/******************** NAV ********************/
/* 
.logo_nav{
    height: 150px;
    display: flex;
    position: relative;
    z-index: 10;
}
.container nav{
    display: flex;
    justify-content: space-between;
    width: 80%;
}
.logo{
    position: absolute;
    left: 0;
}
.logo img{
    height: 150px;
}
.logo p{
    font-size: 8px;
    color: black;
}



.menu{
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.menu_list{
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}
.menu_list > li{
    display: flex;
    justify-content: center;
    align-items: center;

    background: linear-gradient(to top, #063dbd 50%, transparent 50%);
    background-size: 100% 200%;
    background-position: top;
    transition: background-position 0.3s ease-in-out;
    color: white;
}
.menu_name{
    width: 250px;
    height: 100%;
    position: relative;
    z-index: 1;

    display: flex;
    justify-content: center;
    align-items: center;
    font-size: x-large;
}
.menu_links{
    margin: 0;
    padding: 0;
    position: absolute;
    left: 0;
    top: 150px;
    height: 0px;
    width: 100%;
    background: #063dbd;
    overflow: hidden;
    transition: height 0.3s;
    
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.menu_links a{
    font-size: x-large;
    color: white;
    display: flex;
    align-items: center;
    height: 100%;
}
.menu_links a:hover{
    cursor: pointer;
}

.menu_list > li:hover .menu_links{
    height: 200px;
}
.menu_list > li:hover{
    background-position: bottom;
}

.menu_responsive img{
    position: fixed;
    top: 0;
    right: 0;
    display: none;
    width: 50px;
    margin: 10px;
    z-index: 2;
}
.menu_responsive .toggle_menu_res{
    top: 0;
}
.menu_list_res{
    height: 100%;
    width: 100%;
    position: fixed;
    padding: 0;
    margin: 0;
    top: -1500px;
    left: 0;
    background-color: #063dbd;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    font-size: large;
    padding-left: 10px;
    color: rgb(175, 175, 175);
}
.menu_list_res a{
    color: white;
}
 */




/******************** CONTENT ******************/
.content{
    width: 1300px;
    margin: auto;
}
.content_text{
    width: 900px;
    margin: auto;
    text-align: justify;
}
/********************* CARDS *******************/
.cards{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}
.cards > a{
    height: 400px;
    width: 350px;
    display: block;
    margin: 10px;
}
.special_card{
    height: 400px;
    width: 350px;
    margin: 10px;
    background-color: grey;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card{
    width: 100%;
    height: 100%;
    background-color: grey;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card:hover{
    cursor: pointer;
}
.card:hover h4{
    font-size: 2.7em;
}

.card h4, .special_card h4{
    font-size: 2.5em;
    color: whitesmoke;
    margin: 0 0 0 20px;
    /* border-bottom: 1px solid white; */
    /* text-align: center; */
    /* width: 80%;
    margin: auto; */

    transition: font-size 0.1s;
}
.card h5, .special_card h5{
    color: white;
    width: 70%;
    border-bottom: 1px solid white;
    margin-left: 10px;
}
.card div, .special_card div{
    height: 110px;
    font-size: 1em;
    backdrop-filter: blur(100px);
    padding: 10px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card .card_details, .special_card_details{
    color: white;
    font-size: 0.9em;
    margin: 0;
}
.card .card_institut{
    color: white;
    font-size: 0.8em;
    margin: 0;
}

.affiches{
    background-image: url("../../static/img/meteo/affiche.png");
    background-repeat: no-repeat;
    background-position: center;
}
.planeterrela{
    background-image: url("../../static/img/meteo/p_conche_62_.jpg");
    background-repeat: no-repeat;
    background-position: center;
}
.meteo_espace{
    background-image: url("../../static/img/meteo/je_meteoespace_soleilactivite.jpg");
    background-repeat: no-repeat;
    background-position: center;
}
.eruption{
    background-image: url("../../static/img/meteo/youtube_eruption.png");
    background-repeat: no-repeat;
    background-position: left;
}
.sonar{
    background-image: url("../../static/img/meteo/sonar.png");
    background-repeat: no-repeat;
    background-position: unset;
}
.podcast{
    background-image: url("../../static/img/meteo/podcast_inter-copie.png");
    background-repeat: no-repeat;
    background-position: unset;
}
.tempete{
    background-image: url("../../static/img/meteo/pitout2.png");
    background-repeat: no-repeat;
    background-position: unset;
}
.deboeck{
    background-image: url("../../static/img/meteo/deboeck.png");
    background-repeat: no-repeat;
    background-position: bottom;
}
.arte{
    background-image: url("../../static/img/meteo/arte.png");
    background-repeat: no-repeat;
    background-position: left;
}
.clea{
    background-image: url("../../static/img/meteo/sun_colors.jpg");
    background-repeat: no-repeat;
    background-position: bottom;
}
.manga{
    background-image: url("../../static/img/meteo/couv1.png");
    background-repeat: no-repeat;
    background-position: inherit;
}
.atlas{
    background-image: url("../../static/img/meteo/9782344065808-001-T.jpeg");
    background-repeat: no-repeat;
    background-position: bottom;
}

.cards .special_card_institut{
    text-align: center;
}
.special_card_institut, .special_card_institut a{
    color: white;
    font-size: 1.2em;
    margin: 0;
}


/********************** BULLETINS **********************/
.new_bulletin{
    display: flex;
    justify-content: center;
}
.new_bulletin > div > div{
    height: 200px;
    display: flex;
    align-items: center;
    padding: 5px;
    margin: 2px;
}
.b_name{
    width: 20%;
    font-weight: 700;
    font-size: x-large;
}
.b_obs, .b_for{
    width: 35%;
}
.b_obs div:nth-child(1), .b_for div:nth-child(1){
    justify-content: center;
    font-weight: 700;
    font-size: x-large;
}
.b_obs div:nth-child(1), .b_for div:nth-child(1), .b_name div:nth-child(1){
    height: 100px;
}



/************************ BULLETINS ***********************/
/********************** COLORS TABLE **********************/
.code_colors{
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: center;
    margin: 30px 0;
    font-size: 1.3em;
}
.code_colors div{
    width: 20%;
    border: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
}
.code_colors div:nth-child(1){
    background-color: #A0FA4E;
}
.code_colors div:nth-child(2){
    background-color: #FFFD54;
}
.code_colors div:nth-child(3){
    background-color: #F9D749;
}
.code_colors div:nth-child(4){
    background-color: #F09135;
}
.code_colors div:nth-child(5){
    background-color: #EA3223;
}
.code_colors div:nth-child(6){
    background-color: #A12F29;
}
.swap_bulletins:hover{
    cursor: pointer;
}

/********************** BULLETINS **********************/
/******************** BULLETINS IMG ********************/
.indices{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.hr_bulletins{
    margin: 50px 0;
}
.indices img{
    max-width: 600px;
}

/********************** BULLETINS **********************/
/************************ POPUP ************************/
.indices_div{
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background-color: rgba(0, 0, 0, .7);;
}
.container .indices .popup_img{
    position: fixed;
    max-width: 1000px;
    /* Vertical alignement */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Vertical alignement */
    width: 1000px;
}


/********************* INSTRUMENTS *********************/
/******************* INSTRUMENTS IMG *******************/
.instruments{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px;
}
.instruments > img{
    width: 400px;
}
.instruments > div{
    width: 50%;
}
.instruments h3{
    margin-bottom: 0;
}
.instruments .logo_lpp, .logo_odp, .logo_asnr,
.logo_ipag, .logo_iasb, .logo_lira, .logo_cnrs, .logo_oca, .logo_nipr, .logo_omp{
    width: 120px;
    display: block;
    margin: auto;
}
.logo_lira, .logo_cnrs, .instruments .logo_esa, .instruments .logo_irap, .instruments .logo_erems{
    width: 100px;
    display: block;
    margin: auto;
}
.logo_insu, .logo_ipev{
    width: 250px;
    display: block;
    margin: auto;
}
.logo_orn{
    width: 400px;
    display: block;
    margin: auto;
}
.instruments .logo_onera{
    height: 40px;
    display: block;
    margin: auto;
}
.instruments .logo_cnes{
    width: 180px;
    display: block;
    margin: auto;
}

.span_block{
    display: block;
}
hr{
    width: 50%;
    margin: 50px auto;
}



/********************* DASHBOARD *********************/
.dash_categories{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.dash_categories > details:nth-child(1) > summary{
    background-color: #A0FA4E;
}
.dash_categories > details:nth-child(2) > summary{
    background-color: #dbd718;
}
.dash_categories > details:nth-child(3) > summary{
    background-color: #F9D749;
}
.dash_categories > details:nth-child(4) > summary{
    background-color: #F09135;
}
.dash_categories > details:nth-child(5) > summary{
    background-color: #EA3223;
}

.dash_categories > details > summary{
    width: 300px;
    height: 300px;
    margin: 10px;
    padding: 10px;
    color: white;
    font-size: xx-large;
    font-weight: 700;

    display: flex;
    justify-content: center;
    align-items: center;
}
.dash_categories summary:hover{
    cursor: pointer;
}
.dash_categories > details{
    display: flex;
    align-items: center;
}
.dash_categories details p{
    color: black;
}
.dash_categories > details > details{
    width: 100vh;
}
.dash_categories > details > details > summary{
    height: 80px;
    display: flex;
    align-items: center;
    font-size: xx-large;
    font-weight: 700;
}



.dash_test{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.dash_test > div{
    height: 70px;
    width: 15%;
    text-align: center;
}


/********************* DASHBOARD *********************/
/********************** CHARTS ***********************/
svg > path{
    stroke-width: 1.5;
    transition: stroke-width 0.5s;
}

svg:hover > path{
    stroke-width: 2.5;
}

/********************* OTHER PAGES *********************/
/******************* PROJECTS FUNDED *******************/
.logo_hemeria{
    width: 150px;
    float: left;
}
.logo_serpentine{
    width: 100px;
    float: left;
    margin: 10px;
}
.project_fundeds .logo_esa{
    width: 130px;
    float: left;
    margin: 10px;
}

/********************* OTHER PAGES *********************/
/***************** SERVICES MAINTAINED *****************/
.all_logos{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
.all_logos img{
    margin: 10px;
}
.logo_paris{
    width: 250px;
}
.logo_cercle{
    height: 60px;
}
.logo_climso, .logo_cdpp{
    width: 160px;
}
.logo_darn{
    width: 180px;
}
.logo_medoc{
    width: 150px;
}
.logo_isgi{
    width: 70px;
}


/********************* OTHER PAGES *********************/
/*********************** SW DATA ***********************/
.border{
    border-bottom: 2px solid #1b98e6;
}
.cast_data{
    height: 60px;
    display: flex;
    justify-content: space-around;
    font-size: 2em;
    color: #1b98e6;
    position: sticky;
}
.data_nowcast, .data_forecast{
    text-align: center;
}
.data_nowcast video, .data_forecast video{
    width: 600px;
    margin: 10px;
}
.data_forecast img{
    width: 800px;
}

/********************* OTHER PAGES *********************/
/******************** MAGNETO DATA *********************/
.data_magneto{
    display: flex;
    align-items: center;
    justify-content: center;
}
.data_magneto > div{
    width: 30%;
}
.data_magneto p{
    margin: 5px;
    text-align: justify;
}
.craterre img{
    margin-top: 30px;
}
.cercle p{
    width: 40%;
    margin: 5px;
    text-align: justify;
}
.cercle > div{
    display: flex;
    justify-content: space-evenly;
}
.cercle div:nth-child(2) img{
    width: 500px;
}
.cercle div:nth-child(3) img{
    width: 500px;
}


/********************* OTHER PAGES *********************/
/************************ NEWS *************************/
.news_box{
    height: 300px;
    width: 100%;
    margin: 20px 0;
    display: flex;
    align-items: center;
}
.news_img{
    height: 100%;
    width: 30%;
    overflow: hidden;
}
.news_img img{
    height: 100%;
}
.news_text{
    width: 70%;
    margin: 10px;
}



/*********** BEFORE FOOTER SPECIAL ***********/
.before_footer{
    margin-top: 100px;
}


/************** MEDIA QUERIES ****************/
@media (min-width: 2000px){

}
@media (max-width: 1400px){
    .content{
        width: 100%;
    }
    .menu_name {
        width: 200px;
        font-size: large;
    }
}

@media (max-width: 1200px){
    .title_data {
        margin-top: 60px;
    }
    .whitebeard{
        position: initial;
    }
    .menu_name {
        width: 150px;
        font-size: medium;
    }
    /* .before_footer{
        margin-top: 0px;
    } */
    .menu_links a {
        font-size: medium;
    }
}

@media (max-width: 1000px){ /* Phablets, on change tout à partir d'ici, surtout le menu */
    header h1{
        font-size: 3em;
        text-align: center;
    }
    .title, .data {
        margin-left: 0px;
        margin-right: 0px;
        margin-top: 0px;
    }
    .title p{
        display: none;
    }
    .title_data {
        flex-direction: column;
        margin-top: 60px;
    }
    .data{
        height: 200px;
    }
    .data a{
        font-size: 1.5em;
        border-radius: 1px;
        border: none;
        width: 95%;
        margin: auto;
    }
}
@media (max-width: 900px){ /* Special menu, avant hamburger */
    .logo_nav{
        justify-content: flex-end;
    }
    .menu_links a, .menu_name {
        font-size: small;
    }
    .menu_name{
        width: 100px;
    }
    .menu_list > li{
        flex-grow: 1;
    }
    .data{
        padding: 0;
    }
    .content_text {
        width: 100%;
    }
    .content_text p, .content_text h2{
        margin: 10px;
    }

}
@media (max-width: 650px){ /* Phablets, on change tout à partir d'ici, surtout le menu */
    .whitebeard h2{
        display: none;
    }
    .logo_nav{
        align-items: center;
        height: 100px;
    }
    .logo img{
        /* width: 150px; */
        height: 100px;
        /* border-radius: 5%; */
    }
    .menu{
        display: none;
    }
    .menu_responsive{
        display: initial;
        height: 100%;
        width: 100%;
    }
    .menu_responsive img{
        display: initial;
    }
    .data{
        margin-top: 50px;
    }


    .cards > a {
        width: 100%;
        margin: initial;
    }
    .special_card{
        margin: initial;
    }
    .card .card_details, .special_card_details {
        font-size: large;
    }
    .card .card_institut {
        font-size: large;
    }
    .podcast, .atlas {
        background-size: cover;
    }
    .special_card {
        width: 100%;
    }
}