:root {
  --blue: #3fa9f5;
  --green: #7ac943;
  --orange: #ff931e;
}

a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: #3fa9f530;
}

a:hover {
  text-decoration-color: var(--blue);
}

body {
  padding-top: 5rem;
  font-family: "mozaic-geo-variable", sans-serif;
  font-size: 1.125rem;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.days-container .days::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.days-container .days {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

table p {
  margin-top: 0.5rem;
  opacity: 0.7;
  font-style: italic;
}

table h2 {
  margin-bottom: 0px;
}

nav {
  position: fixed;
  left: 0px;
  top: 0px;
  background-color: white;
  padding: 1rem;
  width: calc(100% - 2rem);
  padding-left: 15%;
  padding-right: 15%;
  background-image: url(/assets/background-01.png);
  background-size: cover;
  background-position: center center;
  z-index: 99;
}

nav .right {
  position: fixed;
  right: 15%;
  top: 2rem;
}

nav .right a {
  margin-left: 1.25rem;
  color: black;
  text-decoration: none;
  transition: opacity 0.3s;
}

nav .right a:not([href="/register/"]):hover {
  opacity: 0.5;
}

nav img.logo {
  height: 4rem;
}

.rough {
  font-family: "veneer", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-shadow: #3fa9f570 0 1px 4px;
  text-transform: uppercase;
}

h1.rough {
  font-size: 8rem;
  color: var(--blue);
  margin-bottom: 1rem;
  line-height: 8rem;
}

h1.rough.small {
  font-size: 6rem;
  margin-top: 7rem;
  line-height: 6rem;
}

.banner {
  width: calc(100% + 16px);
  position: relative;
  left: -8px;
  height: 30rem;
  background-position: center center;
  background-size: cover;
}

.banner.small {
  height: 20rem;
}

.banner .fade {
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 100%;
  height: 7rem;
  background: linear-gradient(transparent, white);
}

.content {
  padding-left: 15%;
  padding-right: 15%;
}

.content.banner-above {
  margin-top: -12rem;
  position: relative;
}

.weeks {
  display: flex;
  column-count: 2;
  column-gap: 1rem;
}

.week {
  width: calc(100% - 4rem);
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  background-position: center center;
  background-size: cover;
}

.week-inner {
  background-color: rgba(255, 255, 255, 0.567);
  padding: 2rem;
  left: 0px;
  top: 0px;
  height: 100%;
  width: calc(100% - 4rem);
  line-height: 1.5rem;
}

.week h1 {
  margin-top: 0px;
  margin-bottom: 0.5rem;
}

.week h2 {
  margin-bottom: 0px;
  font-size: 1.1rem;
  margin-top: 0px;
}

button {
  background-color: var(--orange);
  color: white;
  padding-top: 0.65rem;
  padding: 0.5em 1em;
  outline: none;
  border: 0px;
  font-size: 1.125rem;
  border-radius: 9999px;
  font-family: "mozaic-geo-variable", sans-serif;
  cursor: pointer;
  font-variation-settings: "wght" 600;
  transition: opacity 0.3s;
}

button:hover {
  opacity: 0.5;
}

h1 {
  margin-bottom: 0px;
  font-variation-settings: "wght" 600;
}

h2 {
  font-variation-settings: "wght" 500;
}

p {
  font-family: "noto-serif", serif;
  line-height: 1.8rem;
}

.notice {
  font-family: "noto-serif", serif;
  line-height: 1.5rem;
  background-image: url(/assets/beach-bg-01.png);
  background-position: center center;
  background-size: cover;
  padding: 0.5rem;
  border-left: 0.35rem solid #554b41;
  font-size: 0.95rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  font-style: italic;
}

li {
  font-family: "noto-serif", serif;
  margin-bottom: 0.5rem;
}

li b {
  text-transform: uppercase;
}

.week h1 .full {
  color: white;
  font-size: 1rem;
  background-color: var(--orange);
  padding: 0.5em 1em;
  padding-top: 0.65rem;
  border-radius: 0.25rem;
  transform: scale(0.75);
  position: absolute;
  margin-top: -0.1rem;
  display: inline-block;
  text-transform: uppercase;
}

.days {
  display: flex;
  flex-wrap: nowrap;
  overflow: auto;
  column-gap: 1rem;
  margin-top: 1.5rem;
  width: 100%;
  padding-left: 15vw;
  padding-right: 15vw;
  position: relative;
  left: -15vw;
}

.day {
  display: inline-block;
  width: 20rem;
  background-color: rgba(236, 236, 236, 0.567);
  padding: 2rem;
  padding-bottom: 5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.day button {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
}

.day img {
  width: calc(100% + 4rem);
  position: relative;
  left: -2rem;
  top: -2rem;
  object-fit: cover;
  height: 15rem;
}

.day h2 {
  margin-top: -1rem;
  position: relative;
  top: 0.5rem;
}

footer {
  background-image: url(/assets/bg-orange-01.png);
  background-size: cover;
  background-position: center center;
  padding: 4rem;
  padding-left: 15%;
  padding-right: 15%;
  width: calc(100vw - 30%);
  position: relative;
  left: -8px;
  bottom: -8px;
  margin-top: 4rem;
}

footer img {
  height: 6rem;
  filter: brightness(0) invert(1);
}

footer .contact {
  display: inline-block;
  margin-left: 2rem;
  position: relative;
  top: -1.25rem;
  color: white;
}

footer .contact h2 {
  margin-bottom: 0px;
}

footer .contact p {
  margin-top: 0.5rem;
}

.campers {
  margin-top: 1rem;
}

.campers .camper {
  padding: 1rem;
  border-radius: 0.25rem;
  background-color: #3d4143;
  cursor: pointer;
  width: calc(100% - 2rem);
  margin-bottom: 1rem;
  display: inline-block;
}

.page input {
  background-color: #3d4143;
  margin-top: 1rem;
}

.page button {
  border-radius: 0.25rem;
  padding: 0.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-top: 1rem;
}

.camper.create {
  background: var(--blue);
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  line-height: normal;
}

.camper span {
  font-size: 1.4rem;
}

table {
  border-spacing: 0 0.5rem;
  margin-top: 1rem;
  width: 100%;
}

table td:first-child {
  border-bottom-left-radius: 0.25rem;
  border-top-left-radius: 0.25rem;
}

table td:last-child {
  border-bottom-right-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

table tr {
  border-radius: 0.25rem;
  transition: background-color 0.3s;
}

table tr:not(.disabled) {
  cursor: pointer;
}

table td:last-child span {
  display: block;
  margin-bottom: 1rem;
}

table td:last-child img {
  height: 1.8rem;
  border-radius: 0.9rem;
  margin-right: 0.5rem;
  position: relative;
  top: 0.5rem;
}

tr.disabled {
  opacity: 0.5;
}

span.already,
span.old {
  background: var(--orange);
  padding: 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  margin-right: 0.5rem;
  display: inline-block;
  width: fit-content;
}

span.old {
  background: gray;
  position: relative;
  top: -0.25rem;
  margin-bottom: 0px;
}

.back-btn {
  height: 1.8rem;
  margin-right: 1rem;
  position: relative;
  top: 0.2rem;
  transition: opacity 0.3s;
  cursor: pointer;
}

.camper-days,
.camper-name {
  color: var(--green);
}

button.confirm {
  background-color: var(--green);
}

.back-btn:hover {
  opacity: 0.7;
}

table td {
  padding: 1rem;
}

table tr:hover:not(.selected):not(.disabled) {
  background-color: #3fa9f520;
}

table tr.selected {
  background-color: var(--blue);
}

.camper div {
  display: inline-block;
  margin-left: 1rem;
  position: relative;
  top: -0.4rem;
}

.camper img {
  border-radius: 2rem;
  height: 4rem;
  width: 4rem;
  position: relative;
  top: 0.3rem;
}

.camper {
  transition: opacity 0.3s;
}

.camper:hover {
  opacity: 0.7;
}

.camper p {
  margin: 0px;
  font-size: 1rem;
  font-style: italic;
  opacity: 0.7;
}

button.cancel {
  background-color: #3d4143;
}

.camper button {
  position: absolute;
  right: 1rem;
  font-size: 0.9rem;
  margin-top: 1.1rem;
  background: var(--blue);
}

.rates {
  display: flex;
  padding: 1.5rem;
  background-image: url(/assets/beach-bg-01.png);
  background-position: center center;
  background-size: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  column-count: 3;
  column-gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.rate h2 {
  margin: 0px;
}

.rate p {
  margin-top: 0.5rem;
}

.rates .rate {
  width: 100%;
}

label {
  position: relative;
  top: 0.5rem;
  margin-top: 1rem;
  display: block;
}

label.img-label {
  font-family: "noto-serif", serif;
  opacity: 0.5;
  position: relative;
  top: -0.8rem;
  font-size: 0.9rem;
}

.albums {
  display: flex;
  column-gap: 1rem;
  flex-wrap: wrap;
}

.albums a {
  display: inline-block;
  height: 14rem;
  width: 100%;
  margin-bottom: 1rem;
  background-position: center center;
  background-size: cover;
  border-radius: 0.5rem;
  position: relative;
  text-decoration: none;
  transition: opacity 0.3s;
  flex: 0 0 calc(50% - .5rem);
}

.albums a:hover {
  opacity: 0.7;
}

.albums span {
  position: absolute;
  width: calc(100% - 1.5rem);
  padding: 0.75rem;
  bottom: 0px;
  background-color: #3d414390;
  color: white;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.day-description p {
  font-size: 1.2em;
  line-height: 1.4em;
  color: rgb(51, 51, 51);
}

p.big {
  font-size: 2.25rem;
  line-height: 2.6rem;
  margin-top: 0px;
  position: relative;
  top: -0.5rem;
  opacity: 0.7;
}

.day-description img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 760px) {
  nav {
    padding-left: 0px;
    padding-right: 0px;
    text-align: center;
    width: 100vw;
  }

  .days-container .day {
    padding-bottom: 2rem;
  }

  .day button {
    position: static;
  }

  p.big {
    font-size: 1.8rem;
    line-height: 2.4rem;
  }

  .camper button {
    display: block;
    position: static;
    width: 100%;
  }

  nav .right a:first-child {
    margin-left: 0px;
  }

  nav .right {
    display: block;
    position: static;
    margin-top: 1rem;
  }

  body {
    padding-top: 8rem;
    overflow-x: hidden;
  }

  .content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  nav img.logo {
    height: 3rem;
    margin-top: 1rem;
  }

  .banner {
    height: 20rem;
  }

  h1.rough,
  h1.rough.small {
    font-size: 4rem;
    margin-top: 7.5rem;
    line-height: 4rem;
  }

  .weeks,
  .rates,
  .albums {
    display: block;
    column-count: 1;
    column-gap: 0px;
  }

  .week {
    width: 100%;
    margin-bottom: 1rem;
  }

  .day {
    width: calc(100% - 4rem);
  }

  footer {
    text-align: center;
  }

  footer img {
    margin-bottom: 2rem;
  }

  footer .contact {
    margin-left: 0px;
  }

  .days {
    display: flex;
    flex-wrap: nowrap;
    overflow: auto;
    column-gap: 1rem;
    margin-top: 1.5rem;
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
    position: relative;
    left: 0px;
  }
}
