@charset "utf-8";
/* CSS Document */

/*==========================================================*/
/************************GENERAL*****************************/
/*==========================================================*/

* {
	padding: 0px;
	margin: 0px;
	box-sizing: border-box;
}

html, body {
    width: 100%;
    height: auto;
/*    min-width: 455px;*/
}

body {
    width: 100%;
    height: auto;
	background-color: #191919;
	font-family: 'Open Sans', sans-serif;
    color: #ffffff;
    position: relative;
}

h1 {
    font-size: 36px;
    font-weight: 700;
    color: black;
}

h2 {
    font-size: 16px;
    color: black;
}

/*==========================================================*/
/************************BILLEDE*****************************/
/*==========================================================*/

.wrapper {
    width: 100%;
    height: 100vh;
    background-color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.content {
    width: auto;
    height: auto;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-content: center;
}

article {
    width: 400px;
}

article.top {
    margin-right: 25px;
}

figure {
    width: 400px;
    height: 285px;
    border: 1px solid black;
    margin-bottom: 15px;
    overflow: hidden;
}

figure img {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.links {
    display: flex;
    flex-direction: column;
}

.link {
    width: 100%;
    height: 50px;
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}

.link:hover {
    color: black;
    border: 1px solid black;
    background: white;
}

p {
    font-size: 9px;
    color: gray;
}

@media (max-width: 980px) {
    
    body {
        width: 100%;
        height: 100%;
        background-color: #191919;
        font-family: 'Open Sans', sans-serif;
        color: #ffffff;
        position: relative;
    }
    
    header {
        margin-top: 35px;     
    }
    
    .wrapper {
        height: 100%;
        padding: 0px;
    }
    
    .content {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
    
    article {
        width: 100%;
    }
    
    article.top {
        margin-right: 0px;
        margin-bottom: 25px;
    }
    
    figure {
        max-width: 400px;
        width: 100%;
        height: auto;
        border: 1px solid black;
        margin-bottom: 15px;
        overflow: hidden;
    }
    
    figure img {
        object-fit: cover;
        width: 100%;
        height: auto;
    }
}