@charset "utf-8";

:root {
  --clr-drk: #1b6582;
  --clr-primary: #A5F0D5;
  --clr-accent: #f1a87b;
  --clr-blur-bg: #A5F0D544;
  --font-size-title: 2.4rem;
  --font-size-subtitle: 2rem;
  --font-size-reg: 1.6rem;
  --font-size-small: 1.2rem;
  --app-transition: all 0.3s ease-in-out;
  --app-border-rad: 10px;
  --app-shadow: 9px 9px 18px rgba(0, 0, 0, 0.45);
  --app-blur: 10px;
}
@media(orientation: portrait) {
  :root {
    --font-size-title: 1.8rem;
    --font-size-subtitle: 1.6rem;
    --font-size-reg: 1.2rem;
    --font-size-small: 1rem;
  }
}
body {
  background-color: var(--clr-bg);
}
code {
  font-size: var(--font-size-small);
}
ul {
  list-style-type: none;
}
header {
  height: 100svh;
  width: 100%;
  position: relative;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}
.hero-banner {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  z-index: -100;
}
.parallax {
  position: fixed;
  pointer-events: none;
  background-size: cover;
  background-repeat: no-repeat;
}

.parallax.one {
  z-index: 100;
  top: 200px;
  left: 50px;
  width: 200px;
  height: 200px;
  filter: opacity(0.7);
  background-image: url("../media/git-one.png");
}

.parallax.two {
  z-index: 200;
  top: 1200px;
  right: 100px;
  width: 300px;
  height: 300px;
  background-image: url("../media/logo.png");
}
.parallax.three {
  z-index: 300;
  top: 800px;
  right: 500px;
  width: 100px;
  height: 100px;
  background-image: url("../media/git-three.png");
}
.parallax.four {
  z-index: 400;
  top: 300px;
  right: 600px;
  width: 200px;
  height: 200px;
  background-image: url("../media/git-two.png");
}
.parallax.five {
  z-index: 500;
  top: 800px;
  left: 300px;
  width: 250px;
  height: 250px;
  background-image: url("../media/logo.png");
}
.parallax.six {
  z-index: 600;
  top: 700px;
  right: 350px;
  width: 200px;
  height: 200px;
  background-image: url("../media/git-two.png");
}
.parallax.seven {
  z-index: 700;
  top: 1000px;
  right: 15svw;
  width: 400px;
  height: 400px;
  filter: blur(5px) opacity(0.9) brightness(1.5);
  background-image: url("../media/git-one.png");
}

main{
  min-height: 100svh;
  width: 100svw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: "Space Mono","IBM Plex Mono", monospace;
  padding: 100px 0;
}
h1 {
  display: none;
}
h3 {
  font-size: var(--font-size-subtitle);
}
h4 {
  font-size: var(--font-size-reg);
  margin: 10px 0;
}
h5 {
  font-size: var(--font-size-small);
}
p {
  font-size: var(--font-size-reg);
  max-width: 800px;
}


.container {
  width: min(100% - 30px, 1200px);
  margin-inline: auto;
}
.flex {
  display: flex;
}
.f-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bold {
  font-weight: 600;
}
.gp-25px {
  gap: 25px;
}
.gp-5px {

}
.mb-5px {
  margin-bottom: 5px;
}
.mb-25px {
  margin-bottom: 25px;
}
.mb-50px {
  margin-bottom: 50px;
}
.w-100 {
  width: 100%;
}
.w-100px { 
  max-width: 100px;
}
.w-200px {
  max-width: 200px;
}
.w-400px {
  max-width: 400px;
}
.sp-vn {
  justify-content: space-evenly;
}
.cen {
  justify-content: center;
  align-items: center;
}
.hover {
  transition: var(--app-transition);
}
.hover:hover {
  filter: brightness(1.2)
}
.pointer {
  cursor: pointer;
}
.image-card {
  max-width: 400px;
  margin: 0 auto;
  margin-bottom: 25px;
  background-color: var(--clr-blur-bg);
  backdrop-filter: blur(var(--app-blur));
  border-radius: var(--app-border-rad);
  box-shadow: var(--app-shadow);
}
.image-card p {
  font-size: var(--font-size-small);
}
.hero-card {
  max-width: 700px;
  text-wrap: wrap;
  border-radius: 6px;
  padding: 25px;
  background-color: var(--clr-blur-bg);
  backdrop-filter: blur(var(--app-blur));
  position: relative;
  z-index: 5000;
  h2 {
    font-size: var(--font-size-title);
    color: #012;
    font-family: 'Kode Mono';
    text-align: center;
    margin-top: -50px;
  }
}

.small-title {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color:#1b6582;
  color: #012;
  border-radius: var(--app-border-rad);
  box-shadow: var(--app-shadow);
}
.icon-btn{
  max-width: 100px;
  transition: var(--app-transition);
}
.icon-btn:hover {
  filter: brightness(1.2);
}
.small-icon {
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.profile-icon {
  max-width: 60px;
  max-height: 60px;
  overflow: hidden;
  border-radius: 50%;
}
.project-description {
  font-size: var(--font-size-small);
}
.profile-icon img {
  max-width: 60px;
}
.icon-text {
  max-width: 160px;
  font-size: var(--font-size-small);
  background-color: #A5F0D544;
  backdrop-filter: blur(10px);
  border-radius: 6px;
  margin-bottom: 25px;
}

.outdoor-pic {
  max-width: 400px;
  border-radius: 6px;
}
.btn {
  width: 180px;
  height: 60px;
  display: flex;
  margin: 10px auto;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #012;
  color: var(--clr-accent);
  font-size: var(--font-size-small);
  font-family: 'Kode Mono';
  border-radius: var(--app-border-rad);
  cursor: pointer;
  transition: var(--app-transition);
}
.btn:hover {
  color: #fefefe;
  filter: brightness(2);
}
.btn i {
  font-size: var(--font-size-small);
  margin-bottom: 5px;
}
.btn p {
  font-size: var(--font-size-small);
}

/* 
.promo-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
} */

.promo-iframe {
  height: 400px;
  width: 300px;
}
.body-card .btn {
  min-width: min(500px, 60svw);
  justify-content: left;
}
.body-card .btn i {
  margin: 0 25px;
}
article {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 5000;
}
.body-card {
  margin-bottom: 50px;
  background-color: #1b6582;
  box-shadow: var(--app-shadow);
  border-radius: var(--app-border-rad);
  padding: 25px;
}

.body-card.clear {
  background-color: var(--clr-blur-bg);
  backdrop-filter: blur(var(--app-blur));
}
.ds-code {
  height: 80px;
  width: 300px;
  background: var(--clr-bg) url("https://ds-code.ca/image/site-preview.png") no-repeat center center;
  background-size: 150%;
  border-radius: 6px;
}
.contributors {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px
}
.intro-btn {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.intro-video {
  height: 0;
  overflow: hidden;
  transition: var(--app-transition);
}
.intro-video.open {
  height: 425px;
}

dialog {
  min-width: 40svw;
  height: fit-content;
  border: none;
  border-radius: 10px;
  padding: 20px;
  position: fixed;
  margin: auto;
  background-color: #1b6582;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.3s ease;
}
dialog ul {
  list-style-type: none;
  text-align: left;
}
dialog img {
  border-radius: 10px;
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.close-btn {
  height: 40px;
  width: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 6px;
  background-color: #ff1346;
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  position: absolute;
  right: 5px;
  top: 5px;
  cursor: pointer;
}
footer {
  font-family: "Space Mono","IBM Plex Mono", monospace;
  background-color: #1b6582;
  font-size: var(--font-size-small);
  display: flex;
  justify-content: space-evenly;
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media(orientation: portrait) {
  .logo, dialog {
    width: 90svw;
  }
  .media-flip {
    flex-direction: column;
  }
  .hero-card h2 {
    margin-top: -25px;
  }
}
