
:root {
  --primary-color: #b4e8cd;
}
body {
  background-color: teal;
  text-align: center;
}

.box {
  border: 3px solid black;
  padding: 10px;
  font-size: 20px;
  text-align: center;
  margin-bottom: 10px;
  margin: 10px;
}

.white {
  background-color: white;
}

.blue {
  background-color: mediumpurple;
}


textarea {
  width: 100%;
}
input:not(.radioBtn),
label:not(.radioBtn) {
  display: block;
  width: 100%;
}


#contact {
  background-color: #eee;
}
#submitBtn {
  cursor: pointer;
  background-color: #e3e3d3;
  border: 1px solid black;
}
#submitBtn:hover {
  background-color: #d3d3d3;
}

/* ID Selectors */
#title {
  background-color: yellowgreen;
  text-decoration: none;
  border: 5px dashed white;
  margin-top: 50px;
}

 

#headingInfo .plainback {
  height: 400px;
  overflow: auto;
}



#candyInfo {
  background-color: #9bf0ff;
  /* flex-basis sets an initial width for a flex item */
  /* calc() function used to subtract the gap from the width */
  flex-basis: calc(50% - 0.5em);
}

#forestInfo {
  background-color: #d0ff9b;
  flex-basis: calc(50% - 0.5em);
}
#dollsInfo {
  background-color: #e0dede;
  flex-basis: calc(50% - 0.5em);
}
#redguyInfo {
  background-color: #d6b09a;
  flex-basis: calc(50% - 0.5em);
}

#eyesInfo {
  background-color: lightblue;
  flex-basis: calc(50% - 0.5em);
}


#navLinks {
  position: sticky;
  top: 0.5em;
  z-index: 1;
}
#navLinks a {
  display: block;
}
#navLinks a:focus {
  background-color: red;
  color: white;
}
#navLinks a:link {
  color: black;
}
#navLinks a:visited {
  color: darkgreen;
}
#navLinks a:hover {
  background-color: yellowgreen;
}
#navLinks a:active {
  background-color: purple;
}

/* Class Selectors */
.heading {
  color: #ff0000;
  font-family: "Glass Antiqua", cursive;
}

.text-center {
  text-align: center;
}
.info {
  border: 5px solid white;
  padding: 0.5em;
  margin-bottom: 1em;
  border-radius: 0.5em;
  box-shadow: 2px 2px 5px black;
}
.plainback {
  background-color: var(--primary-color);  
  padding: 0.5em;
}
.img-responsive {
  max-width: 400px;
}

.img-center {
  display: block;
  margin: 0 auto;
}
.float-left {
  float: left;
  margin-right: 1em;
  margin-bottom: 1em;
}
.sr-only {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
.sr-only:focus {
  background-color: white;
  padding: 0.5em;
  border-radius: 0.2em;
  position: static;
  opacity: 1;
  text-decoration: none;
  text-transform: uppercase;
}




@media (min-width: 576px) {
  #spooky {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    justify-content: center;
  }
  #navLinks {
    display: flex;
    justify-content: space-evenly;
  }
  #navLinks a {
    display: inline;
  }
  #title:before,
  #title:after {
    content: "💀🎃"
  }
  #candyInfo .heading:before,
  #candyInfo .heading:after{
    content: "🍬"
  }
  #forestInfo .heading:before,
  #forestInfo .heading:after{
    content: "🪾"
  }
  #dollsInfo .heading:before,
  #dollsInfo .heading:after{
    content: "🪆"
  }
  #eyesInfo .heading:before,
  #eyesInfo .heading:after{
    content: "👁️"
  }

    #redguyInfo .heading:before,
  #redguyInfo .heading:after{
    content: "🔴"
}

