240 lines
4.1 KiB
CSS
240 lines
4.1 KiB
CSS
|
|
/* --------------- */
|
|
/* Header */
|
|
/* --------------- */
|
|
|
|
header {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 10px 40px;
|
|
}
|
|
|
|
header a {
|
|
text-decoration: none;
|
|
color: #eff1f3;
|
|
}
|
|
|
|
header ul {
|
|
list-style: none;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
header li {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.header_text {
|
|
display: flex;
|
|
flex-grow: 1; /* Le conteneur des liens prend toute la place disponible */
|
|
justify-content: center; /* Centre les liens horizontalement */
|
|
gap: 15%; /* Espace entre les liens */
|
|
font-weight: 600;
|
|
}
|
|
|
|
.header_text a {
|
|
padding: 0 10px;
|
|
}
|
|
|
|
.bouton_connexion {
|
|
padding: 10px 20px;
|
|
border-radius: 900px;
|
|
font-size: 16px; /* Taille de la police */
|
|
border-color: #00a8e8;
|
|
color: #eff1f3;
|
|
background-color: #00a8e8;
|
|
margin-top: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.bouton_connexion:hover {
|
|
border-color: #eff1f3;
|
|
color: #00a8e8;
|
|
background-color: #eff1f3; /* Changer la couleur au survol */
|
|
}
|
|
|
|
#smart_building {
|
|
width: 13%;
|
|
margin-left: -40px;
|
|
height: auto;
|
|
}
|
|
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: 'Segoe UI', sans-serif;
|
|
background-color: #121212;
|
|
color: #f1f1f1;
|
|
}
|
|
|
|
.contact-container {
|
|
max-width: 600px;
|
|
margin: 60px auto;
|
|
padding: 20px;
|
|
background-color: #1e1e1e;
|
|
border-radius: 10px;
|
|
box-shadow: 0 0 20px rgba(0,0,0,0.4);
|
|
}
|
|
|
|
.contact-container h1 {
|
|
text-align: center;
|
|
margin-bottom: 10px;
|
|
font-size: 2em;
|
|
}
|
|
|
|
.contact-container p {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
color: #cccccc;
|
|
}
|
|
|
|
.contact-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.contact-form label {
|
|
margin-bottom: 5px;
|
|
font-weight: bold;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.contact-form input,
|
|
.contact-form textarea {
|
|
padding: 10px;
|
|
margin-bottom: 20px;
|
|
background-color: #2a2a2a;
|
|
color: #f1f1f1;
|
|
border: 1px solid #444;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.contact-form input:focus,
|
|
.contact-form textarea:focus {
|
|
outline: none;
|
|
border: 1px solid #00bcd4;
|
|
}
|
|
|
|
.contact-form button {
|
|
background-color: #00bcd4;
|
|
color: #121212;
|
|
padding: 12px;
|
|
border: none;
|
|
border-radius: 5px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.contact-form button:hover {
|
|
background-color: #0097a7;
|
|
}
|
|
|
|
|
|
/* ---------------- */
|
|
/* FOOTER */
|
|
/* ---------------- */
|
|
|
|
footer {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-size: 14px;
|
|
text-transform: uppercase;
|
|
padding: 20px;
|
|
margin-top: auto; /* Cela force le footer à se pousser vers le bas */
|
|
}
|
|
|
|
.copyright {
|
|
padding: 10px 20px;
|
|
}
|
|
|
|
footer a {
|
|
text-decoration: none;
|
|
color: #eff1f3;
|
|
}
|
|
|
|
.footer_link {
|
|
display: flex;
|
|
flex-grow: 1;
|
|
gap: 10%;
|
|
}
|
|
|
|
.footer_link a {
|
|
padding: 0 10px;
|
|
}
|
|
|
|
.copyright {
|
|
padding: 10px 20px;
|
|
}
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
/* HEADER */
|
|
header {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
padding: 15px 20px;
|
|
}
|
|
|
|
.header_text {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: 100%;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.bouton_connexion {
|
|
width: 100%;
|
|
text-align: center;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
#smart_building {
|
|
width: 40%;
|
|
margin-left: 0;
|
|
align-self: center;
|
|
}
|
|
|
|
/* CONTACT */
|
|
.contact-container {
|
|
width: 90%;
|
|
margin: 40px auto;
|
|
padding: 15px;
|
|
}
|
|
|
|
.contact-container h1 {
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
.contact-form input,
|
|
.contact-form textarea {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.contact-form button {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
/* FOOTER */
|
|
footer {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.footer_link {
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.footer_link a {
|
|
padding: 0;
|
|
}
|
|
}
|
|
|