    :root {  /* place this block at the top of the stylesheet */
        --purple: #640D5F;
        --pink: #D91656;
        --blue: #0079FF;
        --white: #fff;
        --black: #000;
        --green: #1A5131;
    }


    /* elsewhere in the stylesheet */

    p {
        color: var(--black);
       
        }



/* ---------------------------LOVEHA RULES---------------------------------- */

    header a:link {
        color: var(--pink); 
        text-decoration: none;
        }

    header a:visited  {
        color: var(--purple);
        }

    header a:hover {
        text-decoration: underline;
    }

    header a:active {
        color: var(--green);
        }



 /*---------------------------------------Font choices-------------------------------------- */  
  h1 {
    font-family: chicle;
      margin: 15px;
       /* primary visual branding font choice, must echo art style */}

  h2 {
    font-family:gluten ;
    margin: 15px;
      /* Must work well with h1 font choice  */
      }

    h3,h4,h5,h6,label,legend {
          font-family:macondo;
      margin: 15px;
      /* Must work well with h1 font choice  */
    }

  body {
      font-family:forum;
      margin: 10px;
        /* must be legible at 16px default font size */
      }
/*---------------------------------------Font Size------------------------------------------ */
    
 /* adjust this value according to the size of your chosen font in your 320px mobile preview */

 /*----------------------------------Limitimg line length------------------------------------*/
 p { 
    max-width: 85ch; 
    /* paragraph only */
} 

h1 { font-size: 32px; }
h2 { font-size: 22px; }
h3 { font-size: 25.3984px; }
h4 { font-size: 22.6274px; }
h5 { font-size: 20.1587px; }
h6 { font-size: 17.9594px; }
p { font-size: 17px; padding: 10px;}
small { font-size: 15px; }
   li {max-width: 100ch; } 
    /* most on-screen text */  

/* -------------------------------PADDING--------------------------------- */

img {
    max-width: 100%;
    height: auto;
}
figure img {
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

figure img:hover {
    transform: scale(1.03);
}

.register a {
    transition: background-color 0.3s ease;
}

body{
    padding: 1rem;
}
section{
    margin: 2rem 0;
    border-radius: 1rem; /* feels rounded like your typeface */
    padding: 1rem;  /* enhances legibility */
    outline: 3px solid rgba(255, 0, 0, 0.214);
}

header{
    padding: 1rem;
    margin-top: auto;
    margin-bottom: auto;
    
}

main{
    margin-top: 2rem;
    margin-bottom: auto;
}


footer{
    padding: 1rem;
    margin-top: auto;
    margin-bottom: auto;
}

picture {
    margin:0 0 1rem 0;
    display: block;  /* by default picture is inline */
}

.logos{
    
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: flex-end;
}

.android img{
    width: 220px;
    position: relative;
    top: -14px;
}

.ios img{
    width: 80px;
    position: relative;
    top: -14px;
}
   .ios span {
        position: relative; /* tweak vertical position of ios text */
        top: 3px;
    }


    .android span {
        position: relative; /* tweak vertical position of android text */
        top: -11px;
    }
    .how span {
    display: block;
    text-align: center;
}

/*-----------------------------------------JAC Logo----------------------------------------- */
    header {padding: 2rem;}

    #jac-logo {
        width: 47%;
        height: auto;
        display: block;
        margin: 0rem auto;  /* centers the logo */
    }

    h1 {
        font-family: "Chicle", sans-serif;
        font-weight: 900;
        font-style: normal;
        font-size: 3.5rem;
        text-align: center;
        margin: 2rem;
        }

/*---------------------------------Style Headings-------------------------------------- */  
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-weight: normal;
        line-height: 1.1;
        margin: 2rem 0 2rem -0.5rem;
    }
.wrapper{
    background-color: rgba(240, 248, 255, 0.628);
    backdrop-filter:blur(2px);
    border-radius: 2rem;
    
}


.what h2{
     font-weight: normal;
        line-height: 1.1;
        margin: 2rem 0 2rem -0.5rem;
}

/* ----------------------------------BACKGROUND--------------------------------------------- */
  .who{
     background-image: url(bgimg/backgroundcontinuity_mobile/backgroundbioblitz2.1.jpg);
 background-position: center;
   background-size:contain;
    background-attachment: fixed;
}


.when{
    background-image: url(bgimg/backgroundcontinuity_mobile/backgroundbioblitz3.1.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size:contain;
   
}


.what{
    background-image: url(bgimg/backgroundcontinuity_mobile/backgroundbioblitz1.1.jpg);
    background-position: center;
    background-size:contain;
    background-attachment: fixed;
   
}

.where{
    background-image: url(bgimg/backgroundcontinuity_mobile/backgroundbioblitz4.1.jpg);
    background-position: center;
   background-size: contain;
    background-attachment: fixed;
}

.how{
    background-image: url(bgimg/backgroundcontinuity_mobile/backgroundbioblitz5.1.jpg);
   background-position: center;
   background-size: contain;
    background-attachment: fixed;
}

.why{
    background-image: url(bgimg/backgroundcontinuity_mobile/backgroundbioblitz6.1.jpg);
    background-position: center;
    background-size:contain;
    background-attachment: fixed;
}  
    body {
    background-attachment: fixed;
    background-image: url(bgimg/flat.jpg);
    background-repeat:repeat;
    background-size:contain;
    min-height: 60rem;
    }  
 
 /*----------------------------MEDIA QUIERY------------------------------------------------- */


    @media screen and (min-width: 60rem) {

    .who{
     background-image: url(bgimg/backgroundcontinuity/backgroundbioblitz2.jpg);
 background-position: center;
   background-size:cover;
    background-attachment: fixed;
}


.when{
    background-image: url(bgimg/backgroundcontinuity/backgroundbioblitz3.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size:cover;
   
}


.what{
    background-image: url(bgimg/backgroundcontinuity/backgroundbioblitz1.jpg);
    background-position: center;
    background-size:cover;
    background-attachment: fixed;
   
}

.where{
    background-image: url(bgimg/backgroundcontinuity/backgroundbioblitz4.jpg);
    background-position: center;
   background-size: cover;
    background-attachment: fixed;
}

.how{
    background-image: url(bgimg/backgroundcontinuity/backgroundbioblitz5.jpg);
   background-position: center;
   background-size: cover;
    background-attachment: fixed;
}

.why{
    background-image: url(bgimg/backgroundcontinuity/backgroundbioblitz6.jpg);
    background-position: center;
    background-size:cover;
    background-attachment: fixed;
}  

 section.flex-container {
        margin: 1rem;
    }
/*      Floats   */
    .who .flex-container figure{
    float:right;
    width: 50%;
        /* margin: 5 rem 0; */
    }
    .who .flex-container{
    display: flow-root;
    
}

    .where .flex-container {
    display: flow-root;
}
    .where .flex-container figure{
    float:right;
    width: 50%;
    margin-left: 2rem;
        /* margin: 5 rem 0; */
    }

     .what .flex-container figure{
    float: left; /*  to change the direction of the image */
    width: 50%;
    margin-right: 2rem;
} 

.what picture{
     width: 100%;
 }

 .what .flex-container{
    display: flow-root;   
}



/* Flexbox */

    .how .flex-container{
    display: flex;
}
    .how .flex-container figure{
    width: 89%;
    }

    .how .logos{
        display: flex;
        justify-content: center;
        margin-top: -1rem;
    }

    .why .flex-container{
    display: flex;
}
 .why picture {
    width: 100%;
} 
.why .flex-container p{
    width: 100%;
}
 
.why .flex-container picture{
    width: 100%;
}
    .when .flex-container {
    display: flex;
}  
    .when .flex-container figure{
    width: 50%;
        /* margin: 5 rem 0; */
    }  
   
    /* always comment closing media query bracket */}

 .wrapper {
            max-width: 60rem; /* 960px */
            margin: 0 auto; /* zero top/bottom, centered left/right */
        }


/* Flexbox */

footer {
    
    line-height: 5rem;
    /* the **single line** of text is the same height as the box it is in: vertical centering */

    text-align: center;

background-image: url(bgimg/pseudo-svg/super-mushroom-svgrepo-com.svg); 
background-size: 23px;
background-repeat: no-repeat;
background-position: 10%;
}

footer {
    
    color: #000000;
    height: 5rem;

    
    display: flex;

    align-items: center;
    /* vertical centering */

    justify-content: center;
    /* horizontal centering */
}


/* ---------------------------------------------Dektop-------------------------------- */
    @media screen and (min-width: 60rem) {

h1 { font-size: 59px; }
h2 { font-size: 32px; }
h3 { font-size: 30px; }
h4 { font-size: 28px; }
h5 { font-size: 25px; }
h6 { font-size: 23.5717px; }
p { font-size: 21px;padding: 17px; }
small { font-size: 18.7089px; }

.when div,
.when picture,
.why div,
.why picture {
    flex-basis: 50%;
}  /* for flexbox */

 .how .flex-container {
    width: 90%;
    gap: 2rem;
    /* two columns: each equal to one fraction of the available space */
 
}

 #jac-logo {
        width: 28%;
        height: auto;
        display: block;
        margin: 0rem auto;  /* centers the logo */
    }

.when h2 {
  display: inline-flex;
  align-items:center;
  gap: 20px;
}

.when h2::after {
  content: "";
  width: 100px;
  height: 100px;

  background-image: url("bgimg/pseudo-svg/spring-garden-flower-svgrepo-com.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.why h2 {
  display: inline-flex;
  align-items:center;
}

.why h2::before {
  content: "";
  width: 100px;
  height: 100px;

  background-image: url("bgimg/pseudo-svg/microscope-svgrepo-com.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.what h2 {
  display: inline-flex;
  align-items:center;
  gap: 20px;
}

.what h2::before {
  content: "";
  width: 100px;
  height: 100px;

  background-image: url("bgimg/pseudo-svg/flowers.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
footer {background-image: url(bgimg/pseudo-svg/super-mushroom-svgrepo-com.svg); 
background-size: 77px;
background-repeat: no-repeat;
background-position: 30%;
}
}/*  end of media quiery */


section {
  position: relative;
  margin: 2rem;
  padding: 1rem;
  border-radius: 1rem;
  overflow: visible;
}

section::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--angle),
    var(--pink),
    var(--blue),
    var(--green),
    var(--purple),
    var(--pink)
  );
  filter: blur(5px);
  opacity: 0.7;
  z-index: -1;
  animation: spinGlow 6s linear infinite;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes spinGlow {
  from { --angle: 0deg; }
  to   { --angle: 360deg; }
}

h1 {
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 7px var(--pink);
    }
    to {
        text-shadow:
            0 0 8px var(--blue),
            0 0 13px var(--green);
    }
}

section h2 {
    animation: wobble 4s ease-in-out infinite;
}

@keyframes wobble {
    0% { transform: rotate(-0.9deg); }
    50% { transform: rotate(0.9deg); }
    100% { transform: rotate(-0.9deg); }
}

p {
    line-height: 1.6;
}

section p {
    max-width: 80ch;
}

