
@import url('https://fonts.googleapis.com/css2?family=Monomakh&family=Quicksand:wght@300..700&display=swap');
h1, h3{
    margin: 0;
}

html {
	background: linear-gradient(-45deg, #ffbaec, #aeaaff);
	background-size: 10000% 400%;
	animation: gradient 15s ease infinite;
}

body {
	height: 100vh;
    width: 100vw;
    font-family: "Monomakh", system-ui;
    color: #aeaaff;
    overflow-x: hidden;
}

.conteneur {
  display: flex;
}

header, section {
  max-height: 100vh;
}

section {
    flex: 1;
    overflow-y: scroll;
}


header {
    background: url(Images/pexels-adrien-olichon-1257089-2387793.jpg) no-repeat;
    background-size:cover ;
    background-position: bottom;
    max-width: 20vw;
    background-color: #3a3a3a;
    flex: 1;
    box-shadow: 10px 0px 0px 0px rgba(0,0,0,0.1);
}

#titre{
    margin: 2vh auto;
    width: 80%;
    font-size: 25px;
}

.ligne {
  border: none;
  height: 1px;
  background-color: rgb(255, 255, 255);
  margin-top: 50px;
  margin-bottom: 50px;
}


p{
    font-size: 80%;
    text-align: justify;
}

#logo{
    width:80%;
    margin: 0 auto;
    padding: 10% 0;
}

#logo > img{
    width: 100%;
}

h1{
    font-size: 140%;
}

.ai-gallery {
    column-count: 4;  
    padding: 20px 4vw;
  }

 .ai-gallery > a > img {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 10px;
    box-sizing: border-box;
    border: 0px solid #b45cff;
    box-shadow: 8px 8px 0px 0px rgba(0,0,0,0.1);
    object-fit: cover;
    transition: 150ms;
  }

 .ai-gallery > a > img:hover {
    border: 5px solid #af4dff;
    transition: 300ms;

 }
@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}  

@media (min-width: 1px) and (max-width: 800px) {


.conteneur {
    display: flex;
    flex-direction: column;
}

.ai-gallery {
    column-count: 2;
}

header {
    max-width: 100vw;
    min-height: 20vh;
}

#logo{
    width:20%;
    font-size: 20px;
    padding: 10% 0;
}


#titre{
    width: 100%;
    margin: 0 auto;
    text-align: center;
    font-size: 20px;
    display: inline-block;
}

.ligne{
    width: 90%;
}

p {
    display: none;
}

section {
    overflow-y: visible;
}
}


  @media (min-width: 800px) and (max-width: 1200px) {
  
      .ai-gallery {
          column-count: 3;
        }
        h1, h3 {
        font-size: 1em;
        }
        p{
            font-size: 75%;
        }
        #titre{
            width: 80%;
            text-align: center;
        }
    }

    .particles-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 3;
        pointer-events: none;
    }

    .particle {
        position: absolute;
        background: rgb(255, 235, 146);
        border-radius: 50%;
        opacity: 0;
        pointer-events: none;
    }