/*!
Theme Name: Tuan Nguyen
Author: J + Jo Design
Author URI: https://jandjodesign.com/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Tuan Nguyen is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# CUSTOM
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: none;
	border-radius: 0;
	background: #000;
	color: #fff;
	font-size: 12px;
	font-size: 0.75rem;
	padding: 5px 20px;
    letter-spacing: .2em;
    text-transform: uppercase;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	opacity: .8;
    cursor: pointer;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #665;
	border: 1px solid #000;
	border-radius: 0;
	padding: 3px;
    width: 150%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #000;
}

label {
    text-transform: uppercase;
    letter-spacing: .1em;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
## CUSTOM
--------------------------------------------------------------*/

/* ===== UNIVERSAL ===== */

body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
}

h3 {
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 25px;
}

p {
    font-size: 16px;
    line-height: 2em;
    letter-spacing: .01em;
}

/* ===== PAGE ===== */

.site-content {
    padding: 40px 0;
}

.page-title-wrapper {
    margin-bottom: 70px;
}

.page-title {
    font-weight: 300;
    letter-spacing: .1em;
}

/* ===== NAVBAR ===== */

nav.navbar {
    position: absolute;
    padding: 0;
    z-index: 10;
}

button.navbar-toggle {
    background-color: rgba(255,255,255,0.8);
    border: none;
    outline: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
	position: relative;
}

button.navbar-toggle:hover {
    opacity: 1;
}

button.navbar-toggle:hover {
    cursor: pointer;
}

.navbar-brand {
	font-family: 'Montserrat', sans-serif;
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 10px 25px;
    margin: 0;
}

.navbar-nav {
    background:rgba(255,255,255, 0.6);
    padding: 25px;
}

.rotate {
    float: right;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.menu-item {
    padding: 10px 0;
}

.menu-item a {
    color: #000;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: .1em;
}

.menu-item a:hover {
    opacity: .7;
    text-decoration: none;
}

/* ===== HOMEPAGE ===== */
.homepageImgWrapper {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 97vh;
    max-height: 100%;
    position: relative;
}

/* ===== PROJECT LIST ===== */

.project-list__wrapper {
    display: flex;
    margin-bottom: 70px;
}

.project-list__text-wrapper {
    width: 45%;
    padding-right: 20px;
}

.project-list__title {
    text-transform: uppercase;
    font-size: 1em;
    font-weight: 700;
    margin-bottom: 10px;
}

.project-list__content {
    font-size: .9em;
    line-height: 1.6em;
}

.project-list__img-wrapper {
    width: 55%;
    height: auto;
    background-size: cover;
    cursor: pointer;
}

.project-list__img-wrapper:hover {
    opacity: .5;
}


/* ===== BLOG ===== */


/* Aside */

h2.widget-title {
    display: none;
}

.blog-wrapper {
    margin-top: 70px;
}

.blog-list,
ul {
    list-style: none;
}

.blog-list__title,
li {
    margin-bottom: 20px;
}

.blog-list__title:hover,
li a:hover {
    opacity: .4;
    text-decoration: none;
}

.blog-list__title h3,
li a {
    font-size: .9em;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    line-height: 1.4em;
}

.blog-list__wrapper {
    margin-bottom: 40px;
}

/* Article */
.blog__title,
.blog__author,
.blog__metadata,
.blog__content {
    font-size: .9em;
    letter-spacing: .01em;
    line-height: 2em;
}

.blog__title {
    text-transform: uppercase;
    font-weight: 700;
}

.blog__author {
    margin-bottom: 0;
}

/* ===== FOOTER ===== */

.footer {
    padding: 5px;
    border-top: 1px solid #000;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    font-size: .7em;
    text-transform: uppercase;
    margin-bottom: 0;
}

.credit-link {
    color: darkgrey;
}

.credit-link:hover {
    color: darkgrey;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #fff;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fff;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
  border: none;
}

.modal-content .mySlides {
    margin: 0 auto;
}

.modal-content .mySlides img{
    height: 100%;
    width: auto;
    max-width: 100%;
}

.modal-content.justify-content-center {
    background-color: #fff;
}

/* Modal */
.close {
  color: #000;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: 300;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  background-color: #000;
  height: 500px;
}

.mySlides img {
    width: 100%;
    height: 100%;
}

.cursor {
  cursor: pointer
}

.thumbnail {
    height: 200px;
}

.thumbnail-img {
    width: 100%;
    height: auto;
}

/* Next & previous buttons */
a.prev,
a.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  font-weight: bold;
  font-size: 2.5em;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

#myModal .arrows a.prev,
#myModal .arrows a.next {
    color: #000;
    font-size: 2.5em;
}

a.prev:hover,
a.next:hover {
    cursor: pointer;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

img {
  margin-bottom: -4px;
}

.caption-container {
  text-align: center;
  background-color: #fff;;
  padding: 2px 16px;
  color: white;
}

.demo {
  opacity: 1;
}

.active,
.demo:hover {
  opacity: 0.3;
}

img.demo.cursor {
    width: 10%;
    height: 60px;
    object-fit: cover;
    float: left;
    padding: 2px;
}

p#caption {
    display: none;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 400px) {
    
     /* ===== PROJECT LIST ===== */

    .mySlides {
        max-height: 100px;
    }
}

@media only screen and (max-width: 500px) {
    
     /* ===== PROJECT LIST ===== */

    .mySlides {
        max-height: 250px;
    }
}

@media only screen and (max-width: 600px) {
    
     input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
         width: 100%;
    }
    
    img.demo.cursor {
        height: 40px;
    }
	
	    .footer {
        padding: 10px 0;
    }
    
    .footer-container {
        display: block;
    }
    
    .footer-text {
        text-align: center;
    }
    
    .copyright {
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 800px) {
    
     /* ===== PROJECT LIST ===== */

    .mySlides {
        height: 300px;
    }
    
    .mySlides img {
        object-fit: cover;
    }
    
    a.prev,
    a.next {
      top: 30%;
      font-size: 2.5em;
    }
}

@media only screen and (max-width: 900px) {
    
     /* ===== GLOBAL ===== */
     
    .page-title-wrapper {
        margin-top: 70px;
    }
    
    /* ===== NAVBAR ===== */
    
    .navbar-nav {
    background:rgba(255,255,255, 0.95);
    }
    
    /* ===== HOMEPAGE ===== */
    .homepageImg {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        min-height: 100vh;
        max-height: 100%;
        position: relative;
    }    
}

/* SM Screen size */
@media only screen and (max-width: 992px) {
    
     /* ===== PROJECT LIST ===== */

    .project-list__wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .project-list__text-wrapper {
        width: 100%;
    }

    .project-list__img-wrapper {
        width: 100%;
        height: 300px;
    }
}
    

/* MD Screen size */
@media only screen and (max-width: 1200px) {
    
}

/* LG Screen size */
@media only screen and (min-width: 1201px) {
    
}