@import url(fontawesome-all.min.css);
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,400italic,600italic|Roboto+Slab:400,700");

@font-face {
  font-family: 'Sofia Pro';
  src: url('/fonts/Sofia Pro Regular Az.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Sofia Pro Light';
  src: url('/fonts/Sofia Pro Light Az.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}


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; }

body {
  line-height: 1; 
  margin: 0;
  padding: 2rem 6rem;
}

html {
  scroll-behavior: smooth;
}
body {
  -webkit-text-size-adjust: none; }

#center-text {
    text-align: center;
}

.center-container {
  display: flex;
  justify-content: center;
  align-items: center;
}


.center-image {
  display: inline-block;
  margin: auto;
}


/* BASIC */

html {
  box-sizing: border-box; 
}

*, *:before, *:after {
  box-sizing: inherit; 
}

body {
  background-color: #F7F2EC;
  background-repeat: no-repeat;
  background-position: center;
}
  
body.is-preload *, body.is-preload *:before, body.is-preload *:after, body.is-resizing *, body.is-resizing *:before, body.is-resizing *:after {
  -moz-animation: none !important;
  -webkit-animation: none !important;
  -ms-animation: none !important;
  animation: none !important;
  -moz-transition: none !important;
  -webkit-transition: none !important;
  -ms-transition: none !important;
  transition: none !important; 
}

/* Type */
body, input, select, textarea {
  font-family: "Sofia Pro", sans-serif;
  font-size: 13pt;
  font-weight: 400;
  line-height: 1.65; 
}

@media screen and (max-width: 1680px) {
  body, input, select, textarea {
  font-size: 11pt; } 
}
@media screen and (max-width: 1280px) {
  body, input, select, textarea {
  font-size: 10pt; } 
}
@media screen and (max-width: 360px) {
  body, input, select, textarea {
  font-size: 9pt; } 
}

a {
  -moz-transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
  -webkit-transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
  -ms-transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
  color: #F5A58B;
  text-decoration: none; 
}

a:hover {
  color: #97AAD7 !important; 
}

a:hover strong {
  color: inherit; 
}

strong, b {
  font-weight: 600; 
}

em, i {
  font-style: italic; 
}

p {
  margin: 0 0 1em 0; 
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Sofia Pro", serif;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 1em 0; 
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: inherit;
    text-decoration: none;
}

h1 {
  font-size: 2em;
  margin: 0 0 0.5em 0;
  line-height: 1.3; }

h2 {
  font-size: 1.85em; }

h3 {
  font-size: 1.25em; 
  margin: 0 0 0 0;
}

h4 {
  font-size: 1.1em; }

h5 {
  font-size: 0.9em; }

h6 {
  font-size: 0.7em; }

@media screen and (max-width: 980px) {
  h1 {
    font-size: 3.25em; } }

@media screen and (max-width: 736px) {
  h1 {
    font-size: 2em;
    line-height: 1.4; }
  h2 {
    font-size: 1.5em; } }

sub {
  font-size: 0.8em;
  position: relative;
  top: 0.5em; 
}

sup {
  font-size: 0.8em;
  position: relative;
  top: -0.5em; 
}

.align-left {
  text-align: left; }

.align-center {
  text-align: center; }

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

/* IMAGE */
a.image {
  display: block;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 5px;
}

a.image img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
  transition: transform 0.2s ease;
}

a.image:hover img {
  transform: scale(1.05);
}


/* LIST  */
ul {
  list-style: disc;
  margin: 0 0 2em 0;
  padding-left: 1em; }
  ul li {
    padding-left: 0.5em; }
  ul.alt {
    list-style: none;
    padding-left: 0; }
    ul.alt li {
      border-top: solid 1px rgba(210, 215, 217, 0.75);
      padding: 0.5em 0; }
      ul.alt li:first-child {
        border-top: 0;
        padding-top: 0; }

/* Header */
#header {
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  padding: 6em 0 1em 0;
  position: relative; }
  #header > * {
    -moz-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin-bottom: 0; }
  #header .logo {
    border-bottom: 0;
    color: inherit;
    font-family: "Sofia Pro", serif;
    font-size: 2.125em; }
  #header .icons {
    text-align: right; }
  @media screen and (max-width: 1680px) {
    #header {
      padding-top: 5em; } }
  @media screen and (max-width: 736px) {
    #header {
      padding-top: 6.5em; }
      #header .logo {
        font-size: 1.25em;
        margin: 0; }
      #header .icons {
        height: 5em;
        line-height: 5em;
        position: absolute;
        right: -0.5em;
        top: 0; } }

/* Banner */
#banner {
  padding: 6em 0 4em 0 ;
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex; }
  #banner h1 {
    margin-top: -0.125em; }
  #banner .content {
    -moz-flex-grow: 1;
    -webkit-flex-grow: 1;
    -ms-flex-grow: 1;
    flex-grow: 1;
    -moz-flex-shrink: 1;
    -webkit-flex-shrink: 1;
    -ms-flex-shrink: 1;
    flex-shrink: 1;
    width: 50%; }
  #banner .image {
    -moz-flex-grow: 0;
    -webkit-flex-grow: 0;
    -ms-flex-grow: 0;
    flex-grow: 0;
    -moz-flex-shrink: 0;
    -webkit-flex-shrink: 0;
    -ms-flex-shrink: 0;
    flex-shrink: 0;
    display: block;
    margin: 0 0 2em 4em;
    width: 50%; }
    #banner .image img {
      height: 100%;
      -moz-object-fit: cover;
      -webkit-object-fit: cover;
      -ms-object-fit: cover;
      object-fit: cover;
      -moz-object-position: center;
      -webkit-object-position: center;
      -ms-object-position: center;
      object-position: center;
      width: 100%; }
  @media screen and (orientation: portrait) {
    #banner {
      -moz-flex-direction: column-reverse;
      -webkit-flex-direction: column-reverse;
      -ms-flex-direction: column-reverse;
      flex-direction: column-reverse; }
      #banner h1 br {
        display: none; }
      #banner .content {
        -moz-flex-grow: 0;
        -webkit-flex-grow: 0;
        -ms-flex-grow: 0;
        flex-grow: 0;
        -moz-flex-shrink: 0;
        -webkit-flex-shrink: 0;
        -ms-flex-shrink: 0;
        flex-shrink: 0;
        width: 100%; }
      #banner .image {
        -moz-flex-grow: 0;
        -webkit-flex-grow: 0;
        -ms-flex-grow: 0;
        flex-grow: 0;
        -moz-flex-shrink: 0;
        -webkit-flex-shrink: 0;
        -ms-flex-shrink: 0;
        flex-shrink: 0;
        margin: 0 0 4em 0;
        height: 25em;
        max-height: 50vh;
        min-height: 18em;
        width: 100%; } }
  @media screen and (orientation: portrait) and (max-width: 480px) {
    #banner .image {
      max-height: 35vh; } }

/* Footer */
#footer .copyright {
  color: #9fa3a6;
  font-size: 0.9em; }
  #footer .copyright a {
    color: inherit; }

/* Menu */
#menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 280px; 
  height: 100vh;
  background-color: #F8F4EE; 
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#menu ul {
  list-style: none;
  padding: 0;
}

#menu ul li {
  font-weight: bold;
  margin-bottom: 15px;
}

#menu ul li a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

#menu ul li ul {
  list-style: none;
  margin-left: 15px;
  font-size: 14px;
}

#menu ul li ul li {
  font-weight: normal;
  opacity: 0.8;
}

.menu-footer {
  text-align: center;
  margin-top: auto;
}

    
/* TYPEWRITER EFFECT */
.typewriter-effect {
  border-right: 2px solid; 
  display: inline-block; 
  white-space: nowrap; 
  overflow: hidden; 
  width: 100%; 
  max-width: 100%; 
  animation: typewriter 4s steps(21, end) infinite; 
}

@keyframes typewriter {
  0% {
   width: 0;
  }
  50% {
   width: 100%;
  }
  100% {
    width: 0;
  }
}

@keyframes cursor {
  50% {
    border-color: transparent; 
  }
}

/* MAIN PAGE - TOP */
#banner {
  display: flex;
  align-items: center; 
  justify-content: space-between; 
  padding: 5rem 10rem;
}

.content {
  max-width: 50%;
}

.profile-picture img {
  width: 175px; 
  height: 175px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10rem; 
}

.icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.icons img {
  width: 30px;
  height: 30px;
}

#nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

#nav ul li a {
    text-decoration: none;
    color: #F5A58B;
    font-weight: bold;
}

.social-icons {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.social-icons img {
    width: 40px;
    height: 40px;
    object-fit: contain; 
}

/* MAIN PAGE - PROJ SECTION */
.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  align-items: flex-start;
  text-align: left;
  border: 2px solid #D4C4B7;
  border-radius: 10px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  height: 100%; 
}

.project-card h3 {
  margin-bottom: 8px;
}

.project-card p {
  min-height: 80px;
}

.project-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-content: center;
  align-items: stretch; 
}

.project-buttons {
  display: flex;
  justify-content: center; 
  align-items: center; 
  gap: 10px;
  margin-top: 10px;
  width: 100%; 
  text-align: center;
}

.project-buttons a {
  padding: 8px 20px;
  font-size: 12px;
  border: 2px solid #D4C4B7;
  border-radius: 30px;
  text-decoration: none;
  color: #000;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.project-buttons a:hover {
  background-color: #EEEAF3;
  color: #FFF;
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.projects-header h2 {
  font-size: 2rem;
  font-weight: bold;
}

.projects-header a {
  font-size: 14px;
  text-decoration: none;
  font-weight: bold;
}

.view-project {
  display: block;
  text-align: center; 
  font-weight: bold;
  text-decoration: underline;
  margin: 10px auto;
  width: max-content; 
}

/* MAIN PAGE - EXP SECTION */
.experience-skills {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 60px;
  padding: 20px 0;
}

.experience {
  width: 50%;
}

.experience-card {
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid #D4C4B7;
}

.highlight {
  font-weight: bold;
}

.view-all {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  text-decoration: underline;
}

.skills {
  width: 40%;
}

.skill-category h3 {
  font-size: 14px;
  margin-bottom: 5px;
  font-weight: bold;
}

.skill-category p {
  padding-left: 1.5em;
  margin-left: 1.5em;
}


@media (max-width: 900px) {
  .experience-skills {
      flex-direction: column;
      align-items: center;
  }
  .experience, .skills {
      width: 90%;
  }
}

/* MAIN PAGE - ABOUT SECTION */ 
.about-me {
  margin-top: 60px;
  padding: 20px 0;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.avatar img {
  width: 150px; 
  height: auto;
}

.about-text {
  width: 60%;
  text-align: left;
}

.about-text p {
  margin-bottom: 15px;
}

.see-more {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .about-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .avatar img {
      margin-bottom: 20px;
  }

  .about-text {
      width: 90%;
  }
}

/* MAIN PAGE - CONTACT SECTION */
.contact {
  margin-top: 60px;
  padding: 40px 0;
}

.contact-message {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: center;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.contact-links a {
  color: #000 !important;
  text-decoration: none;
  font-weight: bold;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: flex-start; 
  gap: 10px;
  width: 250px;
}

.contact-item img {
  width: 32px; 
  height: auto;
}

.back-to-top {
  display: inline-block;
  margin-top: 30px;
  font-weight: bold;
  text-decoration: underline;
  font-size: 14px;
}


/* MEDIA SCREEN */
@media screen and (max-width: 1280px) {
  body {
      font-size: 11pt;
      padding: 2rem 4rem;
  }
  #banner {
      padding: 4rem 6rem;
  }
  .profile-picture img {
      width: 175px;
      height: 175px;
      margin-right: 6rem;
  }
}

@media screen and (max-width: 980px) {
  body {
      font-size: 10pt;
      padding: 2rem 3rem;
  }
  #banner {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }
  .content {
      max-width: 100%;
  }
  .profile-picture {
      position: static;
      margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  body {
      font-size: 9pt;
      padding: 1rem 2rem;
  }
  .profile-picture img {
      width: 100px;
      height: 100px;
  }
  .social-icons {
      flex-direction: column;
  }
}

@media screen and (max-width: 480px) {
  body {
      font-size: 8pt;
      padding: 1rem;
  }
  #banner {
      padding: 2rem 1rem;
  }
  .profile-picture img {
      width: 80px;
      height: 80px;
  }
}

/* Wrapper */
#wrapper {
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -moz-flex-direction: row-reverse;
  -webkit-flex-direction: row-reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  min-height: 100vh; }

/* Main */
#main {
  -moz-flex-grow: 1;
  -webkit-flex-grow: 1;
  -ms-flex-grow: 1;
  flex-grow: 1;
  -moz-flex-shrink: 1;
  -webkit-flex-shrink: 1;
  -ms-flex-shrink: 1;
  flex-shrink: 1;
  width: 100%; }
  #main > .inner {
    padding: 0 6em 0.1em 6em ;
    margin: 0 auto;
    max-width: 110em; }
    #main > .inner > section {
      padding: 6em 0 4em 0 ; }
      #main > .inner > section:first-of-type {
        border-top: 0 !important; }
  @media screen and (max-width: 1680px) {
    #main > .inner {
      padding: 0 5em 0.1em 5em ; }
      #main > .inner > section {
        padding: 5em 0 3em 0 ; } }
  @media screen and (max-width: 1280px) {
    #main > .inner {
      padding: 0 4em 0.1em 4em ; }
      #main > .inner > section {
        padding: 4em 0 2em 0 ; } }
  @media screen and (max-width: 736px) {
    #main > .inner {
      padding: 0 2em 0.1em 2em ; }
      #main > .inner > section {
        padding: 3em 0 1em 0 ; } }

/* SIDEBAR */
#sidebar {
  position: fixed;
  left: -100%; 
  width: 300px; 
  top: 0px;
  height: 10vh;
  transition: left 0.3s ease-in-out;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.5s ease-in-out;
}

#sidebar.active {
  left: 0; 
  transform: translateX(0);
}

#sidebar h2 {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 20px;
}

#sidebar ul {
  list-style: none;
  padding: 0;
}

#sidebar ul ul {
  padding-left: 20px;
  font-size: 0.9em;
  font-weight: normal;
}

#sidebar ul li {
  margin: 15px 0;
  font-size: 1.1em;
  font-weight: bold;
}

#main {
  transition: margin-left 0.3s ease-in-out;
}

#main.shifted {
  margin-left: 300px; 
  transition: margin-left 0.3s ease-in-out;
}

.menu-footer {
  margin-top: auto; /* Push to bottom */
  text-align: center;
}

.menu-footer .social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.menu-footer .social-icons img {
  width: 35px;
  height: 35px;
}

.menu-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 28px;
  cursor: pointer;
  z-index: 1101;
  background: none;
  border: none;
  color: #000;
  padding: 10px;
  transition: left 0.3s ease-in-out, right 0.3s ease-in-out;
}

#sidebar.active .menu-toggle {
  position: absolute;
  right: 20px;
  top: 20px;
  left: auto;
}

.menu-toggle:hover {
  color: #F5A58B;
}

@media screen and (max-width: 768px) {
  #sidebar {
    width: 250px;
  }

  #main.shifted {
    margin-left: 250px;
  }
}


/* experience.html */
.hidden {
  display: none;
}
.experience-toggle {
  cursor: pointer;
  margin-left: 10px;
  font-size: 0.8em;
}

#experience-div {
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center;
  width: 100%;
  padding: 3rem 0; 
}

#experience-div .experience, 
#experience-div .skills {
  max-width: 800px;
  width: 100%;
  padding-left: 0; 
  padding-right: 0;
  text-align: left;
}

/* about.html */
#about-me {
  padding: 2rem 3rem;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-avatar img {
  width: 100px;
  height: auto;
}

.about-text {
  max-width: 700px;
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: left;
}

