
@font-face {
  font-family: 'Nimbus';
  src: url('/home/mmi23g07/public_html/TAN_Nimbus/TAN-NIMBUS.otfs') format('opentype');
  font-weight: normal;
  font-style: normal;
}

body {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    background-color: #f5ece9;
   
}

#accueil {
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    color: #DBCBC6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
    background-color: #eed2d5;
}

h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: #57624A;
    margin-bottom: 20px;
font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
   
}

.galerie {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

.projet {
    text-align: center;
}

.projet a {
    display: block;
}

.projet img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.projet img:hover {
    transform: scale(1.02);
}

.projet p {
    font-size: 1rem;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(20px);
    color: #57624A;
}

.projet:hover p {
    opacity: 1;
    transform: translateY(0);
}

.projet {
    position: relative;
    display: inline-block;
}


.circle {
  width: 60px;
  height: 60px;
  border-radius: 50%; 
  background-color: #DBCBC6; 
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 80%; 
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  text-decoration: none;
  animation: jump 2.5s ease-in-out infinite; 
}

.circle:hover {
  transform: translateX(-50%) translateY(-5px); 
}


@keyframes jump {
  0% {
    transform: translateX(-50%) translateY(0); 
  }
  25% {
    transform: translateX(-50%) translateY(-15px); 
  }
  50% {
    transform: translateX(-50%) translateY(0); 
  }
  75% {
    transform: translateX(-50%) translateY(-10px); 
  }
  100% {
    transform: translateX(-50%) translateY(0); 
  }
}

.arrow {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 16px solid #57624A; 
}


@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(0);
    }
}
