@font-face {
    font-family : Aptos;
    src: url(./files/Aptos-Display.ttf);
}

@font-face {
    font-family : Nunito;
    src: url(./files/Nunito-VariableFont_wght.ttf);
}

html, body{
    font-family: Aptos;
    height: 100%;
    margin: 0;
    color: #F6F5F2;
}

body{
    display: flex;
    flex-direction: column;
}

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: 4%;
    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%;
}

h1{
    text-align: center;
    font-size: 75px;
    font-family: Nunito;
}

.presentation{
    border-radius: 15px;
    padding: 10px 20px;
    margin-left: 10%;
    margin-right: 10%;
}

.presentation p{
    text-align: justify;
    font-size: 30px;
    padding-left: 3%;
    padding-right: 3%;
    line-height: 1.6;
    margin-bottom: 0px;
    margin-top: 0px;
}

p a{
    color: #f6f5f280;
    text-decoration: none;
}

footer {
    padding: 10px;
}

footer p{
    font-size: 20px;
    text-align: center;
}

.content {
    flex: 1;
}

.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));
}