:root {
  --accent-color: #6767ff;
  --page-color: #ebebeb;
  --border-color: #ffffff;
}

html {
  font-size: 62.5%;
  margin-top: 0px !important;
  scroll-behavior: smooth;
}
body {
  height: 100%;
  font-size: 1.3rem;
  font-family: "Lato", sans-serif;
  color: #1c1b20;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
body.loading {
  overflow: hidden;
}
body.loading > * {
  pointer-events: none;
}
/*--Headings-------------------------------------------------------------------------------------------------------------------*/
h1 {
  font-family: "Gilroy", sans-serif;
  font-weight: 900;
  margin: auto;
  text-transform: uppercase;
  position: relative;
  font-size: clamp(5.5rem, -0.875rem + 8.333vw, 20rem);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90vh;
}
h2 {
  font-family: "Gilroy", sans-serif;
  font-weight: 900;
  margin: 0px;
  text-transform: uppercase;
  font-size: clamp(4rem, -0.875rem + 8.333vw, 8rem);
}
h3 {
  font-family: "Gilroy", sans-serif;
  font-weight: 800;
  margin: 0px;
  margin-bottom: 0px;
  font-size: clamp(1rem, -0.875rem + 8.333vw, 3.5rem);
}
h4 {
  font-family: "Gilroy", sans-serif;
  font-weight: 900;
  margin: 0px;
  margin-bottom: 0px;
  
  font-size: clamp(0.2rem, -0.875rem + 8.333vw, 3.5rem);
}

/*--Linkedn Facebook Github----------------------------------------------------------------------------------------------------*/
header.header .list-socials {
  padding: 0px;
  margin: auto;
  list-style: none;
  position: fixed;
  top: 50%;
  right: clamp(20px, 3vw, 30px);
  z-index: 500;
  transform: translate(50%, -50%);
  transition: transform 500ms cubic-bezier(0.7, 0, 0.3, 1) 0ms;
}
.list-socials li a {
  line-height: 50px;
  display: block;
  text-align: center;
}
.list-socials li a .icon {
  display: inline-block;
  vertical-align: middle;
}
.list-socials li a .icon img {
  width: clamp(30px, 3vw, 40px);
  height: clamp(30px, 3vw, 40px)
}
.list-socials li a .icon img:hover {
  transform: scale(1.2);
}

/*--White edge borders---------------------------------------------------------------------------------------------------------*/
.borders > * {
  position: fixed;
  z-index: 100;
  background: #ffffff;
  height: 20px;
  width: 20px;
  pointer-events: none;
  transition: transform 500ms cubic-bezier(0.7, 0, 0.3, 1) 0ms;
  transform-origin: center center;
  transform: translate(0, 0) scale(1);
}
.borders > *.top {
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(40px, 3vw, 60px);
  transform-origin: top center;
}
.borders > *.bottom {
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(40px, 3vw, 60px);
  transform-origin: bottom center;
}
.borders > *.right {
  top: 0;
  right: 0;
  width: clamp(40px, 3vw, 60px);
  height: 100%;
  transform-origin: right center;
}
.borders > *.left {
  top: 0;
  left: 0;
  width: clamp(40px, 3vw, 60px);
  height: 100%;
  transform-origin: left center;
}
.page {
  position: relative;
  min-height: 100vh;
  z-index: 10;
  overflow: hidden;
  transition: transform 1000ms cubic-bezier(1, 0, 0, 1) 0ms,
    padding 500ms cubic-bezier(1, 0, 0, 1) 0ms;
}

/*--Left side of the intro-----------------------------------------------------------------------------------------------------*/
.page-color {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}
.page-home .page-color {
  background: var(--page-color);
  left: 50%;
}

/*--Home page------------------------------------------------------------------------------------------------------------------*/
.page-home .page > * {
  position: relative;
  z-index: 10;
}
.page-home.showMyname section.myname > *:not(.myname-scrolldown) {
  transform: translateX(0%);
}
.page-home.showMyname section.myname .myname-scrolldown {
  opacity: 1;
  transform: rotate(-90deg) translateY(-60px);
}
.page-home.showMyname header.header .scrolldown {
  bottom: -100px;
}
.page-home section.myname {
  position: relative;
  z-index: 2 !important;
}

/*--Scrolldown text & arrow----------------------------------------------------------------------------------------------------*/
.page-home section.myname .myname-scrolldown {
  position: absolute;
  z-index: 9;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  bottom: 110px;
  left: 50%;
  z-index: 101 !important;
  margin-bottom: 30px;
}
.page-home section.myname .myname-scrolldown > * {
  display: inline-block;
  vertical-align: middle;
}
.page-home section.myname .myname-scrolldown > .txt {
  font-weight: 700;
  font-size: clamp(12px, 1vw, 15px);
  margin-left: 10px;
  color: white;
}
.page-home section.myname .myname-scrolldown > .txt span {
  display: inline-block;
  transition: transform 400ms cubic-bezier(0.7, 0, 0.3, 1) 0ms;
  transform: translateX(5px);
}
.page-home section.myname .myname-scrolldown .arrow {
  animation: bounce 800ms cubic-bezier(0.7, 0, 0.3, 1) infinite alternate;
}
.page-home section.myname .myname-scrolldown .arrow svg path {
  fill: white;
}
/* Makes the arrow of the scroll text bounce up and down */
@keyframes bounce {
  from {
    transform: translateX(0px);
  }
  to {
    transform: translateX(10px);
  }
}

/*--Luca Rottiers--------------------------------------------------------------------------------------------------------------*/
.page-home section.myname {
  position: fixed;
  left: 0px;
  right: 0px;
  height: 100vh;
}
.page-home section.myname h1 .console-container {
  font-family: "Gilroy", sans-serif;
  color: black;
  z-index: -1;
  white-space: nowrap;
}
.page-home section.myname h1 .console-container.hide {
  opacity: 0;
}
.page-home section.myname h1 .console-container.show {
  opacity: 1;
}
.page-home section.myname h1 .console-underscore {
  display: inline-block;
  position: relative;
  top: -0.14em;
  left: 10px;
}

/*--Preambule------------------------------------------------------------------------------------------------------------------*/
.page-home section.preambule {
  display: flex;
  box-align: center;
  align-items: center;
  background: #6767ff;
  width: 100%;
  height: 100vh;
}
.page-home section.preambule .block-title .qualities-container {
  display: flex;
  margin: 20px;
}
.page-home section.preambule .block-title .qualities-container .qualities {
  font-family: "Roboto Mono", monospace;
  font-size: 30px;
  color: var(--border-color);
}
.dud {
  color: var(--border-color);
}


/*--Intro with qualities and about me------------------------------------------------------------------------------------------*/
.block-title {
  padding: 10vw;
  display: flex;
  width: 100%;
}
.block-title .block-title-text {
  padding: 5vw; 
}

.block-title .block-title-text .aboutme {
  text-align: justify;
  font-size: clamp(1.5rem, 1vw, 2rem);
  color: var(--border-color);
}
.block-title .profile-picture-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.block-title .profile-picture-container .profile-picture {
  height: clamp(300px, 25vw, 500px);
  width: clamp(300px, 25vw, 500px);
}

@media (max-width: 750px){
  .block-title {
    flex-wrap: wrap-reverse;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/*--Cross Section--------------------------------------------------------------------------------------------------------------*/
.padding {
  padding: 100px 10vw;
}

.container {
  padding: 2rem;
  padding-bottom: 20rem;
  margin: auto;
  max-width: 120rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-home section.skills, .page-home section.projects, .page-home section.soft-skills {
  background: var(--page-color);
}
.page-home h2 .dot {
  color: var(--accent-color);
}

/*--Projects Section-----------------------------------------------------------------------------------------------------------*/
.page-home .project-banner-container {
  background: var(--page-color);
  background-image: url(https://lucarottiers.github.io/eportfolio/img/interconnection-services-scaled.jpg);
  min-height: 500px; 
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.projects .container .timeline {
  position: relative;
  min-height: 15rem;
}
.projects .container .timeline .line {
  background-color: black;
  position: absolute;
  z-index: 2;
  left: calc(50% - 1px);
  width: 2px;
  top: -5rem;
  bottom: -5rem;
  display: none;
}
.projects .container .timeline .line::before,
.projects .container .timeline .line::after {
  background-color: var(--color-black);
  position: absolute;
  display: block;
  content: "";
  height: 2rem;
  width: 2rem;
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
}
.projects .container .timeline .line::after {
  bottom: 0;
}
.projects .container .timeline .section {
  display: flex;
  opacity: 0;
  transform: translateX(-100%);
  transition: 600ms ease;
  position: relative;
  z-index: 1;
  margin: 5rem 0;
  padding: 1rem;
  border-radius: 1rem;
  background-color: transparent;
  align-items: center;
  min-height: 30rem;
}
.projects .container .timeline .section .date {
  font-family: "Roboto Mono", monospace;
  font-weight: bold;
  font-size: 20px;
  color: var(--accent-color);
}
.projects .container .timeline .section:nth-child(odd) {
  flex-direction: row-reverse;
  transform: translateX(100%);
  text-align: left;
}
.projects .container .timeline .section:nth-child(even) {
  text-align: right;
}
.projects .container .timeline .section .bead {
  position: absolute;
  display: block;
  height: 1rem;
  width: 1rem;
  border-radius: 50%;
  background-color: black;
  left: 50%;
  top: 25%;
  transform: translateX(-50%);
}
.projects .container .timeline .section .content {
  width: calc(50% - 2rem);
}
.projects .container .timeline .section .content p {
  text-align: justify;
  text-justify: inter-word;
}
.projects .container .timeline .section:nth-child(even) .content p {
  text-align-last: right;
}
.projects .container .timeline .show-me:nth-child(n) {
  transform: none;
  opacity: 1;
}
/*--Soft Skills Section--------------------------------------------------------------------------------------------------------*/
.page-home .soft-skills-banner-container {
  background: var(--page-color);
  background-image: url(https://lucarottiers.github.io/eportfolio/img/softskills.jpg);
  min-height: 500px; 
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


/*--Skills Section-------------------------------------------------------------------------------------------------------------*/
.page-home .skills-banner-container {
  background: var(--page-color);
  background-image: url(https://lucarottiers.github.io/eportfolio/img/istockphoto-1271408351-170667a.jpeg);
  min-height: 500px; 
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-gap: 20px;
  align-items: stretch;
}
.grid > article {
  border: 1px solid var(--page-color);
  box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.3);
  text-align: center;
}
.grid > article img {
  max-width: 100%;
}
.grid > article i {
  font-size: 48px;
  line-height: 80px;
  height: 80px;
  width: 80px;
  border: 6px solid var(--border-color);
  border-radius: 20%;
  background-color: var(--accent-color);
  text-align: center;
  color: var(--border-color);
  margin-top: -36px;
}
.grid .text {
  padding: 16px 20px 30px;
  
}
.grid .text p {
  height: 100px;
  text-align: justify;
  text-justify: inter-word;
  text-align-last: center;
}
.grid .barline {
  background: #c8d6e5;
  border-radius: 20px;
  margin-top: 10vh;
}
.grid .barline .countbar {
  height: 12px;
  background: var(--accent-color);
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  position: relative;
}
.grid .barline .countbar h3 {
  position: absolute;
  right: -19px;
  top: -35px;
  background: var(--accent-color);
  padding: 4px 6px;
  font-size: 16px;
  font-weight: 400;
  color: var(--border-color);
  border-radius: 5px;
}
.grid .barline .countbar h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 11px;
  height: 11px;
  background: var(--accent-color);
  transform: rotate(45deg) translateX(-60%);
}

/*--Footer---------------------------------------------------------------------------------------------------------------------*/
footer.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  padding-bottom: 50px;
  background-color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn {
	line-height: 50px;
	height: 50px;
  margin: 50px 0px;
	text-align: center;
	width: clamp(200px, 1vw, 350px);
	cursor: pointer;
	color: var(--border-color);
	transition: all 0.5s;
	position: relative;
}
.btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background-color: #ffffff1a;
	transition: all 0.3s;
}
.btn:hover::before {
	opacity: 0 ;
	transform: scale(0.5,0.5);
}
.btn::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	opacity: 0;
	transition: all 0.3s;
	border: 1px solid #ffffff80;
	transform: scale(1.2,1.2);
}
.btn:hover::after {
	opacity: 1;
	transform: scale(1,1);
}

