body {
  font-family: 'Comic Sans MS', cursive, sans-serif;
  margin: 0;
  padding: 0;
  color: #000;
  line-height: 1.6;
  font-size: 1.1rem;
  max-width: 100%;
  overflow-x: hidden;
}


body::before {
  content: "";
  background-size: 20px 20px;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.06;
  z-index: -1;
}


img{
  max-width: 100%;
  
}

button, .btn {
  background-color: #FF0080;
  color: #FFF;
  border: 3px solid #000;
  font-weight: bold;
  padding: 10px 20px;
  font-size: 1.2em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 4px 4px 0 #000;
  transition: transform 0.2s, box-shadow 0.2s;
}

button:hover, .btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #000;
}

.pop-background {
  background-image: radial-gradient(#000 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.1;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}



  
  body h2 {
    color: white;
    background-color:#EC2123;
    padding-bottom: 0.6rem;
    border: solid 5px #000000;
    border-radius: 1.2rem;
    padding-top: 0.6rem;
    margin-top: 30px;
    padding-left: 0.5rem;
    margin-left: 16px;
    margin-right: 16px;
    font-size: 34px;
  }
  
  h2 {
    position: relative;
    display: inline-block;
    font-family: 'Luckiest Guy', cursive;
    color: #fff;
    font-size: 2.5rem;
    padding: 1rem 2rem;
    text-align: center;
    background: url('../img/explosion.svg') no-repeat center center;
    background-size: contain;
    border: 5px solid black;
    box-shadow: 6px 6px 0 #000;
    text-shadow: 2px 2px 0 #000, -2px -2px 0 #000;
    margin: 2rem auto;
    border-radius: 20px;
    background-color: #EC2123; /* Keep your red */
    margin-left: auto;
  margin-right: auto;
  display: block;
  }
  

  h3 {
    position: relative;
    display: inline-block;
    font-family: 'Luckiest Guy', cursive;
    color: #fff;
    font-size: 2rem;
    padding: 1rem 2rem;
    text-align: center;
    background: url('../img/explosion.svg') no-repeat center center;
    background-size: contain;
    border: 5px solid black;
    box-shadow: 6px 6px 0 #000;
    text-shadow: 2px 2px 0 #000, -2px -2px 0 #000;
    margin: 2rem auto;
    z-index: 1;
    margin-left: auto;
  margin-right: auto;
  display: block;
  }
  


/* Inline | file:///Users/michela/Library/CloudStorage/OneDrive-JohnAbbottCollege/Winter%202025/Responsive%20Design/_Earth%20Day%20Project/earth-day/index.html */


.facebook img{
  max-width: 40%;
}

.what {
  padding-top: 9px;
  padding-left: 33px;
  font-size: 34px;
  border: 5px solid black;
  background-color: #7ad9fe;
  margin-top: 10px;
 
}

.where {
  padding-top: 9px;
  padding-left: 33px;
  font-size: 32px;
  border: 5px solid black;
  background-color: #7ad9fe;
  margin-top: 10px;
 
}

.when {
  padding-top: 9px;
  padding-left: 33px;
  font-size: 45px;
  border: 5px solid black;
  background-color: #7ad9fe;
  margin-top: 10px;
 
}

h3 {
  padding-top: 11px;
  padding-left: 33px;
  font-size: 30px;
  border: 5px solid black;
  background-color: #7ad9fe;
 
}

/* style.css | file:///Users/michela/Library/CloudStorage/OneDrive-JohnAbbottCollege/Winter%202025/Responsive%20Design/_Earth%20Day%20Project/earth-day/css/style.css */

.giveaway > h3:nth-child(2) {
  /* font-size: 19px; */
  font-size: 25px;
}

  
  
  /* Font sizes paragraphs go in order (for mobile)*/
  .giveaway > h2:nth-child(1) {
    padding-left: 33px;
    padding-top: 26px;
    font-size: 34px;
  }

  .giveaway > h3:nth-child(2) {
    padding-top: 9px;
    padding-left: 33px;
    font-size: 19px;
    border: 5px solid black;
    background-color: #7ad9fe;
    margin-top: 10px;
  }
  
  .giveaway > div:nth-child(3) > div:nth-child(2) > p:nth-child(1) {
    font-size: 17px;
    line-height: 24px;
    border: solid 5px black;
    background-color: aquamarine;
  }

  .macmarket > h2:nth-child(1) {
    font-size: 34px;
    padding-top: 36px;
    text-align: center;
  }
  
  .macmarket > div:nth-child(2) > div:nth-child(2) > p:nth-child(1) {
    border: solid 5px black;
    background-color: #FFD700;
      padding-top: 0px;
      margin-top: 12px;
      margin-bottom: 37px;
    }
    

  
  .macmarket > div:nth-child(2) > div:nth-child(2) > p:nth-child(2) {
    border: solid 5px black;
    background-color: #FFD700;
      margin-bottom: 17px;
      margin-top: -11px;
    }
    
  
  
    section.gwd > div:nth-child(2) > div:nth-child(2) > p:nth-child(1) {
      border: solid 5px black;
      background-color: #FFD700;
        margin-top: 18px;
        margin-bottom: 22px;
      }


      section.gwd > div:nth-child(2) > div:nth-child(2) > p:nth-child(2) {
        border: solid 5px black;
        background-color: #FFD700;
      }

      .earthday > ul:nth-child(2) > li:nth-child(1) > h3:nth-child(1) {
        margin-top: 15px;
        margin-bottom: 15px;
      }
      
      .transplant > h3:nth-child(2) {
        border: 5px solid black;
        background-color: #7ad9fe;
        margin-top: 14px;
        font-size: 22px;
      }
      

.top-header {
  background-color: white;
  border-bottom: 5px solid black;
  padding: 10px 20px;
  text-align: left;
}



#jac-logo-top {
  max-height: 80px;
  width: auto;
}





      h1 {
        font-family: "Luckiest Guy", cursive;
        /* font-weight: 400; */
        font-style: normal;
        text-align: center;
        padding-top: 0.25rem;
        /* padding-bottom: 2rem; */
        font-size: 40px;
        color: #0a9b0a;
        /* stroke: 2px solid black; */
        /* border: ; */
        text-shadow: 2px 2px 0 #000, -2px -2px 0 #000;
      }
 
  




  /* Header - bold comic book style */
  header {
    background-image: url(img/header1.png);
    background-size: cover;
    background-position: center;
    height: 60vw;
    max-width: 100%;
    position: relative;
    border: 5px solid black;
  }

  .header-title {
    margin-top: -18px;
  }

  #jac-logo {
    padding-top: 14px;
    margin-top: 40px;
    margin-left: 58px;
    margin-bottom: 0px;
    margin-right: 150px;
  
  }
    

  .logo-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    }
    
    .column.logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
    }
    
    .column.logos img {
    max-width: 198%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    }
    
    .column.logos img:last-child:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    }


    /*--EARTH CARTOON--*/
    #earth {
      background-color: red;
      width: 32%;
    }




/*--BULLET POINT--*/
.earthday ul {
  list-style-type: disc;
}


  /* Section for Earth Day images */
  .earthday {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border: 5px solid black;
    border-radius: 20px;
  }
  
  /* Grid of images - comic style */
  .earthday .flex-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-items: center;
    align-items: center;
  }
  
  /* Images - pop art feel */
  .earthday .flex-container img {
    width: 100%;
    max-width: 250px;
    padding: 1rem;
    background: #fff;
    border: 5px solid black;
    box-shadow: 8px 8px 0px rgb(0, 200, 255);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 220px;
  
  }


footer {
  background-color: #27aae1;
  padding: 30px;
}



/* Pop Art Style Text Boxes */
.pop-art-box {
  background-color: #FFD700; /* Bold yellow background */
  border: 5px solid black; /* Comic-style border */
  border-radius: 16px;
  padding: 1.2rem;
  margin: 1rem 1rem;
  font-size: 1.1rem;
  font-weight: bold;
  color: #000;
  box-shadow: 8px 8px 0px #FF00FF; /* Magenta comic shadow */
}

/* Hover effect for interactivity */
.pop-art-box:hover {
  box-shadow: 10px 10px 0px #00FFFF; /* Cyan shadow on hover */
}
.giveaway > div:nth-child(3) > div:nth-child(2) > p:nth-child(1),
.macmarket > div:nth-child(2) > div:nth-child(2) > p,
section.gwd > div:nth-child(2) > div:nth-child(2) > p {
  background-color: #FFD700;
  border: 5px solid black;
  padding: 1.2rem;
  margin: 1rem 1rem;
  font-size: 1.1rem;
  font-weight: bold;
  color: #000;
  box-shadow:8px 8px 0px #000000;
  line-height: 24px;
}






  /* Hover effect on images */
  .earthday .flex-container img:hover {
    transform: scale(1.05) rotate(-2deg);
  }

  /*--earth positioning--*/
  #earthcartoon > img:nth-child(1) {
    margin-top: 206px;
  }
  


  /*--FOR THE EARTH CARTOON TO NOT DISPLAY ON MOBILE--*/
  #earthcartoon {
    display: none;
  }

  p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    padding: 0 1rem;
    font-weight: 500;
  }
  
  /*--facebook icon small--*/
  .fblink img{
    max-width: 200px;
    height: auto;
    display: block;
    margin-top: 1rem;
    /* IMPORTANT : those are to make the facebook image to move so that people know they have to click on the icon */
    cursor: pointer;
    transition: transform 0.2s ease;}
  
  .fblink img:hover{
    transform: scale(1.1);
  }
  
  
  .transplant > div:nth-child(3) > picture:nth-child(1) > img:nth-child(6) {
    margin-top: 62px;
  }
  
  .stacked-images img {
    display: block;
    margin-bottom: 1rem;
    width: 100%; /* Optional: make sure they stay responsive */
  }
  
  div.column:nth-child(1) > img:nth-child(1) {
    margin-top: 34px;
  }

  div.column:nth-child(1) > img:nth-child(2) {
    margin-top: 54px;
  }
  
  .macmarket > div:nth-child(2) > div:nth-child(2) > p:nth-child(1) {
    margin-top: 13px;
    padding-top: 18px;
  }
  



  
  /*--TABLET--*/
@media screen and (min-width: 480px) {
 

  .flex-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 60rem;
    margin: 0 auto;
    gap: 1.5rem;
    
  }

  #earthcartoon {
    display: block;
  }

  h1 {
    font-family: "Luckiest Guy", cursive;
    /* font-weight: 400; */
    font-style: normal;
    text-align: center;
    padding-top: 0.25rem;
    /* padding-bottom: 2rem; */
    font-size: 61px;
    color: #0a9b0a;
    /* stroke: 2px solid black; */
    /* border: ; */
    text-shadow: 2px 2px 0 #000, -2px -2px 0 #000;
  }

  #jac-logo {
    margin-top: 275px;
    margin-left: 522px;
    margin-right: 572px;
  }

  #earthcartoon {
    /* background-color: red; */
    width: 500px;
    position: absolute;
    top: 74px;
    right: 8px;
  }

  .giveaway img{
    width: 31rem;
    }
  
  .transplant img{
  width: 28rem
    }
  
  section.gwd > div:nth-child(2) > picture:nth-child(1) > img:nth-child(3) {
  margin-top: 61px;
  }
  
  .macmarket > div:nth-child(2) > picture:nth-child(1) > img:nth-child(1) {
  margin-top: 56px;
  }
  
    .transplant > div:nth-child(3) > picture:nth-child(1) > img:nth-child(6) {
      display: block;
      width: 100%;
      max-width: 28rem;
      margin: 2rem auto 0 auto;
    }
    
  }


  @media screen and (min-width: 676px) {

h1 {
    font-family: "Luckiest Guy", cursive;
    /* font-weight: 400; */
    font-style: normal;
    text-align: center;
    padding-top: 0.25rem;
    /* padding-bottom: 2rem; */
    font-size: 84px;
    color: #0a9b0a;
    /* stroke: 2px solid black; */
    /* border: ; */
    text-shadow: 2px 2px 0 #000, -2px -2px 0 #000;
  }

    
  }












/*--DESKTOP--*/
@media screen and (min-width: 675px) {
  body {
    background-color: white;
  }
  .flex-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 60rem;
    margin: 0 auto;
    gap: 1.5rem;
  }

.transplant{
  position: relative;
}

#earthcartoon {
	/* background-color: red; */
	width: 500px;
	position: absolute;
	top: 74px;
	right: 8px;
}

#earthcartoon img{
  width: 100%;
}

h1 {
	font-family: "Luckiest Guy", cursive;
	/* font-weight: 400; */
	font-style: normal;
	text-align: center;
	padding-top: 0.25rem;
	/* padding-bottom: 2rem; */
	font-size: 156px;
	color: #0a9b0a;
	/* stroke: 2px solid black; */
	/* border: ; */
	text-shadow: 2px 2px 0 #000, -2px -2px 0 #000;
}

.giveaway img{
  width: 31rem;
  }

.transplant img{
width: 28rem
  }

section.gwd > div:nth-child(2) > picture:nth-child(1) > img:nth-child(3) {
margin-top: 61px;
}

.macmarket > div:nth-child(2) > picture:nth-child(1) > img:nth-child(1) {
margin-top: 56px;
}

  .transplant > div:nth-child(3) > picture:nth-child(1) > img:nth-child(6) {
    display: block;
    width: 100%;
    max-width: 28rem;
    margin: 2rem auto 0 auto;
  }

  #jac-logo {
    margin-top: 275px;
    margin-left: 522px;
    margin-right: 572px;
  }
  


}




