@import url('https://fonts.googleapis.com/css?family=Montserrat+Alternates|Montserrat+Subrayada|Montserrat:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&display=swap');

/* resize me, I'm responsive! (sorta)*/

* {
  box-sizing: inherit;
  padding: 0;
  margin: 0;
}

body {
  height: 100%;
  box-sizing: border-box;
  font-weight: 400;
}

.fullPage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-family: "Montserrat";
  height: 100vh;
}

h1,
h2,
span,
li {
  color: #ff8a65;
}

p {
  padding: 10px;
}

/* LEFT SIDE */

.left {
  display: flex;
  flex-direction: column;
  color: white;
  text-align: center;
  background: linear-gradient(
    to right bottom,
    rgba(20, 20, 20, 0.7) 0%,
    rgba(20, 20, 20, 0.9) 50%,
    rgba(20, 20, 20, 0.925) 100%
  );
}

.typeFaceContainer {
  width: 100%;
  font-size: 1.2rem;
}

.typefaceLists {
  margin: 6rem 0 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.typefaceList {
  padding: 30px 0 30px 0;
  width: 100%;
  list-style: none; /* kill the bullet points */
}

/* this targets only the Nth (2nd) use of .typefaceList, use this to make border things */
.typefaceList:nth-child(2) {
  border-left: 3.5px solid white;
  border-right: 3.5px solid white;
}

.typefaceList li {
  padding: 1rem;
}

/* INTRO */
.introContainer {
  padding: 0.5rem 1.5rem 1.5rem 1.5rem;
}

.introContainer h1 {
  font-weight: 400;
  font-size: 6em;
  letter-spacing: 10px;
}

.introContainer p {
  font-size: 1.2rem;
  line-height: 2.5;
  padding: 0.5rem;
}

/* RIGHT */
.right {
  margin: 4rem 2rem 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 45% 55%;
  gap: 1rem;
}

.body {
  font-size: 1.6rem;
  line-height: 1.4;
/*   right, justify, center all work. i cant decide lol */
  text-align: left;
}

.characters {
  font-size: 2.8rem;
  text-align: center;
  color: #ff8a65;
  padding: 0 2rem;
  line-height: 1.5;
}

.characters span {
  color: black;
}

.sisterFont h2 {
  letter-spacing: 4px;
  font-size: 2.5rem;
  text-align: center;
}

.sisterFont p {
  font-size: 1.8rem;
  text-align: center;
  line-height: 1.5;
  padding: 0 3rem 2rem 3rem;
}

.families {
  padding: 5px 10px 10px 10px;
}

.subrayada {
  font-family: "Montserrat Subrayada";
}

.subrayada h2 {
  letter-spacing: 0;
  font-size: 2.3rem;
}

.subrayada p {
  font-size: 2rem;
}

.alternates {
  font-family: "Montserrat Alternates";
}

/* styling on font styles */

.thin {
  font-weight: 100;
}
.thinI {
  font-weight: 100;
  font-style: italic;
}
.extraLight {
  font-weight: 200;
}
.extraLightI {
  font-weight: 200;
  font-style: italic;
}
.light{
  font-weight: 300;
}
.lightI {
  font-weight: 300;
  font-style: italic;
}
.regular {
  font-weight: 400;
}
.regularI {
  font-weight: 400;
  font-style: italic;
}
.medium {
  font-weight: 500;
}
.mediumI {
  font-weight: 500;
  font-style: italic;
}
.semiBold{
  font-weight: 600;
}
.semiBoldI {
  font-weight: 600;
  font-style: italic;
}
.bold {
  font-weight: 700;
}
.boldI {
  font-weight: 700;
  font-style: italic;
}
.extraBold {
  font-weight: 800;
}
.extraBoldI {
  font-weight: 800;
  font-style: italic;
}
.black{
  font-weight: 900;
}
.blackI {
  font-weight: 900;
  font-style: italic;
}

/* QUERIES */
/* reduce sizes / spacing of text */
@media screen and (max-width: 1500px) {
  .introContainer h1 {
    font-size: 4em;
  }
  .introContainer p {
    font-size: 1rem;
  }
  .right {
    margin: 2rem 2rem 2rem 1rem;
  }
  .characters {
    font-size: 2rem;
  }

  .body {
    font-size: 1.2rem;
  }
  .sisterFont h2 {
    font-size: 2rem;
  }

  .sisterFont p {
    font-size: 1.5rem;
  }
}

/* create one column instead of two by placing right side below the left side */
@media screen and (max-width: 1175px) {
  .fullPage {
    grid-template-columns: 1fr;
  }
  
  .typefaceLists {
    padding: 1rem 5rem;
    margin: 1rem 1rem;
  }
  
/*   order -1 is used to place the h1 at the top */
  .introContainer {
    order: -1;
    padding: 2rem 4rem;
  }
  
  .introContainer p {
    font-size: 1.2rem;
  }
  
  .right {
    margin: 2rem;
  }
}

/* further reduce text sizes/spacing, change the bottom into one column instead of two */
@media screen and (max-width: 750px) {
  .introContainer {
    padding: 1rem 2rem;
  }

  .introContainer h1 {
    font-weight: 400;
    font-size: 4em;
    letter-spacing: 5px;
  }
  .introContainer p {
    font-size: 1rem;
    margin-top: 1rem;
    line-height: 1.5;
    padding: 0.5rem;
  }

  .typefaceLists {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .right {
    display: flex;
    flex-direction: column;
    margin: 0.5rem;
  }

  .characters {
    order: 2;
  }
  
  .body {
    order: 1;
    text-align: center;
    font-size: 1rem;
    margin: 1rem 0;
  }
  
  .sisterFontContainer {
    order: 4;
  }
  
  .families {
    order: 3;
  }

  .sisterFont h2 {
    font-size: 2rem;
  }

  .sisterFont p {
    font-size: 1.5rem;
  }
}