/* loading fonts */

@font-face {
  font-family: noto;
  src: url("assets/NotoSerifDisplay_ExtraCondensed-Regular.ttf");
}

@font-face {
  font-family: noto;
  src: url("assets/NotoSerifDisplay_ExtraCondensed-Bold.ttf");
  font-weight: bold;
}

@font-face {
  font-family: barlow;
  src: url("assets/Barlow-Regular.ttf");
}

@font-face {
  font-family: crimson;
  src: url("assets/CrimsonPro-Regular.ttf");
}

/* */

html, body {
  height: 100%;
  margin: 0;
  top: 0;
}

h1, h2, h3, p {
  color: white;
}

h1, h2 {
  font-family: noto
}

h1 {
  font-size: 750%;
}

h2 {
  font-size: 250%;
  /*font-weight: bold;*/
}

h3 {
  font-size: 225%;
  font-family: barlow;
}

#page-backdrop, #page-backdrop-overlay {
  min-height:100dvh /* didn't even know dvh exists but it fixes mobile height size */
}

#page-backdrop {
  background-image: url("assets/background.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover
}

/* darken background */
#page-backdrop-overlay {
  display: flex;
  background-color: rgba(0,0,0,0.4);
}

#content-wrap {
  padding: 64px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

#page-header {
  
}

/* grow wrap & align main content center */
#page-content-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#page-content {
  display: flex;
  flex-direction: column;
}

/* align main content left */
#page-content > div:first-child {
  width: 60vw;
  align-self: flex-start;
}

/* align button right */
#page-content .button {
  align-self: flex-end;
}

.button {
  cursor: pointer;
  background-color: #b3927b; #beige;
  #background-color: #23492b; #green;
  padding: 24px 44px;
}

.button p {
  font-family: crimson;
  font-size: 150%
}

#page-footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

#socials-wrap {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  column-gap: 24px;
  padding: 0 12px;
}

#socials-wrap > img {
  cursor: pointer;
  width: 36px
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  #content-wrap {
    padding: 32px 24px;
  }
  
  h1 {
    font-size: 500%;
    margin-bottom: 24px;
  }
  
  h2 {
    font-size: 200%;
  }
  
  h3 {
    font-size: 150%;
  }
  
  #page-content > div:first-child {
    width: 100%;
  }
  
  #page-content .button {
    align-self: center;
  }
  
  .button {
    align-self: center;
    padding: 20px 32px;
    margin-top: 64px;
  }
  
  .button p {
    font-size: 125%;
  }
  
  #socials-wrap {
    column-gap: 24px;
  }
  
  #socials-wrap img {
    width: 36px;
  }
}

@media screen and (max-width: 480px) {
  #content-wrap {
    padding: 24px;
  }
  
  h3 {
    font-size: 125%;
  }
  
  /*.button {
    padding: 16px 24px;
  }
  
  .button p {
    font-size: 110%;
  }*/
  
  #socials-wrap {
    column-gap: 20px;
  }
  
  #socials-wrap img {
    width: 32px;
  }
}