#services.projeto1 {
  height: fit-content;
  background:#3D211E;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
} 
html {
	overflow-x:hidden;
	max-width: 100vw;
}
body {
  background:#3D211E;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow-x:hidden;
	max-width: 100vw;
}

#services {
  background: #fff;
  background-size: cover;
  padding: 80px 0 60px 0;
  

}

.link {

	color: blue;
	text-decoration: underline;
	transition: all 300ms ease-in-out;
  
  }
  
  .link:hover {
	
	color: rgb(135, 135, 209);
	text-decoration: underline;
  }
  

#services .containe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.description { 
  font-family: "Open Sans", sans-serif;
  color: #3D211E;
  padding: 0 2rem;
  
}


a.other {
  position: relative;
  bottom: 30px;
  right: 20px;
}

a {
	color: #F7E9D9;
	font-size: 0.95rem;
	transition: all 300ms ease-in-out;
}
#services ion-icon.other {
  font-family: "Open Sans", sans-serif;
  color: #3D211E;
  padding: 0 2rem;
  position: relative;
  bottom: 30px;
  right: 20px;
	z-index: 2;
}

.author p {
	font-family: 'Open Sans', sans-serif;
	position: relative;
	top: 3rem;
	right: 0rem;
	font-size: 12px;
	font-style: italic;
}

#services  {
	border-radius: 15px;
}

#services .box2 {
  margin-bottom: 5rem;
  border: 2px solid #F7E9D9;
  border-radius: 2%;
  padding: 2rem;
  width: 30rem;
}

@media (max-width: 500px) {
	.description {
		padding: 0;
	}


	
}

@media (max-width: 370px) {
	#services .box2 {
		padding: 2rem 1rem;
	}


	
}


#services .icon {
  position: relative;
  top: -66px;
  left: calc(50% - 36px);
  transition: 0.2s;
  border-radius: 50%;
  border: 6px solid #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  width: 72px;
  height: 72px;
  background: white;
}
#services ion-icon {
  position: relative;
  top: calc(10%);
  font-size: 34px;
  color: white;
}
#services .icon a {
  display: inline-block;
}

#services .icon i {
  color: #fff;
  font-size: 24px;
}


#services .box:hover .icon {
  background: #fff;
  color: #F7E9D9;
  border: 2px solid #F7E9D9;
}

#services .box:hover .icon i {
  color: #F7E9D9;
}
#services .box:hover .icon ion-icon {
  color: #F7E9D9;
}

#services .box:hover .icon a {
  color: #F7E9D9;
}

#services .title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

#services .title a {
  color: #111;
}

#services .description {
  font-size: 14px;
  line-height: 24px;
}
@media (max-width: 605px) {

	#services .box2 {
		position: relative;
		width: 90%;
		left: 5%;
	}
	
	#services p.description {
		font-size: .8rem;
		line-height: 24px;
	}
	
	

}
.box-title {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: #3D211E;
}


.spacer {
  padding: 2rem;
}

/* Nav Menu Essentials */
.nav-menu-two {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2rem
}


.nav-menu-two, .nav-menu-two * {
  margin: 0;
  padding: .63rem 0;
  list-style: none;

}

h3 {
  color: white;
  font-family: "Poppins", sans-serif;
  text-align: center;
  font-weight: 600;
  margin: 0 0 40px 0;
  padding: 0 0 40px 0;
  
 }

.nav-menu-two > li {
  float: left;
	transition: all 300ms ease-in-out;

	
}
.nav-menu-two a {
	transition: all 150ms ease-in-out;
	
}
.nav-menu-two li {
	width: 12rem;
	height: 5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border: 5px solid blue;
}

.nav-menu-two li.seg1 {
	border-color: rgb(157, 175, 240);
}

.nav-menu-two li.seg2 {
	border-color: rgb(108, 128, 210);
}

.nav-menu-two li.seg3 {
	border-color: rgb(69, 86, 153);
}

@media (max-width: 1025px) {

	.nav-menu-two li {
		width: 8rem;
		height: 5rem;
		font-size: .8rem;
	}

	
}

@media (max-width: 475px) {

	.nav-menu-two li {
		width: 5rem;
		height: 4rem;
		font-size: .6rem;
	}
	.box-project {
		padding: 50px 10px;
		max-width: 90vw;
		}

	
}
@media (max-width: 400px) {

	.box-project {
		
		margin-left: 1rem;
		}

	
}
.nav-menu-two a:hover {
   color: rgb(45, 45, 130);
}
.box-nav {
	margin-bottom: 5rem;
}
#services .box {
  padding: 50px 20px;
  margin-bottom: 50px;
  text-align: center;
  border: 1px solid #e6e6e6;
  height: 600px;
  position: relative;
  background: #fafafa;
  border-radius: 5%;
}

.box-project {
  padding: 50px 20px;
  margin-bottom: 50px;
  text-align: center;
  height:  fit-content;
  border-radius: 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
  background: #fafafa;
}
@media (min-width: 800px) {
	.box-project {
		
	max-width: 90vw;
	}
}

.topic {
	font-size: 1.2rem;
	font-weight: 550;
}


.abordagem {
}
.box-thanks {
  color: #3D211E;
	font-size: 2rem;
}
.box-theme 
{
	color: #3D211E;
	text-align:  center;
}
/* MAIL */

.letter-image {
	position: absolute;
	top: 12rem;
	left: 50%;
	width: 200px;
	height: 200px;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	cursor: pointer;
}
.letter-spacis {
	margin-bottom: 230px;
}

.animated-mail {
	position: absolute;
	height: 150px;
	width: 200px;
	-webkit-transition: .4s;
	-moz-transition: .4s;
	transition: .4s;
	
	.body {
		position: absolute;
		bottom: 0;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 0 0 100px 200px;
		border-color: transparent transparent #e95f55 transparent;
		z-index: 2;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.top-fold {
		position: absolute;
		top: 50px;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 50px 100px 0 100px;
		-webkit-transform-origin: 50% 0%;
		-webkit-transition: transform .4s .4s, z-index .2s .4s;
		-moz-transform-origin: 50% 0%;
		-moz-transition: transform .4s .4s, z-index .2s .4s;
		transform-origin: 50% 0%;
		transition: transform .4s .4s, z-index .2s .4s;
		border-color: #cf4a43 transparent transparent transparent;
		z-index: 2;
	}
	
	.back-fold {
		position: absolute;
		bottom: 0;
		width: 200px;
		height: 100px;
		background: #cf4a43;
		z-index: 0;
	}
	
	.left-fold {
		position: absolute;
		bottom: 0;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 50px 0 50px 100px;
		border-color: transparent transparent transparent #e15349;
		z-index: 2;
	}

	.letter {
		left: 20px;
		bottom: 0px;
		position: absolute;
		width: 160px;
		height: 60px;
		background: white;
		z-index: 1;
		overflow: hidden;
		-webkit-transition: .4s .2s;
		-moz-transition: .4s .2s;
		transition: .4s .2s;
		
		.letter-border {
			height: 10px;
			width: 100%;
      background: repeating-linear-gradient(
        -45deg,
        #cb5a5e,
        #cb5a5e 8px,
        transparent 8px,
        transparent 18px
      );
		}
		
		.letter-title {
			margin-top: 10px;
			margin-left: 5px;
			height: 10px;
			width: 40%;
			background: #cb5a5e;
		}
		.letter-context {
			margin-top: 10px;
			margin-left: 5px;
			height: 10px;
			width: 20%;
			background: #cb5a5e;
		}
		
		.letter-stamp {
			margin-top: 30px;
			margin-left: 120px;
			border-radius: 100%;
			height: 30px;
			width: 30px;
			background: #cb5a5e;
			opacity: 0.3;
		}
	}
}

.shadow {
	position: absolute;
	top: 200px;
	left: 50%;
	width: 400px;
	height: 30px;
	transition: .4s;
	transform: translateX(-50%);
	-webkit-transition: .4s;
	-webkit-transform: translateX(-50%);
	-moz-transition: .4s;
	-moz-transform: translateX(-50%);
	
	border-radius: 100%;
	background: radial-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.0), rgba(0,0,0,0.0));
}

	.letter-image:hover {
		.animated-mail {
			transform: translateY(50px);
			-webkit-transform: translateY(50px);
			-moz-transform: translateY(50px);
		}
		
		.animated-mail .top-fold {
			transition: transform .4s, z-index .2s;
			transform: rotateX(180deg);
			-webkit-transition: transform .4s, z-index .2s;
			-webkit-transform: rotateX(180deg);
			-moz-transition: transform .4s, z-index .2s;
			-moz-transform: rotateX(180deg);
			z-index: 0;
		}
		
		.animated-mail .letter {
			height: 180px;
		}
		
		.shadow {
			width: 250px;
		}
	}



  /* modal */

  /* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 10000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6)), url(../img/pag4livro.png);
  background-size: cover;	
  background-position: center calc(100% + 100px);
	background-repeat: no-repeat;
  margin: 20% auto; /* 15% from the top and centered */
  padding: 10px;
  border: 1px solid #888;
  width: 90%; /* Could be more or less, depending on screen size */
  min-height: 90vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-self: center;
}

.modal-content p {
	max-width: 80%;
	font-weight: 550;
}

.modal-content ol {
	max-width: 80%;
	font-weight: 550;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
