@import url('base.css');
@import url('carousel.css');
@import url('contact.css');


#metal-statement-1 {
    display: flex;
}

#metal-statement-1 .left-content {
    flex: 1;
    position: relative;
    text-transform: uppercase;
    padding: 0 50px 0 100px;
}

#metal-statement-1 .left-content .divider {
    width: 50px;
    height: 150px;
    background-color: var(--accent-color);
    position: absolute;
    top: 0;
    left: 0;
}

#metal-statement-1 .left-content .statement-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    height: 100%;
    justify-content: center;
}

#metal-statement-1 .left-content .statement {
    font-size: var(--extra-large-font-size);
    color: var(--main-text-color);
    font-weight: bold;
    margin-bottom: 2.5rem;
    text-align: center;
}

#metal-statement-1 .left-content .separator {
    background-color: var(--accent-color);
}

#metal-statement-1 .left-content .statement-2 {
    font-size: var(--large-font-size);
    color: var(--main-text-color);
    font-weight: bold;
    margin: 3rem 0 2rem;
	width: 80%;
    text-align: center;
}

#metal-statement-1 .left-content .learn-more {
    margin-top: 50px;
}

#metal-statement-1 .left-content .down-button {
    position: absolute;
    bottom: 50px;
    left: 100px;
    width: 30px;
}

#metal-statement-1 .left-content .down-button path {
    fill: transparent;
    stroke: rgba(44, 43, 48, 1);
    stroke-width: 2px;
}

#metal-statement-1 .left-content .down-button path:hover {
    stroke: rgba(197, 131, 69, 1);
}

#metal-statement-1 .right-content {
    max-width: 60%;
    position: relative;
}

#metal-statement-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 350px;
    font-size: var(--large-font-size);
    font-style: italic;
    text-transform: uppercase;
    color: var(--light-text-color);
    background-color: var(--brown-grey-background);
}

#m4h-intro {
    display: flex;
    margin: 100px 100px 50px;
    flex-direction: column;
}

.m4h-intro-title {
    width: 100%;
    max-width: 960px;
    text-transform: uppercase;
    font-size: var(--large-font-size);
    font-weight: bold;
    text-align: center;
    margin: 0 auto 2.5rem;
}

.m4h-intro-text {
    width: 100%;
    max-width: 960px;
    font-size: var(--medium-font-size);
    margin: 0 auto 4rem;
}

.m4h-intro-text div {
    margin-bottom: 1rem;
}

#m4h-intro .separator {
    background-color: var(--accent-color);
    width: 100%;
    max-width: 500px;
    margin: 0 auto 4rem;
}

/* fueling-green */
#fueling-green {
    width: 100%;
    height: 0;
    padding-top: 27.445%;
    background: url(/images/index/report-lifestyle-wide.webp) center;
    background-size: cover;
    position: relative;
}

#fueling-green-text-container {
    position: absolute;
    top: 20%;
    left: calc(40% + 20px);
    height: 58%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#fueling-green-title-line-1, #fueling-green-title-line-2 {
    font-size: var(--large-font-size);
    font-weight: bold;
    text-transform: uppercase;
}

#fueling-green-text-container #produced-in-collab {
    font-size: var(--normal-font-size);
}

#fueling-green-text-container #ft-longitude-black {
    width: 35%;
}

/* hero-of-the-earth */
#hero-of-the-earth {
    width: 100%;
    height: 0;
    padding-top: 27.445%;
    background: url(/images/index/video-hero-of-the-earth-wide-01.webp) center;
    background-size: cover;
    position: relative;
}

#hero-of-the-earth-text-container {
    position: absolute;
    top: 20%;
    left: 100px;
    height: 58%;
    display: flex;
    flex-direction: column;
    width: 40%;
}

#hero-of-the-earth-title-line-1 {
    font-size: var(--large-font-size);
    font-weight: bold;
    text-transform: uppercase;
	margin-bottom: 1rem;
}

#hero-of-the-earth-title-line-2 {
    font-size: var(--medium-font-size);
	margin-bottom: 2rem;
}

/** Impacts Section **/

#impacts {
    background-color: var(--light-grey-background);
    display: flex;
    flex-direction: column;
    padding: 50px 100px 150px;
}

#impacts #impacts-title {
    font-size: var(--large-font-size);
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 50px;
}

#impacts #impacts-data {
    display: flex;
    justify-content: space-between;
}

#impacts #impacts-data .data-item {
    width: 30%;
    background-color: var(--white-background);
    border-radius: 10px;
    padding: 0 50px;
    height: calc((var(--medium-font-size) * 3) + (var(--extra-large-font-size) * 2.5));
    overflow: hidden;
}

#impacts #impacts-data .data-item .title {
    font-size: var(--medium-font-size);
    height: calc(var(--medium-font-size) * 3);
    margin-top: 50px;
    transition: margin-top 0.3s ease;
}

#impacts #impacts-data .data-item:hover .title {
    margin-top: calc(((var(--medium-font-size) * 3) + (var(--extra-large-font-size) * 2)) * -1);
}


#impacts #impacts-data .data-item .number {
    font-size: var(--extra-large-font-size);
    height: calc(var(--extra-large-font-size) * 2);
    color: var(--brown-grey-background);
    font-weight: bold;
}

#impacts #impacts-data .data-item .details {
    font-size: var(--medium-font-size);
    height: 100%;
    display: flex;
    align-items: center;
}

/** Where we work section **/

#where-we-work {
    height: 1100px;
    background-image: url(/images/index/map.webp);
    display: flex;
    flex-direction: column;
    padding: 100px;
    background-position-x: 200px;
    background-repeat: no-repeat;
    background-size: contain;
    margin-bottom: 8rem;
}

#where-we-work #where-we-work-title {
    font-size: var(--large-font-size);
    font-weight: bold;
    margin-top: 200px;
    text-transform: uppercase;
}

#where-we-work .where-statement {
    font-size: var(--medium-font-size);
    width: 60%;
    max-width: 760px;
    margin-top: 45px;
}

.metal-separator-2 {
    width: 100%;
    height: 5px;
    background-color: var(--main-text-color);
}

/** News Section */

#news-section {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 50px 0 100px;
}

#news-section #news-title {
    text-transform: uppercase;
    width: var(--large-container-size);
    font-size: var(--large-font-size);
    font-weight: bold;
}

#news-section hr {
    background-color: var(--main-text-color);
    width: var(--large-container-size);
    height: 1px;
    margin: 20px 0;
}

#news-section #news-container {
    width: var(--large-container-size);
    display: flex;
}

#news-section #news-container #news-left {
    width: var(--half-container-width);
    flex: 1;
    margin-right: 60px;
}

#news-section #news-container #news-left .news-left-title {
    font-size: var(--large-font-size);
    font-weight: bold;
}

#news-section #news-container #news-left .news-left-title:hover {
	color: var(--accent-color);
}

#news-section #news-container #news-left .news-left-blurb {
    font-size: var(--small-font-size);
}

#news-section #news-container #news-right {
    width: var(--half-container-width);
}

#news-section #news-container #news-right .news-item {
    margin-bottom: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--main-text-color);
}

#news-section #news-container #news-right .news-item:last-child {
    border-bottom: none;
}

#news-section #news-container #news-right .news-title {
    font-size: var(--medium-font-size);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

#news-section #news-container #news-right .news-title:hover {
	color: var(--accent-color);
}

#news-section #news-container #news-right .news-blurb {
    font-size: var(--small-font-size);
}

#news-section #news-button-container {
    width: var(--large-container-size);
    display: flex;
    justify-content: end;
}

/* Blog Section */

#blog-section {
    background-color: var(--light-grey-background);
    display: flex;
    flex-direction: column;
    padding: 0 0 50px;
}

#blog-section #blog-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    width: var(--large-container-size);
}

#blog-section #blog-container h1 {
    font-size: var(--large-font-size);
    margin: 50px 0;
    text-transform: uppercase;
    font-weight: bold;
}

#blog-section #blog-container #blog-items {
    display: flex;
    position: relative;
    width: var(--large-container-size);
    justify-content: space-between;
}

#blog-section #blog-container #blog-items .blog-item {
    background: #fff;
    border-radius: 15px;
    width: 250px;
	height: 100%;
    padding: 0 0 20px;
    position: relative;
}

#blog-section #blog-container #blog-items .blog-item img {
    width: 100%;
    border-radius: 15px 15px 0 0;
    border-bottom: 1px solid #eeeeee;
}


#blog-section #blog-container #blog-items .blog-item .blog-text {
    margin: 2rem 1.5rem 3rem;
    text-align: center;
    font-weight: bold;
}

#blog-section #blog-container #blog-items .blog-item .blog-text a,
#blog-section #blog-container #blog-items .blog-item .blog-text a:active {
    color: var(--main-text-color);
    text-decoration: none;
}

#blog-section #blog-container #blog-items .blog-item .blog-text a:hover {
    color: var(--accent-color);
    text-decoration: none;
}


#blog-section #blog-container #blog-items .blog-item .read-more {
    position: absolute;
    right: 2rem;
    bottom: 1rem;
}

#blog-section #blog-container #blog-items .blog-item .read-more a,
#blog-section #blog-container #blog-items .blog-item .read-more a:active {
    color: #888;
    text-decoration: none;
    padding: 0;
}

#blog-section #blog-container #blog-items .blog-item .read-more a:hover {
    color: var(--accent-color);
    text-decoration: none;
    padding: 0;
}

#blog-button-container {
    margin: 50px 0;
    justify-content: right;
    width: 100%;
    display: flex;
}



/* Responsiveness */


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

    :root {
        --extra-large-font-size: 60px;
        --large-font-size: 40px;
    }

	#how-we-work .right-content, #who-we-are .right-content {
		width: 70%;
	}

	#fueling-green-title-line-1, #fueling-green-title-line-2 {
		font-size: var(--medium-font-size);
	}

	#fueling-green-text-container #produced-in-collab {
		font-size: var(--small-font-size);
	}

	#hero-of-the-earth-title-line-1 {
		font-size: var(--medium-font-size);
        margin-bottom: 0.5rem;
	}

	#hero-of-the-earth-title-line-2 {
		font-size: var(--normal-font-size);
        margin-bottom: 1rem;
	}

	#impacts #impacts-data .data-item {
		padding: 0 20px;
	}

	#impacts #impacts-data .data-item .title {
		font-size: var(--normal-font-size);
		margin-top: 20px;
	}

	#impacts #impacts-data .data-item .details {
		font-size: var(--normal-font-size);
	}

}

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

    :root {
        --large-font-size: 36px;
    }

	#fueling-green .black-button {
		font-size: 16px;
		padding: 15px 30px;
	}

	#hero-of-the-earth-title-line-2 {
		font-size: var(--small-font-size);
	}

	#hero-of-the-earth .black-button {
		font-size: 16px;
		padding: 15px 30px;
	}

}

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

    :root {
        --large-font-size: 32px;
    }

}



/* Tablet and mobile */

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

    #metal-statement-1 {
        flex-direction: column;
    }

    #metal-statement-1 .divider {
        display: none;
    }

    #metal-statement-1 .left-content {
        padding: 0 2rem;
    }

    #metal-statement-1 .left-content .statement {
        margin: 50px 0 25px;
    }

    #metal-statement-1 .left-content .statement-2 {
        margin: 25px 0 50px;
        width: 100%;
    }

    #metal-statement-1 .left-content .learn-more {
        margin: 0 0 50px;
    }


    #metal-statement-1 .left-content .down-button {
        position: static;
    }

    #metal-statement-1 .left-content #how-we-work-link {
        margin: 50px 0;
        display: block;
    }

    #metal-statement-1 .right-content {
        max-width: 100%;
    }

    #metal-statement-2 {
        height: 200px;
        text-align: center;
        vertical-align: middle;
        padding: 0 25px;
    }

	.m4h-intro-text {
		font-size: var(--normal-font-size);
	}

	#fueling-green-title-line-1, #fueling-green-title-line-2 {
		font-size: var(--normal-font-size);
	}

	#hero-of-the-earth-text-container {
		width: 40%;
		left: 50px;
	}

	#hero-of-the-earth-title-line-1 {
		font-size: var(--normal-font-size);
	}

    #how-we-work, #who-we-are {
        flex-direction: column;
        margin: 50px 25px 100px;
    }

    #how-we-work .left-content, #who-we-are .left-content {
        width: 100%;
        margin-bottom: 25px;
    }

    #how-we-work .right-content, #who-we-are .right-content {
        width: 100%;
        font-size: var(--normal-font-size);
    }

    #impacts {
        padding: 50px;
    }

    #impacts #impacts-title {
        text-align: center;
        margin-bottom: 50px;
    }

    #impacts #impacts-data {
        flex-direction: column;
    }

    #impacts #impacts-data .data-item {
        width: 100%;
        margin-bottom: 50px;
        height: auto;
        padding: 0 25px;
    }

    #impacts #impacts-data .data-item .title {
        font-size: var(--normal-font-size);
        height: auto;
        margin: 25px 0;
    }

	#impacts #impacts-data .data-item:hover .title {
		margin-top: 25px;
	}

    #impacts #impacts-data .data-item .number {
        height: auto;
        margin-bottom: 15px;
    }

    #impacts #impacts-data .data-item .details {
        margin-bottom: 25px;
        font-size: var(--small-font-size);
        border-top: 1px solid var(--accent-color);
        padding-top: 25px;
        height: auto;
    }

    #where-we-work {
        padding: 25px;
        background-image: url(/images/index/map-mobile.webp);
        background-position-x: 150px;
        background-size: 500px;
        background-repeat: no-repeat;
        background-position-y: top;
        height: auto;
    }

    #where-we-work #where-we-work-title {
        margin-top: 470px;
    }

    #where-we-work .where-statement  {
        width: 100%;
        font-size: var(--small-font-size);
    }

    #news-section {
        padding: 25px;
    }

    #news-section #news-container {
        flex-direction: column;
    }

    #news-section #news-container #news-left {
        width: 100%;
        margin-right: 0;
        border-bottom: 1px solid var(--main-text-color);
        padding-bottom: 25px;
        margin-bottom: 25px;
        display: flex;
        flex-direction: column;
    }

    #news-section #news-container #news-left .news-left-title {
        font-size: var(--medium-font-size);
    }

    #news-section #news-container #news-left .news-left-image {
        margin: 1rem 0;
        max-width: 400px;
    }

    #news-section #news-container #news-right {
        width: 100%;
    }

	#news-section #news-container #news-right .news-item {
		padding-bottom: 2rem;
    }

    #blog-section #blog-container #blog-items {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        justify-content: space-around;
    }

    #blog-section #blog-container #blog-items a {
        width: calc(50% - 50px);
        margin-bottom: 25px;
    }

    #blog-section #blog-container #blog-items .blog-item {
        width: 100%;
    }


    #blog-section #blog-container #blog-items .blog-item img {
        margin: 0;
    }

    #blog-button-container {
        margin: 0 50px 0 0;
    }


}


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

	.m4h-intro-text {
		max-width: 960px;
		font-size: var(--small-font-size);
		margin: 0 auto 4rem;
	}

	#fueling-green-title-line-1, #fueling-green-title-line-2 {
		font-size: var(--small-font-size);
	}

	#fueling-green #produced-in-collab {
		display: none;
	}

	#fueling-green-text-container #ft-longitude-black {
		display: none;
	}

	#hero-of-the-earth-title-line-1 {
		font-size: var(--small-font-size);
	}

	#hero-of-the-earth-title-line-2 {
		display: none;
	}

}

/* Tablet and mobile */
@media screen and (max-width: 600px) {

    :root {
        --extra-large-font-size: 40px;
        --large-font-size: 30px;
    }

    #metal-statement-1 .left-content {
        padding: 0 1.25rem;
    }

	#metal-statement-2 {
		height: 180px;
		font-size: var(--normal-font-size);
		/* display: flex; */
		flex-wrap: wrap;
		align-content: center;
		padding: 0 3rem;
	}

	#m4h-intro {
		display: flex;
		margin: 50px 1rem 50px;
		flex-direction: column;
	}

	.m4h-intro-text {
		margin: 0 auto 1rem;
	}

	#fueling-green {
		background: url(/images/index/report-lifestyle-mobile.webp) center;
        height: 160vw;
		padding-top: 70%;
		background-size: contain;
		background-repeat: no-repeat;
		background-position-y: top;
		border-bottom: 1px solid var(--black-button-color);
	}

	#fueling-green-text-container {
		position: relative;
		height: 70%;
		margin: 50px 25px 100px;
		top: unset;
		left: unset;
	}

	#fueling-green #produced-in-collab {
		display: unset;
	}

	#fueling-green-text-container #ft-longitude-black {
		width: 50%;
		display: unset;
	}

	#hero-of-the-earth {
        background: url(/images/index/video-hero-of-the-earth-mobile.webp) center;
        height: 150vw;
		padding-top: 70%;
		background-size: contain;
		background-repeat: no-repeat;
        background-position-y: top;
		border-bottom: 1px solid var(--black-button-color);
	}

	#hero-of-the-earth-text-container {
		position: relative;
		margin: 50px 25px 100px;
		top: unset;
		left: unset;
		width: 90%;
	}

	#hero-of-the-earth-title-line-1 {
		margin-bottom: 1rem;
	}

	#hero-of-the-earth-title-line-2 {
		display: flex;
		margin-bottom: 2rem;
	}

    #where-we-work {
		margin-bottom: 75px;
		background-position-x: 0;
		background-size: contain;
	}

    #news-section {
		margin-bottom: 75px;
		margin-top: 25px;
	}

    #news-section #news-container #news-left .news-left-title {
        font-size: var(--normal-font-size);
    }

    #news-section #news-container #news-right .news-title {
        font-size: var(--normal-font-size);
    }

	#blog-section {
		padding: 0 0 50px;
	}

    #blog-section #blog-container #blog-items {
        flex-direction: column;
        align-items: center;
    }

    #blog-section #blog-container #blog-items a {
        width: 100%;
    }

    #blog-section #blog-container #blog-items .blog-item {
        width: calc(100% - 50px);
		margin: 0 auto 25px;
    }


}

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

.modal-inner {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin: auto;
    width: 90%;
    max-width: 1000px;
    background-color: transparent;
}

.modal-content {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.modal-content video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: -40px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: white;
    padding: 10px;
    z-index: 1001;
}

.modal-close:hover {
    color: var(--accent-color);
}

@media screen and (max-width: 768px) {
    .modal-inner {
        width: 95%;
    }

    .modal-close {
        top: -40px;
        right: 0;
    }
}

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

    :root {
        --extra-large-font-size: 32px;
        --large-font-size: 24px;
        --medium-font-size: 20px;
        --normal-font-size: 18px;
    }

}