*,
*:before,
*:after {
    box-sizing: inherit;
}

html {
    /*overflow-x: clip;*/
    scroll-behavior: smooth;
    box-sizing: border-box;
    background-color: #008080;
    /*overflow-x: hidden;*/
}

body {
    /*overflow-x: clip;*/
    margin: 0;
    padding: 0px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: white;
    border-radius: 8px;    
}

img {
    max-width: 100%;
    height: auto;
}

main {
    margin-left: 0;
    /* Centers the container */
    margin-right: auto;
    width: 100%;
    /* Ensures it fills the space on smaller screens */
}

/* 1. Full-width Outer Wrapper */
.outer {
    width: 100%;
    /*background-color: #FFF8DC;*/
    background-color: #FFE6E8;

    padding: 20px;
}

/* 2. Constrained Inner Container */
.inner {
    max-width: 1300px;
    margin-inline: auto;
    /* Centers the div */
    padding: 0 20px;
    /* Padding so content doesn't hit screen edges on mobile */
}

#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}

#myBtn:hover {
    background-color: #555;
}

.stay-top {
    position: fixed;
    width: 100%;
    z-index: 1;
    top: 0;
}


nav {
    background-color: black;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 70px;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Desktop Links */
.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    padding: 0 15px;
    font-size: 1.1rem;
    transition: color 0.3s;
    padding: 1rem 2rem;
    letter-spacing: 1.5px;
}

.nav-menu li a:hover {
    color: black;
    background-color: #008080;
}

/* Sandwich Button (hidden on desktop) */
.sandwich-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

hr {
    border: 1px solid silver;
}

.main-logo {
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 2px;
    /* 1. The Multi-color Gradient */
    /* Note: We start and end with the same color (#ff8a00) for a seamless loop */
    background: linear-gradient(to right,
            #ff8a00,
            #e52e71,
            #8a2be2,
            #00d4ff,
            #ff8a00);

    /* 2. Make the background wider than the text so we can move it */
    background-size: 200% auto;

    /* 3. Clip the background to the text and make text transparent */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    animation: moveGradient 4s linear infinite;
}

/* 5. Define the movement */
@keyframes moveGradient {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

/* Responsive font size for smaller screens */
@media (max-width: 600px) {
    .animated-text {
        font-size: 3rem;
    }
}

.green-link {
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    background-color: green;
    text-align: center;
    cursor: pointer;
    white-space: normal;
}

.green-link:hover {
    color: black;
    font-weight: bold;
    background-color: silver;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.8);
}

.green-link-dark {
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    background-color: green;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

.green-link-dark:hover {
    color: black;
    font-weight: bold;
    background-color: silver;
    box-shadow: 0 4px 8px rgba(235, 1, 1, 0.8);
}