/********************
        RESET
********************/
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/********************
     MAIN BLOCKS
********************/
body {
  background: #0a1035;
  font-family: "Core Sans C", sans-serif;
  color: #f0f0f0;
}

.main-section {
  margin: 0 auto 100px;
  padding: 0 50px;
  max-width: 1200px;
}
.main-section h2 {
  margin-bottom: 0.5em;
  font-size: 2.5rem;
}
.main-section h3 {
  margin-bottom: 0.25em;
  font-size: 1.75rem;
}
.main-section p {
  margin-bottom: 1.5em;
  line-height: 1.25;
}
@media only screen and (max-width: 600px) {
  .main-section {
    padding: 0 20px;
  }
  .main-section h2 {
    font-size: 2rem;
  }
}
@media only screen and (max-width: 400px) {
  .main-section {
    padding: 0 10px;
  }
}

button {
  background: #f0f0f0;
  outline: 4px solid #f0f0f0;
  outline-offset: -4px;
  margin-top: 10px;
  border: none;
  border-radius: 10px;
  padding: 5px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
  transition: 100ms;
}
button:hover, button:focus {
  background: #333;
  outline-offset: 4px;
  color: #f0f0f0;
}

a {
  position: relative;
  z-index: 2;
  color: #f0f0f0;
  text-decoration: none;
  transition: color 100ms;
  --underline-thickness: 1px;
  --underline-color: #d0d0d0;
}
a::after {
  content: "";
  background: var(--underline-color);
  width: 103%;
  height: var(--underline-thickness);
  position: absolute;
  bottom: -1px;
  left: -1.5%;
  z-index: -1;
  transition: height 100ms;
}
a:hover, a:focus {
  --underline-thickness: 21px;
  --underline-color: #f0f0f0;
  color: #555 !important;
}

/********************
       HEADER
********************/
header {
  background-image: url("/resources/images/wave-top.svg");
  background-size: cover;
  min-height: 200px;
  height: 30vw;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 30px;
  position: relative;
}
header::after {
  content: "";
  background-image: url("/resources/images/wave-bottom.svg");
  background-size: cover;
  width: 100%;
  min-height: 220px;
  height: 33vw;
  position: absolute;
  top: 90%;
  left: 0;
  z-index: -1;
}
header img {
  width: 50px;
  height: 63px;
}
header h1 {
  font-size: 2.5rem;
  font-weight: normal;
}
@media only screen and (max-width: 600px) {
  header {
    flex-direction: column;
  }
}

/********************
     SITE BADGES
********************/
.sites {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 25px 25px;
}

.site-badge {
  background: rgb(36.7842105263, 204.2157894737, 115.4263157895);
  border-radius: 60px 25px 25px 60px;
  padding-right: 15px;
  width: 100%;
  height: 120px;
  display: flex;
  flex-direction: row;
}
.site-badge .img-link {
  padding: 10px;
  width: 120px;
  height: 120px;
  display: block;
  flex-shrink: 0;
  transition: 100ms;
}
.site-badge .img-link:hover, .site-badge .img-link:focus {
  padding: 0;
}
.site-badge .img-link::after {
  content: none;
}
.site-badge .img-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.site-badge .info {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.site-badge .info .name {
  font-size: 1rem;
  text-align: center;
}
.site-badge .info .main-link {
  font-size: 0.8rem;
  color: #d0d0d0;
  text-align: center;
}
.site-badge .info .main-link:hover, .site-badge .info .main-link:focus {
  --underline-thickness: 18px;
}
.site-badge .info button {
  font-size: 0.8rem;
}
@media only screen and (max-width: 600px) {
  .site-badge {
    padding-right: 15px;
  }
  .site-badge .img-link {
    width: 110px;
  }
}
@media only screen and (max-width: 400px) {
  .site-badge .img-link {
    width: 100px;
  }
}

/********************
   SITE INFO PANELS
********************/
#site-info-click-off {
  width: 100vw;
  height: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
}
#site-info-click-off.hidden {
  display: none;
}

#site-info {
  overflow: hidden;
  background: var(--site-translucent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 20px 20px;
  width: 100%;
  max-width: 450px;
  height: 100%;
  max-height: 700px;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 10;
  translate: -50% -50%;
  transition: top 250ms, translate 250ms;
  color: #f0f0f0;
}
#site-info.hidden {
  top: 100%;
  translate: -50% 0%;
}
#site-info h3 {
  margin: 25px 0 5px;
  font-size: 0.8rem;
  color: #d0d0d0;
  text-align: center;
  text-transform: uppercase;
}
#site-info p {
  margin: auto;
  max-width: 350px;
  text-align: center;
}
#site-info hr {
  margin: 40px auto;
  border: 1px solid var(--site-colour);
  max-width: 300px;
}
#site-info .main-wrapper {
  height: 100%;
  position: relative;
}
#site-info .main-wrapper .close-btn {
  background: none;
  outline-color: transparent;
  padding: 0.1em;
  width: 2rem;
  height: 2rem;
  position: absolute;
  top: 0;
  left: 5px;
  font-size: 2.5rem;
  color: #f0f0f0;
}
#site-info .main-wrapper .close-btn:hover, #site-info .main-wrapper .close-btn:focus {
  color: #333;
}
#site-info .main-wrapper .scroll-wrapper {
  overflow-y: auto;
  scrollbar-color: #d0d0d0 transparent;
  padding: 50px 0 30px;
  max-height: 100%;
}
#site-info .summary {
  padding: 0 20px 15px;
}
#site-info .summary img {
  margin: 0 auto 30px;
  width: 100px;
  display: table;
}
#site-info .summary h2 {
  margin-bottom: 5px;
  text-align: center;
}
#site-info .summary a {
  color: #d0d0d0;
}
#site-info .brand {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}
#site-info .brand h3 {
  margin-bottom: 1px;
}
#site-info .brand #site-info-hex-colour::before {
  content: "";
  background: var(--site-colour);
  margin-right: 5px;
  width: 1em;
  height: 1em;
  display: inline-block;
  position: relative;
  top: 2px;
}
#site-info .brand #site-info-hsl-colour {
  margin-top: 5px;
}
#site-info .development {
  line-height: 1.25;
}
#site-info .versions li {
  margin-bottom: 0.5em;
  list-style: none;
  text-align: center;
  line-height: 1.25;
}

/*# sourceMappingURL=main.css.map */
