@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&display=swap');

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

nav {
    background-color: #BF0202;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'kalam';
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 99999;
}

nav img {
    margin: 10px;
    height: 30px;
    margin-left: 20px;
}

nav div a {
    background-color: #BF0202;
    color: black;
    border: 0;
    font-size: 20px;
    margin-right: 20px;
    text-decoration: none;
}

nav .navbar {
    display: none;
    flex-direction: column;
    width: 100%;
    top: 58px;
    text-decoration: none;
    font-family: 'kalam';
    font-weight: 300;
    font-size: 50px;
    text-align: center;
    position: absolute;
}

.navbar a {
    color: white;
    font-size: 50px;
}

.menu2 {
    display: none;
}

header {
    padding: 10px;
    margin-left: 100px;
    margin-right: 60px;
   
    text-decoration: underline;
    font-family: 'kalam';
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

header div {
    display: flex;
    justify-content: center;
}

header .barrecherche {
    display: none;
}

.logor:hover .barrecherche {
    display: block;
}

h1, h2, h4 {
    font-family: 'kalam';
    font-weight: 300;
}

section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page {
    
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 80px;
    
}

.page div {
    display: flex;
    flex-direction: column;
    

}

.imput input {
    margin: 10px;
    border-radius: 5px;
    border: 0 solid;
    background-color: rgb(240, 239, 239);
    
    height: 30px;
    width: 300px;
}

.imput {
    margin-right: 50px;
}


textarea {
    margin: 10px;
    border-radius: 5px;
    font-family: kalam;
    border: 0;
    background-color: rgb(240, 239, 239);
    border-style: solid;
}

.textob {
    height: 150px;
    width: 25vw;
}

footer {
    background: #f8f9fa;
    padding: 1rem;
    text-align: center;
    margin-top: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: baseline;
    width: 100%;
}

footer img {
    height: 50px;
    margin: 10px;
}

footer article {
    flex-direction: column;
    display: flex;
    text-align: center;
}

footer div {
    margin: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

a {
    text-decoration: none;
}

@media screen and (max-width: 950px) {
    header {
        margin-left: 0;
        margin-right: 0;
        text-align: center;
        flex-direction: column;
    }
    .page {
        flex-direction: column;
    }
    .textob {
        height: 100px;
        width: auto;
    }
}

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

    footer {
        flex-direction: column;
        align-items: center;
    }
    .menu {
        display: none;
    }
    .menu2 {
        display: block;
        margin-right: 20px;
        margin-top: 5px;
    }
    .imput {
        margin-right: 0px;
    }
    
    .imput input {
        font-size: 20px;
        height: 40px;
    }
    
    nav .navbar a {
        margin: 0;
        background-color: rgba(0, 0, 0, .60);
    }
}