/***** Basic *****/

html {
  background-color: rgb(220, 220, 220);
  background-image: linear-gradient(to bottom right, rgb(0, 0, 0), rgba(255, 255, 255,0.1));
  color: rgb(240, 240, 240);
  font-family: "Quicksand", sans-serif;
  font-size: 16px;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  line-height: 1.4;
  min-height: 100vh;
  min-width: 300px;
  overflow-x: hidden;
  text-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

a {
  color: currentColor;
  cursor: pointer;
  text-decoration: none;
}

label{
  font-size: 1rem;
  font-weight: bold;
  padding-left: 5px;
  color: rgb(255, 217, 0);
}

img {
  vertical-align: middle;
}

/***** Shared *****/

.wallpaper,
.picture-image {
  display: block;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.job,
.button {
  font-family: "Montserrat", "Quicksand", sans-serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: bold;
}

.flip {
  text-align: center;
  font-family: "Montserrat", "Quicksand", sans-serif;
  letter-spacing: 0.2em;
  font-weight: bold;
  place-self: center;
  width: 150px;
}

.button,
.flip,
.social a {
  transform-origin: center;
  transition-duration: 100ms;
}

.button {
  background-color: rgb(50, 50, 50);
  border-radius: 210569px;
  color: rgb(201, 201, 201);
  border: 1px transparent solid;
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1;
  padding: 1.25em 2em;
  text-shadow: none;
  transition-property: box-shadow, transform;
  transition: 0.5s;
  user-select: none;
  vertical-align: top;
  white-space: nowrap;
  will-change: box-shadow, transform;
}

/***** Specific *****/

.wallpaper {
  background-image: url("../images/canada.jpg");
  background-position: center;
  background-size: cover;
  opacity: 0.2;
  position: fixed;
}

.scene {
  min-height: 630px;
  perspective: 1600px;
  margin-bottom: 40px;
}

.card {
  width: 100%;
  height: 100%;
  transition: transform 1s;
  transform-style: preserve-3d;
  position: relative;
}

.card_face {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.card_face-back {
  transform: rotateY(180deg);
}

.card_face-front {
  background: transparent;
}

.card.is-flipped {
  transform: rotateY(180deg);
}

.flip {
  font-size: 0.7rem;
  line-height: 0.8;
  padding: 0.8em 1.5em;
}

.ctc {
  color: rgb(50, 50, 50);
  background-color: rgb(255, 217, 0);
}

.ctc:hover {
  background-color: rgb(50, 50, 50);
  color: rgb(255, 217, 0);
}

.experience {
  display: grid;
  grid-template-areas: "b t";
  grid-template-columns: 20px auto;
}

p.experience:nth-last-of-type(1) {
  display: grid;
  grid-template-areas: "b t";
  grid-template-columns: 20px auto;
  border-bottom: 1px rgb(255, 217, 0) solid;
  padding-bottom: 1.2rem;
  margin-bottom: 1.2rem;
}

.bullet {
  grid-area: b;
  margin-top: 4px;
  justify-self: center;
}

.exper {
  grid-area: t;
  margin-left: 5px;
}

.social {
  display: flex;
  place-self: center;
  justify-content: space-between;
  width: 25%;
}

.social li {
  height: 2rem;
  width: 2rem;
  margin-right: 0.5rem;
  text-align: center;
}

.social a {
  align-items: center;
  display: flex;
  font-size: 1.5rem;
  width: 2rem;
  height: 2rem;
  justify-content: center;
  opacity: 0.8;
  transition: 0.5s;
  transition-timing-function: ease-in-out;
  transition-property: opacity, transform;
  will-change: opacity, transform;
}

.social a:hover {
  opacity: 1;
  transform: scale(2);
  color: rgb(255, 217, 0);
}

.social a:active {
  opacity: 1;
  transform: scale(1.8);
  }

.button:hover {
  color: rgb(255, 217, 0);
  box-shadow: 4px 4px 14px rgb(80, 80, 80), -4px -4px 14px rgb(101, 101, 101);
  border: 1px rgb(255, 217, 0) solid;
}

.button:active {
  box-shadow: 0 0.5rem 1rem rgba(70, 70, 70, 0.5);
  transform: scale(0.9);
}

.job {
  color: rgb(255, 217, 0);
  font-size: 0.75rem;
}

.link {
  padding: 3px;
  font-size: 1rem;
}

.slide-app {
  transition: 0.5s;
  transition-timing-function: ease-in-out;
  transition-property: transform;
  will-change: transform;
}

.slide-app:hover {
  color: rgb(108, 90, 0);
  transform: scale(1.2);
}

.link:hover {
  font-weight: bold;
}

.hr {
  background-color: rgb(255, 217, 0);
  border: none;
  content: "";
  height: 1px;
  margin-bottom: 1.2rem;
  margin-top: 1.2rem;
  transform-origin: center left;
  width: 35rem;
}

.description {
  font-size: 1.2rem;
}

.leftspc {
  margin-left: 5px;
}

.mySlides {
  display: none;
}

/* Slideshow container */
.slideshow-container {
  max-width: 560px;
  max-height: 220px;
  position: relative;
  margin: auto;
}

.slide {
  max-height: 220px;
  width: 100%;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: rgb(245, 245, 245);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(30, 30, 30, 0.8);
}

/* Caption text */
.text {
  color: rgb(30, 30, 30);
  font-size: 0.9rem;
  padding: 8px 12px;
  position: absolute;
  bottom: 2px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
/* .numbertext {
  color: rgb(240, 240, 240);
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  background-color: rgba(40,40,40,0.3);
} */

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: rgb(190, 190, 190);
  border-radius: 210569px;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: rgb(255, 217, 0);
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 2s;
  animation-name: fade;
  animation-duration: 2s;
}

.skills {
  min-height: 630px;
  display: grid;
  row-gap: 10px;
  grid-template-columns: minmax(195px, 1fr) minmax(75px, 1fr) minmax(15px, 1fr) minmax(195px, 1fr) minmax(75px, 1fr);
  grid-template-areas:
  "skpl skplrt sp sktl sktlrt"
  "sksk skskrt sp sklg sklgrt";
}

#skpl {
  grid-area: skpl;
}

#skplrt {
  grid-area: skplrt;
}

#sktl {
  grid-area: sktl;
}

#sktlrt {
  grid-area: sktlrt;
}

#sksk {
  grid-area: sksk;
}

#skskrt {
  grid-area: skskrt;
}

#sklg {
  grid-area: sklg;
}

#sklgrt {
  grid-area: sklgrt;
}

.sp {
  grid-area: sp;
}

#skpl,
#sktl,
#sksk,
#sklg,
#skplrt,
#sktlrt,
#sklgrt,
#skskrt {
  background-color: rgba(20, 20, 20, 0.7);
  height: fit-content;
}

#skpl,
#sktl,
#sksk,
#sklg {
  border-top-left-radius: 7px;
  border-bottom-left-radius: 7px;
}

#skplrt,
#sktlrt,
#sklgrt,
#skskrt {
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}

.fa-circle {
  width: 0.8em !important;
}
.contact {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.content {
  display: flex;
  position: relative;
  min-height: 100vh;
}

.side {
  max-height: 20rem;
  max-width: 20rem;
}

.about {
  max-width: 35rem;
}

.picture {
  padding-top: 100%;
  position: relative;
  width: 100%;
  border-radius: 210569px;
}

.picture-image {
  box-shadow: 4px 4px 14px rgb(80, 80, 80), -4px -4px 14px rgb(101, 101, 101);
  border-radius: 90px;
  position: absolute;
}

.name {
  font-size: 2.25rem;
  line-height: 1.125;
  margin-bottom: 0.5rem;
}


.off {
  display: none;
}

/***** Responsiveness *****/

@media screen and (max-width: 499px) {
  html {
    font-size: 0.6rem;
  }
  .skills {
    min-height: 380px;
    grid-template-columns: minmax(120px, 1fr) minmax(40px, 1fr) minmax(10px, 1fr) minmax(120px, 1fr) minmax(40px, 1fr);
  }
  .description {
    min-height: 380px;
  }
  .flip {
    width: 100px;
  }
  .scene {
    min-height: 380px;
  }
  .content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
  }
  .experience {
    grid-template-columns: 10px auto;
  }
  .side {
    margin-bottom: 3rem;
    width: 100%;
  }
  .social a {
    font-size: 2.5rem;
  }
}

@media screen and (min-width: 500px) and (max-width: 799px) {
  html {
    font-size: 0.8rem;
  }
  .skills {
    min-height: 500px;
    grid-template-columns: minmax(160px, 1fr) minmax(55px, 1fr) minmax(10px, 1fr) minmax(160px, 1fr) minmax(55px, 1fr);
  }
  .description {
    min-height: 500px;
  }
  .flip {
    width: 120px;
  }
  .scene {
    min-height: 500px;
  }
  .content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.8rem;
  }
  .side {
    margin-bottom: 3rem;
    width: 100%;
  }
  .social a {
    font-size: 2rem;
  }
}

@media screen and (min-width: 800px) and (max-width: 999px) {
  html {
    font-size: 1rem;
  }
  .content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.8rem;
  }
  .side {
    margin-bottom: 3rem;
    width: 100%;
  }
}

@media screen and (min-width: 1000px) {
  .content {
    align-items: center;
    justify-content: space-around;
    justify-content: space-evenly;
    padding: 1.8rem;
  }
  .side {
    flex-grow: 0;
    flex-shrink: 0;
    height: 20rem;
    margin-left: 4rem;
    order: 2;
    width: 20rem;
  }
  .about {
    flex-grow: 1;
    flex-shrink: 1;
  }
}
