/**************** GENERAL ****************/
/* html{
    scroll-behavior: smooth;
} */
body{
    font-family: 'Raleway';
    box-sizing: border-box;
}
a{
    text-decoration: none;
    color: red;
}
a:hover{
    color: rgb(45, 178, 230);
}
ul{
    list-style-type: none;
}
.bold{
    font-weight: 700;
}
.remove{
    display: none;
}
h2{
    font-size: 3em;
    color: #1b98e6;
    border-bottom: 1px solid #1b98e6;
    width: 80%;
}


/****************** HEADER ******************/
header{
    width: 100%;
    height: 600px;
    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;
}

.title_data{
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
.title_data p{
    margin: 0;
    width: 80%;
    font-size: 1.5em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .7);
    color: white;
}
.title{
    margin-left: 30px;
    margin-top: 30px;
}
.data{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    text-align: center;
    margin-right: 30px;
    margin-top: 30px;
    padding: 10px;
}
.data a{
    /* display: block; */
    font-size: x-large;
    color: white;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80px;
    backdrop-filter: blur(10px);
    padding: 0 10px;
    border-radius: 100px;
    border: 2px solid #F3DD92;;
    transition: border 0.5s;
}
  .data a:hover {
    cursor: pointer;
    backdrop-filter: blur(1000px);
    border: 2px solid red;
}

/******************** NAV ********************/

/* 
.logo_nav{
    height: 150px;
    display: flex;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(2px);
}
.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: 1400px;
    margin: auto;
    position: relative;
}
.whitebeard{
    width: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;

    position: absolute;
    top: -100px;
}
.whitebeard h2{
    margin-bottom: 60px;
    margin-left: 30px;
}

.suns{
    margin: 10px 0;
}
.suns img{
    width: 300px;
}
.bulletins{
    display: flex;
    align-items: center;
}
.bulletin_img{
    position: relative;
}
.bulletin_img p{
    width: 90%;
    color: black;
    margin: auto;
    padding: 0 5px;
    /* position: absolute; */
    display: flex;
    justify-content: space-between;
    /* text-shadow: 1px 1px 2px rgba(0, 0, 0, .7); */
}
.suns{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.intro_news{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    position: relative;
    /* margin-bottom: 60px; */
}
.intro_news > a{
    display: block;
    width: 300px;
    color: black;
}
.news_img{
    height: 300px;
    width: 300px;
    overflow: hidden;
}
.intro_news a img{
    height: 100%;
    transition: transform 0.2s;
}
.intro_news h3{
    font-size: x-large;
    margin: 10px 0;
}
.intro_news p{
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}
.intro_news a:hover{
    cursor: pointer;
}
.intro_news a:hover img{
    transform: scale(1.1);
}



/* 
.intro_news > div{
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;

    background-color: #EE732F;
    color: white;
    transition: background-color 0.9s;
    
    position: relative;
}
.intro_news h3{
    text-align: center;
    font-size: 2em;
}
.news_metadata{
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
}
.intro_news p{
    padding-left: 5px;
    width: 60%;
    border-bottom: 1px solid #EE732F;
    font-size: x-large;
}
.intro_news div:hover{
    background-color: white;
    color: #EE732F;
    cursor: pointer;
} */



/************** MEDIA QUERIES ****************/

@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;
    }
    .menu_links a {
        font-size: medium;
    } */
    .before_footer{
        margin-top: 0px;
    }
}

@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: 100%;
        padding: 0;
        margin: auto;
    }
}
@media (max-width: 900px){ /* Special menu, avant hamburger */
    .logo img{
        /* width: 150px; */
        height: 100px;
        /* border-radius: 5%; */
    }
    .logo_nav{
        justify-content: flex-end;
        align-items: center;
        height: 100px;
    }
    /* .menu {
        width: 80%;
    }
    .menu_links a, .menu_name {
        font-size: small;
    }
    .menu_name{
        width: 100px;
    }
    .menu_list > li{
        flex-grow: 1;
    } */
    .data{
        padding: 0;
    }
}

@media (max-width: 650px){ /* Phablets, on change tout à partir d'ici, surtout le menu */
    .whitebeard h2{
        display: none;
    }
    /* .menu{
        display: none;
    }
    .menu_responsive{
        display: initial;
        height: 100%;
        width: 100%;
    }
    .menu_responsive img{
        display: initial;
    } */
    .logo_nav{
        backdrop-filter: none;
    }
    .data{
        margin-top: 50px;
    }
    .intro_news > a {
        width: 100%;
        background-color: #063dbd;
        color: white;
    }
    .news_img{
        width: 100%;
        height: auto;
    }
    .intro_news a img {
        width: 100%;
        height: auto;
    }
    .intro_news h3 {
        text-align: center;
    }
    .intro_news p {
        justify-content: space-evenly;
    }

    .suns {
        margin: 0;
    }
    .suns img{
        width: 100%;
        height: 100%;
    }
    .bulletins{
        width: 100%;
    }
    .bulletin_img p {
        margin: revert;
        width: 98%;
    }
    .bulletin_img{
        width: 100%;
    }

}

