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

/* palette : https://www.palettable.io/4BD9FF-455E63-5F8287-737587-9E3E3E */

html{
    font-family: 'Oxygen', sans-serif;
    font-style: 16px;
    font-weight: 400;
}

h1{
    font-family: 'Noto Serif', serif;
    font-weight: 700; /* available: font-weight: 400 and 700 */
    font-style: 5rem;  
}
h2{
    margin: 0;
    padding: 20px 0;
}

body{
    background-color: #eee;
}

header, footer{
    padding: 50px 0;
    margin: 0 auto;
    text-align: center;
    background-color: #4BD9FF;
    color: #455E63;
}
footer{
    padding: 30px 0;
}

main{
    color:#737587;
    background-color: #ddd;
    max-width: 1060px;
    margin: 0 auto;
    min-height: 500px;
    padding: 10px;
}
.text-red{
    color: #9E3E3E;
}
.text-green{
    color: #5F8287;
}
.text-darkblue{
    color: #455E63;
}
.text-blue{
    color: #4BD9FF;
}
.text-dark{
    color: #737587;
}


/* SPECIFIQUE AU PROJET */

a, a:hover, a:visited{
    color: inherit;
    text-decoration: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0 5px;
}
li{
    margin: 5px 0;
}

#listeContact{
    margin: 0 0 10px;
    font-size: 1.2rem;
}

#details{
    display: inline-flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: #eee;
    border-radius: 20px;
    padding: 10px;
}
#details.no-display{
    display: none;
}

button{
    margin: 10px 0 10px 10px;
    cursor: pointer;
    background-image: linear-gradient(to bottom, #737587, #455E63);
    color: #ddd;
    border-radius: 10px;
    padding: 5px 10px;
    border: 1px solid black;
    box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.7),
                inset -1px -1px 2px rgba(0, 0, 0, 0.7);
}
button:hover{
    box-shadow: none;
}

form{
    display: block;
}

form.no-display{
    display: none;
}

form input~span {
    color: red;
    display: none;
}
form input~span.show{
    display: inline;
}

#listeContact ul li{
    cursor: pointer;
}