@media only screen and (max-width:767px){
html {
    font-size: 62.5%;
  }
  html h1,h2,h3,a{
    font-family: 'Edu TAS Beginner', cursive;
    font-family: 'Raleway', sans-serif;
  }
  
  * {
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.6rem;
    margin: 0;
  }
  .back-video{
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 110%;
    height: auto;
  }
  .wrapper-width img{
    width: 100px;
  }
  .wrapper-width{
    display: flex;
   justify-content: space-between;
  }
  .wrapper-width a{
  color: #fff;
  text-decoration: none;
  }
  .wrapper-width li{
    list-style: none;
    margin-top: 0px;
    margin-bottom: 5px;
    font-size: 10px;
    }
    .content{
      text-align: center;
      position: absolute;
      top: 60px;
      left: 119px;
    }
    .content h1{
      font-size: 25px;
      font-weight: 600;
      text-transform: uppercase;
      margin-right: 3px;
      margin-bottom: 10px;
      color: white;
      width: auto;
    }
    .content p{
      color: white;
      font-size: 10px;
      margin-right: 3px;
    }
    /*projects mobile*/
    .projects{
      margin-top: 230px;
      text-align: center;
   }
   .projects a{
    color: #505D68;
    text-align: left; 
   }
   .projects h2{
      font-size: 40px;
      margin-bottom: 80px;
      color: #A1AEB7;
   }
   .projects .view{
    margin: 50px 0px 50px 50px;
   }
   .items{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 50px;
    margin-left: 35px;
    margin-right: 35px;
    border-bottom: 1px solid #A1AEB7;  
   }
   .items a{
    text-decoration: none;
    font-size: 30px;
    width: 350px;
    text-align: left; 
   }
   .items p{
    text-align: left;
    width: 350px;
    font-size: 16px;
    margin-top: 0px;
   }
   .items img{
    margin-bottom: 30px; 
   }
   .items2{
    display: flex;
    justify-content: space-between;
    flex-direction: column-reverse;
    gap: 30px;
    margin-left: 35px;
    margin-right: 35px;
   }
   .items2 a{
    text-decoration: none;
    font-size: 30px;
    width: 350px;
    text-align: left;
    margin-top: 50px;
   }
   .items2 p{
    text-align: left;
    width: 280px;
    font-size: 16px;
    margin-left: 10px;
    margin-top: 0px;
   }
   .items3{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 30px;
    margin-left: 35px;
    margin-right: 35px;
    border-top: 1px solid #A1AEB7;  
   }
   .items3 img{
    margin-top: 30px;
   }
   .items3 a{
    text-decoration: none;
    font-size: 30px;
    width: 390px;
    text-align: left;
    margin-top: 0px;
   }
   .items3 p{
    text-align: left;
    width: 300px; 
    font-size: 16px; 
   }
   .info .read a{
    font-size: 20px;
    margin-right: 150px;
    border-bottom: 1px solid #A1AEB7; 
   }
   .projects .view{
    margin: 50px 0 50px 5px;
   }
   .projects .view a{
    text-align: center;
    text-decoration: none;
    padding: 15px 10px 15px 10px;
    border-radius: 5px;
    background-color: #505D68;
    color: white;
   }
   .projects img{
    border-radius: 8px;
   }
   .info{
    margin-bottom: 25px;
   }
  /*mobile about*/
  .container{
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
  }
  .ccontainer{
    display: flex;
    flex-wrap: nowrap;
    padding: 15px;
  }
  .about{
    margin-top: 150px;
    margin-bottom: 55px;
  }
  .about img{
    border-radius: 8px;
    margin-top: 110px;
    width: 160px;
    height: 190px;
    margin-right: 25px;
  }
  .item p{
    text-align: left;
    width: 200px;
    height: 195px;
    font-size: 16px;
    margin-top: 15px;
    margin-left: 35px;
    margin-bottom: 35px;
  }
  .item h2{
    color: #505D68;
    margin-left: 55px;
    font-size: 30px;
    width: auto;
    text-align: center;
  }
  .item a{
    text-align: center;
    text-decoration: none;
    padding: 10px 15px 10px 15px;
    border-radius: 5px;
    background-color: #505D68;
    color: white;
    margin-left: 35px;
  }
  /*services mobile*/
  .services{
    text-align: center;
    letter-spacing: 0px;
  }
  .services h2{
    font-size: 45px;
    color: #A1AEB7;
    margin-top: 150px;
    margin-bottom: 80px;
    margin-left: 25px;
  }
  .services .container{
    display: flex;
    justify-content: space-between;
    overflow: scroll;
  }
  .services h3{
    font-size: 20px;
    width: 400px;
    color: #505D68;
  }
  .services p{
    text-align: left;
    width: 380px;
    margin-right: 30px;
    margin-left: 10px;
    margin-bottom: 5px;
  }
  .services img{
    border-radius: 8px;
    margin-left: 10px;
  }
  .Service1 img{
    margin-left: 15px;
  }
  .Service1 p{
    margin-top: 45px;
    height: 100px;
  }
  .Service1 h3{
    margin-left: 30px;
  }
  .Service1 img{
    margin-bottom: 10px;
  }
  .Service2 p{
    margin-top: 26px;
  }
  .Service3 p{
   height: 180px;
  }
  /*footer mobile*/
  .brand{
    display: flex;
    justify-content: flex-start;
    margin-left: 75px;
    margin-top: 15px;
    gap: 10px;
  }
  .brand a{
    font-size: 25px;
    color: #505D68;
    margin-bottom: 0px;
    margin-left: 25px;
  }
  .Navbar li{
    display: block;
    list-style: none;
    margin-left: 145px;
    margin-bottom: 10px;
  }
  .Navbar a{
    text-decoration: none;
    color: #424B5A;
    
  }
  footer .last{
    border-top: 1px solid #A1AEB7;
  }
  footer .last p{
   color:#424B5A;
   text-align: center;
   width: auto;
   margin-top: 1px;
   margin-bottom: 1px;
  }
  /*css aboutpage mobile*/
  .aboutcontainer{
    margin: auto;
    width: 70%;
  }
  .aboutcontainer h3{
    font-size: 25px;
    color: #424B5A;
  }
  .aboutcontainer p{
   font-size: 16px;
   text-align: justify;
  }
  /*Learn in class and reviewed from w3school*/
  table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
    padding: 12px;
    text-align: left;
  }
  table{
    margin: auto;
    margin-left: 15px;
    margin-right: 15px;
  }
  .table h2{
    text-align: center;
    margin-left: 45px;
    font-size: 20px;
    color: #424B5A;
  }
  /*css for form mobile took reference from claire's codepen and w3School*/
  input[type=text],input[type=email],textarea {
    width: 100%;
    padding: 12px; 
    border: 1px solid; 
    border-radius: 4px; 
    box-sizing: border-box; 
    margin-top: 6px; 
    margin-bottom: 16px; 
    resize: vertical;
  }
  input[type=submit] {
    background-color:#424B5A;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
    form {
    background-color: #f2f2f2;
    padding: 20px;
    border-radius: 10px;
    margin-right: 15px;
    margin-top: 30px;
  }   
  .container h2{
    font-size: 25px;
    color: #A1AEB7;
    margin-left: 5px;
    margin-top: 28px;
  } 
  /*project page mobile css*/
main h2{
  margin-top: 20px;
  text-align: center;
  font-size: 40px;
  color: #A1AEB7;
}
.pcontainer{
  display: flex;
  flex-wrap: wrap;
  margin: 10px;
}
/*took reference of box shadow from w3school*/
.pcards{
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  border-radius: 10px;
  padding: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}
.pcards h3{
  margin-bottom: 2px;
  color: #424B5A;
}
.pcards h4{
  margin-top: 0px;
  margin-bottom: 0px;
  color: #A1AEB7;
  font-size: 15px;
}
.pcards p{
margin-top: 10px;
text-align:justify;
} 
.pcards img{
  width: 98%;
  margin-left: 3px;
}
.pcards a{
  text-align: center;
  text-decoration: none;
  margin-top: 0px;
  color: #A1AEB7;
}
}
 /*css desktop*/
  @media only screen and (min-width:1024px){
  /* == TYPOGRAPHY == */
  html {
    font-size: 62.5%;
  }
  html h1,h2,h3,a{
    font-family: 'Edu TAS Beginner', cursive;
    font-family: 'Raleway', sans-serif;
  }
  
  * {
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.6rem;
    margin: 0;
  }
  
  .wrapper-width {
    width: 1170px;
    margin: auto;
  }
  
  h1 {
    font-size: 5rem;
    color: #505D68;
    text-align: center;
  }
  
  h3 {
    font-size: 2.1rem;
    color: #505D68;
  }
  
  p {
    line-height: 2.4rem;
  }
  
  a.button {
    display: inline-block;
    text-transform: uppercase;
    color: white;
    padding: 12px 40px;
    background-color: #505D68;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1.2rem;
  }
  
  ul {
    margin: 30px 0;
  }
  
  li {
    margin: 16px 0;
  }
  
  /* == HEADER == */
  
  header {
    overflow: auto;
  }
  
  header nav {
    float: right;
  }
  
  header nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  
  header nav li {
    float: left;
    margin: 0;
  }
  
  header nav a {
    color: white;
    font-weight: 500;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-decoration: none;
    margin: 25px;
    display: inline-block;
  }
  header nav a:hover{
    border-bottom: solid 3px black; 
  }
  .wrapper-width img{
    width: 150px;
  }
  .content{
    text-align: center;
  }
  .content h1{
    font-size: 60px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 35px;
    margin-bottom: 10px;
    margin-top: 8%;
    color: white;
    width: auto;
  }
  .content p{
    color: white;
    font-size: 25px;
    margin-left: 35px;
  }
  /*Learn how to put vedio in background from youtube and w3school*/
  .back-video{
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 100%;
    height: auto;
    top:0;
  }

  /*projects*/
.projects{
    margin-top: 30%;
    text-align: center;
 }
 .projects a{
  color: #505D68;
 }
 .projects h2{
    font-size: 60px;
    margin-bottom: 80px;
    color: #A1AEB7;
 }
 .items{
  display: flex;
  justify-content: space-between;
  gap: 70px;
  margin-left: 35px;
  margin-right: 35px;
 }
 .items a{
  text-decoration: none;
  font-size: 30px;
  width: 450px;
  text-align: left; 
 }
 .items p{
  text-align: center;
  width: 350px;
  font-size: 16px;
 }
 .items img{
  margin-bottom: 90px;
 }
 .items2{
  display: flex;
  justify-content: space-between;
  gap: 140px;
  margin-left: 90px;
  margin-right: 25px;

 }
 .items2 a{
  text-decoration: none;
  font-size: 30px;
  width: 450px;
  text-align: left;
  margin-top: 50px;
 }
 .items2 p{
  text-align: center;
  width: 300px;
  margin-top: 35px;
  font-size: 16px;
 }
 .items2 img{
  margin-bottom: 90px;
 }
 .items3{
  display: flex;
  justify-content: space-between;
  gap: 70px;
  margin-left: 35px;
  margin-right: 25px;
 }
 .items3 a{
  text-decoration: none;
  font-size: 30px;
  width: 450px;
  text-align: left;
  margin-top: 50px;
 }
 .items3 p{
  text-align: center;
  width: 300px;
  margin-top: 35px;  
  font-size: 16px; 
 }
 .info .read a{
  font-size: 20px;
 }
 .projects .view{
  margin: 50px 0 50px 50px;
 }
 .projects .view a{
  text-align: center;
  text-decoration: none;
  padding: 15px 10px 15px 10px;
  border-radius: 5px;
  background-color: #505D68;
  color: white;
 }
 .projects img{
  border-radius: 8px;
 }
 /*about*/
.container{
  display: flex;
  justify-content: space-evenly;
}
.ccontainer{
  display: flex;
  justify-content: space-evenly;
}
.about{
  margin-top: 150px;
  margin-bottom: 45px;
}
.about img{
  border-radius: 8px;
}
.item p{
  text-align: center;
  width: 395px;
  height: 150px;
  font-size: 18px;
  margin-top: 30px;
  margin-bottom: 45px;
}
.item h2{
  color: #505D68;
  margin-left: 10px;
  font-size: 35px;
}
.item a{
  text-align: center;
  text-decoration: none;
  padding: 10px 15px 10px 15px;
  border-radius: 5px;
  background-color: #505D68;
  color: white;
  margin-left: 130px;
}
/*services*/
.services{
  text-align: center;
  letter-spacing: 0px;
}
.services h2{
  font-size: 60px;
  color: #A1AEB7;
  margin-top: 150px;
  margin-bottom: 80px;
}
.services .container{
  display: flex;
  justify-content: space-between;
}
.services h3{
  font-size: 20px;
  width: 400px;
}
.services p{
  text-align: center;
  width: 395px;
  margin-right: 30px;
  margin-left: 10px;
  margin-bottom: 50px;
}
.services img{
  border-radius: 8px;
}
.Service1 img{
  margin-left: 15px;
}
.Service1 p{
  margin-top: 45px;
  width: 416px;
  height: 100px;
}
.Service1 h3{
  margin-left: 30px;
}
.Service1 img{
  margin-bottom: 10px;
}
.Service2 p{
  margin-top: 26px;
}
/*footer*/
.brand{
  display: flex;
  justify-content: center;
  gap: 70px;
  padding-top: 30px;
  padding-bottom: 20px;
}
.brand a{
  font-size: 25px;
  color: #505D68;
  margin-bottom: 0px;
  margin-left: 25px;
}
footer ul{
  text-align: center;
  margin: 0px;
  margin-right: 45px;
}
footer nav li{
  display: inline-block;
}
footer a{
  text-decoration: none;
  color: #505D68;
  margin-left: 35px;
}
footer .last{
  border-top: 1px solid #A1AEB7;
}
footer .last p{
 color:#424B5A;
 text-align: center;
 width: auto;
 margin-top: 1px;
 margin-bottom: 1px;
}
/*css aboutpage desktop*/
.aboutcontainer{
  display: flex;
  justify-content: center;
  gap: 110px;
 }
 .aboutcontainer p{
  width: 800px;
  text-align: justify;
 }
 table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
  padding: 12px;
  text-align: left;
}
table{
  margin-left: 42%;
  margin-bottom: 20px;
}
.table h2{
  text-align: center;
  font-size: 20px;
  color: #424B5A;
}
/*css  form desktop */
.contactus{
  background-color: #f4f3ef;
}
input[type=text],input[type=email],textarea {
  width: 100%;
  padding: 12px; 
  border: 1px solid; 
  border-radius: 4px; 
  box-sizing: border-box; 
  margin-top: 6px; 
  margin-bottom: 16px; 
  resize: vertical 
}
input[type=submit] {
  background-color:#424B5A;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
form {
  background-color: #f2f2f2;
  padding: 20px;
  border-radius: 10px;
  margin-right: 15px;
  margin-bottom: 20px;
}   
.contactus .container h2{
  margin-top: 150px;
}
.container h2{
  font-size: 35px;
  color: #A1AEB7;
  width: 350px;
  margin-top: 50px;
}
/*project page css*/
main h2{
  margin-top: 20px;
  text-align: center;
  font-size: 40px;
  color: #A1AEB7;
}
.pcontainer{
  display: flex;
  justify-content: space-between;
  margin: 80px;
  padding-left: 23px;
}
.pcontainer img{
  object-fit: cover;
  width: 100%;
}
.card image{
  max-width: 350px;
}

/*took reference of box shadow from w3school*/
.pcards{
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  border-radius: 10px;
  padding-bottom: 15px;
  width: 550px;
  margin-right: 40px;
}
.pcards h3{
  margin-bottom: 2px;
}
.pcards h4{
  margin-top: 0px;
  margin-bottom: 0px;
  color: #A1AEB7;
  font-size: 15px;
}
.pcards h3,h4,p{
  padding: 15px;
}
.pcards p{
margin-top: 0px;
object-fit: cover;
}
.pcards a{
  text-decoration: none;
  margin-left: 35%;
  margin-top: 0px;
  color: #A1AEB7;
}
/*got this box shadow from https://blog.avada.io/css/card-hover-effects#house-of-cards-mojtaba-seyedi-*/
.pcards:hover{
  box-shadow: 6.7px 13.4px 13.4px hsl(0deg 0% 0% / 0.29);
  transition: all 0.2s ease;
}
}
