@import "parallax.css";
@import "portfolio_animation.css";
@import "showcase.css";
@import "contact.css";

* {
  margin:0;
  padding:0;
}

h1 {
  color: #ED6400;
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  font-size: 130px;
  letter-spacing: 0.09em;
}

p {
  color: #141519;
  font-family: 'Montserrat', sans-serif;
}

p .extrabold {
  font-weight: 900;
}

p .bold {
  font-weight: 700;
}

p .semibold {
  font-weight: 600;
}

p .medium {
  font-weight: 400;
}

p .light {
  font-weight: 100;
}


/* Navigation menu
--------------------------------------------- */
.nav_bar {
  position: fixed;
  top: 12%;
  padding-left: 20px;
  z-index: 10;
}

.nav {
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  line-height: 2em;
  transform: rotate(90deg);
  transform-origin: 0;
} 
  
.nav li {
  display: inline-block;
  padding: 0 5px;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #141519;
  text-decoration: none;
  text-align: center;
}

.nav li a:hover {
  text-decoration: overline underline;
  color: #141519;
}

.nav li a:active {
  text-decoration: line-through;
  color: #141519;
}

.nav li a {
  text-decoration: none;
  color: #141519;
}

.nav li a:visited {
  text-decoration: none;
  color: #141519;
}


/* Grid setups
--------------------------------------------- */
.grid-one {
  display: grid;
  height: 100vh;
  grid-template-rows: repeat(3, 1fr);
  grid-template-columns: repeat(3, 1fr);
}

.grid-two {
  display: grid;
  height: 100vh;
  grid-template-rows: 1fr 2fr;
  grid-template-columns: 0.5fr 4fr 1fr;
}

.grid-three {
  display: grid;
  height: 100vh;
  grid-template-rows: 1fr 4fr;
  grid-template-columns: 0.5fr 3fr 1fr;
}

.grid-four {
  display: grid;
  height: 100vh;
  grid-template-rows: 1fr 2fr;
  grid-template-columns: 0.5fr 3fr 0.5fr;
}

.grid-five {
  display: grid;
  height: 100vh;
  grid-template-rows: 1fr 4fr 0.5fr;
  grid-template-columns: 2fr 3fr 2fr;
  padding: 0;
  margin: 0;
}


/* Home page
--------------------------------------------- */
.myname-box-smallscreen {
  display:flex;
  flex-direction: column;
  grid-row: 1 / 3;
  grid-column: 1 / 2;
  padding-left: 50px;
  padding-top: 20%;
  visibility: hidden;
} 

.myname-box-smallscreen p {
  color: #141519;
  font-size: 12px;
  text-align: left;
  writing-mode: vertical-lr;
}

.myname-box-widescreen {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  grid-row: 2 / 3;
  grid-column: 1 / 4;
  visibility: visible;
}

.myname-box-widescreen p {
  color: #fff;
  font-size: 20px;
  text-align: center;
}

.scroll {
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  grid-row: 3 / 4;
  grid-column: 1 / 4;
}

.scroll-space {
  margin-left: 35px;
}

.portfolio-box {
  display: flex;
  justify-content: center;
  align-content: space-around;
  grid-row: 1 / 2;
  grid-column: 3 / 4;
  overflow: visible;
}


/* About Me section 
--------------------------------------------- */
.about-heading-box {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
  display: flex;
  justify-content: flex-start;
}

.myphoto-box {
  grid-row: 1 / 2;
  grid-column: 3 / 4;
  overflow: visible;
  padding-top: 70%;
}

.bio-box {
  grid-row: 2 / 3;
  grid-column: 2 / 4;
  margin-right: 10%;
  max-width: 800px;
}

.about_me h1 {
  text-align: right;
}

.about_me p {
  text-align: right;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  letter-spacing: 0.09em;
  color: #141519;
  margin-top: 20px;
}

.photo {
  height: auto;
  transform: rotate(-15deg);
  display: flex;
  justify-content: flex-end;
  grid-row: 2 / 3;
  grid-column: 3 / 4;
}


/* Skills & Interests section 
--------------------------------------------- */
.skills-title-box {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
}

.skills-description-box {
  grid-row: 2 / 3;
  grid-column: 2 / 3;
  margin-left: 10px;
}

.skills h1 {
  text-align: right;
  bottom: 70%;
}

.skills p {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  text-align: left;
  letter-spacing: 8px;
  color: #141519;
  max-width: 800px;
  font-weight: 300;
  top: 20px;
  z-index: 13;
}


/* Showcase section 
--------------------------------------------- */
.showcase-title-box {
  grid-row: 1 / 2;
  grid-column: 2 / 4;
  display: flex;
  justify-content: flex-end;
}

.showcase-position-box {
  grid-row: 2 / 3;
  grid-column: 2 / 3;
  position: absolute;
  transform: translate(-10%, -50%)
}


/* Contact Me section 
--------------------------------------------- */
.form-position {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.form-heading h2 {
  font-size: 70px;
}

.mylogo-box {
  grid-row: 2 / 4;
  grid-column: 3 / 4;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.mylogo-box img {
  width: 300px;
  padding-left: 10px;
}

.social-media-box {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-top: 10px;
}

.contact-title-box-landscape {
  grid-row: 2 / 3;
  grid-column: 1 / 2;
  display: flex;
  justify-content: flex-end;
  margin-right: -13px;
  visibility: hidden;
}

.contact-title-box-landscape h1 {
  text-align: left;
  writing-mode: vertical-lr;
  font-size: 35px;
}


/* Responsive webpage media queries  
--------------------------------------------- */

/* Large devices (laptops/desktops, 1200px and up) */
@media only screen and (max-width: 1200px) {

  h1 {
    font-size: 100px;
  }

  .myname-box-widescreen p {
    font-size: 20px;
  }
  
  .letter {
    font-size: 90px;
  }

  .bio-box {
    width: 65%;
    margin-left: 8%;
    margin-right: 5%;
    margin-top: 3%;
  }

  .bio-box p {
    font-size: 18px;
    margin-top: 18px;
  }  

  .skills-description-box {
    padding-left: 10%;
  }

  .showcase h1 {
    font-size: 60px;
    padding-right: 10%;
  }

  .container_showcase {
    width: 700px;
    height: auto;
    margin: 80px auto 80px;
  }

  .container_showcase .box_showcase {
    width: calc(400px - 30px);
    height: calc(300px - 30px);
  }

  .form_box h2 {
    font-size: 40px;
  }
}


/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px) {

  h1 {
    font-size: 80px;
  }

  .myname-box-widescreen {
    visibility: hidden;
  }

  .myname-box-smallscreen {
    visibility: visible;
  }

  .myname-box-widescreen p {
    font-size: 16px;
  }

  .letter {
    font-size: 60px;
  }
  
  .skills p {
  font-size: 25px;
  padding-left: 20%;
  }

  .container_showcase {
    width: 600px;
    height: auto;
    margin: 80px auto 80px;
  }

  .container_showcase .box_showcase {
    width: calc(300px - 30px);
    height: calc(225px - 30px);
  }

  .container_showcase .box_showcase .imgContent h3 {
    font-size: 20px;
  }

  .container_showcase .box_showcase .imgContent p {
    font-size: 12px;
  }

  .form_box h2 {
    font-size: 40px;
  }
}


/* Small devices (landscape phones, 815px and down) */
@media only screen and (max-width: 815px) and (orientation: landscape) {
  
  .nav li {
    font-size: 10px;
  }

  .nav_bar {
    position: fixed;
    top: 4%;
  }

  h1 {
    font-size: 55px;
  }

  .myname-box-widescreen {
    visibility: visible;
  }

  .myname-box-widescreen p {
    font-size: 12px;
  }

  .myname-box-smallscreen {
    visibility: hidden;
  }

  .letter {
    font-size: 50px;
  }

  .photo {
    width: 80px;
    margin-top: 5%;
    float: right;
  }

  .bio-box {
    width: 80%;
    margin-left: 8%;
    margin-right: 10%;
    margin-top: 30%;
    grid-row: 1 / 3;
  }

  .bio-box p {
    font-size: 11px;
    margin-top: 12px;
  }

  .skills-description-box {
    margin-left: 5%;
    width: 83%;
  }

  .skills p {
    font-size: 13px;
  }

  .container_showcase {
    width: 550px;
    height: auto;
    margin: 80px auto 80px;
  }

  .container_showcase .box_showcase {
    width: calc(280px - 30px);
    height: calc(180px - 30px);
    margin: 15px 5px;
  }

  .container_showcase .box_showcase .imgContent h3 {
    font-size: 14px;
  }

  .container_showcase .box_showcase .imgContent p {
    font-size: 11px;
  }

  .form_box h2 {
    font-size: 0px;
  }

  .form_box {
    width: 280px;
    height: 110vh;
    padding: 20px;
  }

  .contact-title-box-landscape {
    visibility: visible;
  }

  .mylogo-box img {
    width: 160px;
  }

  .social-media-box {
    display: flex;
    justify-content: flex-end;
  }
  
  .mylogo-box {
    grid-column: 3 / 4;
  }
}


/* Small devices (portrait tablets and large phones, 640px and up) */
@media only screen and (max-width: 640px) and (orientation: portrait) {
  
  h1 {
    font-size: 60px;
  }

  .myname-box-widescreen {
    visibility: hidden;
  }

  .myname-box-smallscreen {
    visibility: visible;
  }

  .letter {
    font-size: 50px;
  }

  .photo {
    width: 100px;
    margin-top: 80%;
  }

  .bio-box {
    width: 80%;
    margin-left: 8%;
    margin-right: 5%;
    margin-top: 3%;
  }

  .bio-box p {
    font-size: 13px;
    margin-top: 12px;
  }

  .skills h1 {
    font-size: 55px;
  }

  .skills-description-box {
    margin-left: 10%;
    /* margin-right: 15%; */
    width: 80%;
  }

  .skills p {
    font-size: 17px;
  }

  .showcase h1 {
    font-size: 50px; f
  }

  .container_showcase {
    width: 100%;
    height: auto;
    margin: 80px auto 80px;
  }

  .showcase-position-box {
    transform: translate(15%, -45%)
  }

  .container_showcase .box_showcase {
    width: calc(300px - 30px);
    height: calc(200px - 30px);
    margin: 15px auto;
    float: none;
  }

  .container_showcase .box_showcase .imgContent h3 {
    font-size: 14px;
  }

  .container_showcase .box_showcase .imgContent p {
    font-size: 11px;
  }

  .mylogo-box {
    grid-row: 3 / 4;
    grid-column: 1 / 3;
  }
  
  .mylogo-box img {
    width: 130px;
  }

  .form-heading h2 {
    font-size: 40px;
  }

  .social-media-box {
    justify-content: flex-end;
    align-items: flex-end;
    padding-right: 10px;
    padding-bottom: 10px;
  }
}


/* Small and shorter devices (phones, 750px height and down) */
@media only screen and (max-height: 750px) and (orientation: portrait){

  h1 {
    font-size: 55px;
  }

  .myname-box-widescreen {
    visibility: hidden;
  }

  .myname-box-smallscreen {
    visibility: visible;
  }
  .myname-box-smallscreen {
    padding-bottom: 100%;
  }

  .myname-box-smallscreen p {
    font-size: 10px;
  }

  .letter {
    font-size: 45px;
  }

  .photo {
    width: 80px;
    margin-top: 80%;
  }

  .bio-box {
    width: 75%;
    display: flex;
    margin-left: 8%;
    margin-right: 5%;
  }

  .bio-box p {
    font-size: 11px;
    margin-top: 12px;
  }

  .skills h1 {
    font-size: 44px;
  }

  .skills-description-box {
    margin-left: 10%;
  }

  .skills p {
    font-size: 13px;
  }

  .showcase h1 {
    font-size: 42px;
  }  

  .container_showcase .box_showcase .imgContent h3 {
    font-size: 14px;
  }

  .container_showcase .box_showcase .imgContent p {
    font-size: 11px;
  }

  .mylogo-box {
    grid-row: 3 / 4;
    grid-column: 1 / 3;
  }
  

  .mylogo-box img {
    width: 130px;
    padding-left: 10px;
  }  

}
