html {
    height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  background-image: url('../images/atlas-image.png');
  background-size: 100%;
  background-position: center;
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  text-align: center;
  background-color: #89C4FF;
  color: #44251A;
}

.page-wrapper {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-container {
    width: 1100px;
    height: 700px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background-color: #FFE98F;
    border-radius: 30px;
    border: 3px solid #44251A;
    margin-top: 50px;
}

.page-title {
  margin-top: -70px;
  padding-bottom: 15px;
}

.page-title-image {
  width: 500px;
}

.local-time-zone-container,
.select-city-container,
.selected-city-data-container,
.passport-container {
  background-color: #FEFBEC;
  margin: 8px auto;
  border-radius: 50px;
  border: 3px solid #44251A;
}

.local-time-zone-container {
  width: 900px;
  height: 100px;
  margin-top: -27px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.local-location-icon {
  width: 60px;
  padding-left: 8px;
}

.local-location-display {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 15px;
}

.local-location {
  font-weight: 600;
  font-size: 33px;
}

.local-time-date-display {
  display: flex;
  flex-direction: column;
  align-items: end; 
  line-height: 36px;
  margin: 0 30px;
}

.local-time {
  font-size: 30px;
  margin: 0;
}

.local-date {
  font-size: 22px;
  margin: 0;
}

.select-city-container {
  background-color: #ADD6FF;
  width: 900px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.select-city-container select {
    font-size: 30px;
    font-weight: 600;
    padding: 12px;
    width: 98%;
    border: 2px solid #44251A;
    border-radius: 50px;
    background-color: #FEFBEC;
    color: #44251A;
    font-family: "Fredoka", sans-serif;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none; 
    background-image: url('../images/dropdown-icon.png');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 40px;
    cursor: pointer;
}

.display-and-game-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin: 5px auto;
}

.selected-city-data-container,
.passport-container {
  width: 420px;
  height: 350px;
  margin: 5px 15px;
}

.selected-city-data-container {
  background: url('../images/city-data-display-img.png') no-repeat center center;
  background-size: contain;
  color: #FEFBEC;
  text-shadow:
   -2px -2px 0 #44251a,
    2px -2px 0 #44251a,
   -2px 2px 0 #44251a,
    2px 2px 0 #44251a,
    0px 2px 0 #44251a,
    2px 0px 0 #44251a,
    0px -2px 0 #44251a,
   -2px 0px 0 #44251a; 
  text-align: left;
  padding: 0;
  overflow: hidden;
  line-height: 15px;
}

.selected-city-data-container.no-selection {
  background: url('../images/please-choose-img.png') no-repeat center center;
  background-size: contain;
  background-color: #FEFBEC;
  color: transparent;
}

.selected-city-data-container.no-selection * {
  visibility: hidden;
}

.city-time-info {
  padding-left: 20px ;
}

.selected-city {
  font-size: 42px;
  font-weight: 600;
}

.selected-city-date {
  font-size: 24px;
  font-weight: 500;
}

.selected-city-time {
  font-size: 28px;
  font-weight: 600;
}

.passport-container {
  padding-left: 10px;
  padding-right: 10px;
  position: relative;
  overflow: hidden;
}

.celebration-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ADD6FF; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100; 
    border-radius: 20px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.celebration-overlay.active {
    visibility: visible;
    opacity: 1;
}

.celebration-image {
    width: 420px;
    height: 350px;
}

.close-celebration {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.8em;
    font-weight: bold;
    color: #44251A;
    cursor: pointer;
    padding: 5px 10px;
    z-index: 101;
    line-height: 1;
}

.close-celebration:hover {
    color: #FF6B6B;
}

.passport-game-intro {
  display: flex;
  flex-direction: column;
  align-items: center; 
  margin-top: -15px;
}

.stamp {
  width: 100px;
}

.passport-container h2{
  font-size: 30px;
}

.passport-container p{
  font-size: 20px;
  margin-top: -5px;
}

.stamp-collection {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 8px 8px 15px;
}

.scroll-arrow {
  width:20px;
}

.progress-bar-container {
  display: flex;
  justify-items: center;
  width: 370px;
  background-color: #FEFBEC;
  height: 30px;
  margin: 20px auto 8px auto;
  padding: 1px;
  border-radius: 50px;
  border: 3px solid #44251A;
}

.progress-bar-fill {
  margin: 2px;
  background-color: #89C4FF;
  height:26px;
  border-radius: 50px;
  border: none;
  justify-content: flex-start;
}

.progress-text {
  display: flex;
  justify-content: space-between;
  padding: 10px 25px 10px 25px;
}

footer {
    width: 100%;
    text-align: center;
    margin-bottom: 60px;
    color: #FEFBEC;
    text-shadow:
   -2px -2px 0 #44251a,
    2px -2px 0 #44251a,
   -2px 2px 0 #44251a,
    2px 2px 0 #44251a,
    0px 2px 0 #44251a,
    2px 0px 0 #44251a,
    0px -2px 0 #44251a,
   -2px 0px 0 #44251a; 
    font-size: 36px;
    font-weight: 500;
}

footer a {
    font-weight: 500;
    color: #FFC3C3;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

