:root {
  --primary-light: #d9d9d9;
  --primary-dark: #284b63;
  --secondary-dark: #3c6e71;
  --text-dark: #353535;
  --text-light: #d9d9d9;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  height: 100%;
}

h1 {
  font-family: "DM Serif Display", serif;
  margin: 0;
  text-align: center;
}

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

p {
  margin: 0;
  text-align: center;
  font-family: "Raleway";
}

@media screen and (max-width: 40em) {
  p {
    font-size: 12px;
  }
}

.pp-tooltip {
  top: -4px;
  padding: 2px 8px;
  border-radius: 4px;
  background-color: var(--primary-light);
  color: var(--text-dark);
}

.background-gradient-dark {
  --s: 6px; /* control the size */

  --g: #0000 66%, #3c6e71 68% 98%, #0000;
  background: radial-gradient(30% 30% at 0% 30%, var(--g)) var(--s)
      calc(9 * var(--s)),
    radial-gradient(30% 30% at 100% 30%, var(--g)) var(--s) calc(-1 * var(--s)),
    radial-gradient(30% 30% at 30% 100%, var(--g)) calc(10 * var(--s)) 0,
    radial-gradient(30% 30% at 30% 0%, var(--g)) var(--primary-dark);
  background-size: calc(20 * var(--s)) calc(20 * var(--s));
}

.background-gradient-light {
  --s: 10px; /* control the size */

  --g: #0000 66%, #3c6e71 68% 98%, #0000;
  background: radial-gradient(30% 30% at 0% 30%, var(--g)) var(--s)
      calc(9 * var(--s)),
    radial-gradient(30% 30% at 100% 30%, var(--g)) var(--s) calc(-1 * var(--s)),
    radial-gradient(30% 30% at 30% 100%, var(--g)) calc(10 * var(--s)) 0,
    radial-gradient(30% 30% at 30% 0%, var(--g)) var(--primary-dark);
  background-size: calc(20 * var(--s)) calc(20 * var(--s));
}

.background-gradient {
  background-image: linear-gradient(
    135deg,
    hsl(204deg 42% 27%) 0%,
    hsl(202deg 44% 28%) 11%,
    hsl(199deg 44% 28%) 22%,
    hsl(197deg 44% 29%) 33%,
    hsl(195deg 43% 29%) 44%,
    hsl(193deg 41% 30%) 56%,
    hsl(191deg 39% 31%) 67%,
    hsl(189deg 37% 32%) 78%,
    hsl(186deg 34% 33%) 89%,
    hsl(183deg 31% 34%) 100%
  );
}

.background-light {
  background-color: var(--primary-light);
}

.text-dark {
  color: var(--text-dark);
}

.text-light {
  color: var(--text-light);
}

.icon-background {
  position: relative;
  padding: 28px;
  background-color: var(--primary-light);
  border-radius: 50%;
}

.icon-background::before {
  background: var(--text-dark);
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.2s;
  transition-timing-function: cubic-bezier(0.22, 0.68, 0, 1.71);
  width: 0;
  height: 0;
  border-radius: 50%;
}

.icon-background:hover::before {
  width: 102%;
  height: 102%;
}

.icon-background:hover > .fa {
  fill: var(--text-light);
}

.fa {
  height: 24px;
  width: 24px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  fill: var(--text-dark);
}

.flex-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

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

.page-container {
  width: 100%;
  height: 100%;
}

.profile-container {
  height: 200px;
  width: 200px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 50%;
}

.blur-load {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(8px);
}

.blur-load.loaded {
  filter: none;
}

.blur-load.loaded > img {
  opacity: 1;
  transition: opacity 200ms ease-in-out;
}

.profile {
  width: 100%;
  object-position: center;
  object-fit: cover;
  opacity: 0;
}

.title-container {
  padding: 40px 80px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  gap: 6px;
}

.shadow {
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media screen and (min-width: 40em) {
  .title-container {
    max-width: 600px;
  }
}

@media screen and (max-width: 40em) {
  .title-container {
    padding: 20px 20px;
    width: 75vw;
  }
}

.icon-container {
  padding: 6px;
  height: 100px;
  gap: 10px;
}

#technologies-container {
  margin-top: 50px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

@media screen and (min-width: 40em) {
  #technologies-container {
    width: 600px;
  }
}

@media screen and (max-width: 40em) {
  #technologies-container {
    width: 75vw;
  }
}

.technologies-container {
  margin: 10px;
  background-color: var(--primary-light);
  border-top-right-radius: 12px;
  border-bottom-left-radius: 12px;
  padding: 20px 40px;
}

@media screen and (max-width: 40em) {
  .slick-carousel {
    width: 70vw;
  }
}

@media screen and (min-width: 40em) {
  .slick-carousel {
    max-width: 100%;
  }
}

.tech-icon {
  height: 50px;
  fill: var(--text-dark);
}
