* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  min-height: 100vh;
  font-family: "Montserrat", sans-serif;
  background: url("images/bg-img-1.png") center no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  font-size: 24px;
  color: white;
}

p,
button {
  font-family: "Roboto", sans-serif;
}

.bold {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}

.christmas-bg {
  background: url("images/snow-overlay.png") center no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 3em;
  position: relative;
}

.christmas-decorations {
  display: grid;
  place-items: center;
}

.christmas-tree {
  height: 100vh;
}

ul {
  list-style: none;
  display: flex;
  text-align: center;
  margin-top: 1em;
}

li {
  margin-right: 3em;
  margin-bottom: 3em;
}

.logos {
  background: white;
  width: 250px;
  height: 190px;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.overlay-logo {
  margin: 1px;
  height: 120px;
  width: 120px;
  justify-content: start;
}

.charity-logo {
  width: 150px;
}

.donate-link {
  margin: -18px;
}

.donate-button {
  padding: 0.4em 1em;
  min-height: 44px;
  background: rgba(10, 133, 80, 1);
  border: 2px solid rgba(10, 133, 80, 1);
  color: white;
  border-radius: 6px;
  z-index: 3;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 1em;
  text-decoration: none;
  cursor: pointer;
}

.donate-button:hover,
.donate-button:focus {
  color: #0a8550;
  background: white;
}

.charity-overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.text {
  position: absolute;
  background-color: white;
  top: 50%;
  left: 50%;
  font-size: 50px;
  color: black;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  padding: 0.3em;
  border-radius: 10px;
  max-width: 600px;
  min-width: 300px;
  max-height: 97%;
}

.overlay-text {
  color: black;
  font-size: 18px;
  line-height: 2em;
}

.close {
  font-size: 40px;
  color: grey;
  position: absolute;
  top: 0;
  right: 0.2em;
  padding: 0;
  border: none;
  background: white;
  cursor: pointer
}

.partner-logos-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 20px;
  place-items: center;
}

.partner-logos-wrapper img {
    max-width: 100px;
}

.sponsors {
  align-self: end;
}

#supported-by {
  color: #151A40;

  p {
    margin-bottom: 0;
  }
}

@media (min-width: 1600px) {
  .text-container {
    display: grid;
    grid-template-rows: 200px 1fr;
  }
}

@media (min-width: 1250px) {

  .christmas-bg {
    height: 100vh;
  }

  .flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  #supported-by {
    position: absolute;
    bottom: 30px;
  }
}

@media (max-width: 1880px) {
  li {
    margin-right: 1em;
  }
}

@media (max-width: 1570px) {
  .christmas-bg {
    grid-template-columns: 2fr 1fr;
  }
}

@media (max-width: 1600px) {
  .text-container {
    display: grid;
    grid-template-rows: 150px 1fr;
    align-content: center;
  }
}

@media (max-width: 1250px) {
  .christmas-bg {
    grid-template-columns: 1fr 1.2fr;
  }

  .christmas-tree {
    height: 75vh;
  }

  .text-container {
    margin: 0.8em;
  }

  #title-image {
    margin: 15px auto;
  }

  #supported-by {
    position: relative;
    bottom: 30px;
  }
}

@media (max-width: 1050px) {
  .christmas-bg {
    display: block;
    margin: 1em 1em 0;
    background-size: contain;
  }

  .text-container {
    grid-template-rows: 130px 1fr;
  }

  ul {
    flex-wrap: wrap;
  }

  li {
    margin: 0.5em auto;
  }

  .logos {
    width: 190px;
    height: 170px;
    margin: auto;
  }

  #supported-by {
    text-align: center;

    p {
      margin-bottom: 10px;
    }
  }

  #text {
    min-width: 90%;
  }

  .christmas-tree {
    height: 55vh;
    margin-top: -30px;
  }

}

@media (max-width: 650px) {
  .christmas-bg {
    margin: 0;
  }

  .text-container {
    grid-template-rows: none;
  }

  .sponsors {
    text-align: center;
    align-self: center;
  }

  .partner-logos-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .partner-logos-wrapper img {
    margin: 10px 5px;
      max-width: 50px;
  }

  #sub-text {
    font-size: 20px;
  }

  .logos {
    width: 150px;
    height: 140px;
  }

  .overlay-text {
    line-height: 1.2em;
  }

  .charity-logo {
    width: 130px;
  }

  .donate-button {
    margin-bottom: 2em;
  }

  .jll-logo {
    width: 120px;
  }
}


#cookieconsent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: none;
  flex-flow: column nowrap;
  justify-content: center;
  /* aligns on vertical for column */
  align-items: center;
  /* aligns on horizontal for column */
  z-index: 10;
}

.cookies-bar {
  padding: 1em;
  background: rgba(89, 171, 227, 1);
  color: #ffffff;
  width: 100%;
}

@media (max-width: 1500px) {
  #cookieconsent .cookies-bar {
    text-align: center;
  }
}

.cookies-bar p {
  font-size: 20px;
  margin: 15px 0;
  text-align: left;
  display: inline-block;

}

.cookies-bar div {
  display: inline-block;
  vertical-align: middle;
}

.acceptCookies {
  background: #ffffff;
  border-radius: 5px;
  color: rgba(89, 171, 227, 1);
  cursor: pointer;
  margin: 0 5px;
  padding: 5px 20px;
  border: 1px solid #ffffff;
  font-size: 20px;
  text-decoration: none;
  transition: 0.5s;
}

#cookieconsent .cookies-bar .acceptCookies:hover {
  border: 1px solid #ffffff;
  color: #ffffff;
  background: rgba(89, 171, 227, 1);
}

.active {
  display: block;
}