
body {
    background-color: black;
    font-family: 'Source Sans Pro',sans-serif;
    justify-content: center;
   }
   
   .navbar {
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
   }
   
   .navbar ul {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
   }
   
   .navbar ul li {
    display: inline-block;
    padding: 0 4rem;
   }
   
   .navbar ul li a {
    text-decoration: none;
    color: white;
    font-size: 3rem;
   }
   
   .navbar ul li a:hover {
    color: goldenrod;
   }
   
   .navbar ul li a.active {
    color: #ffc107;
   }

.menu__icon {
    display: none;
    position: absolute;
    top: 1rem;
    right: 2rem;
    cursor: pointer;
    width: 5rem;
    height: 5rem;
    z-index: 2;
}

@media only screen and (max-width: 37.5em) {
    .menu__icon {
        display:block;
        transition: transform .3s ease-in-out;
    }
    .navbar{
        display: none;
    }
}

.menu__icon.rotate {
    transform: rotate(90deg);
}

.navbar.open{
    right: 0;
    display: block;
    position: absolute;
    text-align: right;
    margin-bottom: auto;
    background-color: black;
    border-radius: 0.5rem;
    height: 100%;
    width: 100%;
    transition: right .9s ease-in-out;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    z-index: 1;
}

nav ul.open{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

nav ul li.open {
    margin: 1rem 0;
    font-size: 5rem;
}

   /* Set background color and padding for the project section */
.project {
    display: flex;
    padding: 3.125rem 2rem;
    color: whitesmoke;
    justify-content: center;
    text-align: center;
}

.project__description{
    margin-bottom: 2rem;
}

/* Center the project container */
.project__container {
    max-width: 50rem;
    margin: 0 auto;
}

/* Style the project title */
.project__container h1 {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 1.875rem;
    text-align: center;
}

/* Style the project image */
.image {
    text-align: center;
    margin-bottom: 1.875rem;
}

.image img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

/* Style the project description */
.project__description {
    line-height: 1.5;
    text-align: justify;
}

.project__description p {
    margin-bottom: 1.25rem;
}

.project__description strong {
    font-weight: bold;
}

/* Style the bullet points */
.project__description ul {
    margin-bottom: 1.25rem;
}

.project__description li {
    margin-bottom: 0.625rem;
}

  /* Style the links */
.project__description a {
    color: #007bff;
    text-decoration: none;
}

.project__description a:hover {
    text-decoration: underline;
}

.text:hover{
    color: goldenrod;
    transform: scale(1.1);
}

a {
    text-decoration: none;
}

.button {
    padding: 0.6em 2em;
    border: none;
    outline: none;
    color: rgb(255, 255, 255);
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button:before {
    content: "";
    background: linear-gradient(
    45deg,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #00ffd5,
    #002bff,
    #7a00ff,
    #ff00c8,
    #ff0000
    );
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    -webkit-filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing-button 20s linear infinite;
    transition: opacity 0.3s ease-in-out;
    border-radius: 10px;
}

@keyframes glowing-button {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}

.button:after {
    z-index: -1;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #222;
    left: 0;
    top: 0;
    border-radius: 10px;
}