body {
    background-color: rgb(31, 43, 94);
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    position: relative;
    overflow: hidden;

    margin: 0;
    padding: 0;
}

.topBar {
    display: flex;
    position: fixed;

    background-color: rgb(17, 23, 51);
    width: 100%;
    height: 70px;
    align-items: center;
    top: 0;
    left: 0;
    
    mask-image: linear-gradient(to bottom, black 95%, transparent 100%);
    z-index: 5;
}

.logoImage {
    height: 50px;
    width: auto;
}

.logo {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-left: 10px;
}

.logoText {
    font-size: 32px;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: #ffffff;
}

a:hover {
    color: lightgrey;
    text-shadow: 0 0 10px rgb(255, 255, 255);
}

.navContainer {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    justify-content: flex-end;

    margin: 0px 20px 0 auto;

    width: max-content;
    margin-left: auto;
    background-color: rgb(31, 43, 94);

    padding: 10px 20px;
    gap: 20px;

    border-radius: 8px;
    transition: border-radius 0.2s ease-in-out;
}

.centerTitle {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.mainContainer {
    position: relative;
    margin-top: 70px;
    padding: 20px;
    text-align: center;
    overflow: hidden;
}

.headerText {
    text-align: center;
    justify-content: flex-end;
    display: inline-block;

    font-size: 60px;

    height: 30px;

    animation: growOnLoad 0.8s ease-in-out forwards;
}

.stars {
    position: fixed;
    height: 100vh;
    width: 100vw;

    left: 0;
    top: 0;

    animation: moveIn 1.5s ease-in-out forwards;
}

.stars::before {
    content: "";
    position: absolute;
    height: 100vh;
    width: 100vw;

    background-image:
    radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 5px),
    radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 10px);

    background-size: 500px 300px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 500px;

    animation: twinkle 3s infinite ease-in-out;
}

.stars::after {
    content: "";
    position: absolute;
    height: 100vh;
    width: 100vw;

    background-image: 
    radial-gradient(white, rgba(255,255,255,.18) 1.5px, transparent 6px),
    radial-gradient(white, rgba(255,255,255,.5) 2px, transparent 4px),
    radial-gradient(white, rgba(255,255,255,.4) 1px, transparent 3px);

    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 500px;

    animation: twinkle 2s infinite ease-in-out;
}

.wave {
    position: fixed;
    height: 100vh;
    width: 100vw;
    z-index: -2;

    left: 0;
    top: 0;

    background: linear-gradient(35deg, rgb(31, 43, 94), rgb(42, 51, 92), rgb(15, 21, 49), rgb(38, 42, 63));
    background-size: 400% 400%;
    animation: wavy 15s infinite alternate;
}

.introText {
    font-size: 25px;

    animation: growOnLoadNoShadow 1.5s ease-in-out forwards;
}

.introText2 {
    animation: growOnLoadNoShadow 1.5s ease-in-out forwards;
}

.sectionHeader {
    font-size: 30px;
    animation: growOnLoadNoShadow 1.5s ease-in-out forwards;
    margin-top: 70p;
}

.pastWork {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}

.refLink {
    font-size: 20px;
    animation: growOnLoadNoShadow 1.5s ease-in-out forwards;
    gap: 80px;
}

.contactText {
    font-size: 20px;
    font-weight: 500;
    margin: 0 auto;
    width: fit-content;
    text-align: left;

     animation: growOnLoadNoShadow 1.5s ease-in-out forwards;
}

@keyframes twinkle {
  0% { opacity: 0.2; }
  50% { opacity: 1.0; }
  100% { opacity: 0.2; }
}

@keyframes growOnLoad {
    0% {
        opacity: 0;
        transform: scale(0.3);
        text-shadow: none;
    }
    100% {
        opacity: 1;
        transform: scale(1);
        text-shadow: 0 0 30px rgb(146, 166, 255);
    }
}

@keyframes wavy {
  0% { background-position: 0% 50%; } 
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; } 
}

@keyframes growOnLoadNoShadow {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
 }

@keyframes moveIn {
    0% { transform: translateY(-150px); }
    100% { transform: translateY(0); }
 }

.navContainer:hover {
    border-radius: 15px;
}