body {
    margin: 0;
    padding: 0;
    background-color: var(--background);
}


/* Styling for the navigation bar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    height: 5rem;
    width: 100%;
    background-color: var(--dark-blue);
    align-items: center;
    font-weight: bold;
    margin-bottom: 5rem;
}

nav .logo-container {
    margin-right: auto;
    /* Set margin-right to auto to push the nav links to the right */
    margin-left: 60px;
}

nav .logo-container img {
    height: 4rem;
}

nav .nav-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 60px;
}

nav .nav-links a {
    font-family: "Amatic SC", sans-serif;
    display: inline-block;
    font-size: 3rem;
    text-decoration: none;
    color: var(--offwhite);
    padding: 20px 5px;
    position: relative;
    margin-left: 20px;
}

nav .nav-links a::before {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--offwhite);
    position: absolute;
    bottom: 20px;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

nav .nav-links a:hover {
    text-decoration: none;
}

nav .nav-links a:hover::before {
    transform: scaleX(1);
}

nav .nav-links a:last-child {
    padding: 0.5vh;
    border-radius: 1.5vh;
    color: var(--emerald);
}

nav .nav-links a:last-child::before {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--emerald-light);
    position: absolute;
    bottom: 0.5vh;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

nav .nav-links a:last-child:hover {
    text-decoration: none;
    color: var(--emerald-light);
}

nav .nav-links a:last-child:hover::before {
    transform: scaleX(1);
}



/* Styling for the welcome text and image */
.welcome-section {
    text-align: center;
    padding: 9rem 0vh 4vh 0vh;
    width: 100%;
    height: max-content;
    margin-bottom: -4rem;
}

.image-wrapper {
    display: inline-block;
    margin-right: 2vw;
    vertical-align: middle;
    height: 60vh;
}

.image-wrapper img {
    display: block;
    max-width: 100%;
    height: 100%;
    border-radius: 5%;
}

.text-wrapper {
    display: inline-block;
    width: 60%;
    vertical-align: middle;
    max-width: max-content;
    margin: 0 auto;
    color: var(--offwhite);
}

.text-wrapper h1 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 9rem;
    line-height: 1;
}

.text-wrapper h3 {
    margin-top: 0;
    margin-bottom: 2vh;
    font-size: 6rem;
    line-height: 1;
}

.text-wrapper p {
    font-size: 2rem;
    margin-top: 2vh;
    margin-bottom: 0;
    line-height: 1;
}

.welcome-section .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: auto;
    margin-left: auto;
}

.welcome-section .nav-links a {
    display: inline-block;
    text-decoration: none;
    color: var(--offwhite);
    padding: 32px 5px;
    position: relative;
}

.text-wrapper img {
    height: 48px;
    width: 48px;
    margin: 8px 12px;
}

.text-wrapper img:hover {
    height: 56px;
    width: 56px;
    margin: 0px 8px;
}

#particles-js canvas {
    display: block;
    vertical-align: bottom;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    -webkit-transition: opacity .8s ease, -webkit-transform 1.4s ease;
    transition: opacity .8s ease, transform 1.4s ease
}

#particles-js {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: -10;
    top: 0;
    left: 0
}

@media (max-width: 1200px) {
    .welcome-section {
        width: 100%;
    }

    .image-wrapper {
        display: block;
        margin: 0px 0px 0px 0px;
        height: max-content;
    }

    .image-wrapper img {
        margin-left: auto;
        margin-right: auto;
        padding: 0;
        padding-bottom: 2vh;
        height: 32vh;
        border-radius: 5%;
    }

    .text-wrapper {
        width: max-content;
    }

    .typing-container {
        display: none;
    }

    .text-wrapper img {
        height: 80px;
        width: 80px;
        margin: 12px 18px;
    }
}