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

body {
    font-family: Arial, sans-serif;
    padding: 0; /* Add this line to remove the padding */
    margin: 0; /* Add this line to remove the margin */
}

.Xmenu-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2; /* Add this line to set a higher z-index value */
}

a h2 {
    text-decoration: none;
}
.menu-bar a {
    text-decoration: none;
}

.menu-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #14b7a4;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 5px 5px;
    z-index: 1000;
    box-sizing: border-box;
}



.menu-bar h1 {
    color: #000000;
    font-size: 1.5rem;
}

.menu-bar ul {
    display: flex;
    list-style: none;
}

.menu-bar ul li {
    margin-left: 1rem;
}

.menu-bar ul li a {
    color: white;
    text-decoration: none;
}

.menu-bar ul li a:hover {
    text-decoration: underline;
}

main {
    margin-top: 4rem;
    padding: 1rem 0;
    position: relative; /* Add this line to set position relative for main */
}

main p {
    margin-bottom: 1rem;
    text-align: justify;
}

.intro-text {
    position: fixed; /* Change from relative to fixed */
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    width: 100%; /* Add this line to set the width */
    top: 10%; /* Add this line to position the text vertically */
    left: 50%; /* Add this line to position the text horizontally */
    transform: translate(-50%, -50%); /* Add this line to center the text */
    z-index: 1; /* Add this line to ensure the text is displayed above the images */
    color: #0eaad6;
    padding-top: 4rem; /* Add this line to push the content down */
}

/* Add this rule to styles.css */
.intro-text img {
    display: block;
    margin: 0 auto; /* Add this line to center the image */
}


.intro-text p {
    text-align: center
}

.image-text-wrapper {
    text-align: center;
}

@media (max-width: 768px) {
    .intro-text {
        font-size: 0.8rem; /* Adjust the font size for smaller screens */
    }
}


body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.eighty {
    box-sizing: content-box;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.about {
    margin-left: 33%;
}
.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 140px;
    /* Add this line to align the items properly */
    align-items: center;
}

.text {
    width: 100%;
    margin: auto;
}
.indent-right {
    text-align: left;
    margin-left: auto;
    margin-right: 15px;
    padding-left: 15px; /* Adding a left padding for additional indentation */
}

.no-bullet {
    list-style-type: none;
}

.text-right {
    text-align: right;
    justify-self: end;
    margin-left: 155px;
}
.turd-right {
    margin-left: 150px;
}
.grid-right {
    justify-self: end;
}

.indent {
    text-align: left;
    margin-left: auto;
    margin-right: 15px;
    padding-left: 15px; /* Adding a left padding for additional indentation */
}

.vid {
    height: 100%;
    width: 100%;
}

iframe {
    width: 100%;
}


.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    width: 85%;
}

.griddle {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 10px;
    width: 85%;
}

h1 {
    font-size: 2.75rem;
    font-family: Arial, Helvetica, sans-serif
}

img {
    width: 100%;
    height: auto;
    cursor: pointer;
}

hr {
    margin: 40px 0;
    width: 100%;
}

/* Image overlay styles */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

.overlay img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    /* Add this line to maintain the aspect ratio */
    object-fit: contain;
}

.discord {
    text-align: right;
    margin-top: 20px;
}

.discord a {
    color: #14b7a4;
    text-decoration: none;
}

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

/* New suggestion from GPT on getting this page to be more smart-phone phriendly */

/* Add the following media queries to the bottom of your styles.css */

@media screen and (max-width: 767px) {
    .container {
        grid-template-columns: 1fr;
        grid-gap: 40px;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        width: 100%;
    }

    .text, .text-right {
        text-align: center;
    }

    .indent, .indent-right {
        margin-left: 0;
        margin-right: 0;
    }

    .discord {
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .menu-bar h1 {
        font-size: 1.2rem;
    }

    .menu-bar ul li {
        margin-left: 0.5rem;
    }

    .menu-bar ul li a {
        font-size: 0.9rem;
    }

    .grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
        width: 100%;
    }
}
