/*
|n|n|          |n|n|    |n|n|n|n|n|n|      
|n|n|          |n|n|    |n|n|n|n|n|n|      
|n|n| |n|      |n|n|        |n|n|         
|n|n|    |n|   |n|n|        |n|n|     
|n|n|       |n||n|n|        |n|n|   
|n|n|          |n|n|        |n|n|     
|n|n|          |n|n|        |n|n|

+88___WDD_HTML5_CSS___+880
+880_Capstone Project_++80
++88__Truong_Nguyen__+880
++88________________++88
_+880______________++88
_+888____________++880
_++880__________++880
_++888________+++880
_++8888_____+++8880++88
__+++8888++++8880+++8888
___++888+++8888+++8888+80
___+++88++8888++888888++88
___++++++888888fx888888888
____++++++8888888888888888
____++++++++00088888888888
_____+++++++00008f8888888
______+++++++00088888888
_______+++++++0888f8888
*/

body{
  font-family:'Playfair Display', serif;
  font-size:16px;
  width:100%;
  background-color:#333;
  line-height:1.2em;
  margin:0 auto;
  display:block;
}
.pl-5{
  padding-left: 5px;
}
.pr-5{
  padding-right: 5px;
}
.px-5{
  padding: auto 5px;
}
.text-center{
  text-align:center;
}

#homepage,
#project_page,
#images_page,
#demoreel_page,
#blog_page{
  color:#ccc;
  position:relative;
  width:100%;
}

main{
  display:block;
  width:100%;
}


main #wrapper{
  min-height:600px;
  width:100%;
  margin:0 auto;
  /* margin-top:80px; */
}


header{
  font-family:'Lato', sans-serif;
  -webkit-background:linear-gradient(#fff,#999 55%);
  -moz-background:linear-gradient(#fff,#999 55%);
  -o-background:linear-gradient(#fff,#999 55%);
  background:linear-gradient(#fff,#999 55%);
  background-color:#fff;
  width:100%;
  height:55px;
  top:0;
  left:0;
  /* position:fixed; */
  z-index:10000;
  border-bottom:2px solid #666;
  margin:0 auto;
  display:block;
}

h1,h2{
  font-family:'Lato', sans-serif;
  line-height: 1.2em;
}

h1{
  margin:0 auto;
  font-size:1.2em;
}

#header_container{
  display: flex;
  justify-content: space-between;
}

#logo{
  /* position:absolute;
  margin:0 auto;
  top:10px;
  left:0; */
  margin-top: 10px;
  margin-left: 10px;
  font-size:1.2em;
  font-weight:700;
  text-shadow:1px 1px 5px rgba(204,204,204,0.4);
  color:#000;
}

#logo .title{
  /* position:absolute;
  margin:0 auto;
  top:25px;
  left:5px;
  width:200px; */
  margin:2px auto;
  font-family:'Cormorant Upright', serif;
  font-size:1.1em;
  font-weight:700;
  text-align:center;
  padding-top:0;
  color:#333;
  text-shadow:2px 2px 2px rgba(0,0,0,0.5);
  text-shadow:0px -1px 2px rgba(0,0,0,0.5);
}

/* #media{
  position:absolute;
  margin:0 auto;
  top:7px;
  left:140px;
  width:20px;
  margin:0 auto;
  padding:3px 10px;
} */


#media .media_cover{
  /* position:relative; */
  display: flex;
  justify-content: space-between;
}

#media .media_cover a{
  width: 30px;
}


/* #media .media_cover .linkedin{
  position:absolute;
  top:0;
  left:40px;
}

#media .media_cover .youtube{
  position:absolute;
  top:0;
  left:70px;
}

#media .media_cover .call{
  position:absolute;
  top:0;
  left:100px;
} */

#media .media_cover a{
  padding:10px;
}

a{
  text-decoration:none;
  color:#000;
}

/*---------------------Navigation---------------------*/

nav{
  position:fixed;
  z-index:10010;
  font-size:1.3em;
  right:0;
  font-family:'Lato', sans-serif;
  font-weight:400;
  display:block;
}

nav #overlay_bg{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color:rgba(0,0,0,.7);
  z-index:10000;
  opacity:0;
  pointer-events:none;
  transition:all ease-in-out .6s;
}

nav #overlay_bg:target{
  opacity:1;
  pointer-events:auto;
}

nav #overlay_bg:target ~ a#navbutton{
  opacity:0;
  pointer-events:none;
}

nav #overlay_bg:target #navlist{
  transform:rotateX(0deg)
}
#nav_box{
  position:relative;
}

nav .close_nav{
  position:absolute;
  font-size:1.4em;
  color:#ccc;
  top:28px;
  right:8px;
  z-index:10300;
  border-radius:50%;
  padding: 6px 8px;
}

nav #close_overlay{
  position:absolute;
  width:100%;
  height:100%;
  cursor:default;
  text-decoration:none;
}

nav a#navbutton{
  position:absolute;
  top:30px;
  right:5px;
  z-index:10100;
  display:block;
  width:36px;
  height:36px;
  transition:all ease-in-out .6s;
}

#topnav a#navbutton span{
  display:block;
  height:2px;
  background-color:#fff;
  margin-bottom:5px;
  margin-top:6px;
  margin-left:5px;
  margin-right:5px;
}

nav #navlist{
  position:fixed;
  z-index:10200;
  width:200px;
  height:310px;
  top:58px;
  right:9px;
  background-color:#666;
  margin:0 auto;
  text-align:left;
  border-radius:0px 0px 5px 5px;
  margin:0;
  padding:0;
  transform:rotateX(90deg);
  transform-origin:top;
  transition:all ease-in-out 0.6s;
}

nav ul li{
  list-style-type: none;
  display:block;
}


nav ul#navlist li{
  /*height:35px;*/
  margin:10px 5px 10px 5px;

}

nav ul#navlist li a{
  display:block;
  text-decoration:none;
  padding:5px;
  border-bottom:1px solid #ccc;
  
}

/*---------------------Home page Main---------------------*/

  /*-------Hero Img-------*/
#homepage main .first_part{
  position:relative;
  margin-top: -20px;
}
#homepage main .hero{
  position:relative;
  width:100%;
  height:auto;
}
#homepage main .hero img{
  width:100%;
  height:20%;
  box-shadow:0px 3px 5px rgba(0,0,0,.5), 0px -3px 5px rgba(0,0,0,.5);
  margin:0 auto;
  padding:0;
}
#homepage main .discription{
  position:absolute;
  width:100%;
  top:3px;
  right:10px;
  font-family:'Cormorant Upright', serif;
  font-size:1.1em;
  line-height:1.1em;
  text-shadow:1px 1px 6px rgba(51,51,51,0.9);
  text-align:right;
  color:#996;
}
  /*-------Call to Action-------*/
#homepage main .cta{
  font-family:'Lato', sans-serif;
  position:absolute;
  top:200px;
  margin:0 auto;
  width:100%;
  text-align:center;
}
#homepage main .cta a{
  text-transform:uppercase;
  font-size:1.3em;
  text-shadow:0.5px -0.5px #ccc;
  text-shadow:1px -1px #ccc;
  text-shadow:1.5px -1.5px #ccc;
  box-shadow:inset 0 0 10px #999;
  width:250px;
  border-radius:5px;
  transition:all ease-in-out .4s;
  margin:0 auto;
}

/*-------Options Part-------*/
#homepage main .cover{
margin-top:-10px;
}
#homepage main .port,
#homepage main .projects,
#homepage main .blog{
  position:relative;
  left:0;
  width:100%;
  text-align:center;
}
#homepage main .opt img{
  width:80%;
  margin-top:25px;
}

  /*---Content---*/
#homepage main .opt .content{
  margin:0 auto;
  width:80%;
}
#homepage main .opt .content h2{
  margin:5px auto;
  text-align:center;
}
#homepage main .opt .content h2+p{
  font-family:'Cormorant Upright', serif;
  margin:5px auto;
  text-align:left;
}
  /*---Buttons---*/
#homepage main .content a{
  font-family:'Lato', sans-serif;
  font-size:1em;
  margin:0 auto;
  width:90px;
  height:20px;
  border-radius:5px;
  display:block;
  font-size:1.1em;
  box-shadow:inset 0 0 10px #999;
  background-color:rgba(255,255,255,0.8);
  text-align:center;
  padding-top:15px;
  transition:all ease-in 0.2s;
  padding:5px;
}
#homepage main .content a:active{
  color:#fff;
  background-color:rgba(0,102,102,0.8);
}
/*---------------------Projects page Main---------------------*/
#project_page main table{
  font-family:'Playfair Display', serif;
  margin:0 auto;
  margin-left:0.5px;
  width:100%;
  font-size:13px;
}
#project_page main table tr.header{
  background-color:rgba(255,255,255,.4);
}
#project_page main table th img{
  display:none;
}

#project_page main table th,
#project_page main table caption{
  font-weight:700;
  font-size:1.2em;
}
#project_page main table caption{
  font-family:'Lato', sans-serif;
  height:50px;
  margin-top:3px;
  line-height:2.3em;
  border-radius:3px;
  box-shadow:inset 3px 3px 10px #999, inset -3px -3px 10px #999;
  text-transform:uppercase;
}
#project_page main table td,
#project_page main table th{
  border:2px solid #666;
}
#project_page main table th.names{
  width:15%;
}

#project_page main table th.about{
  width:40%;
}
#project_page main table th.duties{
  width:20%;
}
#project_page main table th.clients{
  width:20%;
}

#project_page main table tr,
#project_page main table caption{
  padding:5px;
  margin:2px;
}
#project_page main table td{
  padding:5px;
  text-align:left;
}

/*---------------------Images page Main---------------------*/

#images_page main .mobile{
  color: #cfcfcf;
  position:relative;
  margin:0 auto;
}


#images_page main #wrapper h2{
  font-family:'Lato', sans-serif;
  font-size:1.4em;
  padding-top:10px;
  margin:0 auto;
  width:100%;
  text-align:center;
  height:1.4em;
  text-shadow:0 1px 3px rgba(0,0,0,.6);
  text-transform:uppercase;
  margin-bottom:10px;
}
#images_page main .mobile .thumbnail{
  margin:0 auto;
  width:100%;
  min-height:50px;
  text-align:center;
  position:relative;
  margin-bottom:30px;
}

#images_page main .mobile .thumbnail a{
  display:block;
  width:30%;
  height:200%;
}

#images_page main .mobile .thumbnail img{
  width:100%;
  box-shadow:0 4px 6px rgba(0,0,0,.7);
}

#images_page main .mobile div.overlay_bg{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color:rgba(0,0,0,0.7);
  z-index:10000;
  opacity:0;
  pointer-events:none;
  transition:all ease-in-out 0.5s;
}
#images_page main .mobile .zoom_img{
  width:100%;
  margin:45% auto;
}
#images_page main .mobile a.close_overlay{
  position:absolute;
  text-decoration:none;
  width:100%;
  height:100%;
  cursor:default;
}

#images_page main div.caption p{
  font-family:'Playfair Display', serif;
  /*margin:25px auto 0 auto;*/
  font-size:25px;
	margin-left: 5px;
}

#images_page main div.caption p.date{
  margin-top:3px;
  margin-bottom:25px;
}

#images_page main .captionContainer p{
  color:black;
  text-align: right;
  padding-right: 10px;
  margin-top:8px;
  margin-bottom:8px;
}

@media (device-width:768px){
  #images_page main .mobile .thumbnail{
  height:110px;
}
}


/* Hide the images by default */
    .Show {
	  	margin-top: 5px;
			margin-bottom: -7px;
      display: none;
    }
	
	.Show img{
		box-shadow:0px 3px 5px rgba(0,0,0,.5), 0px -3px 5px rgba(0,0,0,.5);
	}
    .row:after {
      content: "";
      display: table;
      clear: both;
    }

    /* Six columns side by side */
    .column {
      float: right;
      width: 18%;
      margin-right: 10px;
	  margin-top: -3px;
      margin-bottom: -5px;
    }

    /* Add a transparency effect for thumnbail images */
    .thumbTrans {
      opacity: 0.15;
    }

    img.active, .thumbTrans:hover {
      opacity: 1;
    }

img.thumbnails, .thumbTrans {
    border: 1px solid #000;
    border-radius: 4px;
    padding: 2px;
    width: 400px;
    cursor: pointer;
}

img.thumbnails :hover {
    box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
}


/*---------------------Animation page Main---------------------*/

#demoreel_page #form{
  width:100%;
}

div.demo{
  margin:0 auto;
  text-align:center;
	margin-top: 15px;
}

#demoreel_page #form .note{
  margin:0 auto;
  margin-left:10px;
}

#demoreel_page #form .note em {
  font-size:0.9em;
}

#demoreel_page #form .star {
  font-size:1.2em;
  color:#936;
}
/*----------Video----------*/
#demoreel h2.demo_header{
  font-family:'Lato', sans-serif;
  padding:10px;
  font-size:2.2em;
  color:#ccc;
  text-align:center;
  margin:0 auto;
  margin-bottom:10px;
  text-shadow:0 1px 5px rgba(0,0,0,.3);
}
div.video{
  margin:0 auto;
  text-align:center;
}
.info_request{
  font-size:1.1em;
  font-weight:700;
  margin:0px auto;
  margin-top:5px;
  text-align:center;
}
/*----------Form----------*/
div#form{
  margin:0 auto;
  font-family:'Playfair Display', serif;
  margin-bottom:60px;
  
}
#form h2{
  margin:0 auto;
  width:100%;
  text-align:center;
  margin-top:10px;
}
fieldset {
  margin:15px auto;
  margin-bottom:0;
  /*border:1.5px solid #fff;*/
  background-color:rgba(0,0,0,0.4);
  border:none;
  border-radius:5px;
  width:90%;
}
legend {
  margin-bottom:10px;
  font-weight:700;
  font-size:1.1em;
}
/*----Labels----*/
label {
  display:inline-block;
  width:120px;
  font-weight:400;
  height:30px;
}
input + label {
  display:inline;
  width:auto;
}
label.req::before {
  content:'*';
  font-size:1.2em;
  color:#936;
}
label[for="comments"] {
  display:block;
  margin:0 auto;
  float:left;
  clear:both;
}
/*----inputs----*/
input {
  margin-bottom:10px;
  height:17px
}
label + input {
  width:200px;
  margin-left:10px;
}
label + input,
textarea {
font-size:14px;
padding:2px;
background-color:#333;
border:none;
max-width:100%;
color:#000;
font-family:'Playfair Display', serif;

}
input#subject {
  width:90%;
}/*Subject of a requirement is long sometimes.*/
textarea {
  margin-left:12px;
  width:90%;
  
}
label + input:focus,
textarea:focus {
  background-color:#999;
  cursor:text;
}
input[type=number]::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin:0;
}
input[type=number] {
  -moz-appearance:textfield;
}
/*----Gender----*/
.male,
.female{
  margin-right:10px;
}
.male {
  margin-left:5px;
}
.gender {
  margin-bottom:0px;
}
/*----dropdown list----*/
#working_field{
  font-size:14px;
  width:342px;
  height:25px;
  margin:10px 1px 20px 0px;
  border:1px solid #333;
  background-color:#ccc;
  font-family:'Playfair Display', serif;
}
#working_field:focus{
  cursor:pointer;
}
/*----buttons----*/
#submit, #reset {
  font-family:'Lato', sans-serif;
  font-size:16px;
  display:block;
  width:100px;
  height:30px;
  margin:20px 5px 5px 15px;
  float:left;
  background-color:#fff;
  color:#000;
  border-radius:4px;
  border:1px solid #000;
  cursor:pointer;
  box-shadow:inset 0 0 10px rgba(0,0,0,.7);
}
#submit:hover, #reset:hover {
  color:#066;
}
#submit {
  margin-right:2px;
}
#submit::after,
#reset::after{
  content:'';
  clear:both;
}

/*---------------------Blog page Main---------------------*/
#blog_page main .blog_img{
  position:relative;
  width:100%; 
}

#blog_page main .blog_img img{
  width:100%;
}
  /*---------------Box shadow---------------*/
#blog_page main .blog_img::before{
  content:'';
  z-index:-1;
  width:80%;
  height:50%;
  display:block;
  position:absolute;
  left:15px;
  bottom:32px;
  box-shadow:0 28px 17px rgba(0,0,0,.85);
  transform:rotate(-4deg) skew(-3deg);
}
      
#blog_page main .blog_img::after{
  content:'';
  z-index:-1;
  width:80%;
  height:50%;
  display:block;
  position:absolute;
  right:3px;
  bottom:32px;
  box-shadow:0 28px 17px rgba(0,0,0,.8);
  transform:rotate(4deg) skew(6deg);
}

#blog_page main .date{
  position:relative;
  font-size:1.1em;
  width:4em;
  height:4em;
  background-color:rgba(0,204,204,.5);
  border-radius:100%;
  padding:5px;
  line-height:1.5em;
  text-align:center;
  margin:-40px auto 10px auto;
  color:#000;
  text-shadow:1px 1px 8px rgba(204,204,204,0.4);
}

#blog_page main .caption,
#blog_page main .quest{
  margin:10px auto;
  letter-spacing:.05em;
  text-align:center;
}

#blog_page main .caption{
  font-size:1.2em;
  font-weight:700;
}

#blog_page main .quest{
  font-size:.9em;
  font-weight:400;
  margin-top:0;
  margin-bottom:3em;
}
/*---------------------Info page Main---------------------*/
#info_page main h2{
  font-family:'Lato', sans-serif;
  color:#ccc;
  margin:0 auto;
  text-align:center;
  font-size:1.7em;
  padding:15px 0;
  letter-spacing:0.05em;
}

#info_page main fieldset{
  width:90%;
}

#wrapper .go_to_top a{
  font-family:'Playfair Display', serif;
  color:#ccc;
  display:block;
  width:90px;
  height:20px;
  border-radius:5px;
  box-shadow:inset 0 0 5px rgba(204,204,204,.7);
  margin:25px auto;
  margin-bottom:10px;
  /* margin-left:45%; */
  transition:all ease-in-out 0.4s;
  text-align: center;
}

#wrapper .go_to_top a:hover{
  color:#fff;
  background-color:rgba(0,102,102,0.8);
}

/*---------------------Blender page---------------------*/
#blender_page{
  color: #cfcfcf;
}
#blender_page h2{
  text-align: center;
}

#blender_page h3{
  font-size: 1.1em;
  text-align: center;
  font-weight: 400;
  margin-top: -20px;
}

#blender_page div.cta{
  margin: 0 auto;
  text-align: center;
}

#blender_page a.button{
  display: inline-block;
  width: 100px;
  height: 35px;
  border-radius: 5px;
  background-color:#066;
  color: #a1a1a1;;
  padding: 5px;
  line-height: 2em;
  box-shadow: inset 0 0 7px #a1a1a1;;
  transition: all ease-in-out 0.6s;
}

#blender_page a.button:hover{
  box-shadow: 3px 3px 6px rgba(255, 255, 255, 0.4);
}

#blender_page a.button.blender_regist{
  margin-right: 10px;
}
#blender_page .caption{
  color:#a1a1a1;
  padding-left: 10px;
  margin-bottom:-8px;
}

#blender_page .captionContainer p{
  color:black;
  text-align: right;
  padding-right: 10px;
  margin-top:8px;
  margin-bottom:8px;
}
/*---------------------Interactive page---------------------*/

#interactive_page{
  color:#fff;
}

#interactive_page h2{
  font-size: 1.5em;
  color: #fff;
  text-align: center;
}

#interactive_page div.objects{
  margin: 0 auto;
  margin-top: 30px;

}

#interactive_page div.objects a img{
  width: 100%;
}

#interactive_page div.objects .des{
  padding-left: 10px;
}

/*---------------------Welding page---------------------*/
#images_page main #wrapper .caption h2{
  padding-top: 0;
  font-size: 1.2em;
}
.ShowWelding{
  margin-top: 1.5em;
}

.myProjects{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-content:flex-start;
}

.myList{
  margin: 10px auto 1.9em auto;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  align-content:center;
  column-gap: 30px;
}


/*footer*/
footer{
  font-family:'Lato', sans-serif;
  font-size:14px;
  margin:0 auto;
  margin-top:10px;
  border-radius:5px 5px 0 0;
  border-top:2px solid #666;
  text-align:center;
  height:30px;
  width:100%;
  display:block;
  color:#ccc;
  position:relative;
}

footer .address{
position:absolute;
left:0;
top:3px;
width:150px;
height:65px;
line-height:1.6em;
text-align:left;
font-size:.9em;
}

footer .media_footer{
  position:relative;
  width:100%;
  height:40px;
}

footer .media_footer a{
  position:absolute;
  display:inline-block;
  top:5px;
  right:0;
  width:40px;
  height:40px;
}

footer .media_footer a img.fb_footer{
  position:absolute;
  left:-300%;
}

footer .media_footer a img.linkedin_footer{
  position:absolute;
  left:-150%;
}


