html {
  height: 100vh;
  width: 100vw;
}

body {
  /*margin: 0;
  padding: 0;*/
  display: flex;
  flex-direction: column;
  font-family: Georgia;
}

footer {
  height: 15vh;
  /*width: 100vw;*/
  margin-top: auto;
  text-align: center;
  background-color:  #33cc33;
  color: #000000;
}

.footer-container {
    display: flex;
    justify-content: space-around;
}  

#wtsky {
  position: relative;
  height: 40vh;
  /*width: 100vw;*/
  background-color: cyan; /* For browsers that do not support gradients */
  background-image: linear-gradient(cyan, white);
  text-align: center;
  font-size: 10vh;
  color: #ffffff;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
  padding-top: 20px;
}

#wtbeach {
  position: relative;
  height: 40vh;
  /*width: 100vw;*/
  background-color: yellow; /* For browsers that do not support gradients */
  background-image: linear-gradient(#33adff,#ffffff, #ffcc00);
}

#tempmessage {
  text-align: center;
  font-size: 2vh;
  color: #000000;
  padding-top: 20px;
}

a.icon:link, a.icon:visited {
  padding: 0px 0px 0px 0px; 
}

a.button:link, a.button:visited {
  background-color: #33adff;
  color: #000000;
  padding: 10px 15px;
  text-align: center;
  font-size: 3vh;
  text-decoration: none;
  display: inline-block;
  border-radius: 8px;
  border-color: #000000;
  border-width: 2px;
  border-style: solid;
}



a.button:hover, a.button:active {
  background-color: #ffff80;
  color: #0000ff;
}

#centrebutton {
  text-align: center;
  padding-top: 20px;
}

#emailrequest {
  text-align: center;
  font-size: 2vh;
  color: #0000ff;
}

/* mobile offer board - portrait*/
/*media (orientation:portrait) {*/
  
  .offercards {
    position: absolute;      /* ← keep absolute on mobile */
    top: 25vh;               /* ← same vertical placement */
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;             /* ← same width */
    /*max-width: 90vw;*/
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    }

  .cell {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2), 0 6px 20px rgba(0,0,0,0.19);
    border-radius: 10px;
    padding: 12px;
    background: #fafafa;
    height: 15vh;            /* ← flexible height for mobile */
    width: auto;             /* ← same width for mobile */
    text-align: center;
    }

    .cell img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;   /* preserves full image */
    }

/*}*/

/* desktop or landscapeoffer board */
@media (min-width: 1000px) or (orientation:landscape){
  .offercards {
    position: absolute;
    top: 25vh;
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .cell {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2), 0 6px 20px rgba(0,0,0,0.19);
    border-radius: 10px;
    padding: 12px;
    background: #fafafa;
    height: auto;
    text-align: center;
  }

  #emailrequest {
  text-align: center;
  font-size: 3vh;
  color: #0000ff;
  }
}

/* Spacer pushes footer down */
.offercards-spacer {
  display: block;
  /*width: 100vw;*/
  height: 300px;
  background-color: yellow; /* For browsers that do not support gradients */
  background-image: linear-gradient(#ffcc00, yellow);
}

/* Background for email section */
.email_background {
  display: block;
  /*width: 100vw;*/
  height: 40vh;
  background-color: yellow; /* For browsers that do not support gradients */
  background-image: linear-gradient(yellow, #33cc33);
}

