/*----------------- FONTS ----------------*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Great+Vibes&display=swap');

/*----------------- END OF FONTS ----------------*/

/*------------------ ROOT --------------*/

:root {
  --dm: "DM Sans", sans-serif;
  --gv: "Great Vibes", cursive;
  --black: #000000db;
}

/*------------------ END OF ROOT --------------*/

body {
    font-family: var(--dm);
	font-size: 16px;
    font-weight: 400;
    margin: 0;
    
    /*top: 50%;*/
    position: absolute;
    width: 100%;
    /*transform: translateY(-50%);*/
    color: var(--black);
}

p {
	margin-top: 5px;
	margin-bottom: 8px;
	line-height: 1.4;
}

i {
  font-style: oblique;
}


a {
	text-decoration: none;
	color: var(--black);
	transition: all ease 0.5s;
}


h1 {
	font-size: 26px;
	font-weight: 700;
	margin-bottom: 0;
	margin-top:0;
}



h3 {
	margin: 0;
	font-weight: 600;
	font-size: 30px;
	padding-bottom: 15px;
	margin-bottom: 20px;
	border-bottom: solid var(--black);
	line-height: 1;
	letter-spacing: 0;
}



/*  */
/* HEADER */
/*  */

.home .site-header,
.home .site-footer {
    display: none;
}

.top {
    padding: 30px;
  margin-bottom: 30px;
}
.topflex {
    display: flex;
  justify-content: space-between;
  align-items: center;
}
.voltar a,
.voltar2 a,
.menu a {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
}
p.email,
.email {
  margin: 0;
}


.menu {
    display: flex;
}

.menu li {
    list-style-type: none;
    padding-left:30px;
}


.post-type-archive-design .menu-item-128 a{
	color: white;
	background-color: var(--black);
	border: none;
}

.post-type-archive-web .menu-item-126 a{
	color: white;
	background-color: var(--black);
	border: none;
}

.post-type-archive-photo .menu-item-125 a{
	color: white;
	background-color: var(--black);
	border: none;
}


/*  */
/* FIM HEADER */
/*  */

/**/
/* HOME */
/**/


.home .main {
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#primary.site-main.main div{
	padding: 20px
}

.home h1 {
	margin: 0;
	font-weight: 600;
	font-size: 30px;
	padding-bottom: 5px;
	border-bottom: solid var(--black);
	line-height: 1;
	letter-spacing: 0;
}

.home h2 {
    font-family: var(--gv);
    Font-size: 4rem;
    font-weight: 100;
    margin: 0;
    margin-left: -40px;
    margin-top: 30px;
}

.home a:hover,
.menu a:hover {
	transition: all ease 0.5s;
	color: white;
	background-color: var(--black);
	border: none;
}


.linkimg {
	border-bottom: none;
	padding-top: 50px;
	display: block;
}

.linkimg:hover {
	border-bottom: none;
	background-color: white;
}

.email {
	margin-top: 14px;
	margin-bottom: 10px;
}

.cv {
	margin-top: 10px;
}

.title {
	margin-top: 50px;
	border-bottom: solid var(--black);
	padding-bottom: 5px;
}

.hide {
	display: none;
}

/**/
/* ARCHIVE */
/**/

.archive .site-main {
    display: flex;
    width: 100%;
/*     padding: 30px; */
}

.archive .site-main nav {
	padding: 30px;
}

.post-type-archive-web article.type-web,
.projetos-grid article {
    margin-top: 7px;
    margin-bottom: 7px;
}

.archive-description {
    margin-top: 30px;
    max-width: 300px;
}




/*  */
/* PROJECTS */
/*  */

article {
    overflow-x: hidden;
}

.left a {
    text-decoration: underline;
    font-weight: 700;
}

h2.wp-block-heading {
    margin-top: 30px;
    font-size: 20px;
}
.wp-block-list li {
    padding-bottom: 5px;
    line-height: 1.4;
}

.categorias {
    margin-bottom: 20px;
    line-height: 1.6;
}

.categorias a {
    background-color: var(--black);
    color: white;
    padding: 0px 5px;
    text-decoration: none;
    font-weight: 300;
    display: inline-block;
    margin-bottom: 3px;
}

.main {
  display: flex;
  width: 100%;
/*   padding: 30px; */
}
.left {
  width: 25%;
	padding-left: 30px;
}
.right {
  width: 75%;
  padding-left: 20px;
}

.right ul {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    margin: 0 !important;
    padding-inline-start: 0;
}


	
nav {
      display: flex;
    flex-direction: column;
}

nav a,
.content-project h2 {
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
}

nav a img {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 400px;
  width: auto;
  opacity: 0;
  pointer-events: none;
}
nav a:hover img {
  opacity: 1;
}

img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.images {
  display: flex;
}

.right ul > li:not(:last-child) {
  margin-left: 1%;
  margin-bottom: 1%;
}
.right:not(:first-child) {
  margin-top: 1%;
  margin-bottom: 1%;
}

.iphoneh { flex: 1.3333; }
.iphonev { flex: 0.7507; }
.canonh { flex: 100%; }
.canonv {flex: 49%;}
.half {flex: 49%;}
.third {flex: 32%;}
.third-small {flex:11.3%;}
.full {flex: 100%;}
.margin-auto {margin-left: auto; margin-right: auto !important;}


.modal-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color:  rgba(0, 0, 0, 0.75);
}

.modal-close {
  position: fixed;
  right: 0;
  top: 0;
  color: white;
  padding: 20px 25px;
}

.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 600px;
  max-height: 100vh;
  width: 90%;
  width: fit-content;
  display: flex;
  justify-content: center;
}
.modal-content img {
  max-height: 100vh;
  width: auto;
  max-width: 90vw;
}

.modal {
  display: none;
}



/**/
/* FOOTER */
/**/

.voltar {
  padding: 20px 30px;
  bottom: 0;
  position: fixed;
}
.voltar2 {
  padding: 20px 30px;
  display: none;
}

.voltar img,
.voltar2 img {
    width: 50px;
}


/**/
/* FIM FOOTER */
/**/


/**/
/* RESPONSIVE */
/**/

@media (max-width:800px) {
	.main {
		display: block;
	}
	article {
		padding: 30px;
	}
	.left {
		width: 100%;
		padding-left: 0px;
	}
	.right {
		width: 100%;
		padding: 30px 0 ;
		margin-left: -1%;
	}
	.voltar {
		display: none;
	}
	.voltar2 {
		display:  block;
	}
}

@media (max-width:500px) {
	article {
		padding: 0;
	}
	
	.main,
	.top,
	.voltar {
		padding: 10px;
	}
	.topflex {
		display:block;
	}
	.menu {
		flex-wrap: wrap;
		line-height: 1.5;
		padding-left: 0;
	}
	.menu li {
		padding-left: 0;
		padding-right: 15px;
	}
	.post-type-archive .site-main {
		width: auto;
		padding:10px;
	}
	.voltar,
	.voltar2 {
		padding:10px;
		margin-top: 30px;
	}
	nav a:hover img {
	  opacity: 0;
	}   
	
	.main {
		width: auto;
	}
	.main .left {
		padding-left: 0;
	}

	.hentry .main {
		display: flex;
		flex-direction: column-reverse;
	}
	.third {
		flex: 49%;
	}
	.third.third-small {
		flex: 11.5%;
	}
	.third-medium {
		flex: 22%;
	}
	.full {
		margin-right: 0 !important;
	}
	.margin-auto.half {
		margin-right: 1% !important;
	}
	.topflex h1 {
		margin-top: 30px;
	}


	.images {
		display: block;
	}
	.images>div {
		margin: 15px 0;
	}
	.images > div:not(:last-child) {
		margin-right: 0;
	}
	
	.right {
		margin-left: 0;
	}
	
	.right ul {
		margin-left: -1% !important;
	}
	
}