@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;700&display=swap');

/* CSS RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
html {
  height: 100%;
  min-height: 100%;
  scroll-behavior: smooth !important;
}
body {
  line-height: 1;
  height: 100%;
  min-height: 100%;
  padding: 24px;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  background-color: #141414;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.wrapper {
  position: relative;
  min-height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 90px 60px 30px;
  border-radius: 24px;
  box-sizing: border-box;
  color: #ffffff;
  background: linear-gradient(-45deg, #718393, #e79081);
	background-size: 200% 200%;
	animation: gradient 7s ease infinite;
}

.wrapper .left, .wrapper .right {
  display: grid;
  grid-template-rows: 1fr 60px;
  grid-template-columns: 1fr;
  grid-gap: 60px;
  justify-content: space-between;
}

.wrapper .left {
  padding-right: 36px;
  box-sizing: border-box;
}

.main-header {
  font-size: 30px;
  letter-spacing: -1.2px;
  line-height: 1.2;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
}

.description {
  font-size: 18px;
  font-family: 'Inter', sans-serif;
  margin-top: 24px;
  max-width: 440px;
  font-size: 16px;
  font-weight: 300;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.63;
  letter-spacing: normal;
}

.description .display-desktop {
  display: inline-block;
}
.description .display-device {
  display: none;
}

.experience, .achievings {
  font-size: 16px;
}

.experience > ul, .achievings > ul {
  margin-top: 24px;
  list-style-type: '- ';
}

.experience > ul > li, 
.achievings > ul > li {
  margin-top: 24px;
}

.experience > ul > li > .company {
  margin-top: 5px; 
  line-height: 20px;
  font-size: 16px;
  font-weight: 300;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
}

.experience > ul > li > .position {
  font-size: 16px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
}

.achievings > ul > li {
  font-size: 16px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
}

.right > main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 30px;
}

.right > footer {
  display: flex;
  justify-self: flex-end;
}

.scroll-btn {
  background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  min-height: 30px;
}

.scroll-btn > svg {
  margin-left: 10px;
  animation: jumpInfinite 1.5s infinite;
}

figcaption {
  font-size: 16px;
  font-weight: 300;
  font-stretch: normal;
  font-style: normal;
  line-height: 2.25;
  letter-spacing: 2px;
}

.socials {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 440px;
}

.socials > a {
  font-size: 15px;
  height: 55px;
  display: flex;
  align-items: center;
  border: none;
  background-color: transparent;
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-decoration: none;
}

/* HOVER EFFECTS  */
.socials > a:hover {
  transition: color 100ms linear;
}

/* RESPONSIVE */
@media screen and (max-width: 1024px) {
  .wrapper {
    grid-template-columns: 1fr;
    grid-gap: 60px;
  }
  .left, .right {
    grid-gap: 40px;
  }
}
@media screen and (max-width: 768px) {
  body {
    padding: 0;
  }
  .wrapper {
    padding: 60px 30px 30px;
    border-radius: 0;
  }
  .main-header {
    font-size: 25px;
  }
  .description {
    font-size: 16px;
    margin-top: 30px;
  }
  .description .display-desktop {
    display: none;
  }
  .description .display-device {
    display: inline-block;
  }
  .figcaption {
    font-size: 16px;
  }
  .left {
    padding-right: 0;
  }
  .right > main {
    grid-template-columns: 1fr;
    grid-gap: 60px;
  }
  .socials {
    justify-content: space-around;
  }
  .socials > a {
    margin-right: 15px;
  }
  .experience > ul, .achievings > ul {
    margin-top: 24px;
  }
  .experience > ul > li, 
  .achievings > ul > li {
    margin-top: 30px;
  }
  .contact-mail > a {
    width: 100%;
  }
  .wrapper .left {
    padding-right: 0;
  }
  .right > footer {
    justify-self: center;
  }
}

/* ANIMATION */
.animated {
  opacity: 0;
  animation: fadeIn 1s forwards;
}
.description {
  animation-delay: 750ms;
}
.experience, .achievings  {
  animation-delay: 1500ms;
}
.socials {
  animation-delay: 2000ms;
}


@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}
@keyframes jumpInfinite {
  0% {
    margin-top: 0;
  }
  50% {
    margin-top: 10px;
  }
  100% {
    margin-top: 0;
  }
}