@font-face {
    font-family: 'Rebond';
    src: url('../fonts/ES Rebond Grotesque/Web Licences/woff2/ESRebondGrotesque-Bold.woff2') format('woff2'),
        url('../fonts/ES Rebond Grotesque/Web Licences/woff/ESRebondGrotesque-Bold.woff') format('woff');
    font-weight: 700;
    /* Use the appropriate font weight value */
}

@font-face {
    font-family: 'Rebond';
    src: url('../fonts/ES Rebond Grotesque/Web Licences/woff2/ESRebondGrotesque-Semibold.woff2') format('woff2'),
        url('../fonts/ES Rebond Grotesque/Web Licences/woff/ESRebondGrotesque-Semibold.woff') format('woff');
    font-weight: 600;
    /* Use the appropriate font weight value */
}

/* Reset some default styles */
body,
h1,
h2,
h3,
h4 {
    font-family: 'Rebond', sans-serif;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

p {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
}

h2 {
    font-size: 48pt
}

h3 {
    font-size: 30pt;
    padding-bottom: 20px;
}

.chunk-text {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    text-align: center;
}


nav {
    display: flex;
}

/* Style the header and navigation */

/* Style the first section with a background image */
.bg-image {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/ClimateAlignedInsighhtGlobe.png');
    text-align: center;
    color: #fff;
    height: 600px
}

header {
    background-color: #333;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center top;
    position: relative;
    max-width: 1440px;
    min-height: 600px;
    margin: auto;
}

.head-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-gap: 1rem;
    display: grid;
    flex: 1;
    padding: 50px
}

.head-icon {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    justify-content: start;
    display: flex;
    max-height: 100px;
}

.head-menu {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    justify-content: end;
    display: flex;
}

.head-text {
    grid-row: 2 / 3;
    grid-column: 1 / 3;
    display: flex;
    text-align: left;
    padding-right: 50px;
    flex-direction: column;
    font-family: "Rebond", sans-serif;

}

.head-text h1 {
    font-size: 56pt;
    font-weight: 700;
    color: #fff;
}

.foot-container {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-gap: 0;
    display: grid;
    flex: 1;
}

.foot-button-block {
    grid-row: 1 / 2;
    grid-column: 2 / 4;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 50px;
}

.foot-contact-block {
    grid-row: 2 / 3;
    grid-column: 3 / 4;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    padding: 50px;
}

.foot-icon {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    height: 100px;
    object-fit: cover;
    margin: 50px;
}

.foot-icon img {
    width: auto;
    /* Make the image width 100% of the container width */
    height: 100%;
    /* Maintain the image's aspect ratio */
}

.foot-team-pic {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    height: 320px;
    object-fit: cover;
}

.foot-team-pic img {
    width: auto;
    /* Make the image width 100% of the container width */
    height: 100%;
    /* Maintain the image's aspect ratio */
}

/* Style the menu icon for smaller screens */
.menu-icon {
    display: flex;
    flex-direction: column;
    cursor: pointer;

}

.bar {
    width: 30px;
    height: 3px;
    background-color: #E1DBD2;
    margin: 3px 0;
}

/* Style the main content section */
main {
    margin: auto;
    background-color: #2b2b2b;
    max-width: 1440px;
    display: flex;
    flex-direction: column;
}


/* Style the sections section */
.section {
    min-height: 600px;
    padding: 50px 50px;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content h2 {
    font-size: 24px;
}

.mailto-button {
    width: 300px;
    height: 50px;
    display: flex;
    background-color: #245AE5;
    color: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    text-decoration: none;
    /* Remove underline from the link */
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.profile-pic {
    max-width: 200px;
    object-fit: cover;
    border: 20px;
}

.profile-pic img {
    width: 100%;
    /* Make the image width 100% of the container width */
    height: auto;
    /* Maintain the image's aspect ratio */
}

.logo-block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-height: 200px;
    width: 100%;
}

.logo {
    height: 100px;
    margin: 20px;
    overflow: hidden;
}

.logo img {
    height: 100%;
    /* Make the image width 100% of the container width */
    width: 100%;
    /* Maintain the image's aspect ratio */
}



/* first section */

.first-sec-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-gap: 1rem;
    display: grid;
    padding: 50px;
    flex: 1;
    width: 100%;
}

.section-body {
    padding: 50px;
    flex: 1;
    width: 100%;
    display: flex;
}

.s1-right {
    grid-row: 1 / 3;
    grid-column: 2 / 3;
    font-size: 24pt;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.s1-right p {

    padding-bottom: 32px;
}

.s1-right ol {
    margin: 0;
}

.s1-right ol li {
    padding: 0;
    margin: 0;

}

.s1-top-left {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
}

.s1-top-left h1 {
    font-size: 45pt;
}

.s1-bottom-left {
    grid-row: 2 / 3;
    grid-column: 1 / 2;

    display: flex;
    flex-direction: row;
    align-content: flex-end;
    flex-wrap: wrap;
    font-family: "Rebond", sans-serif;
}

.s1-bottom-left h1 {
    font-size: 120pt;
}

/* Apply styles to an ordered (numbered) list */
ol {
    list-style: decimal;
    /* Use decimal numbers (1, 2, 3, ...) */
    padding-left: 20px;
    /* Add some left padding to give space for numbers */
}

/* Style the list items (li) */
ol li {
    margin: 5px 0;
    /* Add some margin between list items */
    line-height: 1.5;
    /* Set the line height for better spacing */
}

/* Apply styles to an ordered (numbered) list */
ul {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    list-style-type: disc;
    /* Use filled circle bullets */
    margin: 0;
    /* Remove default margin to prevent indentation */
    padding: 0;
    padding-left: 20px
        /* Remove default padding */
}

/* Style the list items (li) */
ul li {
    margin: 10px 0;
    /* Add margin between list items */
    padding-left: 20px;
    /* Indent the text to align with bullets */
    font-size: 16px;
    /* Set the font size for list items */
}

/* second section */
.flex-row {
    flex-direction: row;
    display: flex;
}

.text-block {
    /* color: #fff; */
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.text-block h4 {
    /* color: #fff; */
    padding: 20px;
    font-size: 20pt;

}


.flex-col {
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.diagram-block {
    flex-direction: row;
    display: flex;
    align-content: space-between;
    flex-wrap: wrap;
}

.diagram-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    align-items: center;
}

.diagram-text h4 {
    font-family: "Rebond", sans-serif;
    font-size: 20pt;
    padding-bottom: 20px;
}



.center-text {
    align-items: center;
}

.diagram-icon {
    display: flex;

    height: 200px;
}

.diagram-icon img {
    width: 100%
}



/* Define color classes */
.bg-tan {
    background-color: #F4EFE5;
    /* Replace with your desired color */
    color: #000;
    /* Text color for this section */
}

.bg-charcoal {
    background-color: #404040;
    /* Replace with your desired color */
    color: #fff;
    /* Text color for this section */
}

.bg-blue {
    background-color: #245AE5;
    /* Replace with your desired color */
    color: #fff;
    /* Text color for this section */
}

.bg-black {
    background-color: #000;
    /* Replace with your desired color */
    color: #fff;
    /* Text color for this section */
}

.bg-white {
    background-color: #fff;
    /* Replace with your desired color */
    color: #404040;
    /* Text color for this section */
}

.white {
    color: #fff;
}

.blue {
    color: #245AE5;
}

.black {
    color: #000;
}

/* Style the colored rectangles */
.colored-rectangle {
    width: 100%;
    height: 25px;
    /* Adjust the height as needed */
    top: 0;
    left: 0;
}

.media-head-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-gap: 1rem;
    display: grid;
    flex: 1;
    padding: 50px
}

.media-head-text {
    grid-row: 2 / 3;
    grid-column: 1 / 3;
    display: flex;
    text-align: left;
    padding-right: 50px;
    flex-direction: column;
    font-family: "Rebond", sans-serif;
    justify-content: space-between;

}

.media-head-text p {
    font-size: 20pt;
    color: #000;

}

/* media launch page styling */

.media-section {
    display: flex;
    flex-direction: row;
}

.media-section-body {
    padding: 50px;
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.media-section-body p {
    font-size: 20pt;
    padding-bottom: 40px;
    line-height: 1.5;
    font-weight: 200;
}

.media-section-body h2 {
    font-size: 20pt;
    padding-bottom: 10px;
    line-height: 1.5;
    font-weight: 900;
}

.media-section-body ul {
    font-family: 'Lato', sans-serif;
    list-style-type: disc;
    /* Remove default bullets */
    padding-left: 0;
    /* Remove default left padding */
}

/* Style the list items */
.media-section-body ul li {
    margin-left: 35px;
    font-size: 20pt;
    /* Add left margin to create space for bullets */
}

.after-ul {
    padding-top: 40px;
    /* Adjust the padding as needed */
}

.italic {
    font-style: italic;
}

.media-section-sidebar {
    flex: 1;
    padding-right: 50px;
    padding-top: 50px;

    width: 100%;
    display: flex;
    flex-direction: column;
    max-width: 300px;
}

.media-section-sidebar p {
    font-weight: semi-bold;
    font-size: 24pt;
}







/* Media query for responsive design */
@media (max-width: 768px) {
    p {
        font-size: 8pt;
    }

    h2 {
        font-size: 12pt
    }

    h3 {
        font-size: 10pt;
        font-weight: 600;
    }

    h4 {
        font-size: 8pt;
    }





    .menu-icon {
        display: flex;
    }

    .head-text h1 {
        font-size: 24pt;
        color: #fff;
    }

    .head-icon {
        height: 50px;
    }

    .flex-row {
        display: flex;
        flex-direction: column;
    }

    nav ul {
        display: none;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 60px;
        /* Adjust the top position to control the menu dropdown */
        right: 10px;
        /* Adjust the right position to control the menu dropdown */
        z-index: 1;
    }

    nav ul.active {
        display: flex;
    }

    .foot-container {
        flex-direction: column;
        display: flex;
    }

    .foot-team-pic {
        width: 100%;
        height: auto;
    }

    .foot-team-pic img {
        width: 100%;
        height: auto;
    }

    .first-sec-grid {
        display: flex;
        flex-direction: column;
        padding: 50px;
        flex: 1;
        width: 100%;
        justify-content: space-between;
    }

    .s1-right {
        font-size: 8pt;
    }


    .s1-top-left h1 {
        font-size: 15pt;
    }

    .s1-bottom-left h1 {
        font-size: 50pt;
    }

    .s1-bottom-left {

        display: flex;
        flex-direction: row;
        align-content: flex-end;
        flex-wrap: wrap;
    }

    .logo {
        height: 50px;
        margin: 20px;
        overflow: hidden;
    }

    .logo-block {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        max-height: 200px;
        width: 100%;
    }

    .media-section {
        flex-direction: column;
    }

    .media-section-body {
        padding: 0;
        padding-top: 50px;
    }

    .media-section-body p {
        font-size: 8pt;

    }

    .media-section-body h2 {
        font-size: 12pt;
    }

    .media-section-body ul li {
        font-size: 8pt;
        /* Add left margin to create space for bullets */
    }

    .after-ul {
        padding-top: 40px;
        /* Adjust the padding as needed */
    }

    .media-section-sidebar {
        flex: 1;
        padding-right: 50px;
        padding-top: 50px;

        width: 100%;
        display: flex;
        flex-direction: column;
        max-width: 300px;
    }

    .media-section-sidebar p {
        font-weight: semi-bold;
        font-size: 12pt;
    }
}