body{
    font-family: Palatino,Palatino Linotype,Palatino LT STD,Book Antiqua,Georgia,serif;
    background-image: url(../images/bg_image.png);
    background-color: #526c94;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin-top: 0;
    margin-bottom: 0;
    text-align: justify;
}

h3{
    margin: 0.25%;
}

h4{
    margin: 0.25%;
}

figure{
    margin: 2%;
}

.main-container{
    display: block;

    max-width: 75%;

    margin: auto;
    margin-top: 0;

    padding-left: 3%;
    padding-right: 3%;
    padding-top: 0;
    
    background-color: white;

    border-left-style: groove;

    border-right-style: groove;
}

.logo{
    width:100%; 
    background-color:#8c1f1f;
}

.carrousel-img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
}

.row {
    margin: auto;
    display: flex;
}
  
.column {
    flex: 1;
    padding: 3px;
}

nav{
    width: 100%;
    margin: 0 auto;
    top: 0px;
    border-bottom: 2px solid black;
    margin-bottom: 20px;
}

nav a{
    display: block;
    text-decoration: none;
    padding: 2px 10px;
    font-size: large;
    color: inherit;
    border: 2px solid transparent;
}

nav a:hover{
    border-bottom: 2px solid #8c1f1f;
}

nav ul{
    display: flex;
    justify-content: center;
    list-style-type: none;
}

nav ul::after{
    content: "";
    display: table;
    clear: both;
}

nav li{
    float: left;
    text-align: center;
}

@media screen and (max-width: 500px) {

    .main-container{
        width:100%;
        max-width: 100%;
    }

    .column {
        width: 100%;
    }

}