@font-face {
    font-family: "Quicksand";
    src: url('Quicksand-Regular.ttf');
}

body {
    font-family: Quicksand, sans-serif;
    margin: 0;
    padding: 0;
    background: url(photos/crayons1.jpg) no-repeat center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-attachment: fixed;
}

.nav-link {
    font-size: 120%;
    margin: 0 7px 0 7px;
}

#titre {
    color: white;
    font-size: 300%;
    text-align: center;
    padding: 20% 0 20% 0;
}

section {
    width: 100%;
    background-color: white;
}

.contenu,
.contenu2 {
    width: 100%;
    height: auto;
    padding: 5% 0 5% 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contenu a,
.contenu a:hover {
    color: black;
}

.contenu img {
    width: 40%;
    height: auto;
    border: tomato solid 4px;
    margin-bottom: 1%;
}

.card img {
    width: 100%;
    height: auto;
    border: 0;
}

.card {
    width: 500px;
    margin: 0 0 2% 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text,
.contenu a {
    padding-bottom: 2%;
    font-size: 110%;
}

a.lienphoto {
    padding: 0;
}

h2,
.date {
    padding-top: 2%;
    padding-bottom: 2%;
    font-weight: bold;
}

h3 {
    padding-top: 2%;
    padding-bottom: 2%;
}

#lienportfolio {
    margin-top: 10px;
    padding: 10px;
    border: 2px solid black;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
}

iframe {
    padding-bottom: 2%;
    text-align: center;
}

@media screen and (max-device-width: 1000px) {
    .navbar-collapse {
        text-align: center;
    }
    .navbar-nav .dropdown-menu {
        text-align: center;
    }
    #burger {
        width: 6px;
        height: 30px;
    }
    #titre {
        padding: 40% 10% 40% 10%;
    }
    .contenu {
        width: 100%;
        height: auto;
        padding: 5% 4% 5% 4%;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .contenu2 {
        width: 100%;
        height: auto;
        padding: 5% 0 5% 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .contenu a,
    .contenu p {
        font-size: 110%;
    }
    h2 {
        font-size: 200%;
    }
    .contenu img {
        width: 100%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }
    .text,
    .contenu a,
    .date {
        padding-bottom: 4%;
    }
    .card {
        width: 90%;
    }
    iframe {
        width: 352px;
        height: 240px;
        text-align: center;
    }
}