/******======================== Base Styles ========================*****/
html {
    font-size: 16px;
}
  
body {
    background-color: black;
    color: #ffffff;
    font-family: "thonburi";
    font-size: 1em;
}

.content-wrapper {
    width: 90%;
}
  
.full-width {
    width: 100%;
}

img {
    border: 1px solid #0600FF;
}

h3 {
    color: #0600ff;
    font-family: "helvetica neue";
    font-size: 6vw;   
    font-weight: 500;
  }

  h2 {
    color: #0600FF;
    font-family: "montserrat";
    font-size: 2.8em; 
    margin:0;
  }  

  h1, li a{
    color: #ffffff;
    font-family: "montserrat";
    font-size: 1.25em; 
    letter-spacing: 2px;   
    margin: 0;
    text-decoration: none;
  }  

  h4 a, h4 {
    color: black;
    font-family: "helvetica neue";
    font-size: 1.4em;      
    text-decoration-color: #0600FF;
    text-decoration-thickness: 2px;
  }
  
  h5 {
    color: black;
    font-size: 1.25em;       
    font-weight: 500;
    margin: 0;
  }
  
  a {
    color: #ffffff;
  }

  p {
    font-size: 1.25em;
    line-height: 1.25em;
    margin: 0 5%;
    color: black;
  }

/*****============================== Header Styles ==============================*****/
header {
    align-items: center;
    background-color: #1f202b;
    display: flex;
    justify-content: center;
    height: 150px;
  }

  #head-wrap {
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
  }

header h1 {
    text-align: center;
    width: 100%;
}

.header-divider, #footer-divider {
    width: 100%;
    border-top: 1px solid #0600FF;
}
  nav {
      display: flex;
      width: 100%;
      margin-top: 10px;
  }

  nav ul{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    list-style-type: none;
    padding-inline-start: 0;
    width: 100%;
    
  }

  /*****========================== Hero Area Styles ================================*****/
  #hero-area {
    background-image: url('../img/hero.jpg');
    background-position: center;
    background-size: cover;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  #hero-area h3{
    padding-bottom: 20px;
    margin: 20vw 0 0 0;
  }

  #hero-area p{
    font-size: 3vw;
  }

/*****======================== Portfolio Styles ===================================*****/
#work {
    align-items: center;
    background-color: #C1C1C1;  
    display: flex;
    flex-direction: column;
    height: auto;
  }
  
  #work-header {
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
  }
  
 
  
  article {
    text-align: center;
    display: flex;
    flex-direction: column-reverse;
  }
  
  .image {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 5%;
  }

  figure {
    margin: 0;
    width: 100%;
  }

  figure a {
      display: flex;
      justify-content: center;
  }
  
  figure a img {
    height: auto;
    width: 100%;
    max-width: 468px;
    max-height: 228px;
  }
  
  .button {
    background: #ffffff;
    border: 2px solid #0600FF;
    color: #0600FF;
    width: 30%;
    padding: 4px 0;
    text-align: center;
    text-decoration: none;
  }

  

  .button:hover {
    background: #0600FF;
    color: #ffffff;
  }

  

#item5-description p {
    margin-bottom: 5%;
}

.left p, .right p {
  text-align: left;
}

/*****================================= Skills Styles =========================================*****/
#skills {
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#skills h2 {
  text-align: center;
  margin-top: 0;
}

#skills-icons {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  padding-top: 1em;
}

#skills-icons article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 23vw;
  padding: 1em 0;
}

.font-awesome-icon {
  color: #0600FF;
  font-size: 2em;
}

.skill-description {
  font-size: 1.2em;
}


/*****================================= About Me Styles =======================================*****/
#about {
    background-color: #C1C1C1;
    height: auto;
    text-align: center;
  }
  
  #about h2 {
    text-align: center;
  }

  #about p {
    color: black;
  }
  #about img {
    height: 300px;
    margin-bottom: 20px;
    
  }

  #about-content {
    
    height: inherit;
    
    padding: 5%;
  }
  
  

  #about-pro p, #about-me p {
    line-height: 1.2em;
    text-align: left;
    margin-bottom: 1em;
  }

  #hire {
    border-top: solid #0600FF;
    padding-top: 20px;
  }

/*****====================================== Footer Styles =======================================*****/
footer {
    align-items: center;
    background-color: white;
    display: flex;
    flex-flow: column;
    height: auto;
  }
  
  footer h2 {
    text-align: center;
    width: 100%;
  }
  
  footer p, footer h5 {
    color: black;
  }

  #foot-wrapper {  
    width: 90%;
  }
  
  #contact {
    text-align: center;
    margin-top: 20px;
  }
  
  #contact p {
    margin-bottom: 1em;
    font-size: 1.25em;
  }

  #social {
    text-align: center;
  }

  #social h5 {
    margin-bottom: 1em;
  }
  
  #social-icons {
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    padding: 0 30px;
  }
  
  #social-icons p {
    margin: 0 10% 5%;
  }
  
  footer p a, #copyright p a {
    text-transform: none;
  }
  
  footer p a img{
    border: 0;
    height: 50px;
  }  
  
  #copyright {
    align-items: center;
    background-color: #1f202b;
    display: flex;
    flex-flow: column;
    height: 60px;
    justify-content: space-evenly;
  }
  
  #copyright p {
    color: white;
    font-size: .875em;
    margin: 0 1em;
  }
  
  #attribution {
    font-size: .79em;
  }


/* ----------- Tablets larger than 768px wide ----------- */
@media (min-width: 768px) {
/*****************  General Styles Tablet***********************/
.content-wrapper {
        width: 90%;
}
      
.third-width {
        width: 50%
}
  
h2 {
    font-size: 3em;
    padding-top: 5%;
}
  
  h1, li a{
    font-size: 1.475em;
}  
    
h4 a {
    font-size: 1.25em;
}
  
h5 {
  font-size: 1.25em;
}

/*****============================== Header Styles Tablet==============================*****/
header {
    height: 70px;
  }
  
  header h1 {
    text-align: start;
    width: initial;
  }
  
  .header-divider, #footer-divider {
    width: 0;
    border-top: none;
  }
  
nav {
    margin-top: 0;
    width: initial;

}
  
  nav ul{
    width: initial;
  }
  
  nav ul li {
    margin-left: 20px;
  }
/*****========================== Hero Area Styles Tablet================================*****/
 
  #hero-area {
    height: 520px;
  }
  
  #hero-area h3{
    margin: 12vw 0 0 0;
  }
  
 /*****======================== Portfolio Styles Tablet===================================*****/
  #work-header {
    margin-bottom: 80px;
  }
  
  
    #work-items {
      align-items: flex-start;
      display: flex;
      flex-flow: row wrap;
      height: inherit;
      width: 88%;
    }
  
  .subhead {
    margin: 0 5%;
  }

  .subhead h4, .subhead h5 {
    text-align: center;
  }



  article p {
    margin: 0 0 10px;
  }
  
  figure a {
    display: block;
  }
  
  #item1-img, #item3-img, #item5-img {
    margin-top: 0px;
  }
  
  #item1-description h4, #item3-description h4, #item5-description h4{
    margin-top: 0px;
    margin-bottom: 0px;
  }
  


  #item2-description h4, #item4-description h4{
    margin-bottom: 0px;
  }

  #item2-img, #item4-img {
    margin-top: 0px;
  }

  
  #item5 {
    margin-top: 0px;
  } 
/****================================= Skills Styles Tablet =========================================****/
  #skills-icons article {
    width: 13vw;
  }


/*****================================= About Me Styles Tablet=======================================*****/

#about-description {
  display: flex;
  flex-flow: row-reverse;
  align-items: center;
}

#headshot {
  margin-right: 5%;
}

#about-me {
  margin-left: 5%;
}

#about-me p {
  line-height: 1.4em;
}

#about-pro p {
  padding: 0 3%;
  }
  
/*****====================================== Footer Styles Tablet=======================================*****/

footer h2 {
    text-align: start;
    width: initial;
  }
  
  footer h4 {
    padding-bottom: 20px;
  }
  
  #foot-wrapper {
    display:flex;
    flex-flow: row wrap;
    justify-content: space-between;
    height: inherit;
    width: 86%;
  }
  
  #contact  {
    text-align: center;
    display: block;
  }

  #contact:nth-child(2){
    margin-bottom: 1em;
  }
  
  #social h5 {
    margin-top: 20px;
  } 

  #social-icons {
    padding: 0;
  }

  #copyright p {
    margin: 0 40px;
  }
}


/* ----------- Monitors larger than 1200px wide ----------- */
@media (min-width: 1200px) {
 /******************* General Styles Desktop***************************/
 .half-width {
    width: 44%;
    
  }

  h1, li a{
    font-size: 1.875em;
  }
  
h4 a {
    font-size: 1.5em;  
  }
  
  h5 {
    font-size: 1.5em;
  }

  /*****========================== Hero Area Styles Desktop================================*****/
  #hero-area {
    height: 720px;
  }

  /*****======================== Portfolio Styles Desktop===================================*****/
  #work-header {
    margin-bottom: 100px;
  }

  #item1, #item3, #item5 {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
  }

  #item2, #item4 {
    display: flex;
    flex-flow: row-reverse wrap;
    align-items: flex-start;
  }
  
  .subhead {
    margin: 20px 0 10%;
  }

  .subhead h4 {
    margin-top: 0;
  }

  .subhead h4, .subhead h5 {
    text-align: left;
  }
  
  .left h4, .left h5, .left p {
    text-align: right;
  }

  #item5-img {
    margin-bottom: 5%;
  }

  /*****================================= About Me Styles Desktop=======================================*****/
  #about-content {
    padding: 20px 0 100px;
  }

  #about-description h4, #about-me h4 {
    margin-bottom: 0;
  }

  #about-pro p {
    padding: 0 4%;
    }
  /*****====================================== Footer Styles Desktop=======================================*****/
  footer h4 {
    font-size: 2.1em;
  }
    
  #social-icons {
    padding: 0 30px;
  }
  
  #meet {
    text-align: center;
  }

  #contact p {
    margin-bottom: 1em;
    font-size: 1.5em;
  }
  
  footer p a, #copyright p a {
    text-transform: none;
  }
  
  footer p a img{
    border: 0;
    height: 50px;
  }

}