html {
  font-size: 16px;
  scroll-behavior: smooth;
  border-bottom: 84px solid black;
}

.gamePicSpread {
  display: flex;
  justify-content: space-evenly;
}

.gamePic {
  width: 100%;
  gap: 5px;
}


.figC {
  border: 1px solid black;
  transform: scale(1, 1);
  transition: transform 0.5s linear 0s;
}

.figC:hover {
  border: 1px solid black;
  transform: scale(1.02, 1.02);
  transition: transform 0.5s linear 0s;
  box-shadow: 0 0 10px #777777;
}


figcaption {
  padding: 5px;
}

.picBox {
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
}

body {
  background-image: url("./assets/bordersnbacks/borderntone.svg");
  background-repeat: no-repeat;
  background-size: cover;
}

header {
  margin-top: 70px;
  margin-left: 3%;
  margin-right: 3%;
  text-align: center;
  min-height: 400px;
}

.headerHeader {
  font-size: 80px;
  padding: 70px 0px 40px 0px;
}

h1 {
  text-align: center;
  font-family: "GoblinOne", "Georgia", "Times New Roman", Times, serif;
  letter-spacing: 0.05em;
  font-size: 5rem;
  font-weight: bold;
  background-repeat: no-repeat;
}


h2,
h3,
figcaption,
.copyright {
  text-align: center;
  font-family: PalanquinDark;
}

nav {
  padding: 40px;
  display: flex;
  justify-content: space-around;
  font-family: PalanquinDark;
}


.navPriv {
  padding: 20px;
  display: flex;
  justify-content: space-around;
  font-family: PalanquinDark;
  position: relative;
  top: -30px;
}

section {
  margin-left: 3%;
  margin-right: 3%;
}

footer {
  width: 100%;
}

.footerPic {
  margin-left: auto;
  margin-right: auto;
  width: 350px;
  transition: transform 0.5s linear 0s;
  border-radius: 25%;
}

.footerPic:hover {
  transition: transform 0.5s linear 0s;
  box-shadow: 0 0 10px #777777;
}

.footerPicContainer {
    width: 80vw;
    margin: 0px auto;
  display: flex;
  justify-content: space-around;
  flex-direction: row;
}

sup {
  font-size: 1rem;
}

nav a {
  font-size: 2rem;
  color: #34493c;
}

a:hover {
  color: #6a977b;
}

.greenLink {
  color: #3A5A37;
  text-decoration: none;
}

footer a {
  color: #34493c;
}

@font-face {
  font-family: "GoblineOne";
  src: url("assets/Goblin_One/GoblinOne-Regular.ttf");
}

@font-face {
  font-family: "PalanquinDark";
  src: url("assets/Palanquin_Dark/Palanquin_Dark/PalanquinDark-Regular.ttf");
}

p {
  font-family: PalanquinDark;
}

.modal {
  width: 40%;
  text-align: center;
  padding-bottom: 5px;
  border: 1px solid blue;
  border-radius: 25px;
  background-image: url("./crowpics/modalback.png");
  box-shadow: 0 0 10px #777777;
  z-index: 1;
  position: fixed;
  top: 20px;
  left: 30%;
}

.modalPic {
  width: 80%;
  border: 2px solid grey;
  margin: 15px 0px;
}

.modalClose {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #34493c;
  color: white;
  border-radius: 5px;
  font-size: 1rem;
}

.modalClose:hover {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #34493c;
  color: white;
  border-radius: 5px;
  font-size: 1rem;
  box-shadow: 0 0 10px #777777;
}

.erun,
.fgraft,
.artifun,
.arach {
  display: none;
}

.crowPicSpread {
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  margin-bottom: -10px;
}

.crowPic {
  position: relative;
  top: 90px;
  transition: top 0.5s linear 0s;
  max-width: 12%;
}

.crowPic:hover {
  position: relative;
  top: 60px;
  transition: top 0.5s linear 0s;
}


.wormBowl {
  display: flex;
  justify-content: space-around;
}

.wormBowlImg {
  background-image: url("crowpics/worms.png");
  background-repeat: no-repeat;
  background-size: 100%;
  
}



/* Privacy policy */

.privPol {
  border: 5px solid black;
  padding: 50px;
  margin: 0px 50px;
}

.parahead {
  font-size: 1.5rem;
}

/* End of privacy policy */


/*  hidden worm */
.moveableWorm {

display: none;
position: absolute;
}


/* start tablet and mobile*/
@media screen and (max-width: 1145px) {
  body {
    background-image: url("./assets/bordersnbacks/pagedesign1100.svg");
  }
}

@media screen and (max-width: 1090px) {
  .crowPic {
    position: relative;
    top: 65px;
    transition: top 0.5s linear 0s;
    max-width: 12%;
  }

  .crowPic:hover {
    position: relative;
    top: 40px;
    transition: top 0.5s linear 0s;
  }

 

}

@media screen and (max-width: 890px) {
  body {
    background-image: url("./assets/bordersnbacks/pagedesign890.svg");
    text-align: center
  }

  .gamePicSpread {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
  }

  .figC {
    border: 1px solid black;
    transform: scale(1, 1);
    transition: transform 0.5s linear 0s;
    width: 25%;
  }

  .headerHeader {
    font-size: 60px;
    padding: 50px 0px 30px 0px;
  }

  h1 {
    font-size: 4rem;
    background-position: 50% 30%;
    transition: font-size 2s linear 0s, background-position 1s linear 0s;
  }


  .modal {
    width: 60%;
    left: 20%;
  }
  
  .footerPicContainer {
      flex-direction: column;
      justify-content: center;
    align-items: center;
  }
}

@media screen and (max-width: 790px) {
  body {
    background-image: url("./assets/bordersnbacks/pagedesign790.svg");
  }
}

@media screen and (max-width: 670px) {
  .crowPic {
    position: relative;
    top: 50px;
    transition: top 0.5s linear 0s;
    max-width: 12%;
  }

  .crowPic:hover {
    position: relative;
    top: 35px;
    transition: top 0.5s linear 0s;
  }


  .modal {
    width: 70%;
    left: 15%;
  }
}

@media screen and (max-width: 600px) {
  body {
    background-image: url("./assets/bordersnbacks/pagedesign600.svg");
  }

  nav a {
    font-size: 1.5rem;
  }

  .headerHeader {
    font-size: 40px;
    padding: 40px 0px 30px 0px;
  }

  h1 {
    font-size: 3.5rem;
    background-position: 50% 30%;
    transition: font-size 2s linear 0s, background-position 1s linear 0s;
  }


  .crowPic {
    position: relative;
    top: 30px;
    transition: top 0.5s linear 0s;
    max-width: 12%;
  }

  .crowPic:hover {
    position: relative;
    top: 15px;
    transition: top 0.5s linear 0s;
  }


 

  .modal {
    width: 70%;
    left: auto;
    right: auto;
    font-size: 0.8rem;
    min-width: 360px;
  }

  .gamePicSpread {
    display: flex;
    align-content: space-around;
  }
  .figC {
    border: 1px solid black;
    transform: scale(1, 1);
    transition: transform 0.5s linear 0s;
    width: 100%;
  }
}


@media screen and (max-width: 430px) {
  body {
    background-image: url("./assets/bordersnbacks/pagedesign430.svg");
  }

  nav {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-content: end;
    font-family: PalanquinDark;
  }



}

@media screen and (max-width: 400px) {
  html {
    border-bottom: 44px solid black;
  }

  .topPic {
 width:80vw;   
}


  .headerHeader {
    font-size: 30px;
    padding: 30px 0px 30px 0px;
  }

  h1 {
    text-align: center;
    font-family: "GoblinOne", "Georgia", "Times New Roman", Times, serif;
    letter-spacing: 0.03em;
    font-size: 2.2rem;
    font-weight: bold;
    background-repeat: no-repeat;
    background-position: 50% 40%;
    transition: font-size 2s linear 0s, background-position 1s linear 0s;
  }


  .wormBowlImg {
    background-image: url("crowpics/wormsb.png");
    background-repeat: no-repeat;
    background-size: 100%;
    
  }
}

@media screen and (max-width: 400px) {
  html {
    border-bottom: 24px solid black;
  }

  .footerPic {
    width: 60vw;
  }
  
  .footerPic:hover {  
    width: 60vw;
  }

}


/* Privacy policy box */


.elHidden {
  display: none;
  }

  .elShown {
    display: block;
    }


    .privPolContainer {
width: 100%;
display: flex;
justify-content: space-around;
margin-top: 5%;
    }

  #privpolbox {
    position: fixed;
    margin-left: auto;
    margin-right: auto;
    height: 340px;
    width: 300px;
    background-color: #F5F4F4;
    border: 1px solid #205671;
    border-radius: 40px;
    padding: 30px;
    font-family: georgia;
    font-size: 10pt;
    
    
    color: black;
    line-height: 1.5em;
    z-index: 7;
    text-align: center;
    background-image: url("./assets/bordersnbacks/privback.png");
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 0 10px #205671;
    }

#privpolbox a {
  color: #205671;
}

#privpolbox a:hover {
  color: #1F78A8;
}

    #continueButton{
      background-color: white;
      width: 260px;
      padding: 5px;
      border-radius: 10px;
      margin-top: 15px;
      }

      #continueButton:hover {
        background-color: white;
        width: 260px;
        padding: 5px;
        border-radius: 10px;
        margin-top: 15px;
        box-shadow: 0 0 5px #407668;
        }


        /* Touchscreen functionality for dragging and dropping worms from the crow's bowl*/


        

        .touchScreenBody {
          cursor: move;
        }


        .footerPicContainerB {
          background-color: blue;
          cursor: move;
        }