/*phone*/

.image-wrapper img {
  display: block;
  max-width: 25rem; 
  height: auto;
}

.text-wrapper {
  max-width: 25rem; 
  text-align: center;
}

  .macmarket img {
    width: 30%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
  }
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.flex-container .mac {width: 100%;}


.flex-container .column.two {
  width: 100%;
  padding-top: 1rem;
  box-sizing: border-box;
}


.box {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: #141483;
}

.flex-container-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.flex-container > div {
  width: 50%;
}

.fblink img{ width: 90px;}

.flex-container > p {
  padding: 1rem;
  margin: 0 auto;
  text-align: center;
  max-width: 600px;
  box-sizing: border-box;
}

.earthday .flex-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.earthday .flex-container img {
  width: 70px;
  padding: 0.5rem;
}

.joschmi-regular {
  font-family: "joschmi", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.alfarn-regular {
  font-family: "alfarn", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.neworder {
  font-family: "new-order", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.xants {
  font-family: "xants", sans-serif;
  font-weight: 400;
  font-style: normal;
}


h2 {
  font-size: 30px;
  font-family: "alfarn", sans-serif;
  padding-bottom: 1rem;
  color: #4E6BCA;
}

h3 {
  font-size: 18px;
  font-family: "alfarn", sans-serif;
  padding-bottom: 1rem;
  color: #379456;
}

p {
  font-size: 13px;
  font-family: "new-order", sans-serif;
  padding-bottom: 1rem;
  line-height: 1.6;
}

header {
  background-size: cover;
}

body {
  background-color: #faf2e5;
}

#jac-logo {
  max-width: 7rem;
  margin: 0 auto 0 10px;
  margin-top: 11px;
}

.logos img {
  width: 15rem;
  display: block;
}

.logos .two {
  width: 20%;
}

footer {
  color: white;
  background-color: #141483;
  padding: 1rem;
  text-align: center;
  font-size: small;
  margin-top: 0.5rem;
}

/*ipad*/
@media screen and (min-width: 48rem) {

  .fblink img{ width: 90px;}
 
.flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.column.one,
.column.two {
  flex: 1 1 300px;
}





  .macmarket {
    padding: 3rem 0;
    width: 100%;
  }

  .macmarket .flex-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
  }

  .macmarket .column {
    flex: 1 1 50%;
    box-sizing: border-box;
    padding: 1rem;
  }

  .macmarket img {
  
    height: auto;
    display: block;
    margin-bottom: 1rem;
  }

  .macmarket p {
    line-height: 1.6;}

}

/*computer*/
@media screen and (min-width: 64rem) {
  .flex-container {
    display: flex;
  }
.fblink img{ width: 90px;}

  .earthday .flex-container {
    width: 100%;
    flex-wrap: wrap;
  }

  .earthday .flex-container img {
    width: 200px;
    padding: 0.5rem;
  }

  .joschmi-regular {
    font-family: "joschmi", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

  .alfarn-regular {
    font-family: "alfarn", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

  .neworder {
    font-family: "new-order", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

  .xants {
    font-family: "xants", sans-serif;
    font-weight: 400;
    font-style: normal;
  }


  p {
    font-size: 16px;
    font-family: "new-order", sans-serif;
    font-style: normal;
    font-weight: 300;
    padding-bottom: 1rem;
  }

  #jac-logo {
    max-width: 10rem;
    margin: 0 auto 0 10px;
    margin-top: 11px;
  }

  .logos img {
    width: 15rem;
    display: block;
  }

  .logos .two {
    width: 20%;
  }

  .macmarket {
    width: 100%;
  }

  footer {
    color: white;
    background-color: #141483;
    padding: 1rem;
    text-align: center;
    font-size: small;
    margin-top: 0.5rem;
  }
}
section.giveaway {
  position: relative;
  z-index: 1; 
}section.logos {
  position: relative;
  z-index: 1; 
}
section.macmarket {
  position: relative;
  z-index: 1; 
}section.gwd {
  position: relative;
  z-index: 1; 
}section.transplant {
  position: relative;
  z-index: 1; 
}
section.giveaway::before {
  content: "";
  display: block;
  width: 20vw;
  height: 20vw;
  position: absolute;
  top: 257px;
left: 1002px;
right: 1039.6px;
  background-image: url("../img/tomato-05.svg");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 0;
}


section.macmarket::before {
  content: "";
  display: block;
  width: 20vw;
  height: 20vw;
  position: absolute;
  top: 212px;
  left: -318px;
right: 1039.6px;
  background-image: url(../img/sun_sun.svg);
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 0;
  background-size: 326px;
}



section.transplant::before {
  content: "";
  display: block;
  width: 12vw;
  height: 20vw;
  position: absolute;
  width: 12vw;
  height: 21vw;
  left: 912px;
  bottom: -18.833px;
  background-image: url(../img/plant_plant.svg);
  background-repeat: no-repeat;
  z-index: 0;
  background-size: 100%;
}


section.gwd::before {
  content: "";
  display: block;
  position: absolute;
  width: 20vw;
  height: 20vw;
  left: 950px;
  top: -226.167px;
  bottom: -18.833px;
  background-image: url(../img/tom_tomato.svg);
  background-repeat: no-repeat;
  z-index: 0;
  background-size: 100%;
}

