/***** 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  font-size: 14px;
}
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;
}

/***** Styles *****/
html { width: 100%; -webkit-font-smoothing: antialiased; color: white; background: #0F0F1A;}
body { width: 100%; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0; margin: 0;  font-family: -apple-system,"system-ui","Segoe UI",sans-serif; }

a { color: #CD00F5; text-decoration: none; }
a:hover { color: #842996; transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; }

p { line-height: 1.35em; color: #fff; padding: 0; padding-bottom: 1em; }
p strong { font-weight: bold; }

ul { display: block; font-size: 1.2em; line-height: 1.35em; padding: 0; margin-top: 0.5em; }
ul li { display: inline-block; margin: 0 10px; }
ul li a { opacity: 0.6; background-size: contain!important; filter: invert(100%); }
ul li a:hover { opacity: 1; transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; }
ul li a { width: 33px; height: 33px; display: block; background: transparent url('../img/icon-twitter.png') top center no-repeat; text-indent: -9999px; }
ul li.twitter a { background-image: url('../img/icon-twitter.png'); }
ul li.linkedin a { background-image: url('../img/icon-linkedin.png'); }
ul li.github a { background-image: url('../img/icon-github.png'); }
ul li.email a { background-image: url('../img/icon-email.png'); }


@media (max-width: 720px) {
  p {
    text-align: justify;
  }
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1em;
  flex-direction: column;
}
.container.container-full {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  flex-direction: column;
  position: relative;
}
.container.container-top {
  display: block;
  position: relative;
  top: -3em;
}
.hero {
  animation: fade-in 3.5s;
  display: flex;
  gap: 2em;
  justify-content: center;
  max-width: 800px;
  font-size: 1.2em;
}
@media (max-width: 720px) {
  .hero {
    flex-direction: column;
  }
}

@keyframes fade-in {
  from { opacity: 0% }
  to { opacity: 100% }
}

.hero .profile-picture {
  background: linear-gradient(to top, #842996 0%, #6b00ff 100%);
  border-radius: 16px;

  max-width: 240px;
  max-height: 240px;
  overflow: hidden;

  display: flex;
  justify-content: center;
}

.hero .profile-picture img {
  width: 100%;
}

.projects {
  opacity: 0;
  transition: opacity 3s ease-out;
  visibility: hidden;
  max-width: 800px;
}

.projects.visible {
  opacity: 1;
  visibility: visible;
}

.projects h2 {
  font-size: 1.7em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1em;
}

.projects .project {
  margin-bottom: 2em;
  padding: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  border: 2px solid #842996;
  border-radius: 16px;
}

.projects .project img {
  padding: 0 3em;
  max-width: 150px;
}

@media (max-width: 720px) {
  .projects .project {
    flex-direction: column;
  }
  .projects .project img {
    padding: 3em 3em;
  }
}

.projects .project p:last-child {padding-bottom: 0;}

.footer {
  padding: 1em;
}
