@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');

body {
    margin: 0;
    margin-top: 0;
    /* background-color: #2B2A2B; */
    background-color: black;
    cursor: default;
    user-select: none;
    color: white;
    overflow-x: hidden;
}

.menu-button {
    display: none;
    /* border: 0.25vh solid white; */
    background: none;
    color: white;
    font-size: 1.5rem;
    width: 13vw;
    /* Equal width and height */
    height: 13vw;
    text-align: center;
    padding: 0;
    /* Remove padding to keep it a perfect circle */
    border-radius: 50%;
    /* Makes it circular */
    cursor: pointer;
    position: fixed;
    z-index: 1000000000000000000;
    top: 4%;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
    align-items: center;
    transition: .5s;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    backdrop-filter: blur(5px);
    /* Centers the icon inside */
}

.nav-side {
    display: none;
    position: fixed;
    z-index: 10000;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .85);
    backdrop-filter: blur(5px);
    opacity: 1;
    /* display: flex; */
    flex-direction: column;
    text-decoration: none;
    list-style-type: none;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.nav-side ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-decoration: none;
    text-align: center;
}

.nav-side ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.25rem;
    font-family: sans-serif;
}

.nav-side ul li {
    margin-bottom: 3vh;
}

.menu-button:hover {
    background-color: white;
    color: black;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding-top: 1%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 1%;
    padding: 1%;
    width: 56vw;
    height: 6vh;
    border-radius: 50vh;
    background-color: rgba(0, 0, 0, .25);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    /* border: solid 1px;
    border-color: white; */
}



@media only screen and (max-width: 850px) {

    nav {
        display: none;
    }

    .menu-button {
        display: flex;
        display: block !important;
    }

    .competition-header {
        flex-direction: column!important;
        gap: 0%!important;
        margin: 0%!important;
        padding: 0%!important;
    }

    .middle-dot {
        display: none!important;
    }

    nav {
        padding: 0;
    }

    .nav-container {
        display: flex;
        align-items: center;
        justify-content: left;

    }

    .header {
        font-size: 1rem !important;
    }

    .header2 {
        font-size: 1rem !important;
    }

    .sub-header {
        font-size: 2.5rem !important;
    }

    .sub-content {
        font-size: 1.5rem !important;
    }

    .stats-cards {
        flex-direction: column !important;
    }

    .stats-card-header {
        font-size: 3rem !important;
    }

    .stats-card-info {
        font-size: 1.35rem !important;
    }

    .stats-button {
        font-size: 1.125rem !important;
        width: 50% !important;
        transform: translateX(50%) !important;
        margin-top: 5% !important;
        margin-bottom: 5% !important;
    }

    .bottom-center-button {
        width: 50% !important;
        font-size: 1.125rem !important;
    }

    .sponsors-container {
        flex-direction: column !important;
    }

    .sponsors-card {
        margin-top: 3% !important;
        max-width: 85vw !important;
        max-height: 25vw !important;
        margin-bottom: 15% !important;
    }

    #sponsors-more-button {
        width: 50% !important;
        font-size: 1.125rem !important;
        transform: translateX(-25%) !important;
    }

    .stats-container {
        margin-top: 10vh !important;
    }

    .info {
        font-size: 1rem !important;
    }
}

@media only screen and (max-width: 1250px) {
    .nav-item-left {
        display: none;
    }
}

.nav-container li {
    width: 33%;
    text-align: center;
    padding: 2%;
    transition: 0.25s;
    border-radius: 5px;
    font-size: 100%;
}

.nav-container li a {
    color: rgb(125, 125, 125);
    text-decoration: none;
    font-family: sans-serif;
    transition: 0.25s;
}

.nav-item-center:hover {
    background-color: rgba(35, 35, 35, 0.5);
}

.nav-item-center:hover a {
    color: #fff;
}

.header-line {
    padding-top: 100px;
    display: flex;
    align-items: center;
}

.header-line h2 {
    margin: 0;
    padding-right: 10px;
    font-size: 24px;
    color: #FFFFFF;
}

.header-line .line {
    flex-grow: 1;
    height: 2px;
    background-color: white;
}

.contact {
    margin: 0;
    margin: 0;
    padding-top: 8vh;
    position: absolute;
    width: 100%;
    /* height: 100%; */
    justify-content: center;
    /* background-color: purple; */
}

#logo {
    height: 6vh;
    border-right: solid 1px #787878;
}


.header-container {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 8%;
    width: 50%;
    padding-left: 25%;
}

#spon {
    margin-top: 5%;
}

#team {
    margin-top: 5vh;
}

#stats2 {
    margin-bottom: 5%;
}

.header-container4 {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 6%;
    width: 50%;
    padding-left: 25%;
}

.line {
    flex: 1;
    border-top: 0.5vh solid white;
    opacity: 0.5;
}

.header {
    color: white;
    padding: 0 1vh;
    margin: 0;
    font-family: Sans-Serif;
    font-size: 1.5rem;
    opacity: 0.5;
    /* 1.5vw */
}

.heading {
    font-size: 1.5rem;
    color: rgb(250, 250, 250);
    font-family: sans-serif;
    padding-left: 10%;
}

hr {
    color: rgb(64, 64, 64)
}

.header2 {
    color: white;
    padding-right: 1vh;
    margin: 0;
    font-family: Sans-Serif;
    font-size: 1.5rem;
    opacity: 0.5;
}

.contact-container {
    width: 92%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 5%;
    margin-left: 4%;

}

/* .contact-card {
    display: flex;
    flex-direction: column;
    width: 30%;
    height:100%;
    transition: 1s;
    padding-top: 5%;
}

.contact-card:hover {
    transform: scale(1.03);
}

.card-img {
    border-top-right-radius: 2vh;
    border-top-left-radius: 2vh;
    height: 50vh;
}

.card-txt-container {
    background-color: #1c1c1c;
    color: whitesmoke;
    margin:0;
    padding:0;
    align-items: center;
    text-align: center;
    font-size: 3vh;
    font-family: Sans-Serif;
    border-bottom-left-radius: 2vh;
    border-bottom-right-radius: 2vh;
}

.card-txt {
    padding-top: 2%;
    padding-bottom: 2%;
}

.link {
    text-decoration: none;
    color: rgba(245, 245, 245, 0.25);
    transition: 1s;
}

.link:hover {
    color: rgba(245, 245, 245, 0.5);
} */

.info {
    font-family: "Orbitron", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.75rem;
    text-align: center;
}

.card-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 2%;
}

.card {
    width: 30%;
    height: 50vh;
    background-color: rgb(15, 15, 15);
    border-radius: 1.5vh;
    overflow: hidden;
    margin-bottom: 4%;
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: transform 0.3s ease;
    border: white solid .25vh;
}

.card-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.card img {
    max-width: 75%;
    max-height: 100%;
    height: auto;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
}

.card:hover img {
    transform: scale(1.2);
}

.home {
    margin: 0;
    padding: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.competitions {
    margin: 0;
    padding: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
}

.bg {
    width: 100%;
    background-color: black;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg img {
    width: 100%;
    height: 100%;
    /* object-fit: cover;
    overflow: hidden; */
    transition: .5s;
    filter: brightness(0.85);
}

.bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25%;
    /* Adjust based on how much gradient you need */
    background: linear-gradient(to top, black, rgba(5, 8, 28, 0));
    pointer-events: none;
    /* Ensures the gradient doesn’t block interactions */
}

/* .bg img:hover {
    transform: scale(1.05);
}
 */
.header-container2 {
    display: flex;
    /* align-items: center;
    justify-content: center;
    text-align: center; */
    padding-top: 12%;
    width: 100%;
    justify-content: center;
    align-items: center;
    color: white;
}

.header-container6 {
    display: flex;
    /* align-items: center;
    justify-content: center;
    text-align: center; */
    padding-top: 20%;
    width: 100%;
    justify-content: center;
    align-items: center;
    color: white;
}

hr {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.home-info {
    width: 80%;
    margin-top: 0;
    padding-top: 0;
    display: block;
    margin: auto;
    padding-bottom: 6%;
    color: white;

}

.sub-header {
    padding: 0 1vh;
    font-family: "Orbitron", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 4.25rem;
    color: white;
    text-align: center;
    font-weight: 100;
}

.sub-content {
    padding-left: 1vh;
    text-align: center;
    font-size: 2rem;
    font-family: Sans-Serif;
    font-weight: 50;
    letter-spacing: .15vw;
}

#comp {
    margin-top: 19%;
    padding-left: 0;
}

.stats-container {
    border: 0.25vh white solid;
    width: 100%;
    background-color: rgb(15, 15, 15);
    border-radius: 1.5vh;
    margin-top: 8%;
    height: auto;
    padding-bottom: 2%;
}

.header-container3 {
    display: flex;
    /* align-items: center;
    justify-content: center;
    text-align: center; */
    padding-top: 2%;
    width: 99%;
    justify-content: center;
    align-items: center;
    color: white;
}

.line2 {
    flex: 1;
    border-top: 0.5vh solid white;
    opacity: 0.5;
}

.stats-cards {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10%;
    position: relative;
    justify-content: center;
    margin: 0;
    padding-bottom: 2%;
    flex-direction: row;
}

.stats-card {
    margin: 0;
}

.stats-card-header {
    font-family: Sans-Serif;
    font-size: 4rem;
    color: white;
    text-align: center;
    transition: 0.1s;
}

.stats-card-info {
    text-align: center;
    padding: 0;
    margin: 0;
    font-family: Sans-Serif;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.75);
    padding-bottom: 5%;
}

.stats-card-header:hover {
    transform: scale(1.5);
}

.sponsors-container {
    width: 100%;
    height: auto;
    padding-right: 1%;
    position: relative;
    justify-content: center;
    margin: 0;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 10%;
}

.sponsors-card {
    max-width: 15%;
    max-height: 15%;
    filter: brightness(0) invert(1) drop-shadow(0 0 0.75rem rgb(97, 97, 97));
    flex: 1 1 calc(25% - 10px);
    margin-bottom: 10px;
}

.sponsors-more-container {
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: auto;
    position: relative;
    margin: 0;
    padding: 0;
    margin-top: 5%;
}

#sponsors-more-button {
    position: relative;
    margin: auto;
    justify-content: center;
    align-items: center;
    padding: 1%;
    font-size: 1.25rem;
    font-family: Sans-Serif;
    border-radius: 100vh;
    border: none;
    color: white;
    width: 25%;
    height: 15%;
    border: solid white 0.25vh;
    background-color: rgba(245, 245, 245, 0);
    left: 37%;
    transition: 0.5s;
}

#sponsors-more-button:hover {
    background-color: white;
    color: black;
    cursor: pointer;
}

.sponsors {
    margin: 0;
    padding-top: 8vh;
    position: absolute;
    width: 100%;
    /* height: 100%; */
    justify-content: center;
}

.card-container-sponsors {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 2%;
}

.card-sponsors {
    width: 23%;
    height: 50vh;
    background-color: rgb(15, 15, 15);
    border-radius: 1.5vh;
    overflow: hidden;
    margin-bottom: 4%;
    text-decoration: none;
    /* display: inline-block; */
    position: relative;
    transition: transform 0.3s ease;
    border: white solid .25vh;
}

.card-content-sponsors {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.card-sponsors img {
    max-width: 75%;
    max-height: 100%;
    height: auto;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
    opacity: 0.5;
}

.sponsors-container {
    width: 92%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    margin-left: 4%;
}

.card-sponsors:hover img {
    transform: scale(1.2);
    opacity: 1;
}

.contributors {
    margin: 0;
    padding: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.contributors {
    margin: 0;
    padding: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.meet-our-team-container {
    position: relative;
    border: 0.25vh white solid;
    width: 100%;
    border-radius: 1.5vh;
    margin-top: 10%;
    height: 45vh;
    overflow: hidden;
}

#meet-our-team {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
    filter: brightness(.75);
    transition: 5s;
}

#meet-our-team:hover {
    transform: scale(1.25);
}

.meet-our-team-container::before {
    content: '';
    position: absolute;
    bottom: 0;
    /* Keep the gradient at the bottom */
    left: 0;
    width: 100%;
    height: 100%;
    /* Adjust this value to control the gradient height */
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    z-index: 1;
    pointer-events: none;
}

.bottom-center-button {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    /* padding: 10px 20px;
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); */
    font-size: 1.25rem;
    font-family: Sans-Serif;
    border-radius: 100vh;
    border: none;
    color: white;
    width: 25%;
    /* height: 7vh; */
    border: solid white 0.25vh;
    background-color: rgba(245, 245, 245, 0);
    z-index: 2;
    cursor: pointer;
    transition: 0.5s;
    min-height: 10%;
    padding: 1%;
}

.bottom-center-button:hover {
    background-color: white;
    color: black;
    cursor: pointer;
}

/* Span stuff */

.stats-button {
    color: white;
    font-size: 1.25rem;
    font-family: Sans-Serif;
    border-radius: 100vh;
    width: 25%;
    height: 50%;
    border: solid white 0.25vh;
    background-color: rgba(0, 0, 0, 0);
    z-index: 2;
    cursor: pointer;
    transition: 0.5s;
    box-shadow: none;
    transform: translateX(150%);
    margin-top: 1%;
    margin-bottom: 1%;
    padding: 1%;
}



.stats-button:hover {
    color: black;
    background-color: white;
}

.team-info {
    width: 75%;
    margin-top: 14%;
    padding-top: 8%;
    display: block;
    /* transform: translateX(16%); */
    margin: auto;
}

.footer {
    width: 100%;
    height: 5vh;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-top: white 0.25vh solid;
}

.footer-content {
    font-size: 2.5vh;
    justify-content: center;
    align-items: center;
    margin: auto;
    text-decoration: none;
    padding-top: .5%;
    font-family: sans-serif;
    font-weight: 100;
}

.link-to-here {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

.members-container {
    width: 75%;
    margin-top: 0;
    padding-top: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
    padding-bottom: 5%;
    gap: 3%;
    /* border-top: white 0.25vh solid;
    border-right: white 0.25vh solid;
    border-left: white 0.25vh solid;
    border-top-right-radius: 1.5vh;
    border-top-left-radius: 1.5vh; */
}

@media only screen and (max-width: 850px) {
    .card-sponsors {
        width: 100%;
        height: 25vh;
    }

    .card-container-sponsors {
        flex-direction: column;
    }

    .card {
        width: 100%;
        height: 25vh;
    }

    .contact-container {
        flex-direction: column;
    }

    .member-card {
        width: 100% !important;
        ;
        height: 50vh !important;
        ;
    }

    .members-container {
        flex-direction: column;
    }

}

.member-card {
    width: 25%;
    height: 25vh;
    display: flex;
    flex-direction: column;
    font-family: sans-serif;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-top: 3%;
    padding: 2%;
    transition: 0.5s;
    background-color: rgb(15, 15, 15);
    border-radius: 10px;
    border: white 0.25vh solid;
}

.member-card:hover {
    transform: scale(1.075);
}

.member-image {
    width: 15vh;
    height: 15vh;
    border: 0.25vh white solid;
    border-radius: 100vh;
    overflow: hidden;
    transition: 1s;
}

.member-name {
    font-size: 3vh;
    margin: 0;
    padding: 1%;
    margin-top: 5%;
    font-weight: bold;
}

.member-role {
    font-size: 2vh;
    padding: 0;
    margin: 0;
    margin-top: 5%;
    font-weight: bold;
    opacity: 0.5;
}

.member-image:hover {
    transform: rotate(360deg);
}

.sidebar {
    position: fixed;
    width: 25%;
    height: 86.5%;
    justify-content: center;
    display: flex;
    align-items: center;
    bottom: 0;
    /* background-color: red; */
}

.sidebar-content {
    height: 80%;
    width: 85%;
    margin: 37% auto;
    position: relative;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 25%;
    /* background-color: green; */
}

.sidebar-content::-webkit-scrollbar {
    display: none;
}

.sidebar a {
    text-decoration: none;
    font-size: 4vh;
    color: white;
    display: block;
    font-family: sans-serif;
    opacity: .5;
    transition: .5s;
    filter: drop-shadow(0 0 1rem rgb(102, 102, 102));
    width: 100%;
    box-sizing: border-box;
    position: relative;
    margin: auto;
    text-align: center;
}

.sidebar a:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 0.75rem rgb(67, 67, 67));
}

.competitions-container {
    color: white;
    margin-top: 8vh;
    margin-left: 25%;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    padding: 0;
}

.competitions-inner {
    width: 82%;
    /* background-color: aqua; */
    margin: 0;
    padding: 0;
    padding-bottom: 5%;
}

.competition-year {
    font-family: "Orbitron", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 8vh;
    margin-top: 2%;
    padding: 0;
    font-weight: 50;
    /* background-color: antiquewhite; */
    margin-bottom: 0;
}

.competition-header {
    display: flex;
    flex-direction: row;
    gap: 2%;
    padding: 0;
    margin: 0;
    font-size: 3vh;
    font-family: "Orbitron", serif;
    font-weight: 700;
    font-style: normal;
    /* font-weight: bold; */
    text-wrap: wrap;
}

.competition-card {
    width: 100%;
    /* background-color: lightgrey; */
    margin: 0;
    padding: 0;
    position: relative;
}

.competition-card-img {
    width: 100%;
    margin-top: 1%;
    max-height: 40vh;
    border: 0.25vh solid white;
    border-radius: 10px;
    overflow: hidden;
}

.competition-card-img img {
    width: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.competition-date {
    opacity: .5;
}

.middle-dot {
    opacity: .5;
    display: block;
}

.competition-subtitle {
    margin: 0;
    padding: 0;
    font-size: 2.55vh;
    font-family: "Orbitron", serif;
    font-weight: 650;
    font-style: normal;
    /* font-weight: 750; */
}

.competition-description {
    font-family: sans-serif;
    font-size: 2.5vh;
    font-weight: 100;
}

.competition-awards {
    font-size: 2.5vh;
    font-weight: 100;
    font-family: sans-serif;
}


span.sponsors,
span.contact,
span.team,
span.about,
span.stats,
span.competitions,
span.gallary {
    position: relative;
    cursor: pointer;
    padding: 2%;
    margin: -2%;
}

span.emoji::before,
span.emoji::after {
    content: "";
    position: absolute;
    top: -16px;
    left: -8px;
    opacity: 0;
    transform: scale(0.5) rotate(-30deg);
    transition: opacity 120ms ease-out, transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.5);
}

span.emoji::after {
    top: revert;
    left: revert;
    bottom: -16px;
    right: -8px;
}

span.contact::before,
span.contact::after {
    content: "📱";
    font-size: 2.5vh;
    top: -5%;
    left: -1%;
}

span.contact::after {
    top: revert;
    left: revert;
    bottom: -5%;
    right: -1%;
}

span.about::before,
span.about::after {
    content: "👋";
    font-size: 2.5vh;
    top: -5%;
    left: -1%;
}

span.about::after {
    top: revert;
    left: revert;
    bottom: -5%;
    right: -1%;
}

span.stats::before,
span.stats::after {
    content: "📊";
    font-size: 2.5vh;
    top: -5%;
    left: -1%;
}

span.stats::after {
    top: revert;
    left: revert;
    bottom: -5%;
    right: -1%;
}

span.gallary::before,
span.gallary::after {
    content: "✊";
    font-size: 2.5vh;
    top: -5%;
    left: -1%;
}

span.gallary::after {
    top: revert;
    left: revert;
    bottom: -5%;
    right: -1%;
}

span.sponsors::before,
span.sponsors::after {
    content: "❤️";
    font-size: 2.5vh;
    top: -5%;
    left: -1%;
}

span.sponsors::after {
    top: revert;
    left: revert;
    bottom: -5%;
    right: -1%;
}

span.team::before,
span.team::after {
    content: "👥";
    font-size: 2.5vh;
    top: -5%;
    left: -1%;
}

span.team::after {
    top: revert;
    left: revert;
    bottom: -5%;
    right: -1%;
}

span.competitions::before,
span.competitions::after {
    content: "🥇";
    font-size: 2.5vh;
    top: -5%;
    left: -1%;
}

span.competitions::after {
    top: revert;
    left: revert;
    bottom: -5%;
    right: 80%;
}

span.emoji:hover::before,
span.emoji:hover::after {
    transform: scale(1.2) rotate(0deg);
    opacity: 1;
}

span.emoji:active::before,
span.emoji:active::after {
    transform: scale(1) rotate(-2deg);
}

.about-section-imgp {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-left: 10%;
    padding-bottom: 1%;
    padding-right: 10%;

}

.about-sec-img {

    width: 100%;
    /* Example size, adjust as needed */
    height: 75vh;
    overflow: hidden;
    transition: .5s;
    border: 2px rgb(250, 250, 250) solid;
    border-radius: 10px;
    margin-bottom: 5%;
}

.about-section-imgp img {
    width: 100%;
    transition: .5s;
    height: auto;
    ;
    object-fit: cover;
}

.about-section-imgp p {
    flex: 1;
    text-align: center;
    ;
}

/* @media only screen and (min-width: 850px) {
    .about-section-imgp p {
        padding-left: 10%;
    }

    .about-section-imgp-l p {
        padding-right: 10%;
    }
} */


.about-section-imgp-l {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 10%;
    padding-bottom: 1%;
    padding-right: 10%;
}

.about-section-imgp-l img {
    max-width: 40%;
    /* Example size, adjust as needed */
    max-height: 60%;
    border-radius: 5px;
    transition: .5s;
    border: 2px white solid;
}

.about-section-imgp img:hover {
    transform: scale(1.025);
}

.about-section-imgp-l img:hover {
    transform: scale(1.025);
}

.about-section-imgp-l p {
    flex: 1;
}

@media only screen and (max-width: 850px) {

    .about-section-imgp,
    .about-section-imgp-l {
        display: flex;
        flex-direction: column;
        /* Stack image and text vertically */
        align-items: center;
        justify-content: flex-start;
        /* Align content to the top */
        padding: 0;
        margin: 0;
        text-align: center;
        margin-bottom: 5%;
    }

    .contact-content {
        background-image: none;
    }



    .about-section-imgp img,
    .about-section-imgp-l img {
        max-width: 80vw;
        /* Image takes 80% of the viewport width */
        max-height: auto;
        width: 80%;
        /* Ensure the image scales properly */
        margin-bottom: 10px;
        /* Adds some space between the image and the paragraph */
        border-radius: 5px;
        transition: .5s;
    }

    .about-section-imgp-l {
        flex-direction: column-reverse;
    }

    .about-section-imgp-l img,
    .about-section-imgp img {
        min-width: 100%;
        height: 75vh;
        border-radius: 10px;
        object-fit: cover;
        overflow: hidden;
        margin-bottom: 5%;
    }

    .about-section-imgp p,
    .about-section-imgp-l p {
        flex: 1;
        padding: 0;
        margin: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .about-section-imgp img:hover,
    .about-section-imgp-l img:hover {
        transform: scale(1.025);
    }
}

