/* main.css */

/* header */

#branding {
  padding: 10%;
}

#branding img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: invert(1) brightness(2);
}

#branding p {
  margin: 0;
  padding: 0;
  font-family: 'Lato-Light', sans-serif;
  font-display: swap;
  font-size: 1.25rem;
  font-weight: 100;
}

.content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin: 0 20px;
  padding: 0;
  width: calc(100% - 40px);
  box-sizing: border-box;
  color: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  overflow: hidden;
  background-color: rgba(0, 0, 0, 1.0);
}

#header {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0px 40px;
  width: calc(100% - 80px);
  height: 80px;
  box-sizing: border-box;
}

#header .inner {
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 50%;
  height: 100%;
}

#header .left {
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

#header .logo {
  width: 50px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

#header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: invert(1) brightness(2);
}

#header .right {
  justify-content: flex-end;
}

#header .round {
  width: 40px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(0, 0, 0, 1.0);
  overflow: hidden;
  cursor: pointer;
}

#header .round img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: invert(1) brightness(2);
}

#header .button {
  margin-left: 10px;
  padding: 0 20px;
  height: 40px;
  line-height: 40px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(0, 0, 0, 1.0);
  overflow: hidden;
  cursor: pointer;
}

#welcome {
  margin: 0px 40px;
  width: calc(100% - 80px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.15);
}

#welcome .left {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  order: 1;
  width: 50%;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(0, 0, 0, 1.0);
  overflow: hidden;
}

#welcome .right {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  order: 2;
  margin-left: 20px;
  width: calc(50% - 20px);
}

#welcome h1 {
  font-size: 2.5rem;
  background: linear-gradient(90deg, var(--scream) 0%, var(--scream) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#welcome h2 {
  margin-top: 4px;
  font-size: 1.25rem;
  font-family: 'Lato-Light', sans-serif;
  font-weight: 100;
  color: var(--pale);
}

#welcome p {
  margin-top: 10px;
}

#about {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 0px 40px;
  margin-top: 20px;
  width: calc(100% - 80px);
}

#about article {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  padding: 0;
  margin: 0;
  width: calc(100% - 0px);
  box-sizing: border-box;
}

#about h2 {
  margin-top: 4px;
  font-size: 1.25rem;
  font-family: 'Lato-Light', sans-serif;
  font-weight: 100;
  color: var(--pale);
}

#about p {
  margin-top: 10px;
}

#about .button {
  margin-top: 20px;
  padding: 0 20px;
  height: 40px;
  line-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  /* background-color: rgba(0, 0, 0, 1.0); */
  overflow: hidden;
  cursor: pointer;
}

#about .card {
  display: flex;
  flex-direction: column;
  width: calc((100% - 40px) / 3);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.15);
}

#about .card .content {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 20px;
  width: calc(100% - 40px);
  border-radius: 0;
  border: none;
  background-color: rgba(0, 0, 0, 0.0);
}

#about .card .icon {
  width: 60px;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.20);
  overflow: hidden;
}

#about .card .icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: invert(1) brightness(2);
}

#about #card1 .icon, #about #card3 .icon {
  position: relative;
  background-color: rgba(0, 0, 0, 1.0);
}

#about #card1 .icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--tubelight) 0%, var(--standy) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

#about #card1 .icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0) invert(1) brightness(1);
}

#about #card1 h1 {
  margin-top: 15px;
  font-size: 2.0rem;
  background: linear-gradient(90deg, var(--standy) 0%, var(--tubelight) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#about #card1 .button {
  color: var(--black);
  background: linear-gradient(45deg, var(--standy) 0%, var(--tubelight) 100%);
}

#about #card2 {
  margin: 0px 20px;
  background: linear-gradient(45deg, var(--tubelight) 0%, var(--standy) 100%);
}

#about #card2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

#about #card2 h1 {
  margin-top: 15px;
  font-size: 2.0rem;
  color: var(--black);
}

#about #card2 h2 {
  color: var(--darkMoss);
}

#about #card2 p {
  color: var(--black);
}

#about #card2 .button {
  color: var(--darkMoss);
  border: 1px solid var(--darkMoss);
  background-color: rgba(0, 0, 0, 0.0);
}

#about #card3 .icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--sky) 0%, var(--teal) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

#about #card3 h1 {
  margin-top: 15px;
  font-size: 2.0rem;
  background: linear-gradient(90deg, var(--sky) 0%, var(--sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#about #card3 .button {
  color: var(--black);
  background: linear-gradient(45deg, var(--sky) 0%, var(--sky) 100%);
}

#app {
  margin: 0px 40px;
  margin-top: 20px;
  width: calc(100% - 80px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.15);
}

#app .background {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  width: auto;
  height: 100%; 
  top: 20px;
  right: -80px;
  z-index: -1;
}

#app .background img {
  width: auto;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#app .left {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  order: 1;
  margin-right: 50px;
  width: calc(50% - 50px);
}

#app h1 {
  font-size: 2.5rem;
  background: linear-gradient(90deg, var(--scream) 0%, var(--scream) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#app h2 {
  margin-top: 4px;
  font-size: 1.25rem;
  font-family: 'Lato-Light', sans-serif;
  font-weight: 100;
  color: var(--pale);
}

#app p {
  margin-top: 10px;
}

/* Responsive */
@media only screen and (max-width: 901px) {
    #about article {
      flex-direction: column;
    }

    #about .card {
      margin: 0;
      width: 100%;
    }

    #about #card2 {
      margin: 20px 0;
    }

    #app .background {
      justify-content: flex-end;
      align-items: flex-end;
      width: auto;
      height: 70%; 
      top: 50px;
      right: -80px;
    }
}

@media only screen and (min-width: 701px) and (max-width: 900px){

  #welcome article {
    flex-direction: column;
  }

  #welcome .left {
   width: 100%;
  }

  #welcome .right {
    margin: 0;
    margin-top: 20px;
    width: 100%;
  }

  #about article {
    flex-direction: column;
  }

  #about .card {
    margin: 0;
    width: 100%;
  }

  #about #card2 {
    margin: 20px 0;
  }

  #app article {
    flex-direction: column;
  }

  #app .background {
    /* position: relative; */
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: auto; 
    top: 0;
    right: 0;
    /* overflow: hidden; */
  }

  #app .background img {
    width: 100%;
    height: auto; 
    object-fit: cover;
    object-position: center;
  }

  #app .left {
    margin: 0;
    margin-top: 250px;
    width: 100%;
  }

  #app h1 {
    width: 50%;
  }
  
  #app h2 {
    width: 75%;
  }
}

@media only screen and (min-width: 300px) and (max-width: 700px){

  #header {
    margin: 0px 10px;
    width: calc(100% - 20px);
  }

  #header .left {
    width: 25%;
  }

  #header .right {
    width: 75%;
  }

  #welcome {
    margin: 0px 10px;
    width: calc(100% - 20px);
  }
  
  #welcome article {
    flex-direction: column;
  }

  #welcome .left {
   width: 100%;
  }

  #welcome .right {
    margin: 0;
    margin-top: 20px;
    width: 100%;
  }

  #about {
    margin: 0px 10px;
    margin-top: 20px;
    width: calc(100% - 20px);
  }

  #about article {
    flex-direction: column;
  }

  #about .card {
    margin: 0;
    width: 100%;
  }

  #about #card2 {
    margin: 20px 0;
  }

  #app {
    margin: 0px 10px;
    margin-top: 20px;
    width: calc(100% - 20px);
  }

  #app article {
    flex-direction: column;
  }

  #app .background {
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: auto; 
    top: 0;
    right: 0;
  }

  #app .background img {
    width: 100%;
    height: auto; 
    object-fit: cover;
    object-position: center;
  }

  #app .left {
    margin: 0;
    margin-top: 150px;
    width: 100%;
  }

  #app h1 {
    width: 58%;
  }
  
  #app h2 {
    width: 100%;
  }
}
