@media only screen and (max-width: 1475px) {
  #program {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #selectors {
    width: 80% !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }

  .selector {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
  }

  #selectorA {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  #selectorB {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  #selectorC {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  #selectorD {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  #selectorE {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  #selectorF {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }

  .slideshow-container {
    transform: translate(0, 0) !important;
  }

  .dot {
    transform: translate(0, 0) !important;
  }
}

@media only screen and (max-width: 1200px) {
  .hopper-main {
    top: 0 !important;
  }
}

@media only screen and (max-width: 1160px) {
  select,
  option {
    font-size: 1.5rem !important;
  }
}

@media only screen and (max-width: 1100px) {
  #information { 
    font-size: 1.5rem !important;
  }

  #warning {
    width: 70% !important;
  }
}

@media only screen and (max-width: 869px) {
  #information {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    
  }

  #weightInfo {
    grid-column: 1;
    grid-row: 1;
  }

  #bPInfo {
    grid-column: 1;
    grid-row: 2;
  }

  #capacityInfo {
    grid-column: 2;
    grid-row: 1;
  }

  #legInfo {
    grid-row: 2;
    grid-column: 2;
  }

  #selectors {
    width: 100% !important;
  }

  .intro {
    width: 90% !important;
    padding: .5rem;
  }
}

@media only screen and (max-width: 765px) {
  #selectors {
    grid-template-columns: 1fr;
  grid-template-rows: repeat(6, 1fr);
  }

  #selectorA {
    grid-column: 1;
    grid-row: 1 / 2;
  }

  #selectorB {
    grid-column: 1;
    grid-row: 2 / 3;
  }

  #selectorC {
    grid-column: 1;
    grid-row: 3 / 4;
  }

  #selectorD {
    grid-column: 1;
    grid-row: 4 / 5;
  }

  #selectorE {
    grid-column: 1;
    grid-row: 5 / 6;
  }

  #selectorF {
    grid-column: 1;
    grid-row: 6 / 7;
  }

  .selector {
    display: flex;
    justify-content: space-between;
  }
}

@media only screen and (max-width: 736px) {
  .hopper-main h1 {
    font-size: 3.5rem !important;
  }
}

@media only screen and (max-width: 665px) {
  #warning {
    width: 85% !important;
  }
}


@media only screen and (max-width: 585px) {
  select,
  label,
  option {
    font-size: 1.3rem !important;
  }
}

@media only screen and (max-width: 550px) {
  .intro p {
    font-size: 1.2rem !important;
  }
}

@media only screen and (max-width: 540px) {
  .know {
    font-size: 1.3rem !important;
  }
}

@media only screen and (max-width: 520px) {
  .hopper-main h1 {
    font-size: 3rem !important;
  }
}

@media only screen and (max-width: 482px) {
  .selector {
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.8rem !important;
  }

  .know {
    font-size: 1rem !important;
  }
}


* {
    font-family: Copperplate, "Copperplate Gothic Light", "Crimson Text", Georgia, serif;
       /* border: red solid 1px */
    
}

 .hopper-body {
  margin: 0;
  width: 100%;
  background-color: rgb(0, 0, 2);
  
}

.hopper-main {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 75px;
    top: 135px;
    width: 100%;
    text-align: center;
    justify-content: center;
    background-image: url(../images/cone-team2-2.jpg);
    background-position: top;
    background-size: contain;
    background-repeat: no-repeat;
} 

.hopper-main h1 {
    font-size: 5rem;
    color: hsl(199, 61%, 93%);
    text-shadow: rgb(37, 0, 247) 2px 2px 10px,
                 rgb(0, 110, 255) -2px -2px 10px,
                 red -2px 2px 10px;
}

.intro {
    margin-top: 3rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    width: 75%;
    background-color: hsla(210, 100%, 5%, 0.5);

}

.intro h3 {
    margin-bottom: 0;
    font-size: 1.5rem;
}

.intro p {
    margin-top: 0;
    font-size: 1.5rem;

}

aside {
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  font-size: 1.25rem;
}

#warning {
  display: inline;
  color: rgb(226, 226, 245);
  font-family: "Bai Jamjuree", Helvetica, sans-serif;
  width: 50%;
  background-color: rgba(53, 52, 1, 0.87);
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  padding: 0.5rem;
  border-radius: 15px;
  line-height: 1.75rem;
}

/*css for container holding everything related to the cone builder*/

#program {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  grid-auto-rows: minmax(100px, auto);
}

#selectors {
  grid-column: 2 / 5;
  grid-row: 1 / 4;
  text-align: start;
}

#theShow {
  grid-column: 5 / 13;
  grid-row: 1 / 4;
}

#information {
  color: white;
  display: flex;
  justify-content: center;
  grid-column: 1 / 13;
  grid-row: 4;
  font-size: 2rem;
}

label {
  color: white;
  font-size: 1.5rem;
  font-family: "Radio Canada", Georgia, 'Times New Roman', Times, serif; ;
}

select,
option {
  font-size: 2rem;
  font-family: "Radio Canada", Georgia, 'Times New Roman', Times, serif;
  
}

.selector {
  margin: 30px;
}

.slideshow-container {
  max-width: 750px;
  position: relative;
  margin: auto;
  text-align: start;
  transform: translate(5px, 33px);
}

.mySlides {
  display: none;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  transform: translate(5px, 33px);
}

.active, .dot:hover {
  background-color: #717171;
}


/*css for info section of cone builder*/



#weightInfo,
#bPInfo,
#capacityInfo,
#legInfo,
#heightInfo {
  margin: 20px;
  font-family: "Radio Canada", Georgia, 'Times New Roman', Times, serif;
}

#weightNumber,
#bPNumber,
#capacityNumber,
#legNumber,
#heightNumber {
  background-color: white;
  color: black;
}

.know {
  font-family: "Radio Canada", Georgia, 'Times New Roman', Times, serif;
}




/*remember to get rid of table css rules*/
table {
    
    color:rgb(226, 226, 245);
    background-color: rgba(5, 1, 29, 0.8);
    border: 2px solid rgb(222, 221, 240);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5vw;
    overflow-x: auto;
    
    
  }
  
  th,
  td {
    border: 2px solid rgb(222, 221, 240);
    padding: 10px;
    letter-spacing: 0.12em;
    box-shadow: inset 0 0 20px 2px rgba(0, 25, 253, 0.589);
    font-size: 1vw;
  }

  td {
    font-family: "Bai Jamjuree", Helvetica, sans-serif;
  }

  #chute,
  #inlet,
  #air {
    line-height: 3rem;
  }


  .redirect {
    background-color: hsla(210, 100%, 5%, 0.5);
    padding-bottom: 2rem;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 180px;
  
    
  }

  .redirect p {
    font-size: 1.2rem;
    margin: 10px;
  }

  .order-btn {
    display: inline-flex;
    padding: 1px 20px;
    margin: 0;
    background-color: rgb(1, 2, 66);
    border: 4px solid rgb(231, 230, 255);
    border-radius: 5px;
    box-shadow: inset 0 0 5px 2px rgb(76, 0, 252);
    transition: all .5s ease-out .1s;
  }

  .order-btn:hover {
    color: rgb(1, 2, 66);
    background-color: rgb(231, 230, 255);
    border: 4px solid rgb(1, 2, 66);
    box-shadow: inset 0 0 5px 2px rgb(8, 0, 255);
}

  .order-btn h3 {
    margin: 0;
    padding: 10px 20px;

  }

  .intro p,
  .intro h3,
  .redirect p {
    font-family: "Radio Canada", Georgia, 'Times New Roman', Times, serif;
    letter-spacing: 0.1em;
    line-height: 2.5rem;
    color: rgb(226, 226, 245);
  }

/* --- Minimal wide-screen fix: don't touch your base layout --- */

/* Images never overflow the slideshow box */
.slideshow-container img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Wide screens only: cap the slideshow width and let it sit to the right */
@media (min-width: 1400px) {
  #program {
    max-width: 1600px;      /* center whole section on big monitors */
    margin-inline: auto;
    padding-inline: 40px;
  }

  #theShow {                /* allow the grid item to shrink inside its track */
    min-width: 0;
  }

  #theShow .slideshow-container {
    width: 100%;
    max-width: 820px;       /* <-- tweak 760–900px to taste */
    margin-left: auto;      /* keep it on the right side of its grid area */
    overflow: hidden;       /* prevent children from hanging out */
  }
}

/* Narrow band fix: prevent slideshow/selector overlap between 1475–1555px */
@media (min-width: 1475px) and (max-width: 1555px) {
  #theShow .slideshow-container {
    max-width: 725px; /* down from 820px just in this range */
  }
}
