* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}


body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #011627;
  color: #ffecd1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: -20px;
}

nav a {
  display: inline-block;
  color: #ffecd1;
  background-color: #4a819b;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 100;
  text-align: center;
  line-height: 1;
  padding: 5px 30px;
  border-radius: 5px 5px 30px 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

nav a:hover {
  background-color: #3a6f84;
  transform: scale(1.05);
}

main {
  flex: 1; 
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
}

footer {
  background-color: #011627;
  border-top: 2px solid #ffecd1;
  text-align: center;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer a {
  display: inline-block;
  color: #ffecd1;
  background-color: #4a819b;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 150;
  text-align: center;
  line-height: 1;
  padding: 1px 20px;
  margin: 5px;
  border-radius: 5px 5px 30px 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  background-color: #3a6f84;
  transform: scale(1.05);
}

html {
  scroll-behavior: smooth;
}

#container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
}

.logo {
  display: block;
  margin: -40px auto 0 auto;
  max-width: 800px;
  width: 100%;
  justify-content: center;
}

.texte {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.texte-left{
  display: flex;
  flex-direction: column;
  flex: 1;
}

.texte-left p{
  text-align: left;
  color: #4a819b;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-size: 18px;
  margin-top: 25px;
  margin-left: 10px;
  margin-right: 10px;
}

.texte h1 {
  color: #ffecd1;
  font-size: 25px;
  font-weight: 400;
  margin-bottom: 10px;
  margin-top: 30px;
  text-align: center;
}

.texte p {
  color: #4a819b;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.5;
  text-align: right;
  font-size: 18px;
  margin-top: 25px;
  margin-left: 10px;
  margin-right: 10px;
}

.galerie {
  display: flex; 
  gap: 10px;
  flex-wrap: wrap; 
  justify-content: left;
  width: 640px;
}

.galerie .mini {
  width: 150px;
  height: 225px;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.galerie .mini:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.mini {
  width: 150px;
  height: 225px;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.2s;
  margin-bottom: 30px;
  margin-top: 30px;
}

.mini:hover {
  transform: scale(1.05);
}

.galerie-paysage {
  display: flex; 
  gap: 10px;
  flex-wrap: wrap; 
  justify-content: left;
  width: 640px;
}

.galerie-paysage .mini-paysage {
  width: 225px;
  height: 150px;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.galerie-paysage .mini-paysage:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.mini-paysage {
  width: 225px;
  height: 150px;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.2s;
  margin-bottom: 30px;
  margin-top: 30px;
}

.mini-paysage:hover {
  transform: scale(1.05);
}

.separateur {
  border: none;
  width: auto;
  height: 2px;
  background-color: #15616d;
  margin: 40px 0;
}

.separateur2 {
  border: none;
  width: 50%;
  height: 2px;
  background-color: #15616d;
  margin: 30px auto 30px auto;
}

@media (max-width: 768px) {
  .gif-droite {
    width: 120px;
    right: 10px;
    top: 10px;
  }
}

@media (max-width: 768px) {
  .logo {
    max-width: 90%;
    margin: 0 auto 20px auto;
  }
}

@media (min-width: 769px) {
  .sections {
    grid-template-columns: repeat(2, 1fr);
    width: 1280px;
  }
}

@media (max-width: 768px) {
  body {
    background-size: 120% auto;
    background-position: center top;
  }
}