@font-face {
    font-family : Nunito;
    src: url(./../files/Nunito-VariableFont_wght.ttf);
}

@font-face {
    font-family : Aptos;
    src: url(./../files/Aptos-Display.ttf);
}

html, body{
    font-family: Aptos;
    height: 100%;
    margin: 0;
    color: #F6F5F2;
}

body{
    display: flex;
    flex-direction: column;
}

p {
    text-align: center;
    font-size: large;
}

nav img{
    width: auto;
    margin-left: 4%;
    border-radius: 50%;
    height: 75px;
}

nav{
    font-family: Nunito;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1vw;
    flex-wrap: wrap;
    margin-top: 1%;
    margin-bottom: 7%;
    padding: 10px 20px;
    transition: width 0.3s ease;
}


#actual {
    color: #F6F5F2
}

nav a {
    color: #f6f5f25e;
    text-decoration: none;
    margin-left: 5%;
    font-size: 200%;
    position: relative;
    transition: color 0.5s ease;
    padding-bottom: 4px;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: #fff;
  transition: width 0.3s ease, left 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover {
    color: #F6F5F2;
}

a:hover::after {
  width: 100%;
}

footer {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Optionnel : pour qu'on voit les étoiles derrière */
    padding: 10px 0;
}

footer p{
    font-size: 20px;
    text-align: center;
}

.content {
    flex: 1;
}

h1{
    text-align: center;
    font-family: Nunito;
    font-size: 50px;
    margin-top: 0px;
}

.final{
    justify-content: center;
    display: flex;
    gap:8vw;
}

.infos {
    justify-content: center;
    align-items: center;
    text-align: center;
    justify-items: center;
    width: 300px;
    display: grid;
}

.infos img{
    justify-self: center;
    margin-bottom: 50px;
    height: 120px;
}

.infos h2{
    font-size: 180%;
}

.infos p{
    font-size: 120%;
}

.infos a {
    font-size: 30px;
    text-decoration: none;
    color: #F6F5F2;
}

.row {
    display: flex;
    justify-content: center;
    gap: 1vw;
    width: 100%;
    padding-top: 50px;
    padding-bottom: 150px;
}

.infos button{
    margin-top: 40px;
    border-radius: 20px;
    background-color: rgba(205, 210, 214, 0.406);
    padding: 15px;
    justify-content: center;
    width: 200px;
    border-color: transparent;
    cursor: pointer;
    font-size: 15px;
    white-space: nowrap;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.infos button:hover{
    background-color:white;
    box-sizing: 50px;
    box-shadow: 0px 0px 25px #ddd;
}

.stars-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #000;
  background-image: 
    radial-gradient(circle at 40% 60%, rgba(20, 30, 100, 0.4), transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(30, 80, 200, 0.3), transparent 50%);
  overflow: hidden;
}

.stars-background::after,
.stars-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: repeat;
}

.stars-background::before {
  background-image: 
    radial-gradient(1px 1px at 20px 30px, #fff, transparent),
    radial-gradient(1.2px 1.2px at 60px 120px, #eee, transparent),
    radial-gradient(1.1px 1.1px at 110px 180px, #ddd, transparent),
    radial-gradient(1px 1px at 150px 30px, #fff, transparent),
    radial-gradient(1.3px 1.3px at 200px 150px, #eee, transparent),
    radial-gradient(1.1px 1.1px at 50px 50px, #fff, transparent);
  background-size: 200px 200px;
  opacity: 0.9;
}

.stars-background::after {
  background-image: 
    radial-gradient(2px 2px at 100px 150px, #fff, transparent),
    radial-gradient(2.5px 2.5px at 300px 400px, #fffaee, transparent),
    radial-gradient(3px 3px at 500px 200px, #fff, transparent);
  background-size: 500px 500px; 
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 1));
}