@import url("./keyframes.css");
@import url("./mediaqueries.css");

/* components ordered From top to bottom */

/* General settings */
:root {
  --fnt-siz-headers: 1rem;
  --fnt-siz-titles: 2rem;
  --fnt-size-articles: 19px;

  --clr-mode: #000000;
  --clr-mode-text: #ffff;
  --clr-light-mode: #ffff;
  --clr-light-mode-glass: #ffffff;
  --clr-dark-mode-glass: #000000;
  --grl-art-padding: 0.3rem;
  --grl-hover-icon-clr: #4bdb27;
  --grl-opacity: 0.6;
  --clr-mode-trnsprnt: #000000;
}

* {
  font-family: "Poppins", sans-serif;
  font-size: var(--fnt-size-articles);
  box-sizing: border-box;
  text-emphasis: none;
  color: var(--clr-mode-text);
  text-decoration: none;
  list-style: none;

  font-weight: 800;
  margin: 0;
}

html,
body {
  user-select: none;
  height: 84vh;
  background-color: var(--clr-mode);
  text-align: center;
  justify-content: space-evenly;
}

p {
  text-align: justify;
  text-justify: inter-word;
  font-size: var(--fnt-size-articles);
  padding: 2rem 2rem 2rem 2rem;
}

footer {
  height: 8vh;
  width: 100%;
}

#sc1 {
  position: absolute;
  width: 100%;
}

#sc2 {
  width: 100%;
  position: relative;
  height: 100%;
}

#sc3 {
  position: relative;
  height: 85vh;
  margin: auto;

  display: flex;
}

#present {
  display: flex;
  color: var(--clr-mode-text);
  justify-content: center;
  
}

#top-menu {
  position: fixed;
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  height: 2.5rem;
  top: 0;
  background-color: var(--clr-mode-text);
  padding: 0.2rem;
  z-index: 10;
}

i,
.menu_title,
.lang {
  width: 100%;
  height: auto;
  object-fit: cover;
  color: var(--clr-mode);
  padding: var(--grl-art-padding);
  cursor: pointer;
}

i:hover,
.lang:hover,
.prj-sel:hover,
.menu_title:hover,
.button {
  color: var(--grl-hover-icon-clr);
}

/* nav components */

.fa,
.far,
.fas,
.fab {
  font-size: x-large;
}

#langSelector {
  display: none;
  animation: iconAnim 0.5s ease-in;
  background-color: var(--clr-mode-text);
  flex-direction: column;
}

/* Top  "main page" components */
#home {
  position: fixed;
  top: 50%;
  left: 25%;
  animation: iconAnim 5s ease-in 0s infinite;
  /* animation: name duration timing-function delay iteration-count direction fill-mode; */
}

#sectionContainer {
  position: relative;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  top: 25%;
  /* height: 45vh; */

  align-self: center;
  background: rgba(216, 202, 202, 0.055);
  backdrop-filter: blur(5px);
  border-radius: 5px;
  -webkit-backdrop-filter: blur(5px);
  border: none;
}

.cls-1 {
  fill: #f6c;
  fill-rule: evenodd;
}

#listado {
  position: relative;
  grid-row: 2;
  grid-column: 1;
  display: flex;
  flex-direction: column;
}

#portrait-svg {
  object-fit: cover;
  height: 100%;
}

#swipeinf {
  position: fixed;

  height: 20vh;
  width: 50vw;
  z-index: 100;
  top: 40%;
  left: 25%;
  background: rgba(99, 163, 107, 0.55);
  /* box-shadow: 0 8px 15px 0 rgba(31, 172, 31, 0.37); */
  backdrop-filter: blur(2px);
  border-radius: 5px;
  -webkit-backdrop-filter: blur(2px);
}

#general-presentation,
#presentation>* {
  padding: 12px;
}

#presentation {
  position: relative;
  margin-top: 10%;
  margin-left: auto;

  height: 20vh;
}

/* Formular conf */
#contactForm {
  /* display: none; */
  position: relative;
  width: 95%;
  height: 65vh;
  padding: 2rem;
}

#content {
  height: 50%;
  resize: none;
}

.textValues {
  height: 1rem;
  display: flex;
  padding: 1rem;
  margin: 0.15rem;
  width: 100%;
  background: rgba(216, 202, 202, 0.055);
  box-shadow: 0 8px 15px 0 rgba(31, 172, 31, 0.37);
  backdrop-filter: blur(2px);
  border-radius: 5px;
  -webkit-backdrop-filter: blur(2px);
  border: none;
  text-align: left;
}

#contactForm>label {
  text-align: left;
}

#submitValues {
  margin-top: 2rem;
  background: rgba(216, 202, 202, 0.055);
  box-shadow: 0 8px 15px 0 rgba(31, 172, 31, 0.37);
  backdrop-filter: blur(2px);
  border-radius: 5px;
  -webkit-backdrop-filter: blur(2px);
  width: 100%;
}

#message {
  color: #4bdb27;
}

#rot {
  animation: rotation 2s infinite;
}

/* svg configuration */

portrait-svg {
  height: 20vh;
  width: fit-content;
  object-fit: contain;
  position: relative;
}

/* paths highliting inside svg */
#presentation path {
  animation: fill 3.2s ease 1 forwards 1s;
  box-shadow: -5px -5px 5px rgba(0, 0, 0, 0.7);
}

#presentation path:nth-child(3) {
  transform-origin: 10% 40%;
  animation: fall 0.06s ease-in 1 forwards 3s, fill 1s ease-in-out 3 forwards 5s;
}

.languagesSel {
  margin-top: 1rem;
  display: flex;
  justify-content: space-evenly;
}

.languagesSel>li {
  color: var(--clr-mode);
}

.menu>ul {
  animation: iconAnim 0.5s ease-in;
  color: var(--clr-mode);
  flex-direction: column;
  display: none;
  position: absolute;
  width: fit-content;
  background-color: var(--clr-mode-text);
  padding: var(--grl-art-padding);
}

.menu>ul>* {
  padding: var(--grl-art-padding);
}

#item-bar>ul>li {
  text-align: left;
  margin: 1rem;

  border-bottom: 2px solid black;
}

#prj-list {
  height: 100%;
  text-align: left;
  padding: 10vw 0 10vw 0;
  width: 90vw;
}

#contactForm>#acceptLabel,
#accept {
  display: inline;
  padding: 2rem;
}

#accept {
  width: 1rem;
  height: 1rem;
}

.deploy-open {
  display: flex;
  flex-direction: column;
  width: fit-content;
  padding-right: 2rem;
  color: var(--clr-mode);
}

#deploy-side {
  color: var(--clr-mode);
}

.hide {
  display: none;
}

/* .animationUp {
  animation: appearUp 1s ease;
} */
/* .animationDown {
  animation: disappearDown 1s ease;
} */

/* Cards system project & myself components */
/* #proj-title {
  font-size: var(--fnt-siz-titles);
  margin-top: 5rem;
  height: fit-content;
  width: 100%;
  grid-row: 2;
  grid-column: 2;
} */
.headerProject {
  font-size: var(--fnt-siz-titles);
  position: relative;

  border-bottom: 4px solid#6ebb5b;
  height: fit-content;
  width: 100%;
}

#iconsMin {
  position: relative;
  display: flex;
  justify-content: space-evenly;
  opacity: 0.8;
  margin-top: 45px;
}

#iconsMin>* {
  width: min-content;
}

.swiper-wrapper {
  display: flex;
  width: 50%;
}

.cards {
  display: flex;
  margin: 1rem;
  flex-direction: column;
  /* height: 50vh; */
  /* width: 50vw; */
  align-items: center;
  padding: 1rem;
  border: 2px solid #4bdb27;
  background: rgba(219, 206, 206, 0);
  box-shadow: 0px 0px 12px 0px rgba(14, 202, 14, 0.418);
  backdrop-filter: blur(2px);
  border-radius: 5px;
  -webkit-backdrop-filter: blur(2px);
}

.cards:hover {
  animation: cardanim 1s;
  border: 2px solid #df0095;
  cursor: grab;
}

.cards * {
  color: var(--clr-mode-text);
  padding: 1rem;
}

.cards>img {
  width: 100%;
  margin: 0;
  opacity: 0.8;
}

.prj-sel {
  cursor: pointer;
  color: var(--clr-mode);
}

.selected {
  color: #df0095;
}

.backgrounContainer {
  width: 100px;
  display: none;
}

#swiperContainer {
  position: relative;
  margin: auto;
  background: rgba(219, 206, 206, 0);
  box-shadow: 0px 0px 12px 0px rgba(14, 202, 14, 0.618);
  backdrop-filter: blur(2px);
  border-radius: 5px;
  -webkit-backdrop-filter: blur(2px);
}

.swiper {
  width: 60%;
}

.container {
  margin: 0;
  padding: 0;
  width: min-content (90%, 70.5rem);
}

.button {
  position: absolute;
  bottom: 10%;
  background-color: var(--clr-mode);
  opacity: 0.7;
  padding: 5px;
  border: 2px solid var(--grl-hover-icon-clr);
}

/* scroll */


::-webkit-scrollbar {
  height: 3vh;
  background: #ffffff;
}

::-webkit-scrollbar-track {
  background: var(--clr-mode-text);
  opacity: 0.8;
  padding: 2rem;
}

::-webkit-scrollbar-thumb {
  background: var(--clr-mode);
  opacity: 0.8;
  border: 2px solid var(--clr-mode-text);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(13deg, #c7ceff 14%, #f9d4ff 64%);
}