first commit
This commit is contained in:
208
css/main.css
Normal file
208
css/main.css
Normal file
@@ -0,0 +1,208 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
background: url('../img/cielprince.png') no-repeat center center fixed;
|
||||
background-size: cover;
|
||||
color: white;
|
||||
font-family: 'Josefin Sans', sans-serif;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Section hero */
|
||||
.hero {
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
background: linear-gradient(rgba(0,0,0,0.3), rgba(107, 91, 149, 0.2));
|
||||
}
|
||||
|
||||
.hero-content h1 {
|
||||
font-size: 4rem;
|
||||
font-weight: 700;
|
||||
margin-bottom: 10px;
|
||||
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
.hero-content h2 {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 400;
|
||||
color: #c9b8e0;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.hero-content p {
|
||||
font-size: 1.3rem;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
/* Contenu principal */
|
||||
.main-content {
|
||||
max-width: 1000px;
|
||||
margin: 0 auto;
|
||||
padding: 60px 30px;
|
||||
}
|
||||
|
||||
/* Section mission */
|
||||
.mission {
|
||||
background: rgba(157, 143, 190, 0.15);
|
||||
padding: 50px;
|
||||
border-radius: 20px;
|
||||
margin-bottom: 60px;
|
||||
text-align: center;
|
||||
backdrop-filter: blur(10px);
|
||||
border: 1px solid rgba(157, 143, 190, 0.3);
|
||||
}
|
||||
|
||||
.mission h3 {
|
||||
font-size: 2.2rem;
|
||||
color: #c9b8e0;
|
||||
margin-bottom: 25px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.mission p {
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.8;
|
||||
opacity: 0.95;
|
||||
}
|
||||
|
||||
/* Services */
|
||||
.services {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 30px;
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
|
||||
.service {
|
||||
background: rgba(157, 143, 190, 0.1);
|
||||
padding: 35px;
|
||||
border-radius: 15px;
|
||||
text-align: center;
|
||||
transition: all 0.3s ease;
|
||||
border: 1px solid rgba(157, 143, 190, 0.2);
|
||||
}
|
||||
|
||||
.service:hover {
|
||||
background: rgba(157, 143, 190, 0.2);
|
||||
transform: translateY(-5px);
|
||||
|
||||
}
|
||||
|
||||
.service-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 15px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.icon {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.service h4 {
|
||||
font-size: 1.5rem;
|
||||
color: #c9b8e0;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.service p {
|
||||
font-size: 1rem;
|
||||
line-height: 1.6;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
/* Section inscription */
|
||||
.inscription {
|
||||
background: rgba(107, 91, 149, 0.2);
|
||||
padding: 50px;
|
||||
border-radius: 20px;
|
||||
text-align: center;
|
||||
border: 1px solid rgba(107, 91, 149, 0.4);
|
||||
}
|
||||
|
||||
.inscription h3 {
|
||||
font-size: 2rem;
|
||||
color: #c9b8e0;
|
||||
margin-bottom: 20px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.inscription p {
|
||||
font-size: 1.1rem;
|
||||
margin-bottom: 30px;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.btn {
|
||||
display: inline-block;
|
||||
background: linear-gradient(135deg, #9d8fbe, #6b5b95);
|
||||
color: white;
|
||||
padding: 15px 35px;
|
||||
border-radius: 30px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
font-size: 1.1rem;
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: 0 5px 15px rgba(107, 91, 149, 0.3);
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 8px 25px rgba(107, 91, 149, 0.4);
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.bas-de-page {
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
text-align: center;
|
||||
padding: 25px;
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
.bas-de-page p {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 768px) {
|
||||
.hero-content h1 {
|
||||
font-size: 2.8rem;
|
||||
}
|
||||
|
||||
.hero-content h2 {
|
||||
font-size: 1.8rem;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.mission,
|
||||
.inscription {
|
||||
padding: 30px;
|
||||
}
|
||||
|
||||
.services {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.service-header {
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Compatibilité */
|
||||
p, h2, h3 {
|
||||
color: aliceblue;
|
||||
}
|
Reference in New Issue
Block a user