/* ACTIVITIES */

.section-activities-each:nth-child(even) .subsection-activities-content {
    order: 2;
    /* Switch content placement for even subsections */
    padding-left: 10px;
}

.section-activities-each:nth-child(even) .subsection-activities-image {
    order: 1;
    /* Text on the left for even subsections */
}

.section-activities-each:nth-child(odd) .subsection-activities-content {
    order: 1;
    /* Switch content placement for odd subsections */
    padding-right: 10px;
}

.section-activities-each:nth-child(odd) .subsection-activities-image {
    order: 2;
    /* Text on the right for odd subsections */
}

.subsection-activities-content,
.subsection-activities-image {
    flex: 1;
    margin-top: auto;
    margin-bottom: auto;
    display: flex;
}

.section-activities {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    /*margin-top: 30px;*/
    border-top: 1px solid #ccc;
    background-color: rgb(253, 248, 242);
    text-align: center;
    padding-bottom: 50px;
}

.section-activities h2 {
    padding-top: 50px;
    color: rgb(129, 33, 33);
    font-size: 50px;
    margin-left: auto;
    margin-right: auto;
}

.section-activities-each {
    max-height: 600px;
    text-align: center;
    /* Center the text */
    width: 80%;
    border: 2px solid rgb(129, 33, 33);
    ;
    margin-top: 30px;
    margin-bottom: 15px;
    padding: 20px;
    display: flex;
    /*background-color: rgb(129, 33, 33);*/
    /*color: white;*/
    -webkit-box-shadow: 10px 10px 38px -22px rgba(0, 0, 0, 0.58);
    -moz-box-shadow: 10px 10px 38px -22px rgba(0, 0, 0, 0.58);
    box-shadow: 10px 10px 38px -22px rgba(0, 0, 0, 0.58);
}

.section-activities-each {
    /*borders*/
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px;
}

.subsection-activities-image {
    width: 20%;
    max-width: 350px;
    /* Adjust as needed, leaving space for margins */
    max-height: 300px;
}

.subsection-activities-content {
    width: auto;
}

.subsection-activities-image img {
    object-fit: scale-down;
    /*height: auto; /* Maintain aspect ratio */
    border-radius: 5px;
    -webkit-box-shadow: 10px 10px 38px -22px rgba(0, 0, 0, 0.58);
    -moz-box-shadow: 10px 10px 38px -22px rgba(0, 0, 0, 0.58);
    box-shadow: 10px 10px 38px -22px rgba(0, 0, 0, 0.58);
    max-width: 100%;
    max-height: 100%;
}

.subsection-activities-smallimg {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.subsection-activities ul {
    list-style: none;
    padding-left: 20px;
    text-align: center;
    /* Center the bullet points */
}


/* ABOUT ME */

.separation-bar {
    border-top: 2px solid rgb(129, 33, 33);
    margin-bottom: 10px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.about-me h2 {
    color: rgb(129, 33, 33);
    font-size: 50px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;

}

.about-me-panel {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.about-me-panel-center {
    width: auto;
    order: 2;
}

.about-me-panel-left {
    order: 1;
}

.about-me-panel-right {
    order: 3;
}

.about-me-panel-left,
.about-me-panel-right {
    width: 15%;
    /* Adjust as needed, leaving space for margins */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center content horizontally */
}

.about-me-panel-left img,
.about-me-panel-right img {
    max-width: 100%;
    /* Adjust the width */
    max-height: 500px;
    height: auto;
    /* Maintain aspect ratio */
    border-radius: 5px;
    -webkit-box-shadow: 10px 10px 38px -22px rgba(0, 0, 0, 0.58);
    -moz-box-shadow: 10px 10px 38px -22px rgba(0, 0, 0, 0.58);
    box-shadow: 10px 10px 38px -22px rgba(0, 0, 0, 0.58);

}

.about-me-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
    text-align: center;
}

.about-me-grid-item {
    border: 1px solid rgb(129, 33, 33);
    padding: 5px;
    border-radius: 5px;
    font-weight: 600;
    font-style: italic;
    -webkit-box-shadow: 10px 10px 38px -22px rgba(0, 0, 0, 0.58);
    -moz-box-shadow: 10px 10px 38px -22px rgba(0, 0, 0, 0.58);
    box-shadow: 10px 10px 38px -22px rgba(0, 0, 0, 0.58);
    background-color: rgb(253, 248, 242);
}

.about-me-grid-item h5 {
    font-size: 14px;
    color: rgb(129, 33, 33);
}

.about-me-grid-item h4 {
    font-size: 18px;
    color: rgb(129, 33, 33);
}

.about-me-grid-item h3 {
    margin-bottom: 5px;
}

/* CONNECT */

.connect-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    /*margin-top: 30px;*/
    border-top: 1px solid #ccc;
    background-color: rgb(129, 33, 33);
    color: white;
    border-radius: 0px 0px 15px 15px;
    padding-top: 10px;
}

.connect-section h2 {
    width: 100%;
    text-align: center;
    color: white;
    font-size: 40px;
    text-shadow: 4px 4px 11px rgba(0, 0, 0, 0.26);
}

.connect-section-left,
.connect-section-right {
    margin-left: 20px;
    width: 80%;
    /* Adjust as needed, leaving space for margins */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center content horizontally */
}

.connect-section-right img,
.connect-section-left img {
    max-width: 40%;
    /* Adjust the width */
    max-height: 500px;
    height: auto;
    /* Maintain aspect ratio */
    border-radius: 5px;
    -webkit-box-shadow: 10px 10px 38px -22px rgba(0, 0, 0, 0.58);
    -moz-box-shadow: 10px 10px 38px -22px rgba(0, 0, 0, 0.58);
    box-shadow: 10px 10px 38px -22px rgba(0, 0, 0, 0.58);
}

.connect-epigraph {
    margin-top: 10px;
    text-align: center;
    /* Center the text */
    max-width: 500px;
}

.connect-section-right ul {
    list-style: none;
    padding-left: 20px;
    text-align: center;
    /* Center the bullet points */
}

.made-by {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    /* Change this from column to row */
    width: 60%;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    border-top: 1px solid white;
    font-size: 12px;
}

.made-by-center {
    padding-top: 10px;
    max-width: 70%;
    flex: 1;
    flex-grow: 1;
}

.made-by-center a {
    color: white;
    text-decoration: none;
}

.made-by-left,
.made-by-right {
    padding-top: 10px;
    max-width: 15%;
    flex: 1;
    flex-grow: 1;
}


.social-panel {
    display: flex;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

.social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    transition: transform 0.15s ease-in-out;
    min-width: 150px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
}


.social-item:hover {
    transform: scale(1.1);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
    /* Add this line */
}

.social-panel a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    margin: 10px;
}

.social-item i {
    margin-right: 10px;
}


ul li {
    margin-bottom: 10px;
}

/* Footer Styles */
footer {
    /* Add your footer styles here */
}