
/* 
font-family: "rodchenko", sans-serif;
font-weight: 400;
font-style: normal;

Rodchenko Bold Regular
font-family: "rodchenko", sans-serif;
font-weight: 700;
font-style: normal;

Rodchenko Cond Regular
font-family: "rodchenko-cond", sans-serif;
font-weight: 400;
font-style: normal;

Rodchenko Cond Bold Regular
font-family: "rodchenko-cond", sans-serif;
font-weight: 700;
font-style: normal;

Titillium Web Regular
font-family: "titillium-web", sans-serif;
font-weight: 400;
font-style: normal;
Titillium Web Italic
font-family: "titillium-web", sans-serif;
font-weight: 400;
font-style: italic;
Titillium Web Bold
font-family: "titillium-web", sans-serif;
font-weight: 700;
font-style: normal;
Titillium Web Bold Italic
font-family: "titillium-web", sans-serif;
font-weight: 700;
font-style: italic;

P22 Constructivist Pro Regular
font-family: "p22-constructivist-pro", sans-serif;
font-weight: 400;
font-style: normal;

fonts */


/* ALL THINGS FOR MOBILE FIRST */

body {
    background-color: #E8E2D4;
}



/* h and paragraph */

img {
    max-width: 100%; 
    height: auto;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    display: block;
    margin: auto;    
}


h1 {
    font-family: "p22-constructivist-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 5rem;
    text-align: center;
    color: red;
}

h2 {
    font-family: "rodchenko", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2.5rem;
    color: red;

    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

h3 {
    font-family: "rodchenko", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.5rem;
    
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    color: white;
    background-color: red;
    padding: 0.3rem;
}

p {
    font-family: "titillium-web", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2rem;

    margin-top: 1rem;
    margin-bottom: 1.5rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    line-height: 1.25rem;
}

/* END h and paragraph */
    






/* Header */
#jac-logo{
    max-width: 75%;
    margin-top: 1rem;
    margin-bottom:1rem;
    
}

header{
    background-color: #E8E2D4;
}

#topimg {
    width: 120%;
    margin-top: 2rem;
    margin-bottom:1rem;
}
/* Header END */





/* Footer */
footer {
    background-image: url('img/footer.svg');
    text-align: center;
    width: 100%;
    height: auto;
    background-size: cover; /*fits image to the size of the container*/
    padding-bottom: 33px;
    padding-top: 0px;
    padding: 0 0 33px;
    margin: 0 auto;


    /*background-position-y: bottom;  */    
}


footer p {
   
    font-family: "rodchenko", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 0.9rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0rem;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;


  }
/* Footer END */

.wrapper {
    
    padding: 1rem;
    max-width: 80rem;
    margin: 0 auto;
   /* background-color: rgb(202, 37, 37);*/
}

/*main{ background-image: url('img/stripes.svg');
    background-repeat: repeat;
    background-size: 100%
}
*/


section {
    
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 3.5rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;

    background-color: #EDE9DE;
}

 
/* giveaway START */


  /*
*, *::before, *::after {
	box-sizing: border-box;
}

@keyframes rotate {
	100% {
		transform: rotate(1turn);
	}
}
*/

/* giveaway END */





/* macmarket START */

.macmarket::before {
    content: '';
    display: block;
    max-width: 4.5rem;
    height: 10px;
    margin-left: 0.5rem;
    background: red;
    margin-bottom: 1rem;
}

.fblink img {
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 40%;
    height: auto;
    display: inline-block;
    border-radius: 15%;
    transition: transform 0.3s ease;
}

.fblink img:hover {
    transform: scale(1.2); /* Zoom in by 20% */
}
/* macmarket END */




/* gwd START */


.gwd::before {
    content: '';
    display: block;
    max-width: 4.5rem;
    height: 10px;
    margin-left: 0.5rem;
    background: red;
    margin-bottom: 1rem;
}
/* gwd END */






/*Transplant START*/

/*Transplant END*/





/*Logos START*/
.logos img {
    max-width: 90%;
    margin: 10px;
}

/*weirdly if I fix .column.two to .column .two it breaks and make the logos not centered*/

.logos .column.two{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;     
}

.logos::before {
    content: '';
    display: block;
    max-width: 4.5rem;
    height: 10px;
    margin-left: 0.5rem;
    background: red;
    margin-bottom: 1rem;
}

/*Logo END*/




/*earthday START*/
.earthday .flex-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

 



/*earthday END*/

   
 
/* OPEN media query (16rem) */
 @media screen and (min-width:16rem) {

footer{

background-image: url('img/footer bigger.svg');

text-align: center;
    width: 100%;
    height: 10.5rem;
    background-size: cover; /*fits image to the size of the container*/
    padding-top: 10%;
    /*background-position-y: bottom;  */ 
}
}   /* END */


/* Stop header from getting too big (96rem) */
@media screen and (min-width:1152px) {
    #topimg {
        max-width: 80%;
        margin-bottom: 2rem;
    }
} /* END */




/* OPEN media query------426 px and bigger------------------------------------- */
@media screen and (min-width:25.938rem) {
    

    .earthday .flex-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center; /* centers rows */
        gap: 1rem; /* space between images */
        padding: 1rem;
    }
    
    .earthday img {
        width: 130px;
        height: auto;
        margin: 0;
        padding: 0;
        flex: 0 2 calc(14.285% - 1rem); /* roughly 7 per row on large screens */
        object-fit: contain;
        transition: transform 0.3s ease;
    }
    
    .earthday .flex-container img:hover {
        transform: scale(1.09); /* subtle hover effect */

    
    }

}

/*same width as wraper*/
@media screen and (min-width: 48rem) {




footer p {
    font-size: 1.5rem;
    line-height: 1.625rem;
}
    .column.one img {
    
        border-width: 15px;
        border-color: red;
        border-style: double;
        padding-left: 0px;
        padding-right: 0px;
    }

    .giveaway .flex-container,
    .macmarket .flex-container,
    .gwd .flex-container,
    .transplant .flex-container {
        display: flex;
        flex-wrap: wrap;
       
    }
    
    .giveaway .column.one,
    .giveaway .column.two,

    .macmarket .column.one,
    .macmarket .column.two,
    
    .gwd .column.one,
    .gwd .column.two,
    
    .transplant .column.one,
    .transplant .column.two
    {
        flex-basis: 50%;
        
    }
    
    #macm-logo{
        max-width: 40%;
    }


    .fblink img {
        margin-top: 1rem;
        margin-bottom: 1rem;
        width: 20%;
        height: auto;
        display: inline-block;
        border-radius: 20%;
    }

    .logos img{
        max-width: 100%;
    }

    .logos .column.two {
        display: flex;
            flex-wrap: nowrap;
            justify-content: center;
            gap: 20px;
        
        }

        .logos img {


            width: auto;
            height: auto;
            max-width: 16%;
            flex-shrink: 0;            /* Prevent logos from shrinking too small */
            object-fit: contain;
        }
   
        /* Header */
#jac-logo{
    max-width: 45%;
    margin-top: 1rem;
    margin-bottom:3rem;
    
}
header{
    background-color: #E8E2D4;
}
#headerimg {
    width: 100%;
    max-width: 80%;
    height: auto;
    margin-top: 2rem;
    margin-bottom:1rem;
}
/* Header END */

} /* CLOSING media query */

/* END media query */



@media screen and (max-width: 120rem) and (min-width: 99.625rem) {
    .earthday::before,

.earthday::after {
    content: " "; 
    position: absolute;   
    z-index: 99999;
    display: block;
    background-image: url(img/peace.svg);
    background-repeat: no-repeat;
    background-size: 54%; 
    width: 53%;
    height: 42rem;
    top: 9rem; 
}

.earthday::before {
    right: 60rem; /* Place one bird on the left side */
}

.earthday::after {
    left: 60rem; /* Place the mirrored bird on the right side */
    transform: scaleX(-1); /* Flip image horizontally */
}

.transplant{
    position: relative;
}

.transplant::before {

        content: " "; 
        /* content cannot be empty, otherwise box collapses to no height */
      
      
        position: absolute;   
        /* position anywhere you like, on a layer */
        /* could also be "relative" for different behaviour */
      
        z-index: 99999;
        /* control stacking like "send to back" */
        /* can be any negative (send to back) or positive (send to front) number, 
        ex: 99 is the 99th layer above the background */
      
        display: block;
        /* behave as normal block level element */
       
        background-image: url(img/treedeco.svg);
        /* select image: path points from the css file to the image file */
      
        background-repeat: no-repeat;
        /* by default, backgrounds repeat to fill up the entire space */
      
        background-size: 33%; 
        /* or "contain", or a size expressed in em, rem, %, px, etc */
        
        width: 60%;
        height: 35rem;
        /* control size explicitly in em, rem, %, px, etc */
      
        top: -20rem; 
        /* match height of pseudo-element to move it above top edge of parent */
      
        right: 50rem;
        /* align left */
      }


      .giveaway{
        position: relative;
    }
    
    .giveaway::before {
    
        content: " "; 
        /* content cannot be empty, otherwise box collapses to no height */
      
      
        position: absolute;   
        /* position anywhere you like, on a layer */
        /* could also be "relative" for different behaviour */
      
        z-index: 99999;
        /* control stacking like "send to back" */
        /* can be any negative (send to back) or positive (send to front) number, 
        ex: 99 is the 99th layer above the background */
      
        display: block;
        /* behave as normal block level element */
       
        background-image: url(img/flowerinhand.svg);
        /* select image: path points from the css file to the image file */
      
        background-repeat: no-repeat;
        /* by default, backgrounds repeat to fill up the entire space */
      
        background-size: 80%; 
        /* or "contain", or a size expressed in em, rem, %, px, etc */
        
        width: 60%;
        height: 47rem;
        /* control size explicitly in em, rem, %, px, etc */
      
        top: 40.5rem; 
        /* match height of pseudo-element to move it above top edge of parent */
      
        right: -39rem;
        /* align left */
      }
    
      .giveaway h3 {
        position: relative;
      }
    
      .giveaway h3::before {
        content: " "; 
        /* content cannot be empty, otherwise box collapses to no height */
      
      
        position: absolute;   
        /* position anywhere you like, on a layer */
        /* could also be "relative" for different behaviour */
      
        z-index: 99999;
        /* control stacking like "send to back" */
        /* can be any negative (send to back) or positive (send to front) number, 
        ex: 99 is the 99th layer above the background */
      
        display: block;
        /* behave as normal block level element */
       
        background-image: url(img/tomatoe.svg);
        /* select image: path points from the css file to the image file */
      
        background-repeat: no-repeat;
        /* by default, backgrounds repeat to fill up the entire space */
      
        background-size: 25%; 
        /* or "contain", or a size expressed in em, rem, %, px, etc */
        
        width: 60%;
        height: 25rem;
        /* control size explicitly in em, rem, %, px, etc */
      
        top: 8rem; 
        /* match height of pseudo-element to move it above top edge of parent */
      
        right: 48.5rem;
        /* align left */
      }





}




@media screen and (min-width: 124.063rem) {
    .earthday::before,

.earthday::after {
    content: " "; 
    position: absolute;   
    z-index: 99999;
    display: block;
    background-image: url(img/peace.svg);
    background-repeat: no-repeat;
    background-size: 85%; 
    width: 60%;
    height: 42rem;
    top: 3rem; 
}

.earthday::before {
    right: 75rem; /* Place one bird on the left side */
}

.earthday::after {
    left: 75rem; /* Place the mirrored bird on the right side */
    transform: scaleX(-1); /* Flip image horizontally */
}

.transplant{
    position: relative;
}

.transplant::before {

        content: " "; 
        /* content cannot be empty, otherwise box collapses to no height */
      
      
        position: absolute;   
        /* position anywhere you like, on a layer */
        /* could also be "relative" for different behaviour */
      
        z-index: 99999;
        /* control stacking like "send to back" */
        /* can be any negative (send to back) or positive (send to front) number, 
        ex: 99 is the 99th layer above the background */
      
        display: block;
        /* behave as normal block level element */
       
        background-image: url(img/treedeco.svg);
        /* select image: path points from the css file to the image file */
      
        background-repeat: no-repeat;
        /* by default, backgrounds repeat to fill up the entire space */
      
        background-size: 50%; 
        /* or "contain", or a size expressed in em, rem, %, px, etc */
        
        width: 60%;
        height: 35rem;
        /* control size explicitly in em, rem, %, px, etc */
      
        top: -24rem; 
        /* match height of pseudo-element to move it above top edge of parent */
      
        right: 65rem;
        /* align left */
      }


      .giveaway{
        position: relative;
    }
    
    .giveaway::before {
    
        content: " "; 
        /* content cannot be empty, otherwise box collapses to no height */
      
      
        position: absolute;   
        /* position anywhere you like, on a layer */
        /* could also be "relative" for different behaviour */
      
        z-index: 99999;
        /* control stacking like "send to back" */
        /* can be any negative (send to back) or positive (send to front) number, 
        ex: 99 is the 99th layer above the background */
      
        display: block;
        /* behave as normal block level element */
       
        background-image: url(img/flowerinhand.svg);
        /* select image: path points from the css file to the image file */
      
        background-repeat: no-repeat;
        /* by default, backgrounds repeat to fill up the entire space */
      
        background-size: 100%; 
        /* or "contain", or a size expressed in em, rem, %, px, etc */
        
        width: 60%;
        height: 47rem;
        /* control size explicitly in em, rem, %, px, etc */
      
        top: 27rem; 
        /* match height of pseudo-element to move it above top edge of parent */
      
        right: -42rem;
        /* align left */
      }
    
      .giveaway h3 {
        position: relative;
      }
    
      .giveaway h3::before {
        content: " "; 
        /* content cannot be empty, otherwise box collapses to no height */
      
      
        position: absolute;   
        /* position anywhere you like, on a layer */
        /* could also be "relative" for different behaviour */
      
        z-index: 99999;
        /* control stacking like "send to back" */
        /* can be any negative (send to back) or positive (send to front) number, 
        ex: 99 is the 99th layer above the background */
      
        display: block;
        /* behave as normal block level element */
       
        background-image: url(img/tomatoe.svg);
        /* select image: path points from the css file to the image file */
      
        background-repeat: no-repeat;
        /* by default, backgrounds repeat to fill up the entire space */
      
        background-size: 40%; 
        /* or "contain", or a size expressed in em, rem, %, px, etc */
        
        width: 60%;
        height: 25rem;
        /* control size explicitly in em, rem, %, px, etc */
      
        top: 1rem; 
        /* match height of pseudo-element to move it above top edge of parent */
      
        right: 65rem;
        /* align left */
      }





}