@import url('https://fonts.googleapis.com/css2? family= Montserrat & display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background: url('https://images.pexels.com/photos/161901/paris-sunset-france-monument-161901.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260');
    background-size: cover;
    -webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
}

h1 {
    text-align: center;
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border-bottom: 5px solid #f1f0f0;
}

nav h1 { 
    color: #fdfaf7;
    font-family: 'Playfair Display', sans-serif;
    font-size: 30px;
}

nav .onglets {
    margin-top: 3px;
    margin-left: 300px;
}

nav .onglets a {
    text-decoration: none;
    color: #fdfafa;
    margin-right: 10px;
    border-bottom: 1px solid #fcf9f9;
    padding-bottom: 5px;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-size: cover;
    color: #fcfafa;
    padding: 40px;
}
header h1 {
    font-family: 'Playfair Display', sans-serif;
    font-size: 50px;
}

header h4 {
    margin-top: -20px;
    font-size: 20px;
    text-align: center;
    border-bottom: 1px solid #fff;
}


.main {
    margin-top: 40px;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.main .centent .card {
    display:flex;
    flex-wrap:wrap;
    justify-content: center;
    margin-bottom: 20 px;
}

.main .centent .card .left {
    flex: 0 0 30%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.507);
    color: #fff;
}



.main .centent .card.right {
    flex: 0 0 70%;
}

.main .centent .card .right img{ 
    right: 300px;
    width: 400px;
    margin-top: 5px;
}



@media screen and (max-width:600px) {
    nav .onglets {
        margin-left: 0px;
        margin-bottom: 20px;
    }
}

