/*---------------------
KidA Website

date:      2019/10/28
author:    Aaron Mendoza
*/

html,
body {
  background: #131118;
  margin: 0;
  height: 100%;
}

/* Typography*/

ul {
  padding: 0;
  margin: 0;
}

li {
  justify-content: center;
  list-style: none;
}

a {
  text-decoration: none;
  cursor: pointer;
}

p {
  margin: 0;
}

h1 {
  font-family: "GothamHTF-Book", sans-serif;
  font-size: 1.125rem;
  letter-spacing: 0.03rem;
  color: #935bfe;
  text-transform: uppercase;
  margin: 0 0 .375rem 0;
}

h2 {
  font-family: "GothamHTF-Book", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.03rem;
  color:  #935bfe;
  margin: 0 0 .375rem 0;
}

@font-face {
  font-family: GothamHTF-Medium;
  src: url(fonts/GothamHTF-Medium.woff);
}

@font-face {
  font-family: GothamHTF-BookItalic;
  src: url(fonts/GothamHTF-BookItalic.woff);
}

@font-face {
  font-family: GothamHTF-Book;
  src: url(fonts/GothamHTF-Book.woff);
}

/* Main Body Start*/

.container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}

/*Nav Starts*/

.left-nav {
  width: 180px;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 180px;
  margin: 1.25rem 0 0 0;
}

.nav a {
  font-family: "GothamHTF-Medium", sans-serif;
  font-size: .813rem;
  line-height: 4rem;
  color: #DDDCE2;
}
.nav a:hover {
  color: #935bfe;
  transition: color 0.2s ease-in-out;
}

.subnav {
  margin-top: -.625rem;
}

.subnav a {
  font-family: "GothamHTF-Book", sans-serif;
  font-size: .813rem;
  line-height: 2.5rem;
  color: #DDDCE2;
}

.subnav a:hover {
  color: #935bfe;
  transition: color 0.2s ease-in-out;
}

.logo {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 180px;
  margin: 3.125rem 0 0 0;
}

.logo img {
  width: 55px;
  height: auto;
}

.footer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex: 1;
  width: 180px;
}

.footer p {
  font-family: "GothamHTF-Medium", sans-serif;
  font-size: .4rem;
  text-align: center;
  line-height: 6.5rem;
  color: #DDDCE2;
}

/*Nav Ends*/

/*Content Starts*/

.right {
  display: flex;
  justify-content: center;
  flex: 1;
  flex-flow: column;
  height: 100%;
}

.right-desc {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  height: 100vh;
  margin: 5.7rem 0 0 0;
}

.right-desc img {
  height: 70%;
  width: auto;
  position: absolute;
  bottom: 0;
  right: 0;
}

.right-desc p {
  width: 40%;
  font-family: "GothamHTF-Book", serif;
  font-size: 1.125rem;
  text-align: left;
  line-height: 2.25rem;
  color: #DDDCE2;
}

.right-work {
  display: flex;
  flex-flow: column;
  height: 100vh;
  overflow: scroll;
  margin: 3rem 11.25rem 3.1rem 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.right-work-header {
  display: flex;
  flex-flow: row;
  width: 100%;
}

.header-left {
  flex: 1;
}

.header-right {
  align-self: flex-end;
}

.header-right a {
  font-family: "GothamHTF-Book", serif;
  font-size: .813rem;
  text-align: right;
  line-height: 1.2rem;
  margin: 0 0 0 1.25rem;
  color: #DDDCE2;
}
.header-right a:hover {
  color: #935bfe;
  transition: color 0.2s ease-in-out;
}


.right-work-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  height: 100%;
  margin: 3.1rem 11.25rem 3.1rem 0;
}

.tile {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50%;
  width: 50%;
  font-family: "GothamHTF-Book", serif;
  font-size: 1.25rem;
  text-align: center;
  color: #DDDCE2;
}

.tile:hover {
  background: #935bfe;
  color: #131118;
  transition: .2s ease-in-out;
}

.tile-1 {
  width: 49%;
  border-right: solid 1px #25232F;
  border-bottom: solid 1px #25232F;
}
.tile-2 {
  width: 49%;
  border-bottom: solid 1px #25232F;
}
.tile-3 {
  width: 49%;
}
.tile-4 {
  width: 49%;
  border-left: solid 1px #25232F;
}

.right-work img {
  width: 100%;
  height: auto;
  margin: .75rem 0 1.5rem 0;
}

.iframe-container {
  overflow: hidden;
  padding-bottom: 56.25%; 
  position: relative;
  margin: .75rem 0 1.5rem 0;
}

.iframe-container iframe {
   height: 100%;
   width: 100%;
   left: 0;
   top: 0;
   position: absolute;
}

.right-work p {
  width: 60%;
  font-family: "GothamHTF-Book", serif;
  font-size: .813rem;
  text-align: left;
  line-height: 1.2rem;
  color: #DDDCE2;
}

.right-contact {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  height: 100vh;
  margin: 5.7rem 0 0 0;
}

.right-contact img {
  height: 70%;
  width: auto;
  position: absolute;
  bottom: 0;
  right: 0;
}

.right-contact a {
  width: 25%;
  font-family: "GothamHTF-Book", serif;
  font-size: 1.125rem;
  text-align: left;
  line-height: 2.25rem;
  color: #DDDCE2;
}

.right-contact a:hover {
  color: #935bfe;
  transition: color .2s ease-in-out;
}

.credit {
  font-family: "GothamHTF-BookItalic", sans-serif;
  font-size: .813rem;
}

/*Content Ends*/

.right-work::-webkit-scrollbar {
  display: none;
}
/*Content Ends*/

/*Media Queries*/
@media only screen and (max-width: 430px) {
  
  ul {
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  li {
    justify-content: center;
    list-style: none;
    margin: 0 1.25rem;
  }

  h1 {
    font-size: .813rem;
  }

  .container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column-reverse nowrap;
    align-items: center;
  }

  .left-nav {
    display: flex;
    flex-direction: row-reverse;
    box-sizing: border-box;
    width: 100vw;
    height: 84px;
    border-top: 1px solid #25222a;
    border-right: none;
  }

  .nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 84px;
    flex: 1;
  }

  .logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0;
    width: 50px;
    margin: 0 1.5rem 0 1.25rem;
  }
  
  .logo img {
    width: auto;
    height: 45px;
  }

  .right-desc {
    height: auto;
    margin: 0;
  }

  .right-desc p {
    font-size: .75rem;
    width: 100%;
  }

  .right-desc img {
    height: 30%;
    bottom: 84px;
  }

  .right-contact {
    flex-flow: column nowrap;
    height: auto;
    margin: 0;
  }

  .right-contact img {
    height: 30%;
    bottom: 84px;
  }
  
  .right-contact li {
    margin: 1rem 0;
  }

  .right-contact a {
    font-size: .75rem;
    margin: 0;
  }

  /* Mobile work */

  .right {
    margin: 0 1.25rem;
  }

  .right-work {
    display: flex;
    flex-flow: column;
    height: 100vh;
    overflow: scroll;
    margin: .65rem 0 1.25rem 0;
  }
  
  .right-work img {
    width: 100%;
    height: auto;
    margin: .5rem 0 1rem 0;
  }

  .right-work li {
    margin: 0;
  }
  
  .right-work p {
    width: 100%;
    font-size: .75rem;
  }

  .credit {
    font-size: .75rem;
  }

  .footer {
    display: none;
  }
}