@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap');

body, html {
  font-family: 'Poppins', sans-serif;
  background-color: #060c21;
  height:100vh;
  margin:0;
  padding: 0;
  color: white;
  box-sizing: border-box;
  scroll-behavior: smooth;
  overflow-x: hidden;
  --nav-load-time:200ms;
  --nav-link-load-time:400ms;
  --article-load-delay: calc(var(--nav-load-time) + var(--nav-link-load-time));
}

h1 {
  font-size: 3rem;
}

hr {
  margin-top: 50px;
  margin-bottom: 50px;
  border: 1px solid #5F3E8E;
}

/*navbar*/

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 2rem 2rem;
  z-index: 1;
}

.header a {
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
}

.menu-items {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  position: absolute;
  list-style: none;
  top: 0;
  right: 0;
  left: 0;
  height: 100vh;
  transform: translateX(100vw);
  background-color: #060c21;
  transition: transform 0.5s ease-in-out;
}

.menu-items.open {
  transform: translateX(0);
}

.menu-items li {
  width: 100vw;
  height: 100%;
}

.menu-items li a {
  color: white;
  font-size: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50%;
}

.menu-items li a:hover {
  color: #5F3E8E; 
}

.menu-btn {
  cursor: pointer;
  z-index: 2;
}

.menu-btn__lines,
.menu-btn__lines::before,
.menu-btn__lines::after {
  width: 1.5rem;
  height: 0.1rem;
  background-color: white;
  transition: all 0.5s ease-in-out;
}

.menu-btn__lines::before,
.menu-btn__lines::after {
  content: "";
  position: absolute;
}

.menu-btn__lines::before {
  transform: translateY(-0.5rem);
}

.menu-btn__lines::after {
  transform: translateY(0.5rem);
}

/* animation */
.menu-btn.open .menu-btn__lines {
  transform: translateX(2rem);
  background-color: white;
}
.menu-btn.open .menu-btn__lines::before {
  transform: rotate(45deg) translate(-1.5rem, 1.5rem);
  background-color: white;
}
.menu-btn.open .menu-btn__lines::after {
  transform: rotate(-45deg) translate(-1.5rem, -1.5rem);
  background-color: white;
}

/* main */

 .main-container {
  height: 100vh;
  max-width: 400px;
  padding-top: 120px;
  padding-left: 50px;
  padding-right: 30px;
}

/* Index  */

.mainText {
  color: white;
  }

.mainText h1 {
  animation: article-load 300ms ease-in var(--article-load-delay);
  animation-fill-mode: forwards;
  transform: translateY(-20px);
  opacity: 0;
}

.mainText h2 {
  font-size: 1.5rem;
  padding-left: 50px;;
  animation: article-load 300ms ease-in calc(var(--article-load-delay) + 200ms);
  animation-fill-mode: forwards;
  transform: translateY(-20px);
  opacity: 0;
}

.socials {
  width: 100%;
  height: 200px;
  animation: article-load 300ms ease-in calc(var(--article-load-delay) + 500ms);
  animation-fill-mode: forwards;
  transform: translateY(-20px);
  opacity: 0;
}

.socialList {
  list-style: none;
  text-decoration: none;
  float: left;
}

.socialList i {
  font-size: 20px;
  padding: 10px;
  color: white;
}

.iconify {
  font-size: 22px;
  padding: 10px;
  padding-bottom: 25px;
  color: white;
}

.vertical { 
  border-left: 2px solid white; 
  height: 225px; 
}

.mobImg img {
  width: 320px;
  height: 200px;
}

/* Services */

.services-container {
  /* height: 100vh; */
  max-width: 400px;
  padding-top: 20px;
  padding-left: 50px;
  padding-right: 30px;
}

.services-container h1, h2 {
  text-align: center;
  margin-bottom: 50px;
}

.image-container {
  display: none;
}

.cardsSmall {
 padding-bottom: 10px;
}

.cardSmall-container {
  border: 1px solid lightseagreen;
  border-radius: 10px;
  font-size: large;
  text-align: center;
}

.projectsBtn {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}
 
.storeImage {
   width: 300px;
   height: 300px;
}

.cards {
  padding-bottom: 100px;
}

.cardsA {
  padding-bottom: 100px;
} 

.cardsA a {
  color: white;
  text-decoration: none;
}
 
.card {
  width: 100%;
  height: 100px;
  display: flex;
  margin-bottom: 10px;
  border: 2px solid #5F3E8E;
  /* box-shadow: 0 4px 8px 0 lightseagreen; */
  transition: 0.3s;
}
.card img {
  width: 80px;
  height: 80px;
  padding-top: 10px;
  padding-left: 10px;
}

.cardA {
  width: 100%;
  height: 100px;
  display: flex;
  margin-bottom: 10px;
  border: 2px solid #5F3E8E;
  box-shadow: 0 4px 8px 0 lightseagreen;
  transition: 0.3s;
}

 .cardA img {
  margin-top: 10px;
  width: 80px;
  height: 80px;
  float: left;
}
 
  .cardA:hover {
    box-shadow: 0 8px 16px 0 #5F3E8E;
  }

 .card-container h4 {
   padding-left: 30px;
   font-size: 1.2rem;
 }


 .card-containerA h4 {
  align-items: center;
  font-size: 1.2rem;
}

 .fa-long-arrow-alt-right {
  font-size: 3rem;
 }

 .skills {
   font-size: 1.5rem;
 }

 .intouch {
  min-width: 280px;
  max-height: 200px;  
  margin-top: 100px;
  margin-bottom: 100px;
  background: url('/img/intouch.jpg');  
  background-repeat: no-repeat;   
  background-position: center; 
 }

 .intouch h2 {
   padding-top: 10px;
   font-size: 2.5rem;
 }

/*connect - form*/

.contactForm {
  max-width: 600px;
  margin: auto;
  padding: 0 10;
  overflow: hidden;
}

.contactFormText {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 16px 0;
  border: 0;
  background: rgb(5, 5, 5);
  padding: 20px 40px;
  outline: none;
  color: #ddd;
  font-size: 15px;
  transition: 0.5s;
}

.contactFormText:focus {
  box-shadow: 0 0 10px 4px #5F3E8E;
}

.contactFormText:nth-child(2):focus {
  box-shadow: 0 0 10px 4px lightseagreen;
}

.contactFormText:nth-child(3):focus {
  box-shadow: 0 0 10px 4px #5F3E8E;
}

.contactFormBtn {
  float: right;
  border: 0;
  background: rgb(5, 5, 5);
  color: #fff;
  padding: 12px 50px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.5s;
}

.contactFormBtn2 {
  text-decoration: none;
  border: 2px solid #5F3E8E;
  color: #fff;
  font-size: 20px;
  padding: 12px 50px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.5s;
  margin-bottom: 5px;
}

.contactFormBtn2:hover {
  background:#5F3E8E;
}

.contactFormBtn:hover {
  background:#5F3E8E;
  font: white;
}

.contactFormBtn3 {
  text-decoration: none;
  border: 3px solid #5F3E8E;
  color: #fff;
  font-size: 20px;
  padding: 10px 60px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.5s;
}

.contactFormBtn3:hover {
  background:#5F3E8E;
}

footer {

}

.foot a {
  color: white;
  text-decoration: none;
}

.scrollToTopBtn {
  background-color: lightseagreen;
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  font-size: 30px;
  line-height: 48px;
  width: 48px;
  height: 48px;
	  /* place it at the bottom right corner */
  position: fixed;
  bottom: 30px;
  right: 30px;
	  /* keep it at the top of everything else */
  z-index: 100;
	  /* hide with opacity */
  opacity: 0;
	  /* also add a translate effect */
  transform: translateY(100px);
	  /* and a transition */
  transition: all .6s ease
}

/* .scrollToTopBtn i {
  align-items: center;
} */
    
.showBtn {
  opacity: 1;
  transform: translateY(0)
}

 .projBtn {
  text-decoration: none;
  border: 3px solid #5F3E8E;
  color: #fff;
  font-size: 20px;
  padding: 12px 40px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.5s;
}

.projBtn:hover {
  background:#5F3E8E;
}

.cardsProj {
  width: 100%;
  padding-bottom: 100px;
}

/* projects page */

.blitzText{
  /* display: flex; */
}

.jadeText {
  /* display: flex; */
}

.modText {
  /* display: flex; */
}

.storeColls img {
  width: 100%;
  padding-bottom: 10px;
  padding-top: 30px;
}








/* Tablet/Desktop */

@media screen and (min-width: 884px) {

  body { 
    width: 100vw;
    height: 100vh;
  }

  /* poetry page */
 .colourlink a {
  color: lightseagreen;

 }


  /* index */

  .wrapper {
    display: flex;
    margin: 0 auto;
    
  }

  .main-container {
    margin-left: 275px;
    max-width: 800px;
    height: 600px;
  }

  .image-container {
    position: relative;
    margin-top: 100px;
    margin-left: 55px;
    width: 600px;
    height: 600px;
    display: flex;
	  justify-content: space-between; 
  } 

  .img_box{
    width: 600px;
    height: 600px;
    flex:0 0 45%;
    position: relative;
  }
  .img_box img{
    position: absolute;
    left: 0;
    top: 0;
    display: none;
  }

  .img_box img:nth-child(2) {
    opacity: 0;
    transition: all 0.3s ease-in-out;
  }
  .img_box:hover img:nth-child(2) {
    opacity: 1;
  }

  .services-container {
    margin: 0 auto;
    margin-top: 100px;
    max-width: 800px;
  }

  .cardsSmall {
    display: grid;
    grid-template-columns: 300px 300px;
    justify-content: center;
    align-items: center;
    padding-bottom: 100px;
  }

  .contactFormBtn2 {
    align-items: center;
    text-decoration: none;
    border: 2px solid #5F3E8E;
    color: #fff;
    font-size: 20px;
    padding: 10px 40px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.5s;
    margin-bottom: 3px;
  }
  
  .contactFormBtn2:hover {
    background:#5F3E8E;
  }
  .colourlink a {
    color: lightseagreen;
   }

  .cards {
    display: grid;
    grid-template-columns: 255px 255px 255px;
    justify-content: space-between;
    align-items: center;   
  }
  .cardsA {
    display: grid;
    grid-template-columns: 255px 255px 255px;
    justify-content: space-between;
    align-items: center;   
  }
  
  .card {
    display: block;
    width: 200px;
    height: 300px;
    padding: 25px 25px 25px 25px;
    box-shadow: 0 4px 8px 0 lightseagreen;
    transition: 0.3s;
  }
  .cardA {
    display: block;
    width: 200px;
    height: 300px;
    padding: 25px 25px 25px 25px;
    box-shadow: 0 4px 8px 0 lightseagreen;
    transition: 0.3s;
  }
  
  .card img {
    width: 200px;
    height: 170px;
  }

  .cardA img {
    width: 200px;
    height: 170px;
  }
  
  .cardA:hover {
    box-shadow: 0 8px 16px 0 #5F3E8E;
  }
  
  .card-container h4{
    padding-top: 10px;
    font-size: 1.5rem;
  }

  .card-containerA h4{
    padding-top: 10px;
    font-size: 1.5rem;
  }

  .intouch {
    width: 800px;
    height: 400px;  
   
    background: url('/img/intouch.jpg');  
    background-repeat: no-repeat;   
    background-position: center; 
   }
  
  .intouch h2 {
    padding-top: 50px;
    font-size: 2.5rem;
  }

  .cardsProj {
    display: grid;
    grid-template-columns: 255px 255px;
    justify-content: space-around;
    align-items: center;  
    padding-bottom: 100px; 
  }

  /* projects page */

  .blitzText{
    display: flex;
  }
  
  .jadeText {
    display: flex;
  }

  .modText {
    display:flex;
  }
  .storeColls {
    display: grid;
    grid-template-columns: 380px 380px;
    grid-template-rows: 150px;
    justify-content: space-between;
    }
}

@keyframes nav-load {
  0% {
  transform: translateY(-100%);
  }
  100% {
  transform: translateY(0);
  } 
}

@keyframes nav-link-load {
  0% {
  transform: scale(0);
  }

  85% {
    transform: scale(1.1);
  }
  100% {
  transform: scale(1);
  } 
}

@keyframes article-load {
  0% {
    transform:translateY(-20px);
    opacity: 0;
  }

  100% {
    transform:translateY(0px);
    opacity: 1;
  }
}