:root {
  --br-surface: #ffffff;
  --br-surface-2: #f7faff;
  --br-border: #e6ecf5;
  --br-text: #1f2533;
  --br-blue: #4c8dff;
  --br-green: #1fc77a;
  --br-orange: #ff8a3d;
  --br-red: #ea445a;
  --br-accent: linear-gradient(90deg, var(--br-blue) 0%, var(--br-green) 100%);
  --br-radius: 16px;
}

@font-face {
  font-family: "Gilroy-Black";
  src: url("https://cdn.brainring.co.uk/public/fonts/Gilroy-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy-Black-Italic";
  src: url("https://cdn.brainring.co.uk/public/fonts/Gilroy-BlackItalic.ttf") format("truetype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy-Extra-Bold";
  src: url("https://cdn.brainring.co.uk/public/fonts/Gilroy-Extrabold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy-Extra-Bold-Italic";
  src: url("https://cdn.brainring.co.uk/public/fonts/Gilroy-ExtraboldItalic.ttf") format("truetype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy-Bold";
  src: url("https://cdn.brainring.co.uk/public/fonts/Gilroy-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy-Bold-Italic";
  src: url("https://cdn.brainring.co.uk/public/fonts/Gilroy-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy-Semibold";
  src: url("https://cdn.brainring.co.uk/public/fonts/Gilroy-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy-Semibold-Italic";
  src: url("https://cdn.brainring.co.uk/public/fonts/Gilroy-SemiboldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy-Medium";
  src: url("https://cdn.brainring.co.uk/public/fonts/Gilroy-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy-Medium-Italic";
  src: url("https://cdn.brainring.co.uk/public/fonts/Gilroy-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy-Regular";
  src: url("https://cdn.brainring.co.uk/public/fonts/Gilroy-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy-Regular-Italic";
  src: url("https://cdn.brainring.co.uk/public/fonts/Gilroy-RegularItalic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy-Light";
  src: url("https://cdn.brainring.co.uk/public/fonts/Gilroy-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy-Light-Italic";
  src: url("https://cdn.brainring.co.uk/public/fonts/Gilroy-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy-UltraLight";
  src: url("https://cdn.brainring.co.uk/public/fonts/Gilroy-UltraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy-UltraLight-Italic";
  src: url("https://cdn.brainring.co.uk/public/fonts/Gilroy-UltraLightItalic.ttf") format("truetype");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy-Thin";
  src: url("https://cdn.brainring.co.uk/public/fonts/Gilroy-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy-Thin-Italic";
  src: url("https://cdn.brainring.co.uk/public/fonts/Gilroy-ThinItalic.ttf") format("truetype");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy-Heavy";
  src: url("https://cdn.brainring.co.uk/public/fonts/Gilroy-Heavy.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy-Heavy-Italic";
  src: url("https://cdn.brainring.co.uk/public/fonts/Gilroy-HeavyItalic.ttf") format("truetype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Pribambas";
  src: url("https://cdn.brainring.co.uk/public/fonts/Pribambas-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100vh;
  position: relative;
  z-index: 0;
  background-attachment: scroll;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  font-family: Gilroy-Regular, sans-serif;
  position: relative;
  padding-top: env(safe-area-inset-top);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  background: linear-gradient(0deg, #c7fff9 31%, #59b4ff 100%);
}
body.night {
  background: linear-gradient(0deg, #70d5ff 31%, #003c6e 100%) !important;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url(https://cdn.brainring.co.uk/public/images/background/bg_canyon.svg) no-repeat bottom/cover;
  z-index: -1;
  pointer-events: none;
}

ul {
  list-style-type: none;
}

#top {
  position: relative;
}

.maintenance__message {
  max-width: 700px;
  margin: 0 auto;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 15px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.9);
  border: 3px dashed #684299;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}
@media screen and (max-width: 1049px) {
  .maintenance__message {
    margin: auto;
    font-size: 1.2em;
    line-height: 1.25;
  }
}
.maintenance__message h1 {
  font-size: 1.75rem;
}
.maintenance__message h2 {
  font-size: 1.5rem;
}
.maintenance__message h3 {
  font-size: 1.25rem;
}
.maintenance__message a {
  font-size: 18px;
  font-family: Gilroy-Semibold, sans-serif;
  font-weight: 600;
  line-height: 1.4;
  color: #33c5f3;
}
.maintenance__message a.btn {
  display: inline-block;
  padding: 1rem;
  border-radius: 12px;
  color: #fff;
  border: 2px dashed #fff;
  background-color: #6f33f3;
  text-decoration: none;
}
.maintenance__message a.btn:focus, .maintenance__message a.btn:active {
  color: #fff !important;
  border-color: #684299 !important;
  background-color: #684299 !important;
}
.maintenance__message a.btn:hover {
  color: #6f33f3;
  background-color: #fff;
  border: 2px dashed #6f33f3;
  text-decoration: none;
}
.maintenance__message a:hover {
  color: #33c5f3;
  text-decoration: underline;
}

.wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 999;
}

.website-title {
  width: 100%;
  position: absolute;
  text-align: center;
  color: #fff;
  font-weight: 400;
  font-size: 20px;
  z-index: 9999;
  line-height: 30px;
  text-shadow: 1px 1px 6px #000;
  -moz-text-shadow: 1px 1px 6px #000;
  -webkit-text-shadow: 1px 1px 6px #000;
}

.index-logo {
  top: 4vh;
  left: calc(100% - 45vw - 350px);
  position: relative;
  z-index: 99999;
}
.index-logo img {
  width: 300px;
  height: 200px;
}

.competitions {
  display: flex;
  flex-wrap: wrap;
  padding-top: 7vh;
  padding-bottom: 5vh;
  justify-content: center;
}

.competition__item {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 30px 70px;
  border-style: solid;
  border-width: 25px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.23);
  cursor: pointer;
  z-index: 9999;
  transition: all 0.2s ease 0s;
}
.competition__item:hover, .competition__item:active, .competition__item:focus {
  text-decoration: none;
  transform: scale(1.12);
  background: rgba(0, 255, 0, 0.2);
}

.competition__subject {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: 145%;
}

.competition__title {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 322px;
}

.competition__text {
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 322px;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  font-family: Pribambas, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  text-shadow: 1px 1px 6px #000;
  -moz-text-shadow: 1px 1px 6px #000;
  -webkit-text-shadow: 1px 1px 6px #000;
}
.competition__text.year {
  font-family: Tahoma, Arial, sans-serif;
  width: auto;
  max-width: 100px;
  background: #62a82d;
  color: #fff;
  font-size: 11px;
  font-weight: normal;
  margin-bottom: -10px;
  padding: 0 5px 0;
  border-radius: 6px;
  line-height: normal;
  white-space: nowrap;
}

.competition__text.black {
  color: #333;
}

.bg-wood {
  height: 100%;
  pointer-events: none;
}
.bg-wood img {
  position: absolute;
  height: calc(100% - 130px);
  max-width: 100%;
  left: 0;
  top: 0;
  z-index: 0;
}

.bg-grass {
  position: absolute;
  bottom: -1em;
  left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}
.bg-grass img {
  display: block;
  width: 100%;
  height: auto;
}

.bg-children {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 0;
}

.bg-layer__1 {
  position: absolute;
  right: 10px;
  bottom: 45px;
}

.bg-layer__2 {
  position: absolute;
  left: 10px;
  bottom: 30px;
}

.clouds {
  position: absolute;
  width: 100%;
  height: 170px;
  left: 0;
  z-index: -1;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
}

#clouds1 {
  opacity: 0.3;
  top: 10px;
  background: url(https://cdn.brainring.co.uk/public/images/background/bg_cloud.png) repeat-x;
  background-size: 450px;
  -webkit-animation: cloud_anim 500s infinite;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
}

#clouds2 {
  opacity: 0.7;
  top: 30px;
  background: url(https://cdn.brainring.co.uk/public/images/background/bg_cloud.png) repeat-x;
  background-size: 600px;
  -webkit-animation: cloud_anim 200s infinite;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
}

#clouds3 {
  opacity: 0.9;
  top: 50px;
  background: url(https://cdn.brainring.co.uk/public/images/background/bg_cloud.png) repeat-x;
  background-position-x: -140px;
  -webkit-animation: cloud_anim 150s infinite;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
  transform: scaleX(-1);
}

@-webkit-keyframes cloud_anim {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 2200px 0;
  }
}
@keyframes cloud_anim {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 2200px 0;
  }
}
@media screen and (max-width: 1049px) {
  html, body {
    height: initial;
  }

  .website-title {
    position: relative;
    text-align: center;
    font-size: 18px;
    margin-bottom: 15px;
  }

  .index-logo {
    position: initial;
  }
  .index-logo img {
    width: 100%;
    height: 160px;
    position: relative;
    z-index: 9999;
  }

  .bg-wood {
    display: none;
  }

  .bg-children {
    display: none;
  }
}
@media screen and (max-width: 900px) {
  .website-title {
    line-height: 24px;
  }

  .index-logo {
    position: initial;
  }
  .index-logo img {
    height: 130px;
    top: -5px;
  }

  .competitions {
    padding-top: 0;
  }

  .competition__subject {
    width: auto;
    height: 200px;
  }

  .competition__item {
    margin: 15px 70px;
    transition: none;
  }
  .competition__item:hover, .competition__item:active, .competition__item:focus {
    text-decoration: none;
    transform: none;
    background: rgba(0, 255, 0, 0.2);
  }
}
@media print {
  html, body {
    width: 100% !important;
    max-width: none !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .clouds {
    display: none !important;
  }

  .bg-wood {
    display: none !important;
  }

  .bg-children {
    display: none !important;
  }
}
