html {
	overflow-x: hidden;
  }
body {
	font-family: 'Lato', sans-serif;
	overflow-x: hidden;
}

.adjust-mobile-image a {
	max-width: 50%;
}


/* TO TOP BUTTON */
#toTop {
	display: none;
	text-decoration: none;
	position: fixed;
	bottom: 20px;
	right: 3%;
	overflow: hidden;
	z-index: 999;
	width: 40px;
	height: 40px;
	border: none;
	text-indent: 100%;
	background: #0d0d0d url(./img/move_up.png) no-repeat 11px 11px;
}

#toTopHover {
	width: 40px;
	height: 40px;
	display: block;
	overflow: hidden;
	float: right;
	opacity: 0;
	-moz-opacity: 0;
	filter: alpha(opacity=0);
}

.navBar {
	position: sticky;
	top: 0;
	height: 5rem;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	background-color: transparent;
	z-index: 5;
}

.navBar a {
	padding: 20px;
	color: white;
	cursor: pointer;
	display: inline-block;
	text-decoration: none;
}

.navBar a:last-child {
	padding-right: 40px;
}

.navBar a:after {
	content: '';
	display: block;
	height: 3px;
	width: 0;
	background: transparent;
	transition: width 0.5s ease, background-color 0.5s ease;
}

.navBar a:hover:after {
	width: 100%;
	background: white;
}
/* NAV-BAR CHANGING AFT MAIN SCREEN */
.past-main {
	background-color: white !important;
}
.past-main a {
	color: black !important;
}

.past-main a:hover:after {
	width: 100%;
	background: black !important;
}

.about-me h1,
.my-skills h1,
.my-projects h1 {
	font-size: 1.5rem;
}
/* LANDING SCREEN */

#main-screen {
	position: relative;
	top: -5rem;
	width: 100vw;
	height: 100vh;
	background-image: url('./img/lisbon.jpg');
	box-shadow: inset 100vw 100vh rgba(0, 0, 0, 0.349);
	background-repeat: no-repeat;
	background-position: center center;
	background-attachment: fixed;
	background-size: cover;
}

.name-works-contact {
	position: relative;
	height: 25rem;
	width: 34rem;
	font-size: 51px;
	color: #ffffff;
	top: calc(50vh - 13rem);
	margin-left: 5rem;
}

.yellow-text {
	color: #ffcb00;
	font-size: 71px;
	font-weight: 900;
}

.mw-button {
	text-decoration: none;
	display: inline-block;
	width: 45%;
	padding: 10px;
	text-align: center;
	border: 2px solid #ffffff;
	margin-right: 2%;
	font-size: 25px;
	color: white;
}

.mw-button:hover {
	text-decoration: none;
	color: white;
	background-color: rgba(255, 255, 255, 0.397);
	cursor: pointer;
}

.c-button {
	text-decoration: none;
	color: white;
	display: inline-block;
	width: 45%;
	padding: 12px;
	text-align: center;
	background-color: #ffcb00;
	font-size: 25px;
	font-weight: 900;
}

.c-button:hover {
	text-decoration: none;
	color: white;
	background-color: #ffc831f6;
	cursor: pointer;
}

/*  WHO I AM SECTION */
.wia-header {
	margin-top: 1rem;
	font-size: 1.5rem;
	font-weight: 900;
	text-align: center;
	color: black;
}

.yellow-underline {
	color: #ffcb00;
	border-bottom: 3px #ffcb00 solid;
	border-radius: 1px;
}

.my-projects p,
.my-projects h3,
.img-centering,
.my-projects h1,
.my-skills h1 {
	text-align: center;
}
.about-me h1 {
	padding-top: 3rem;
	font-size: 1.5rem;
	font-weight: 900;
	color: black;
}
.about-me h2 {
	font-size: 1.2rem;
	font-weight: 900;
	padding: 1.5rem 5rem 1rem 0rem;
}

.about-me p {
	font-size: 0.8rem;

	line-height: 1.5;
	padding: 0 20vw 0 0;
}

.about-me img {
	width: 90%;
	max-width: 285px;
	padding-top: 2rem;
}
.my-skills {
	background-color: #fafafa;
	height: 20rem;
}
.margin-adjusts {
	margin: 2rem;
}
.my-skills h1 {
	padding: 2rem 2rem 1rem 2rem;
}

.my-skills p {
	font-size: 0.6rem;
	margin-bottom: 0.5rem !important;
	font-weight: 900;
}

.bar-adjustments {
	height: 0.5rem;
	width: 95%;
	margin-bottom: 2rem;
}

.bar-padding-left{
	padding-left: 10rem;
}

.bar-padding-right{
	padding-right: 10rem;
}
.my-projects h3 {
	font-size: 1rem;
	padding-top: 2.5rem;
	/* padding-bottom: 2rem; */
	font-weight: 900;
}
.my-projects img:hover {
	box-shadow: 0 3px 4px 0 #a7a7a7;
	transform: scale(1.1);
}

.my-projects-underline{
	border-bottom: 3px #ffc800 solid;
	border-radius: 1px;
	padding-bottom: 5px;
	transition: width 0.5s ease, background-color 0.5s ease;
}

.test-line{
	background-color: #ffc800;
	border-radius: 1px;
	height: 3px;
	width: 100px;
	margin:0.5rem auto 2rem auto;
	/* transition: width 0.5s ease, background-color 0.5s ease; */

}

.title-test-line, .title-test-line-2, .title-test-line-3, .title-test-line-4{
	background-color: #ffc800;
	border-radius: 1px;
	height: 3px;
	width: 30px;
}

.title-test-line{
	margin:-0.3rem 4rem 0;
}

.title-test-line-2{
	margin:-1.3rem auto 3rem;
}

.title-test-line-3{
	margin: -0.2rem auto 0;
}

.title-test-line-4{
	margin: -3.3rem auto 4rem;
}


/* EXPERIENCE */

.my-experience img{
	width: 25rem;
	padding-right: 3rem;
	margin-bottom: 2rem;
	padding-left:5rem;
	min-width: 285px;
}

.img-right{
	text-align:right;
}

.my-experience p{
	padding-right: 14rem;
	color: rgb(32, 32, 32);
}

.my-experience h1{
	padding: 3rem;
}

.exp-des{
	font-size:0.9rem;
	margin-bottom: 3rem;
}

.exp-date, .exp-company, .exp-position{
	font-weight: 900;
	line-height:1;
}

.exp-date{
	font-size: 0.8rem;
}

.exp-position{
	color: #ffc800 !important; 
	font-weight: 900;
}

.empty-space{
	height: 10rem;
}


/* DESIGN & FRONT-END BUTTONS FOR COLLAPSE */
.design-frontEnd {
	display: flex;
	justify-content: center;
}
.design-frontEnd span {
	padding: 10px;
	border-radius: 3px;
	margin: 0 5px 0 5px;
	display: inline-block;
	cursor: pointer;
	border: 1px rgb(56, 56, 56) solid;
}

.design-frontEnd span:hover {
	background-color: #ffc800;
	color: white;
}

.border-imgs {
	border: 2px solid #fafafa;
}

.contact-me {
	text-align: center;
	height: 10rem;
}

.fix-mobile {
	display: flex;
	margin-top: 2rem;
	margin-bottom: 6rem;
}


@media screen and (max-width: 991px){ 
	.name-works-contact {
		width: 30rem;
		margin-left: 2rem;
		top: 20rem;
		font-size: 30px;
	}
	.my-experience p{
		padding: 0 8rem;
	}
	.my-experience img{
		padding: 1rem 0 0 0;
	}
	.my-experience, .img-right{
		text-align: center;
	}
	.my-experience img{
		width: 40rem;
	}
}

@media screen and (max-width: 768px){
	/* .name-works-contact {
		top: 30rem;
	} */
	.my-experience img{
		width: 30rem;
	}
}

@media screen and (max-width: 675px) {
	#toTop {
		right: 8%;
	}

	.name-works-contact {
		width: 94%;
		margin-left: 3%;
		top: 5%;
		font-size: 30px;
	}
	.yellow-text {
		font-size: 51px;
	}
	.mw-button,
	.c-button {
		font-size: 18px;
		max-width: 155px;
	}

	.about-me, .my-experience p {
		text-align: center;
	}
	.about-me p,
	.my-projects p {
		font-size: 1rem;
		line-height: 1.5;
		padding: 0 2rem;
	}
	.about-me h1 {
		padding-top: 0;
		/* padding: 1rem; */
	}
	.about-me h2 {
		padding-right: 0;
	}
	.pad-adjusts {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.my-experience p, .my-experience img{
		padding: 0;
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}

	.my-experience img{
		width:100%;
	}

	.title-test-line{
		margin: auto;
	}
}

@media screen and (max-width: 575px) {
	.fix-mobile {
		display: block;
		font-size: 1rem !important;
		margin-bottom: none;
	}
	.adjust-margin {
		margin: 2rem !important;
	}

	.adjust-margin:first-child {
		margin-top: 2.5rem !important;
	}
	.adjust-margin:last-child {
		margin-bottom: 6rem !important;
	}
}

@media screen and (max-width: 545px) {
	.navBar {
		justify-content: space-evenly;
	}
	.navBar a, .navBar a:last-child{
		padding: 15px;
	}

	#main-screen {
		background-image: url('./img/lisbon-mobile.jpg');
		position: relative;
	}

	.name-works-contact {
		top: calc(100vh - 16rem);
		margin-left: 6%;
		height: 16rem;
	}
	.my-skills {
		background-color: #fafafa;
		height: 30rem;
	}
	.adjust-mobile-image a {
		max-width: 100% !important;
	}

	.adjust-mobile-image img {
		padding: 0 15px;
	}
}
