body {
    font-family: 'Ubuntu', sans-serif;
    background-color: #98d1ed;
}

.metalsmith-body {
    background-color: rgb(1, 3, 17);
}

.hero {
    color: white;
    font-size: 40px;
}

footer {
    color: white;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    font-size: 30px;
}

ul {
    display: flex;
    list-style-type: none;
    width: 400px;
    justify-content: space-around;
}

li {
    text-decoration: none;
    z-index: 2;
}

h1 {
    margin-left: 60px;
    margin-right: 60px;
    margin-bottom: 0px;
    font-size: 40px;
    font-weight: 500;
    color: white;
}

h2 {
    margin-left: 60px;
    margin-right: 60px;
    font-size: 30px;
    font-weight: 400;
    color: white;
}

h3 {
    margin: 5px;
}

p {
    font-size: 3vw;
    color: white;
}

.subtext {
    font-size: 17px;
    font-weight: 400;
    color: white;
}

.hero-area {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.hero-text {
    margin-top: 100px;
    margin-bottom: 0px;
    text-align: center;
}

.button-container {
    display: flex;
}

.logo {
    height: 80px;
    margin: 10px;
    z-index: 2;
}

.subsection {
    text-align: center;
    justify-content: space-around;
    padding-top: 50px;
}

.subsection-alternative {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-top: 50px;
}

.headshot {
    width: 300px;
    border-radius: 150px;
}

.headshot-container {
    display: flex;
    align-items: center;
}

.project-card {
    width: 200px;
    height: 300px;
    box-shadow: 5px 5px 20px gray;
}

.project-info {
    color: white;
    padding-top: 80px;
}

.project-container {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.project-page-container {
    display: flex;
    justify-content: space-around;
    margin-bottom: 50px;
}

.image-link {
    display: inline-block;
    width: 150px;
    object-fit: contain;
    margin-left: 20px;
    margin-top: 10px;
    z-index: 2;
}

.cloud-image {
    width: 150px;
    object-fit: contain;
    margin-left: 20px;
    margin-top: 10px;
    z-index: 2;
}

.rainbow {
    width: 150px;
    height: 75px;
    z-index: 2;
    visibility: hidden;
    position: absolute;
}

.project-logo-caption {
    width: 30%;
    text-align: center;
}

.project-logo-image {
    width: 50%;
    object-fit: contain;
    margin-top: 20px;
    border-radius: 10px;
    transition: box-shadow 0.3s;
}

.project-logo-image:hover {
    box-shadow: 0 0 20px rgb(223, 220, 135);
}

.project-logo-image:active {
    box-shadow: 0 0 20px white;
}

.project-image-20 {
    width: 20%;
    object-fit: contain;
    margin-top: 20px;
}

.project-image-20-c {
    width: 20%;
    object-fit: contain;
    margin-top: 20px;
    border-radius: 3%;
}

.project-image-30 {
    width: 30%;
    object-fit: contain;
    margin-top: 20px;
}

.project-image-45 {
    width: 45%;
    margin-top: 20px;
    object-fit: contain;
}

.project-image-80 {
    width: 80%;
    margin-top: 20px;
    object-fit: contain;
}

hr {
    margin-left: 20px;
    margin-right: 20px;
}

.project-link {
     background-color: white;
     color: #98d1ed;
     padding: 10px;
     border-radius: 10px;
    text-decoration: none;
}

.project-link:hover {
    box-shadow: 0 0 20px rgb(223, 220, 135);
}

.project-link:active {
    box-shadow: 0 0 20px white;
}

.project-link::after {
    content: "\2192"; /* Unicode arrow right character */
    margin-left: 5px; /* Add spacing between text and arrow */
}

a {
    text-decoration: none;
    color: white;
}

.hamburger {
    display: none;
}

.hamburger:focus {
    outline-color: transparent;
}

@media only screen and (max-width: 1000px) {
    .hamburger {
        display: block;
        border: 0;
        background-color: transparent;
        color: white;
        font-size: 30px;
        margin: 20px;
        align-self: flex-end;
    }

    ul {
        display: none;
        background-color: blue;
        margin: 0px;
    }

    nav {
        align-items: flex;
        background-color: blue;
        flex-direction: column-reverse;
    }

    .logo {
        display: none;
    }

    ul.show {
        display: block
    }
    
}

.sun {
    position: fixed;
    right: calc(50% - 60px);
    width: 60px;
    height: 60px;
    top: 30px;
    z-index: 2;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("images/sun.png");
}

.sun:hover {
    background-image: url("images/sun-hover.png");
}

.sun:click {
    background-image: url("images/sun-click.png");
}

.moon {
    position: fixed;
    right: -50px;
    width: 50px;
    height: 50px;
    top: 30px;
    z-index: 2;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("images/moon.png");
}

.moon:hover {
    background-image: url("images/moon-hover.png");
}

.sky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
  
.star {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(234, 243, 201, 1);
}

.rectangle-faded {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, #98d1ed, rgba(0, 0, 0, 0));
    z-index: 1;
    pointer-events: none;
}

.headshot {
    width: 20%;
    height: calc(20% * 1.4);
    border-radius: 50%;
    margin-right: 60px;
    object-fit: contain;
    margin-top: 120px;
}

.aboutme-text {
    flex: 1; /* Expand to take remaining width */
    padding: 20px; /* Add spacing around the text */
}

.aboutme {
    display: flex;
    flex-direction: row;
    height: 100%;
    justify-content: center;
}




.raindrop-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
  }
  
  .raindrop {
    width: 5px;
    height: 10px;
    background: url('images/raindrop.png') no-repeat;
    background-size: contain;
    position: absolute;
  }

  .snowflake {
    width: 10px;
    height: 10px;
    background: url('images/snowflake.png') no-repeat;
    background-size: contain;
    position: absolute;
  }

  .up-arrow {
    margin-top: 20px;
    width: 70px;
  }

  .backtotop {
    text-align: center;
    width: 120px;
  }

  @media (max-width:750px) {
    .project-container {
        display: flex;
        flex-wrap: wrap;
    }
    .project-image-45 {
        width: 90%;
    }
    .project-image-20 {
        width: 40%;
    }
    .project-image-30 {
        width: 60%;
    }
    .image-link {
        width: 100px;
        margin-left: 5px;
    }
    .cloud-image {
        width: 100px;
        margin-left: 5px;
    }
    .rainbow {
        width: 100px;
        height: 50px;
    }
    h1 {
        margin-left: 30px;
        margin-right: 30px;
        font-size: 25px;
    }
    h2 {
        margin-left: 30px;
        margin-right: 30px;
        font-size: 18px;
    }
}