@font-face {
    font-family: "mtdbt2f-F";
    src: url("../font/mtdvt2f-F.ttf") format('trutype');

}


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

body {

    font-family: "mtdbt2f-F";
    /*Arial, Helvetica, sans-serif;*/
}

.header {
    background-color: #f1f1f1;
    padding: 30px;
    text-align: center;
}

#navbar {
    overflow: hidden;
    background-color: black;
}

#navbar a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 30px;
}

#navbar a:hover {
   font-style: italic;
}

/*#navbar a.active {
    background-color: white;
    color: blue;
}*/


.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    /*block;*/
    clear: both;

}

.sticky + .row {
    padding-top: 60px;
}

.row a {
    text-decoration: none;
}

h1 {
    font-size: 25px;
    line-height: 1.2;
    margin-top: 7vh;
}



[class*="col-"] {
    float: left;
    padding: 5vw;
}

/* Create four equal columns that floats next to each other */
.column {
    float: left;
    width: 20%;
    margin-top: 4vh;
    padding: 1.5vw;
    height: auto;
    /*border: 1px solid red;*/
}

.column img {
    float: right;
    margin: 2%;
    opacity: 1;
    display: inline;
}


.column img:hover {

    opacity: 0.3;
    transition: all 2s;
}

.column img.two {
    margin-right: -30%;
}

.column img.three {
    margin-left: -30%;
}

.column img.four {
    margin: 12%;
}

.column img.five {
    margin-top: 15%;
}

footer {
    padding-top: 30px;
    width: 50%;
    margin: auto;
    text-align: center;
    margin-bottom: 15px;
}

footer ul {
    list-style-type: none;
}

footer ul li {
    display: inline;
    padding: 15px 0;
    margin: 0 10px;
}

footer ul li a {
    font-family: "mtdvt2f-F";
    font-size: 14px;
    color: #760001;

}

footer ul li a:hover {
    color: #CC0000;
}




/* Responsive layout - pour mettre en place une largeur de 2 colonnes si la largeur du navigateur et de l'écran est de 800px maximum*/
@media only screen and (max-width: 800px) {

    /*premier "breakpoint"*/
    header {
        background-color: azure;
        transition: all 2s;
    }

    .column {
        width: 50%;
    }

    .column img {
        width: 100%;
        padding: 0%;
        margin: 0%;
    }

    .column img.two {
        margin-right: 0%;
    }

    .column img.three {
        margin-left: 0%;
    }

    .column img.four {
        margin: 0%;
    }

    .column img.five {
    margin-top: 0%;
}
    h1 {
        font-size: 25px;
        line-height: 1.5;
    }
}

/* Responsive layout -chaque colonne prend 100% de l'espace disponible/destiné aux smartphones */
@media only screen and (max-width: 600px) {
    /*second "breakpoint"*/

    header {

        display: none;
        /*background-color: seashell;
        transition: all 2s;*/
    }

    #navbar a {
        float: left;
        font-size: 20px;
    }

    .column {
        width: 100%;
        padding-left: 14vw;
        margin: 0%;
        padding: 0%;
    }


    .column img {
        width: 100%;
        padding: 4%;
        margin-left: 0%;
        margin-right: 0%;
    }



    footer {
        display: block;
        border: 1px solid gray;
    }
}
