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




/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
	font-family: 'Raleway';
	font-weight: 400;
}

h2 {
    color: #133757;
    margin: 0;
    padding: 10px 0;
	font-size: 2rem;
}

header, section, footer {
    width: 100%;
    margin: 0;
    padding: 20px 0;
}
.container {
    width: 95%;  /* Default for mobile screens */
}

/* Header Styles */
header {
	height: 100vh;
	padding: 0;
    text-align: center;
	display: grid;
	place-items: center;
	background: url('accueil.jpg') no-repeat center center / cover;
}

header::before {
  content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
   background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.smallheader {
	z-index: 1;
}


header h1 {
    margin: 0;
	font: bold 'Raleway',"Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	font-size: clamp(2rem, 14vw, 5rem);
	background-image: linear-gradient(
	to bottom ,
	#f6e27a 0,
    #cb9b51 22%, 
	#f6e27a 45%,
	#f6f2c0 50%,
	#f6e27a 55%,
	#cb9b51 78%,
	#f6e27a 100%
	);
	background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: .2rem;
  font-weight: 100;
}

header h2 {
	color: #f1dd91;
	text-shadow: 0px 0px 5px #000;
	font-size: clamp(1.8rem, 4vw, 2.2rem);
	  letter-spacing: .1rem;
	font-weight: 100;
}

/* Main Content Styles */
main {
    background-color: #ffffff;
    margin: 0;
}

#bio {
    //background: linear-gradient(-45deg, #F8E8D8 0%, #ffffff 100%);
}

#bio p {
    line-height: 1.6;  /* Espacement entre les lignes */
    text-align:left;  /* Justification du texte */
    margin: 0px 20px 30px;  /* Espacement entre les paragraphes */
    letter-spacing: 1px;
	font-size: 1.1rem;
	color: #333;
	letter-spacing: .05rem;
}

#bio  H2 {
	color: #aaa;
}

#galerie {
    background-color: #FFF;
	transition: background-color 0.5s ease;
}


.artwork, #imageCaption, #previous, #next {
    text-align: center;
    justify-content: center;
    align-items: center;
}

/* Gallery container styling */
#imageGallery {
    display: flex;
	margin: 10px auto 20px;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
}

/* Aspect ratio box */
#imageGallery::before {
    content: '';
    display: block;
    width: 100%;
    padding-top: 56.25%; /* This represents an aspect ratio of 16:9 (100%/16*9) */
    pointer-events: none; /* Makes sure clicks go through to elements behind */
}

/* Image styling */
#imageGallery img {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    width: auto; /* Keeps image aspect ratio */
    height: auto; /* Keeps image aspect ratio */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto; /* Centers the image */
    transition: opacity 1s ease-in-out;
    opacity: 0; /* Images start out transparent */
    z-index: 1; /* Ensure images are behind the active one */
}

#imageGallery img.active {
    opacity: 1;
    z-index: 2; /* Active image is above the others */
}

/* Caption styling */
#imageCaption {
    margin-top: 20px;
    text-align: center;
	font-size: 1.15rem;
    margin: 10px 0;
}

/* Button styling */
button {
    margin-top: 10px;
}

#maSection {
    background-image: url('artwork2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;  /* Optionnel : définit la hauteur à 100% de la hauteur de la fenêtre */
}

#maSection H1, #maSection H2{
    text-align: center;
    padding-top: 200px;
}

section .container {
    margin: 0 auto;
    text-align: center;
}



button {
    background-color: #eee;
    color: #888;
    border: none; /* No border */
    padding: 10px 20px; /* Padding to make the button larger */
    margin: 10px; /* Space around the button */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Cursor indicates it's clickable */
    font-size: 16px; /* Larger text */
    transition: background-color 0.3s, transform 0.3s; /* Smooth transition for hover effects */
}

button:hover {
    background-color: #ddd; /* Lighter blue on hover */
    transform: scale(1.05); /* Slightly larger on hover */
}

button:active {
    background-color: #ccc; /* Slightly darker on click */
    transform: scale(0.95); /* Slightly smaller on click */
}

/* Styling for icons if you decide to add them */
button .icon {
    margin-right: 5px; /* Space between icon and text */
}



/* Footer Styles */
footer {
    background-color: #181f23;
	letter-spacing: .02rem;
    text-align: center;
    margin: 0;
	font-weight: bold;
	font-size: 1.3rem;
	color: #eee;
}

footer a {
	color: #ccc;
	text-shadow: 1px 1px 2px #bbd8e5;
	text-decoration: none;
}

footer a:hover {
	letter-spacing: .1rem;
	transition-duration: .2s;
}

.designed {
	margin-bottom: 20px;
	margin-top: -10px;
	font-size: 1rem;
	font-weight: normal;
	font-style: normal;
}

@media screen and (min-width: 768px) {
    .container {
        width: 90%;
    }
	#bio {
		margin: 0;
		width: 100vw;
	}
	
	header h1 {
	font-size: clamp(3rem, 17vw, 6rem);
}

header h2 {
	font-size: clamp(2rem, 5vw, 2.7rem);
}
	
}

@media screen and (min-width: 1024px) {
    body {
		font-weight: 200;
	}
	
	.container {
        width: 80%;
	}
	
	#bio{
	margin: 50px 100px 50px;
	width: calc( 100vw - 200px);
	}
	
}

@media screen and (min-width: 1200px) {
    body {
		font-weight: 200;
	}
	.container {
        width: 70%;
		
    }
	#bio{
		margin: 50px 150px 75px;
		width: calc( 100vw - 300px);
	}
	
}
