@import url('https://fonts.googleapis.com/css?family=Rubik&display=swap');
#container-flex {
    display: flex;
    flex-direction: row;
    width: 100%;
}
header{
    background-color: rgb(0, 0, 0);
    display: flex;
    padding-top: 10px;
    padding-bottom: 20px;
    height: 60px;
}
nav{
    color: rgb(108, 147, 230);
    justify-content: flex-end;
    display: flex;
    width: 60%;
    padding-left: 20%;
    padding-top: 2%;
    padding-bottom: 2%;  
}
div{
    width: 100px;
    display: flex;
    height: 25px;
    padding-top: 1.9%;
}
div img{
    width: 100%;
    display: block;
    padding-left: 70%;
}
a{
    color: rgb(255, 255, 255);
    padding-left: 2%;
    padding-right: 2%;
    justify-content: space-around;
}
a:hover{
    transform: scale(120%);
    transition: 1s;
}
body {
    margin: 0 auto;
    padding: 0;
    width: 100%;
    background-color: white;
    font-family: 'Rubik', sans-serif;

}
#ste-croix {
    background: url('../images/ste-croix.jpg') center no-repeat;
    background-size: cover;
    width: 25%;
}
#moudon {
    background: url('../images/moudon.jpg') center no-repeat;
    background-size: cover;
    width: 25%;
}
#lausanne {
    background: url('../images/lausanne.jpg') center no-repeat;
    background-size: cover;
    width: 25%;
}
#orbe {
    background: url('../images/orbe.png') center no-repeat;
    background-size: cover;
    width: 25%;
}
#montreux {
    background: url('../images/montreux.jpg') center no-repeat;
    background-size: cover;
    width: 25%;
}
article {
    height: 700px;
}
h2 {
    background-color: rgba(0, 128, 255, 0.3);
    font-size: 1.2rem;
    padding: 10px;
    margin: 0px;
}
p {
    padding: 2px;
    margin: 0px;
    font-size: .9rem;
    background-color: rgba(255, 140, 0, 0.4);
}