@import url('https://fonts.googleapis.com/css2?family=Galada&display=swap');
@import 'header.css';
@import 'footer.css';

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

:root {
    --very-light-blue: #2b5ea2;
    --light-blue: #083e87;
    --medium-blue: #142b60;
    --hight-blue: #002348;
    --grey: #EAEAEA;
    --white: #fff;
    --black: #333;
}

body {
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    background: linear-gradient(to right, var(--light-blue), var(--medium-blue), var(--hight-blue));
    font-size: 1.4em;
    line-height: 1.4em;
    color: var(--black);
    background-color: var(--white);
}

.main {
    background: var(--grey);
    margin: 0 3% 38px 3%;
    padding: 20px;
    border: 1px solid transparent;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
}

#scroll_to_top {
    position: fixed;
    bottom: 50px;
    right: 30px;
}

#scroll_to_top a:hover {
    display: inline;
}

footer {

}

a, a:focus, a:hover, .card a, .card a:focus,.card a:hover {
    text-decoration: none;
    color: var(--white);
}

.titre-principal {
    font-size: 4em;
    color: var(--hight-blue);
    text-align: center;
    word-wrap: break-word;
}


.titre-secondaire {
    color: var(--hight-blue);
    text-align: center;
    font-size: 3em;
}

.titre-tertiaire {
    color: var(--medium-blue);
    text-align: center;
    font-size: 2.5em;
}

.block-haut {
    display: flex;
    flex-wrap: wrap;
}


.block-description {
    margin-top: 35px;
}

.cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    text-align: center;
    background: var(--white);
}

.card {
    width: 300px;
    border: 1px solid transparent;
    box-shadow: rgba(69, 67, 69, 0.57) 1px 1px 10px 0px;
    border-radius: 0 0 2px 2px;
    margin: 25px;
}

.card-header {
    background: var(--very-light-blue);
    color: var(--white);
    border-radius: 2px 2px 0 0;
    height: 85px;
    padding: 10px 5px 10px 5px;
}

.card-body {
    padding-top: 15px;
    padding-bottom: 15px;
    color: var(--very-light-blue);
}

.card-body a, .card-body a:focus,.card-body a:hover {
    color: var(--very-light-blue);
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.lien-tv a, .lien-tv a:focus, .lien-tv a:hover{
    display: inline-block;
}

ul {
    list-style: none;
}

@media screen and (min-width: 768px) {

    iframe {
        height: 600px;
        width: 900px;
    }

}

.attribution {
    text-align: right;
}

a.lien-fixed {
    display: inline;
    color: var(--hight-blue);
}

footer a:hover {
    display: inline-block;
}

.titre-erreur {
    color: var(--white);
}

.lien-accueil-erreur, .lien-accueil-erreur:hover {
    color: var(--white);
    font-size: 1.5em;
}

.xmas-bonnet {
    z-index: 100;
    width: 32px;
    display: inline-block;
    position: absolute;
    rotate: -45deg;
    top: 0;
    left: 0;
}

.xmas-icon {
    width: 32px;
}

.img-responsive{
    margin:auto;
}
