/* Define your colors at the top using CSS variables */
:root {
    --background-color: rgb(230, 230, 230);
    --border-color: black;
    --text-color: black;
    --background-color2: rgb(181, 181, 181);
    --header-background: white;

    /* Size of Socials Icon Images */
    --link-icon-size: 70%;

    /* For Cropping Image Sides (adjust offset)*/
    --offset: 36px;
    --double-offset: calc(var(--offset) * 2);

    --interestsProfilePicHeight: 150px;
}

@font-face {
    font-family: "San Francisco";
    font-weight: 400;
    src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-regular-webfont.woff");
}



*,
html {
    margin: 0;
    padding: 0;
}


body {
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: relative;
    z-index: 1;
}

i {
    font-size: 0.9em;
}

.links {
    text-decoration: none;

}

a {
    color: black;
    font-family: "Silkscreen", monospace;
}

img {
    border-radius: 5px;
    max-width: 100%;
    height: auto;
    display: block;
}

a img {
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

a img:hover {
    transform: scale(1.02);
}

.body-text {
    font-size: 0.8em;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    margin-bottom: 10px;
    margin-left: 20px;
}



.content-wrapper {
    background-color: var(--background-color);
    height: auto;
    width: 572px;
    transition: transform 0.15s;
    /* Optional: Smooth scaling transitions */
    align-items: center;
    justify-content: center;
    min-height: 1327px;
}

.topcell {
    height: 32px;
    background-color: var(--background-color2);
    margin-bottom: 4px;
    border-radius: 3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    font-size: 0.80em;
}

.topcell h3 {
    color: white;
    font-family: "Silkscreen", monospace;
    font-weight: 400;
}


#text02 {
    text-align: center;
}

.bottomcell {
    height: auto;
    background-color: white;
    padding: 6px 6px 8px 6px;
    border-radius: 3px;
}


.tabs {
    display: flex;
    border-bottom: 1px solid #ccc;
}

.tab {
    width: 135px;
    padding: 0px 0px;
    padding-left: 5px;
    cursor: pointer;
    position: relative;
    background: #f0f0f0;
    border-radius: 5px 5px 0 0;
}

.tab.active {
    background: #ccc;
    border: 1px solid #ccc;
    border-bottom: none;
    font-weight: bold;
    /* Make the text bold when active */
}


.tab.active::before,
.tab.active::after {
    background: #fff;
}

.tab-content {
    position: relative;
}

.tab-pane {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-pane.active {
    opacity: 1;
    z-index: 1;
}

.tab .tab-text {
    font-family: "Silkscreen", monospace;
}

.tab.active .tab-text {
    font-weight: bold;
}


.line {
    padding: 0 10px;
}



.row {
    display: flex;
}

/* Create two equal columns that sits next to each other */
.column {
    flex: 50%;
    overflow: hidden;
    /* Crop the image to fit within the column */
}


#go-back {
    margin: 12px 0px;
}

.important {
    display: inline-block;
    background-color: rgba(144, 144, 144, 0.25);
}


#banner {
    width: 100%;
    height: auto;
}

#heading {
    font-size: 1.2em;
    font-family: "Shrikhand", serif;
    font-weight: 400;
    font-style: normal;
    margin-top: 0px;
    text-shadow: 0.15rem 0.15rem 0rem rgb(100, 100, 100);
}

#header-content {
    font-family: "Silkscreen", monospace;
    width: auto;
    margin-bottom: 16px;
}

.container {
    display: flex;
    /* Flexbox to create two columns */
    justify-content: flex-start;
    /* Align items at the start */
}

.info {
    /* Light gray for visibility */
    padding: 0;
    white-space: nowrap;
    /* Prevents text wrapping, ensuring content-based width */
}

#info-heading {
    font-family: "Silkscreen", monospace;
    display: inline-block;
    background-color: rgba(144, 144, 144, 0.25);
}

.info-list {
    font-family: "Poppins", sans-serif;
    margin-bottom: 10px;
}

.info-list ul {
    list-style-type: disc;
    /* Adds bullets to the list */
    padding-left: 20px;
    /* Adds padding to the left so the bullets are indented */
    font-size: 0.7em;
    /* Adjust the font size for the entire list */
}

.info-list ul li {
    margin-bottom: 0.1em;
    /* Adds some space between each list item */
}

.info-list ul li p {
    margin: 0;
    /* Removes default paragraph margins */
    /* You can further adjust the paragraph font size if needed */
}

.info-list ul li::marker {
    font-size: 0.7em;
}

li::marker {
    font-size: 0.7em;
}

#pc-link {
    font-family: "Poppins", sans-serif;
    font-size: 0.75em;
    margin-bottom: 5px;
}


#kofi-goal-heading {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 1em;
}


.main {
    /* Light blue for visibility */
    padding-left: 10px;
    flex-grow: 1;
    /* Makes this column take up the remaining space */
}

.main-heading {
    font-size: 2em;
    font-family: "Shrikhand", serif;
    font-weight: 400;
    font-style: normal;
    margin-top: 5px;
    text-shadow: 0.12rem 0.12rem 0rem rgb(100, 100, 100);
}


table {
    width: 100%;
    /* Set table width to fill the container */
    border-collapse: collapse;
    /* Remove default space between borders */
    transition: transform 0.3s ease;
    /* Smooth transition for the scaling effect */
    z-index: 50;
}

th {
    background-color: #d1d1d1;
    /* Light grey background for the header */
    padding: 10px;
    /* Padding for header cell */
    text-align: left;
    /* Align text to the left */
    font-weight: bold;
    /* Make text bold */
    border: 1px solid black;
    /* Add black border around header */
    font-family: "Poppins", sans-serif;
    /* Use Poppins font */
}

td {
    padding: 10px;
    /* Padding for content cell */
    border: 1px solid black;
    /* Add black border around content */
    font-family: "Poppins", sans-serif;
    /* Use Poppins font */
    font-size: 11px;
    /* Adjust text size */
    line-height: 1;
    /* Increase line height for readability */
    box-sizing: border-box;
    /* Include padding/border in width/height calculations */
}


/* Hover effect */
#table-link:hover table {
    transform: scale(0.98);
    /* Scale the table by 2% on hover */
}

.support-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.support-image {
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: none;
    transition: transform 0.3s ease-in-out;
}

.support-text {
    box-shadow: none;
    position: relative;
    z-index: 10;
}

/* Hover effect with origin point customization */
.support-text:hover {
    transform: scale(1.03);
    transform-origin: center center;
    /* Change this to adjust expansion point */
}


.gallery-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.gallery-wrapper {
    display: flex;
    transition: transform 0.3s ease;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.gallery-item {
    flex: 0 0 calc(33.333% - 10px);
    /* 3 images per view with small gap */
    height: 100px;
    /* Fixed height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    /* Ensures image covers the entire box */
}

.gallery-item:hover {
    transform: scale(0.97);
}


.gallery-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

.gallery-nav-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 7px 10px;
    cursor: pointer;
    pointer-events: auto;
    border-radius: 5px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

.modal-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 100vh;
    /* Ensures the modal fills the entire viewport height */
}

.modal-image {
    max-width: 80%;
    max-height: 90%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.image-description,
.close-btn,
.nav-btn {
    margin-top: 1rem;
}
.image-description {
    visibility: hidden;
}

.close-btn,
.nav-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.5);
    color: #000;
    border: none;
    font-size: 24px;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.close-btn:hover,
.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.close-btn {
    top: 20px;
    right: 20px;
}

.nav-btn {
    top: 50%;
    transform: translateY(-50%);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

@media (max-width: 768px) {

    .close-btn,
    .nav-btn {
        font-size: 18px;
        padding: 8px;
    }

    .close-btn {
        top: 10px;
        right: 10px;
    }

}

.gallery-set {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 1rem;
}






















.socials-banner-div {
    text-align: center;
    margin: auto;
    padding: auto;
    align-items: center;

}

#socials-banner-pic {
    height: 100px;
    width: auto;
    margin: auto;
    object-fit: contain;
}




.socials-heading p {
    width: auto;
    font-size: 0.67em;
    font-family: "Silkscreen", monospace;
    background-color: rgb(181, 181, 181);
    padding-left: 5px;
    margin-bottom: 10px;
    border-radius: 3px;
}

.socials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns */
    grid-template-rows: auto;
    /* Automatically adjust row height */
    gap: 9px;
    /* Space between grid items */
    max-width: 100%;
    row-gap: 15px;
}

.social {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

}

.socials-pic,
.socials-text,
.socials-link {
    width: 100%;
    padding: 0;
    margin: 0;
}

.socials-pic img {
    width: 100%;
    /* Ensure the image takes up the full width of the container */
    height: auto;
    object-fit: cover;
    /* Crop the image to fit within the height */
    display: block;
    /* Remove inline space */
    border: 1px solid #000;
    /* Example border */
    border-radius: 5px;
    margin: 0;
    /* Remove any default margin */
    padding: 0;
    /* Remove any default padding */
    box-sizing: border-box;
    /* Ensure border is included in the element's dimensions */
}

.socials-link a {
    text-decoration: none;
    color: black;
}

.socials-link h1 {
    width: auto;
    font-size: 13.5pt;
    font-family: "Silkscreen", monospace;
    background-color: rgb(226, 226, 226);
    margin: 7px 2px;
    padding: 5px 0px;
    border-radius: 12px;
    box-shadow: rgb(0, 0, 0) 0px 0px 4.33333px 0px;
    font-weight: normal;
    text-align: center;
}

.socials-link h1:hover {
    background-color: rgb(190, 190, 190);
}

.socials-table {
    border-collapse: collapse;
    width: 100%;
    font-family: "Poppins", sans-serif;
}

.socials-table td {
    border: 2px solid black;
    padding: 10px;
    text-align: left;
    font-size: 8pt;
    font-weight: 500;
    line-height: 1em;
    margin: 0;
}

#tiny_cat {
    width: auto;
    height: 50px;
    align-items: center;
    margin-top: 10px
}

.interests-heading {
    font-size: 1.5em;
    font-family: "Shrikhand", serif;
    font-weight: 400;
    font-style: normal;
    margin-top: 0px;
}

#interests-heading-text {
    margin: 5px;
}

.interests-heading p {
    width: auto;
    font-size: 0.67em;
    font-family: "Silkscreen", monospace;
    background-color: rgb(181, 181, 181);
    padding-left: 5px;
    margin-bottom: 10px;
    border-radius: 3px;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns */
    grid-template-rows: auto;
    /* Automatically adjust row height */
    gap: 20px;
    /* Space between grid items */
    max-width: 100%;
    row-gap: 10px;
    padding-bottom: 10px;
}

.interest {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

}

.interest-pic img {
    width: 100%;
    /* Ensure the image takes up the full width of the container */
    height: auto;
    object-fit: cover;
    /* Crop the image to fit within the height */
    display: block;
    /* Remove inline space */
    border: 1px solid #000;
    /* Example border */
    border-radius: 5px;
    margin: 0;
    /* Remove any default margin */
    padding: 0;
    /* Remove any default padding */
    box-sizing: border-box;
    /* Ensure border is included in the element's dimensions */
}

.interest-text {
    width: 100%;

}

.interest-text p {
    font-family: "Silkscreen", monospace;
    background-color: rgb(226, 226, 226);
    font-size: 1em;
    box-shadow: rgb(0, 0, 0) 0px 0px 4.33333px 0px;
    border-radius: 5px;
    padding: 3px 0px;
    margin-left: 2px;
    margin-right: 2px;
    margin-top: 10px;
}

.interest-text p:hover {
    background-color: rgb(190, 190, 190);
}


/* Styles for screens with a maximum width of 768px (tablets and mobile devices in landscape mode) */
@media (max-width: 2000px) {
    .content-wrapper {
        transform: scale(0.95);

    }
}

/* Styles for screens with a maximum width of 768px (tablets and mobile devices in landscape mode) */
@media (max-width: 768px) {
    .content-wrapper {
        transform: scale(0.8);

    }
}

/* Styles for screens with a maximum width of 480px (mobile devices in portrait mode) */
@media (max-width: 480px) {
    .content-wrapper {
        transform: scale(0.5);
    }
}

/* Styles for screens with a maximum width of 480px (mobile devices in portrait mode) */
@media (max-width: 300px) {
    .content-wrapper {
        transform: scale(0.3);
    }
}



/*Fonts*/
.silkscreen-bold {
    font-family: "Silkscreen", monospace;
    font-weight: 700;
    font-style: normal;
}

.silkscreen-regular {
    font-family: "Silkscreen", monospace;
    font-weight: 400;
    font-style: normal;
}

.shrikhand-regular {
    font-family: "Shrikhand", serif;
    font-weight: 400;
    font-style: normal;
}


.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.bell {
    color: black;
    -webkit-animation: ring 5s ease-in-out infinite;
    -webkit-transform-origin: 50% 4px;
    -moz-animation: ring 5s ease-in-out infinite;
    -moz-transform-origin: 50% 4px;
    animation: ring 5s ease-in-out infinite;
    transform-origin: 50% 4px;
}

@-webkit-keyframes ring {
    0% {
        -webkit-transform: rotateZ(0);
    }

    1% {
        -webkit-transform: rotateZ(30deg);
    }

    3% {
        -webkit-transform: rotateZ(-28deg);
    }

    5% {
        -webkit-transform: rotateZ(34deg);
    }

    7% {
        -webkit-transform: rotateZ(-32deg);
    }

    9% {
        -webkit-transform: rotateZ(30deg);
    }

    11% {
        -webkit-transform: rotateZ(-28deg);
    }

    13% {
        -webkit-transform: rotateZ(26deg);
    }

    15% {
        -webkit-transform: rotateZ(-24deg);
    }

    17% {
        -webkit-transform: rotateZ(22deg);
    }

    19% {
        -webkit-transform: rotateZ(-20deg);
    }

    21% {
        -webkit-transform: rotateZ(18deg);
    }

    23% {
        -webkit-transform: rotateZ(-16deg);
    }

    25% {
        -webkit-transform: rotateZ(14deg);
    }

    27% {
        -webkit-transform: rotateZ(-12deg);
    }

    29% {
        -webkit-transform: rotateZ(10deg);
    }

    31% {
        -webkit-transform: rotateZ(-8deg);
    }

    33% {
        -webkit-transform: rotateZ(6deg);
    }

    35% {
        -webkit-transform: rotateZ(-4deg);
    }

    37% {
        -webkit-transform: rotateZ(2deg);
    }

    39% {
        -webkit-transform: rotateZ(-1deg);
    }

    41% {
        -webkit-transform: rotateZ(1deg);
    }

    43% {
        -webkit-transform: rotateZ(0);
    }

    100% {
        -webkit-transform: rotateZ(0);
    }
}

@-moz-keyframes ring {
    0% {
        -moz-transform: rotate(0);
    }

    1% {
        -moz-transform: rotate(30deg);
    }

    3% {
        -moz-transform: rotate(-28deg);
    }

    5% {
        -moz-transform: rotate(34deg);
    }

    7% {
        -moz-transform: rotate(-32deg);
    }

    9% {
        -moz-transform: rotate(30deg);
    }

    11% {
        -moz-transform: rotate(-28deg);
    }

    13% {
        -moz-transform: rotate(26deg);
    }

    15% {
        -moz-transform: rotate(-24deg);
    }

    17% {
        -moz-transform: rotate(22deg);
    }

    19% {
        -moz-transform: rotate(-20deg);
    }

    21% {
        -moz-transform: rotate(18deg);
    }

    23% {
        -moz-transform: rotate(-16deg);
    }

    25% {
        -moz-transform: rotate(14deg);
    }

    27% {
        -moz-transform: rotate(-12deg);
    }

    29% {
        -moz-transform: rotate(10deg);
    }

    31% {
        -moz-transform: rotate(-8deg);
    }

    33% {
        -moz-transform: rotate(6deg);
    }

    35% {
        -moz-transform: rotate(-4deg);
    }

    37% {
        -moz-transform: rotate(2deg);
    }

    39% {
        -moz-transform: rotate(-1deg);
    }

    41% {
        -moz-transform: rotate(1deg);
    }

    43% {
        -moz-transform: rotate(0);
    }

    100% {
        -moz-transform: rotate(0);
    }
}

@keyframes ring {
    0% {
        transform: rotate(0);
    }

    1% {
        transform: rotate(30deg);
    }

    3% {
        transform: rotate(-28deg);
    }

    5% {
        transform: rotate(34deg);
    }

    7% {
        transform: rotate(-32deg);
    }

    9% {
        transform: rotate(30deg);
    }

    11% {
        transform: rotate(-28deg);
    }

    13% {
        transform: rotate(26deg);
    }

    15% {
        transform: rotate(-24deg);
    }

    17% {
        transform: rotate(22deg);
    }

    19% {
        transform: rotate(-20deg);
    }

    21% {
        transform: rotate(18deg);
    }

    23% {
        transform: rotate(-16deg);
    }

    25% {
        transform: rotate(14deg);
    }

    27% {
        transform: rotate(-12deg);
    }

    29% {
        transform: rotate(10deg);
    }

    31% {
        transform: rotate(-8deg);
    }

    33% {
        transform: rotate(6deg);
    }

    35% {
        transform: rotate(-4deg);
    }

    37% {
        transform: rotate(2deg);
    }

    39% {
        transform: rotate(-1deg);
    }

    41% {
        transform: rotate(1deg);
    }

    43% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(0);
    }
}