:root {
  --dark-blue: #0d1b2a;
  --blue: #1b263b;
  --lite-blue: #415a77;
  --litest-blue: #778da9;
  --off-white: #e0e1dd;
  --tertiary: #ee9b00;
  --error-red: #d62828;
  --white: #ffffff;
  --black: #000000;
}

@font-face {
  font-family: 'Rubik Bold';
  src: url('../fonts/Rubik-Bold.woff2') format('woff2'),
      url('../fonts/Rubik-Bold.woff') format('woff'),
      url('../fonts/Rubik-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rubik Medium';
  src: url('../fonts/Rubik-Medium.woff2') format('woff2'),
      url('../fonts/Rubik-Medium.woff') format('woff'),
      url('../fonts/Rubik-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rubik Italic';
  src: url('../fonts/Rubik-Italic.woff2') format('woff2'),
      url('../fonts/Rubik-Italic.woff') format('woff'),
      url('../fonts/Rubik-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Rubik Regular';
  src: url('../fonts/Rubik-Regular.woff2') format('woff2'),
      url('../fonts/Rubik-Regular.woff') format('woff'),
      url('../fonts/Rubik-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rubik Light';
  src: url('../fonts/Rubik-Light.woff2') format('woff2'),
      url('../fonts/Rubik-Light.woff') format('woff'),
      url('../fonts/Rubik-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Global */

* {
  box-sizing: border-box;
}

body {
  background: #778da9;
  font-family: 'Rubik Regular', sans-serif, monospace;
  color: #e0e1dd;
  overflow-x: hidden;
}

h2, h3 {
  text-align: center;
}

h1 {
  color: #ffffff;
  text-align: center;
  padding-top: 25%;
  padding-left: 10%;
}

h2 {
  margin: 20px auto 0;
  font-size: 1.2em;
}

p {
  margin: 3vw auto;
  padding: 0 1vw;
  line-height: 2em;
  max-width: 60em;
}

/* GRAPHS */

.chartBarsWrap {
  padding-left: 40px;
  margin: 0 30px 0 20px;
}

.chartBars {
  position: relative;
  max-width: 600px;
  height: 300px;
  margin: 50px auto 100px;
}

.chartBars .bars {
  display: flex;
  justify-content: space-around;
  border-left: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  width: 100%;
  height: 100%;
  padding: 0;
  padding: 0 1%;
  margin: 0;
}

.chartBars .bars li {
  display: inline-block;
  flex: 0 1 24%;
  height: 100%;
  margin: 0;
  text-align: center;
  position: relative;
  font-size: 16px;
}

.chartBars .bars li .bar {
  width: 100%;
  background: #49E;
  position: absolute;
  font-size: 1.5em;
  color: #fff;
  padding-top: 18px;
  bottom: 0;
  height: 0;
  overflow: hidden;
  font-weight: bold;
  outline: 2px solid transparent;
  -webkit-transition: 1.5s height cubic-bezier(.6,.4,.4,1.1);
  transition: 1.5s height cubic-bezier(.6,.4,.4,1.1);
}

.chartBars .bars li .bar:after {
  content: '%';
  font-size: 22px !important;
  vertical-align: top;
  color: rgba(255,255,255,0.8);
  margin-right: -8px;
}

.chartBars .bars li b {
  color: #eee;
  width: 100%;
  position: absolute;
  bottom: -2em;
  left: 0;
  text-align: center;
}

.chartBars .numbers {
  width: 50px;
  height: 100%;
  margin: 0;
  padding: 0;
  display: inline-block;
  position: absolute;
  left: -50px;
}

.chartBars .numbers li {
  text-align: right;
  padding-right: 1em;
  list-style: none;
  height: 59px;
  position: relative;
  font-size: 13px;
  bottom: 11px;
  right: -9px;
  color: #eee;
}

.chartBars .numbers li:after {
  content: "\00af";
  position: relative;
  right: -5px;
  font-size: 20px;
  top: 7px;
  color: rgba(255,255,255,0.34);
}

.chartBars .numbers li:first-of-type {
  height: 63px;
  margin-top: -1px;
}

.chartBars1 .bar {
  border-top-right-radius: 30px;
}

.chartBars2 {
  max-width: 350px;
}

.chartBars2 .bars {
  padding: 0;
}

.chartBars2 .bars li {
  flex: 0 1 25%;
}

.chartBars2 .bars li .bar {
  box-shadow: 0 0 20px #222;
}

.chartBars3 {
  background: rgba(255,255,255,0.1);
  border-top: 1px solid #666;
  border-right: 1px solid #666;
}

.chartBars3 .bars {
  border-color: #666;
  padding: 0;
}

.chartBars3 .bars li .bar {
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
  font-size: 22px !important;
}

.chartBars3 .bars li .bar:after {
  font-size: .6em !important;
}

.chartBarsWrap.chartBarsHorizontal {
  flex-direction: column;
  padding-left: 70px;
}

.chartBarsWrap.chartBarsHorizontal .bars b {
  color: #eee;
  width: 100%;
  position: absolute;
  bottom: initial;
  top: 1em;
  left: -102%;
  text-align: right;
}

.chartBarsWrap.chartBarsHorizontal .chartBars {
  height: 200px;
}

.chartBarsWrap.chartBarsHorizontal .chartBars .bars {
  border: 0;
}

.chartBarsWrap.chartBarsHorizontal .chartBars .bars .bar {
  width: 0;
  padding-top: 10px;
  height: 100% !important;
  text-align: right;
  font-size: 1.5em;
  -webkit-transition: 2s width cubic-bezier(0.6,0.4,0.4,1.1);
  transition: 2s width cubic-bezier(0.6,0.4,0.4,1.1);
}

.chartBarsWrap.chartBarsHorizontal .chartBars .bars .bar:after {
  font-size: .6em !important;
  margin-right: 20px;
}

.bars li .bar.greenBar {
  background-color: #6B8E23;
  background: radial-gradient(#99cb32,#6B8E23);
}

.bars li .bar.greenBarFlat {
  background-color: #6B8E23;
}

.bars li .bar.blueBar {
  background-color: #49E;
  background: radial-gradient(#8abff4,#49E);
}

.bars li .bar.blueBarFlat {
  background-color: #49E;
}

.bars li .bar.orangeBar {
  background-color: orange;
  background: radial-gradient(#ffc04d,#FFA500);
}

.bars li .bar.orangeBarFlat {
  background-color: orange;
}

.bars li .bar.purpleBar {
  background-color: #6e46af;
  background: radial-gradient(#9778c9,#6e46af);
}

.bars li .bar.purpleBarFlat {
  background-color: #6e46af;
}

.box-piesite {
  text-align: center;
  font-size: 22px;
  margin-bottom: 40px;
}

.piesite {
  position: relative;
  width: 1em;
  height: 1em;
  font-size: 10em;
  cursor: default;
}

.piesite .percent {
  position: absolute;
  top: 1.1em;
  left: .1em;
  width: 100%;
  font-size: .3em;
  text-align: center;
  z-index: 2;
}

.piesite .percent .symbol {
  font-size: .5em;
  vertical-align: top;
  opacity: .5;
}

.piesite > #slice {
  position: absolute;
  width: 1em;
  height: 1em;
  clip: rect(0px,1em,1em,0.5em);
}

.piesite > #slice.gt50 {
  clip: rect(auto,auto,auto,auto);
}

.piesite > #slice > .pie {
  position: absolute;
  border: .1em solid #444;
  width: 1em;
  height: 1em;
  clip: rect(0em,0.5em,1em,0em);
  border-radius: 0.5em;
}

li.design .piesite > #slice > .pie {
  border-color: #49E;
}

li.usability .piesite > #slice > .pie {
  border-color: #FFA500;
}

li.creativity .piesite > #slice > .pie {
  border-color: #6B8E23;
}

.piesite > #slice > .pie.fill {
  -webkit-transform: rotate(180deg) !important;
  transform: rotate(180deg) !important;
}

.piesite.fill > .percent {
  display: none;
}

.piesite:after {
  content: '';
  display: block;
  position: absolute;
  top: .1em;
  left: .1em;
  width: .8em;
  height: .8em;
  background: #30303A;
  border-radius: 100%;
  z-index: 1;
}

.piesite:before {
  content: '';
  display: block;
  position: absolute;
  width: 1em;
  height: 1em;
  border-radius: .5em;
  opacity: .5;
  z-index: 0;
}

.piesite:before {
  background: rgba(255,255,255,0.1);
}

.box-piesite ul {
  padding: 0;
}

.box-piesite ul li {
  display: inline-block;
  margin: 10px 80px;
}

.chartBarsHorizontal .chartBars .bars {
  flex-direction: column;
}

.tooltip > .tooltipContent {
  display: block;
  position: absolute;
  background: none repeat scroll 0 0 #222;
  color: #F0B015;
  font-family: 'Helvetica';
  font-size: 0.8em;
  font-weight: normal;
  line-height: 1.5em;
  padding: 16px 15px;
  min-width: 200px;
  max-width: 500px;
  top: 0;
  left: 50%;
  transform: translate(-50%,-110%);
  margin-left: 0;
  opacity: 0;
  filter: alpha(opacity=0);
  text-align: center;
  z-index: 2;
  text-transform: none;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease-in-out;
}

.tooltip:hover > .tooltipContent {
  opacity: 1;
  filter: alpha(opacity=100);
  z-index: 99;
  transform: translate(-50%,-130%);
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.tooltip .tooltipContent:after {
  border-color: #222 rgba(0,0,0,0);
  border-style: solid;
  border-width: 15px 15px 0;
  bottom: -15px;
  content: "";
  display: block;
  left: 50%;
  transform: translate(-50%,0);
  position: absolute;
  width: 0;
}

/* General */

.header-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
  overflow: hidden;
}

header {
  background-color: #0d1b2a;
  color: #fff;
  padding: 10px 0;
}

#logo {
  float: left;
  font-size: 1.5em;
  padding-top: 5px;
  font-family: 'Rubik Medium';
}

nav {
  float: right;
}

.nav-links {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: inline-block;
  margin-left: 20px;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  display: inline-block;
  transition: background-color 0.3s;
}

.nav-links li a:hover {
  background-color: #778da9;
  border-radius: 15px;
}

.hero-section {
  background-image: url("../images/luca-bravo-profile-image.jpg");
  background-color: #cccccc;
  height: 700px;
  background-position: left top;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
}

.hero-section h1 {
  color: #ffffff;
  font-family: 'Rubik Bold';
  font-size: 60px;
  text-align: left;
}

.hero-info p {
  margin: 5% auto 0 !important;
  font-family: 'Rubik Light';
  font-size: 20px;
}

.down-arrow-wrapper {
  text-align: center;
}

.down-arrow {
  width: 25px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: auto;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 15px;
}

.card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: rgba(52, 152, 219, 0.1);
  transition: right 0.4s ease;
  z-index: 0;
}

.card:hover::after {
  right: 0;
}

.card-content {
  position: relative;
  z-index: 1;
}

.skill-list-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.skill-list-wrapper h2 {
  font-size: 25px;
  text-decoration: underline;
}

.skill-list-wrapper p {
  font-size: 20px;
  padding: 5px 0;
  margin: 5px 0;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #ee9b00;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #778da9;
  outline: 3px solid #e0e1dd;
}



/* Footer */

.footer {
  width: 100%;
  background: #10182F;
  border-radius: 6px;
}

.footer .footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3.5rem;
  padding: 60px;
}
.footer-row .footer-col h4 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 400;
}
.footer-col .links {
  margin-top: 20px;
}
.footer-col .links li {
  list-style: none;
  margin-bottom: 10px;
}
.footer-col .links li a {
  text-decoration: none;
  color: #bfbfbf;
}
.footer-col .links li a:hover {
  color: #fff;
}
.footer-col p {
  margin: 20px 0;
  color: #bfbfbf;
  max-width: 300px;
}
.footer-col form {
  display: flex;
  gap: 5px;
}
.footer-col input {
  height: 40px;
  border-radius: 6px;
  background: none;
  width: 100%;
  outline: none;
  border: 1px solid #7489C6 ;
  caret-color: #fff;
  color: #fff;
  padding-left: 10px;
}
.footer-col input::placeholder {
  color: #ccc;
}
.footer-col form button {
  background: #fff;
  outline: none;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s ease;
}
.footer-col form button:hover {
  background: #cecccc;
}
.footer-col .icons {
  display: flex;
  margin-top: 30px;
  gap: 30px;
  cursor: pointer;
}
.footer-col .icons i {
  color: #afb6c7;
}
.footer-col .icons i:hover  {
  color: #fff;
}


/* Media Queries */

@media screen and (min-width: 600px) {

  .bar:before {
    font-size: 2em !important;
  }
  .chartBars3 .bar:before {
    font-size: 1.5em !important;
  }

}

/* Footer */

@media (max-width: 768px) {
  .footer {
    position: relative;
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    border-radius: 0;
  }
  .footer .footer-row {
    padding: 20px;
    gap: 1rem;
  }
  .footer-col form {
    display: block;
  }
  .footer-col form :where(input, button) {
    width: 100%;
  }
  .footer-col form button {
    margin: 10px 0 0 0;
  }
}
