:root {
--primary-text-color: #e2e8f0;
--primary-color: #2cc9ff;
--secondary-color: #fe7f2d;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
main {
max-width: 1140px;
margin: 0 auto;
}
html,
body,
p {
margin: 0;
padding: 0;
}
body {
background: #0a0f1c;
background-image: radial-gradient(
circle at 20% 30%,
rgba(30, 60, 90, 0.3) 0%,
transparent 50%
),
radial-gradient(
circle at 80% 20%,
rgba(20, 40, 70, 0.25) 0%,
transparent 50%
),
radial-gradient(
circle at 50% 80%,
rgba(25, 50, 80, 0.2) 0%,
transparent 50%
);
background-size: cover;
background-attachment: fixed;
height: 100vh;
color: var(--primary-text-color);
font-family: "Onest", sans-serif;
}
a {
color: var(--primary-color);
text-decoration: none;
}
a:hover {
color: var(--primary-text-color);
}
button,
.button {
background-color: #0e76a8;
color: #eaeaea;
border: none;
padding: 10px 20px;
border-radius: 5px;
transition: background-color 0.3s ease;
}
button:hover,
.button:hover {
background-color: #1a1a2e;
}
section {
padding: 40px 20px;
margin: 20px 0;
}
section h2 {
margin-bottom: 20px;
}
.container {
width: 90%;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}
ul {
padding: 0 0 20px 25px;
}
ul li {
list-style-position: outside;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--primary-color);
}
h1 {
font-size: 48px;
}
h2 {
font-size: 30px;
}
h3 {
font-size: 25px;
}
h4 {
font-size: 20px;
}
p {
font-size: 16px;
margin-bottom: 20px;
} header {
text-align: center;
height: 70px;
}
.custom-header {
position: sticky;
top: 0;
z-index: 10;
color: #eaeaea;
padding: 20px;
display: flex;
justify-content: space-between;
align-items: center;
margin: 0 auto;
max-width: 1200px;
}
.container {
background-color: rgba(15, 25, 54, 0.6); padding: 10px 20px;
border-radius: 25px;
box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
backdrop-filter: blur(10px); }
.logo {
font-size: 1.5rem;
font-weight: 600;
display: flex;
justify-content: center;
align-items: center;
}
.logo p {
font-size: 30px;
margin: 0;
transition: 0.3s ease;
}
.logo p:hover {
color: var(--secondary-color);
transform: scale(1.1);
}
.custom-nav {
display: flex;
gap: 20px;
}
.custom-nav ul li {
padding: 5px 15px;
border-radius: 25px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.nav-links {
list-style: none;
display: flex;
gap: 15px;
margin: 0;
padding: 0;
}
.nav-links li {
display: inline;
}
.nav-links a {
color: #eaeaea;
text-decoration: none;
font-weight: 600;
transition: color 0.3s ease;
}
.nav-links a:hover {
color: var(--secondary-color);
} footer {
background-color: #0f1936;
padding: 20px;
text-align: center;
color: #eaeaea;
}
.site-info p {
margin: 0;
}
.burger-menu {
display: none;
cursor: pointer;
}
.burger-icon {
width: 25px;
height: 20px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.burger-icon span {
display: block;
height: 3px;
background-color: #eaeaea;
border-radius: 2px;
transition: 250ms ease;
}
.burger-icon:hover span {
background-color: var(--secondary-color);
}
.burger-menu.active .burger-icon span:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}
.burger-menu.active .burger-icon span:nth-child(2) {
opacity: 0;
}
.burger-menu.active .burger-icon span:nth-child(3) {
transform: rotate(-45deg) translate(5px, -5px);
}
.modal-menu {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(15, 25, 54, 0.95);
z-index: 9;
justify-content: center;
align-items: center;
flex-direction: column;
opacity: 0;
transition: opacity 0.3s ease, transform 0.3s ease;
}
.modal-menu.active {
display: flex;
opacity: 1;
transform: translateY(0);
}
.modal-nav-links {
list-style: none;
display: flex;
align-items: center;
flex-direction: column;
gap: 50px;
margin: 0;
padding: 0;
}
.modal-nav-links a {
font-size: 36px;
color: var(--primary-text-color);
text-decoration: none;
font-weight: 600;
transition: color 0.3s ease;
}
.modal-nav-links a:hover {
color: var(--secondary-color);
}
.projets-container {
display: flex;
justify-content: space-between;
flex-direction: row;
gap: 20px;
flex-wrap: wrap;
}
.projet-link {
text-decoration: none;
color: inherit;
display: block;
width: 30%;
}
.projet {
display: flex;
flex-direction: column;
align-items: center;
height: 100%;
gap: 20px;
background-color: #0f172a;
padding: 20px;
border-radius: 25px;
box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1),
0 1px 3px rgba(255, 255, 255, 0.08);
transition: all 0.3s ease;
}
.projet:hover {
box-shadow: 0 10px 15px rgba(255, 255, 255, 0.2),
0 4px 6px rgba(255, 255, 255, 0.15);
}
.projet-details {
flex: 1;
width: 100%;
}
.projet-details h3 {
margin-bottom: 10px;
color: var(--secondary-color);
text-align: center;
}
.projet-details p {
margin-bottom: 10px;
color: var(--primary-text-color);
}
.projet-details a {
color: var(--secondary-text-color);
text-decoration: none;
font-weight: bold;
}
.projet-details a:hover {
color: var(--primary-text-color);
}
.langages {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 10px;
}
.langage {
color: #ffffff;
padding: 5px 10px;
border-radius: 25px;
font-size: 0.875rem;
font-weight: bold;
display: inline-block;
border: 2px solid;
transition: all 0.3s ease;
cursor: pointer;
}
.langage.php {
border-color: #4f5d95;
background: linear-gradient(135deg, #4f5d95 0%, #8a9cc1 100%);
}
.langage.php:hover {
border-color: #8a9cc1;
background: linear-gradient(135deg, #8a9cc1 0%, #4f5d95 100%);
}
.langage.html {
border-color: #e34f26;
background: linear-gradient(135deg, #e34f26 0%, #ff7f50 100%);
}
.langage.html:hover {
border-color: #ff7f50;
background: linear-gradient(135deg, #ff7f50 0%, #e34f26 100%);
}
.langage.css {
border-color: #1572b6;
background: linear-gradient(135deg, #1572b6 0%, #63a4ff 100%);
}
.langage.css:hover {
border-color: #63a4ff;
background: linear-gradient(135deg, #63a4ff 0%, #1572b6 100%);
}
.langage.javascript {
border-color: #f7df1e;
background: linear-gradient(135deg, #f7df1e 0%, #ffd700 100%);
}
.langage.javascript:hover {
border-color: #ffd700;
background: linear-gradient(135deg, #ffd700 0%, #f7df1e 100%);
}
.langage.elementor {
border-color: #9b51e0;
background: linear-gradient(135deg, #9b51e0 0%, #c084e0 100%);
}
.langage.elementor:hover {
border-color: #c084e0;
background: linear-gradient(135deg, #c084e0 0%, #9b51e0 100%);
}
.voir-tous-projets {
text-align: center;
margin-top: 40px;
}
.btn-voir-tous {
display: inline-block;
padding: 10px 20px;
background-color: var(--primary-color);
color: white;
font-weight: bold;
border-radius: 25px;
text-decoration: none;
transition: 0.3s ease;
}
.btn-voir-tous:hover {
background-color: var(--secondary-color);
}
@media (max-width: 768px) {
.custom-nav {
display: none;
}
.burger-menu {
display: block;
}
.hero {
flex-direction: column;
text-align: center;
}
.hero img {
width: 80%;
margin-bottom: 20px;
}
.hero-text {
width: 100%;
}
.projets-container {
flex-direction: column;
align-items: center;
}
.projet-link {
width: 100%;
margin-bottom: 20px;
}
.contact-container {
flex-direction: column;
}
.formulaire-contact,
.cord-contact {
width: 100%;
}
}