* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    padding: 0;
    max-width: none !important;
    overflow-x: hidden;
    /* Prevents horizontal scroll */
}

/* Make sure your sections span full width */
body {
    position: relative;
    min-width: 100vw;
    min-height: 100vh;
    /* Viewport width - always full screen */
    margin-left: calc(-50vw + 50%);
    margin-top: calc(-50vh +50%);
    /* Centers it if inside a container */
    min-height: 100vh;
    background: linear-gradient(to bottom,
            /* Sky */
            #87CEEB 0%,
            #B0D9F1 15%,
            #E0F4FF 25%,
            /* Forest */
            #2F5233 35%,
            #1E3A20 45%,
            #0F2611 55%,
            #1A4D2E 65%,
            /* Beach/Sand transition */
            /* Ocean */
            #4A90A4 85%,
            #2C5F75 90%,
            #1B4353 95%,
            #0D2A3A 100%);
    overflow: hidden;
}


html {
    scroll-behavior: smooth;
}

body {
    color: #1f180f;
    /*base of website letter color*/
    background-color: black;
    /*base of website color*/
    margin: 0px;
    /*general*/
    /*stops overflowing on the sides and having a x scroll bar*/
    min-height: 100vh;
    padding: 10px;
}

h1 {
    font-family: "Cascadia Mono", Verdana, sans-serif;
    font-weight: 300;
    /*boldness*/
    font-style: italic;
    font-size: 50px;
    margin: 0px;
    padding: 0px;
}

h4,
p,
li {
    font-family: "open sans", Arial, Helvetica, sans-serif;
    font-weight: 100;
    margin: 0px;
    padding: 0px;
}

hr {
    border-color: #C9AA71;
}

h2 {
    font-family: "Cascadia Mono", Verdana, sans-serif;
    font-weight: 300;
    /*boldness*/
    font-style: italic;
    font-size: 30px;
    margin: 0px;
    padding: 0px;
}

h3 {
    font-family: "Cascadia Mono", Verdana, sans-serif;
    font-weight: 300;
    /*boldness*/
    font-style: italic;
    font-size: 20px;
    margin: 0px;
    padding: 0px;
}


/* Animated clouds in the sky */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300%;
    height: 30%;
    background:
        /* Cloud layer 1 */
        radial-gradient(ellipse 200px 80px at 20% 40%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(ellipse 150px 60px at 60% 30%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(ellipse 180px 70px at 85% 50%, rgba(255, 255, 255, 0.65), transparent),
        /* Cloud layer 2 */
        radial-gradient(ellipse 220px 90px at 40% 60%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(ellipse 160px 65px at 75% 70%, rgba(255, 255, 255, 0.55), transparent),
        /* Subtle light rays */
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 100%);
    pointer-events: none;
    animation: cloudDrift 60s linear infinite;
}

@keyframes cloudDrift {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.33%);
    }
}

#subheading {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: 10vh;
    pointer-events: none;
}


#navbar {

    top: 15px;
    /* Distance from top when stuck */
    z-index: 3;

    display: flex;
    justify-content: center;
    align-items: center;
    /* Changed from 'top' */
    max-height: 35%;
    gap: 10vw;
    font-size: 20px;
    border-radius: 50px;
    padding: 10px;
    border-bottom: 1px solid #5C4A2F;
    margin-top: 15px;
    pointer-events: all;
}





#navbar a {
    text-decoration: none;
    /*removes hyperlink underline*/
    font-style: italic;
    color: #5C4A2F;
}

#navbar a:visited {
    text-decoration: none;
    /*removes hyperlink underline*/
    font-style: italic;
    color: #5C4A2F;
}

#navbar a:hover {
    text-decoration: underline;
    font-style: italic;
    color: #C9AA71;
    font-size: 1.07em;
}

#navlogo {
    width: 30px
}

#navlogo:hover {
    transform: scale(1.07);
    /* Same growth as text */
}

#footer {
    padding-top: 200px;
    padding-bottom: 100px;
}


#footernavbar {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    align-items: center;
    min-height: 100px;
}

#footernavbar a {
    text-decoration: none;
    /*removes hyperlink underline*/
    font-style: italic;
    color: #1f180f;
    font-size: 20px;
}

#footernavbar a:visited {
    text-decoration: none;
    /*removes hyperlink underline*/
    font-style: italic;
    color: #1f180f;
}

#footernavbar a:hover {
    text-decoration: underline;
    font-style: italic;
    color: #C9AA71;
    font-size: 25px;
}

#signature {
    text-align: center;
}

.icons {
    font-size: 4vh;
    padding: 1vh;
    display: flex;
    gap: 15px;
    max-width: 40vw;
    justify-content: space-evenly;
    position: relative;
    z-index: 3;
}

.icons a:visited {
    color: #5C4A2F;
    text-decoration: none;
}

.icons a:hover {
    color: #C9AA71;
    font-size: 4.5vh;

}

.icons a {
    color: #5C4A2F;
}



/* Lab report cards that "float" in the ocean */
.card {
    background: rgba(201, 170, 113, 0.7);
    border: 1px solid #1f180f;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(100, 200, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(100, 200, 255, 0.2);
}

#title {
    text-align: center;
}

.card img {
    width: 20vw;
    position: relative;
    right: 15px;
    border-style: solid;
    border-width: 3px;
    border-radius: 10px;
}

.card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-right: 1em;
}

.card ul {
    max-width: 65vw;
}

.card p {
    max-width: 50vw;

}

.pdf img {
    width: 100%;
    margin-left: 0.9em;
    border: 2px solid #5C4A2F;
    border-radius: 10px;


}


.pdf {
    align-items: center;
    width: 40%;
}

.hr1 {
    border-color: #1f180f;
}