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

* {
    margin: 0 auto;
    padding: 0;
    max-width: 900px;
}


article {
    height: 300px;
    width: 20%;
}

h2 {
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 1.2rem;
    padding: 10px;
    margin: 0px;
    color: white;
}

p {
    padding: 2px;
    margin: 0px;
    font-size: .9rem;
    background-color: rgba(255, 140, 0, 0.4);
}

#container {

    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
}


header {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    align-items: center;
    padding: 10px 0 10px 0;
    background-color: rgb(0, 0, 0);
    height: 100px;
}

header div {
    width: 100px;
}

header div img {
    width: 100%;
    display: block;

}

nav {
    width: 60%;
    display: flex;
    padding: 5px;
    height: 80px;

    align-items: center;
    justify-content: center;
    color: white;
}

nav a {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 1.3rem;
    color: white;
}

#les-villes {
    display: flex;
    flex-direction: row;
    width: 100%;
}

body {
    margin: 0 auto;
    padding: 0;
    width: 100%;
    background-color: rgb(177, 144, 144);
    font-family: 'Rubik', sans-serif;

}

#ste-croix {
    background: url('../images/ste-croix.jpg') center no-repeat;
    background-size: cover;
}

#moudon {
    background: url('../images/moudon.jpg') center no-repeat;
    background-size: cover;
}

#lausanne {
    background: url('../images/lausanne.jpg') center no-repeat;
    background-size: cover;
}

#orbe {
    background: url('../images/orbe.png') center no-repeat;
    background-size: cover;
}

#montreux {
    background: url('../images/montreux.jpg') center no-repeat;
    background-size: cover;

}
h1{
    background-color: rgb(29, 29, 66);
    color: white;
    padding: 50px 0px 50px 0px;
    width: 450px;
    text-align: center;
    
    
}
#introduction{
    display: flex;
    flex-direction: row;
}
#prix{
    display: flex;
    flex-direction: column;
    width: 450px;
    justify-content: flex-end;
    background: url(../images/prix.jpg);
    background-size: cover;

}
#ville-semaine{
    display: flex;
    flex-direction: row;
    width: 100%;
}
#ville-semaine-titre{
    height: auto;
    background: url(../images/ste-croix.jpg);
    background-size: cover;
    flex: 1.5;
}
#ville-semaine-explication{
    width: 300px;
    flex: 1;
    h2{
        background-color: white;
        color: rgb(18, 18, 189);
    }

    p{
        background-color: rgb(49, 49, 232);
        color: white;
        padding: 10px;}
}
#concours{
    display: flex;
    flex-direction: row;
    flex: 100%;
}
#concours-titres{
    flex-direction: row;
    text-align: center;
    flex: 20%;
    justify-content: flex-start;
    h3{
        background-color: rgb(49, 49, 99);
        color: white;
        padding: 10px;
    }
    p{
        background-color: rgb(137, 62, 62);
        color: rgb(184, 165, 165);
        padding: 10px 10px 150px 10px;
    }
}
#concours-texte1{
    background-color: rgb(92, 133, 207);
    color: rgb(192, 176, 176);
    padding: 10px;
    flex: 30%;
}
#concours-texte2{
    background-color: rgb(32, 32, 68);
    color: rgb(145, 128, 128);
    padding: 10px;
    flex: 30%;
}
#participer{
    flex: 20%;
    background-color: rgb(0, 0, 33);
    color: rgb(227, 205, 205);
    padding: 50px 10px 10px 10px;
    text-align: center;
    font-size: 20px;
}


