body {
    font-family: 'Red Hat Display', sans-serif;
    margin: 0;
    padding: 0;
    position: relative;
    display: flex;
    letter-spacing: 3px;
    overflow-x: hidden; 
    background-color: #ffffff;
    min-height: 100vh; 
    min-width: 320px;
}


body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-image: url('Horizon PNG.png'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* background-attachment: fixed; ADD?? */
    opacity: 0; 
    animation: fadeIn 1.5s forwards;
    z-index: -1; 
}


#title {
    font-size: 60px;
    color: rgb(0, 0, 0);
    letter-spacing: 20px;
    width: 100%;
    max-width: 100vw;
    opacity: 0; 
    animation: fadeIn 1.5s forwards; 
    z-index: 10; 

    padding-bottom: 15px;
}


/* #title {
    font-size: 60px;
    color: #00aaff; 
    letter-spacing: 20px;
    width: 100%;
    max-width: 100vw;
    animation: fadeIn 1.5s forwards; 
    z-index: 10; 
    animation: glow 1.5s ease-in-out infinite alternate;
}


@keyframes glow {
    0% {
      text-shadow: 0 0 15px #00aaff, 0 0 45px #00aaff, 0 0 85px #00aaff, 0 0 135px #00aaff, 0 0 185px #00aaff;
    }
    100% {
      text-shadow: 0 0 30px #00aaff, 0 0 60px #00aaff, 0 0 100px #00aaff, 0 0 150px #00aaff, 0 0 200px #00aaff;
    }
  } */


#statement {
    padding: 50px;
    font-size: 17px;
    color: rgb(0, 0, 0);
    opacity: 0; 
    letter-spacing: 5px;
    z-index: 10; 
    animation: fadeIn 1.5s forwards;
    transition: transform 0.3s ease; 
}

/* #statement:hover {
    transform: scale(1.1);
    cursor: pointer;
  } */


.home-text {
    position: absolute;    
    margin-top: 175px;             
    left: 50px;            
    display: flex;         
    flex-direction: column;
    align-items: flex-start; 
    padding: 20px;         
    color: rgb(0, 0, 0);          
    z-index: 5;           
    text-align: left; 

    background: rgba(255, 255, 255, 1);
    padding: 28px 42px;
    /* border-radius: 18px; */
    display: inline-block;
         
}


#social-media-icons {
    position: absolute;          
    top: 40%;                    
    right: 250px;                
    display: flex;                 
    gap: 40px;                   
    opacity: 0; 
    animation: fadeIn 1.5s forwards;
    z-index: 5;    
    
    background: rgba(255, 255, 255, 1);
    padding: 28px 42px;
    /* border-radius: 18px; */
    display: inline-block; 

    display: inline-flex;
    
}


#youtube-icon,
#linkedin-icon,
#email-icon {
    width: 40px;                  
    height: auto;                 
    transition: transform 0.3s ease;
    filter: brightness(0);
}


#youtube-icon:hover, 
#linkedin-icon:hover, 
#email-icon:hover {
    transform: scale(1.2);        
}


@media screen and (min-width: 768px) and (max-width: 1025px) {
    body {
        display: block; 
        height: auto; 
    }

    .home-text {
        position: relative;
        left: 0; 
        top: 50%; 
        transform: translateY(-50%); 
        align-items: center; 
        text-align: center; 
        margin-top: 250px; 
        font-size: 22px; 
        line-height: 1.4; 
    }

    #social-media-icons {
        position: relative;
        top: auto;
        right: auto;
        margin: 20px auto; 
        gap: 40px; 
        display: flex; 
        justify-content: center;
        opacity: 1; 

        width: fit-content;       
        max-width: 90vw;
        padding: 14px 18px;        
        background: rgba(255,255,255,0.9);
    }

    #youtube-icon, #linkedin-icon, #email-icon {
        width: 45px; 
        height: auto; 
    }

    #title {
        font-size: 60px; 
        letter-spacing: 10px; 
        margin-bottom: 20px; 
    }

    #statement {
        font-size: 22px; 
        padding: 20px; 
    }

    .navbar {
        background-color: #ffffff;
    }
}


@media screen and (max-width: 768px) {
    body {
        display: block; 
        height: auto; 
    }

    .home-text {
        position: relative;
        left: 0; 
        top: 0;
        transform: none; 
        align-items: center; 
        text-align: center; 
        margin-top: 150px; 
    }

    #social-media-icons {
        position: relative;
        top: auto;
        right: auto;
        margin: 20px auto; 
        gap: 30px; 
        display: flex; 
        justify-content: center;
        opacity: 1; 

        width: fit-content;        
        max-width: 90vw;
        padding: 14px 18px;               
        background: rgba(255,255,255,0.9);
    }

    #youtube-icon, #linkedin-icon, #email-icon {
        width: 35px; 
    }

    #title {
        font-size: 40px; 
        letter-spacing: 10px; 
    }

    #statement {
        font-size: 18px; 
        padding: 20px;
    }
}


/* Not here before */
@media screen and (max-width: 540px) {
    #statement {
        width: 395px;
    }
}


@media screen and (max-width: 480px) {
    .home-text {
        padding: 10px; 
    }

    #title {
        font-size: 30px; 
    }

    #statement {
        font-size: 13px; 
        padding: 15px;
        width: 300px; /* Not here before */
    }

    #social-media-icons {
        gap: 20px; 
    }

    #youtube-icon, #linkedin-icon, #email-icon {
        width: 30px; 
    }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    gap: 15px;
    padding: 10px;
    font-size: 17px;
    /* background-color: #000000; */
    color: #ffffff;
    justify-content: flex-start;
    z-index: 1000;  
}


.navbar a {
    text-decoration: none;
    color: #000000;
    font-size: 1em;
    padding: 8px;
    transition: background-color 0.3s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}


.navbar a:hover {
    background-color: #c7c7c7;
}


@media screen and (max-width: 768px) {
    .navbar {
        font-size: 14px;
        padding: 8px;
        gap: 10px;
        background-color: #ffffff;
    }

    .navbar a {
        padding: 6px;
    }
}


@media screen and (max-width: 480px) {
    .navbar {
        font-size: 12px;
        padding: 6px;
        gap: 8px;
        background-color: #ffffff;
    }

    .navbar a {
        padding: 5px;
    }
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


.moving-line {
  position: absolute;
  top: 60%;
  left: 0;
  width: 800px; 
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.7), transparent);
  animation: slide-line 6s linear infinite;
  animation-delay: -2s;
  pointer-events: none;
}

@keyframes slide-line {
  0% {
    transform: translateX(-100vw);
  }
  100% {
    transform: translateX(110vw);
  }
}


@media screen and (max-width: 540px) {
    .moving-line{
        width: 300px;
    }

}


.floating-images {
  position: fixed;
  animation: fadeIn 1.5s forwards;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;

  inset: 0;
  -webkit-mask-image: radial-gradient(
    circle at center,
    rgba(0,0,0,1) 55%,
    rgba(0,0,0,0.85) 65%,
    rgba(0,0,0,0.4) 75%,
    rgba(0,0,0,0.0) 88%
  );
          mask-image: radial-gradient(
    circle at center,
    rgba(0,0,0,1) 55%,
    rgba(0,0,0,0.85) 65%,
    rgba(0,0,0,0.4) 75%,
    rgba(0,0,0,0.0) 88%
  );

}


.float-img {
  position: absolute;
  width: 180px;
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
  mix-blend-mode: overlay;   
  mix-blend-mode: soft-light;
  filter: drop-shadow(0 0 18px rgba(255,255,255,0.25));
}


@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(40px, -60px) rotate(3deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

.img-1  { top: 10%; left: 8%;  animation-duration: 26s; }
.img-2  { top: 20%; left: 65%; animation-duration: 32s; }
.img-3  { top: 35%; left: 45%; animation-duration: 22s; }
.img-4  { top: 55%; left: 25%; animation-duration: 28s; }
.img-5  { top: 70%; left: 78%; animation-duration: 34s; }

.img-6  { top: 5%;  left: 35%; animation-duration: 30s; }
.img-7  { top: 75%; left: 30%; animation-duration: 38s; }
.img-8  { top: 40%; left: 82%; animation-duration: 24s; }
.img-9  { top: 62%; left: 48%; animation-duration: 36s; }
.img-10 { top: 28%; left: 30%; animation-duration: 29s; }

.img-11 { top: 15%; left: 82%; animation-duration: 41s; }
.img-12 { top: 78%; left: 62%; animation-duration: 33s; }
.img-13 { top: 48%; left: 6%;  animation-duration: 27s; }
.img-14 { top: 8%;  left: 52%; animation-duration: 35s; }
.img-15 { top: 90%; left: 8%; animation-duration: 42s; }
