body, html {
  height: 100%;
  margin: 0;
  font-family: 'Arial';
    background-color: #323232;
    overflow-x: hidden;
    font-weight: lighter;
}

.hero-image {
  background-image: linear-gradient(rgba(255, 255, 255, 0), #262726), url("IMG_Hero_Image.jpg");
  height: 400px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

#weather {
  width: 300px;
  height: 20px;
  background-color: #222;
  color: #FFFFFF;
}

#weather h2 {
  font-size: 20px;
  text-align: center;
}

#weather p {
  font-size: 20px;
  font-weight: bold;
  margin-top: 5px;
}


.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  border-color: white;
  padding: 10px 10px;
  font-weight: 100;
}

@keyframes swipe {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
    }
    
}
.hero-text h1 {
    font-size: 50px;
    animation: swipe 0.6s;
}

.hero-text p {
  animation: swipe 0.6s;
}

.opening {
    width: 95%;
    font-size: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 3%;
    color: white;
}

@media (max-width: 1000px) {
    .opening {
        width: 90%;
        font-size: 14px;
    }   

    .hero-image {
      height: 500px;
    }

    .hero-text h1 {
      font-size: 30px;
    }

    #weather {
      width: 300px;
      height: 10px;
      background-color: #222;
      color: #FFFFFF;
    }
    
}

@media (max-width: 900px) {  
    .hero-text h1 {
        font-size: 30px;
    }
}

@media (max-width: 500px) {  
    .hero-text h1 {
        font-size: 24px;
    }
}

@media (max-width: 400px) {  
    .hero-text h1 {
        font-size: 20px;
    }
}









/* =========================
   LAYOUT CONTAINER
========================= */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 40px;
  background-color: #262726;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

/* =========================
   TYPOGRAPHY
========================= */
h1 {
  text-align: center;
  color: #fff;
  margin-bottom: 20px;
  font-size: 2rem;
}

/* =========================
   TABLE STYLES
========================= */
table {
  width: 100%;
  border-collapse: collapse;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

table.visible {
  opacity: 1;
  transform: translateY(0);
}

th,
td {
  padding: 12px 15px;
  border-bottom: 1px solid #444;
  color: #fff;
  text-align: left;
}

th {
  background-color: #333;
  font-weight: bold;
}

.total td {
  font-weight: bold;
  background-color: #333;
}

/* =========================
   MESSAGE PANEL
========================= */
.message {
  margin-top: 30px;
  padding: 20px;
  background-color: #1e1e1e;
  border-left: 4px solid #fff;
  color: #ccc;

  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease 0.3s, transform 1s ease 0.3s;
}

.message.visible {
  opacity: 1;
  transform: translateY(0);
}

.message p {
  margin-bottom: 10px;
  font-weight: bold;
  color: #fff;
}

.message ul {
  padding-left: 20px;
}

.message li {
  margin-bottom: 8px;
}

/* =========================
   BUTTON
========================= */
.show-earnings-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #242524;
  border: solid 1px #fff;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.show-earnings-btn:hover {
  background-color: #262726;
}

.show-earnings-btn:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* =========================
   RESPONSIVE DESIGN
========================= */

/* Tablets */
@media (max-width: 768px) {
  .container {
    padding: 20px;
    margin: 10px;
  }

  h1 {
    font-size: 1.6rem;
  }

  th,
  td {
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .message {
    padding: 16px;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .container {
    padding: 15px;
    border-radius: 10px;
  }

  h1 {
    font-size: 1.4rem;
  }

  table {
    font-size: 0.9rem;
  }

  th,
  td {
    padding: 8px 10px;
  }

  .message {
    padding: 14px;
    font-size: 0.9rem;
  }

  .show-earnings-btn {
    display: block;
    width: 100%;
    text-align: center;
  }
}