@import url("https://fonts.googleapis.com/css2?family=Bangers&family=Indie+Flower&display=swap");

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

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




html {
  overflow: hidden;
  
}

:root {
  --canvas-height:50vh;
  --header-background:transparent;
  --header-border-radius:10px;
  
}

body {
  position: absolute;
  z-index: 1;
  width:100vw;
  height:100vh;
  padding: 0;
  margin: 0;
  overflow: hidden;
  --brightness-level:1;
  --switch-text-color:rgb(234, 206, 140);
  --switch-button-shadow:rgba(255, 217, 0, 0.712);

      --color-text: #fff;
    --color-bg: rgba(10, 10, 37, 0.52);
    --color-bg-2: #48529c;
    --color-bg-3: orange;
    --color-link: #dc2c5a;
    --color-link-hover: #ff0060;   
    overflow: hidden;
    background-color: rgb(1,1,1);
    transition:background-color 2s;   
    --color-link2: rgba(148, 32, 94, 0.609);
}

.wrapper {
  filter:brightness(var(--brightness-level));
  -webkit-filter:brightness(var(--brightness-level));
}



.background {
  opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% + 800px);
    background: radial-gradient(ellipse at 500% 0, var(--color-bg) 50%, var(--color-bg-2) 80%, var(--color-bg-3) 100%);
    z-index: -2;
    transform: translateY(-800px);
    transform: scaleY(-1);
    transition:opacity 2s;
    
}

#myVideo {
  position: absolute;
  z-index: 0;
  min-width: 100%; 
  min-height: 100%;
}

#renderCanvas { 
  max-height: var(--canvas-height);
}

.intro{
  height:var(--canvas-height);


}


p {
line-height: 1.5em;
color:var(--switch-text-color);
font-family: 'Suranna';
font-weight: normal;
font-style: normal;
font-size: 3.3rem;
}

b {color:var(--switch-text-color)
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

#preloader {
  overflow: hidden;
  position: absolute;
  display: block;
  height:100vh;
  width:100vw;
  background-color: #fff;
  /* change if the mask should have another color then white */
  z-index: 99;
  /* makes sure it stays on top */
}

.preload_grid {
  display: block;
  height: 100%;
  position: relative;
}

#status {
  display: block;
  position: relative;
  height: 25%;
}
#lottie {
  display: none;
  position: absolute;
  height: 50%;
}

#loader_text {
  width:100%;
  display: block;
  position: relative;
  height: 70%;
  margin:0 auto;
  text-align: center;
font-family: 'Suranna';
font-weight: normal;
font-style: normal;
font-size: 2rem;
  
}


.main {
  opacity:0;
  height:100vh;
  padding: 0;
  margin: 10%;
  margin-top: 0;
  margin-bottom: 0;
  transition: opacity 1s;
}

#babylon_text {
  margin-left: 25%;
  position: absolute;
  z-index: 2;
  top: 20%;
  color: grey;
  font-family: cursive;
  font-size: 40px;
}

.tooltip {
  position: relative;
  float: right;
}
.tooltip > .tooltip-inner {
  background-color: #eebf3f;
  padding: 5px 15px;
  color: rgb(23, 44, 66);
  font-weight: bold;
  font-size: 13px;
}
.popOver + .tooltip > .tooltip-arrow {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #eebf3f;
}

.skills_extended,
.skills_concise {
  padding: 1%;
  display: grid;
  height: 100%;
  width: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 0.1fr 1fr;
  grid-column-gap: 1%;
  grid-row-gap: 2%;
  grid-template-areas: "a_top b_top c_top" "a b c";
}

#primary {
  grid-area: a_top;
  border: solid;
  margin: 0;
  padding: 0;
  background-color: var(--header-background);
  box-shadow: 1px;
  border-radius: var(--header-border-radius);
}
#secondary {
  grid-area: b_top;
  border: solid;
  margin: 0;
  padding: 0;
  background-color: var(--header-background);
  border-radius: var(--header-border-radius);
}
#extra {
  grid-area: c_top;
  border: solid;
  margin: 0;
  padding: 0;
  background-color: var(--header-background);
  border-radius: var(--header-border-radius);
}
h2 {
  text-align: center;
  text-justify: center;
  margin: 0;
  padding: 5px;
  color:var(--switch-text-color);
}

h3 {
color:white;
}

.section2 {
  padding: 1%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 1%;
  grid-template-areas: "b2 c2 d2";
  justify-items: center;
  align-items: center;
  border: solid 3px;
  border-style: inset;
  border-radius: 1rem;
  background-color: rgba(238, 238, 238,0.2);
  /* margin-left:-10px;
  margin-right:-10px; */
  backdrop-filter: blur(4px);
}

#form-send-button {
  display: grid;
  grid-area: c2;
}

.form-control {
  min-width:20vh;
  max-width: 50vh; 
  max-height:40vh;
}
textarea.form-control {
  min-height:10vh;
}

.about>.tab-content { 
  border: solid 3px;
  border-style: inset;
  border-radius: 1rem;
  background-color: rgba(238, 238, 238,0.2);
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 5px;  
  backdrop-filter: blur(4px);
}

#Credentials {
  max-height: 480px;
  max-width: 480px;
  margin:0 auto;
}

.contacts2 {
  grid-area: b2;
  display: flex;
  justify-content: center;
}
.contacts3 {
  grid-area: d2;
}

#contacts-form {
  grid-area: c2;
}


#email {
  display: block;
}
#whatsap {
  display: block;
}

.skills1 {
  grid-area: a;
  padding-top: 1%;
}
.skills2 {
  grid-area: b;
  padding-top: 1%;
}
.skills3 {
  grid-area: c;
  padding-top: 1%;
}

#black {
  color: black;
}

.progress {
  border-radius: 0;
  overflow: visible;
}
.progress-bar,
.progress-bar-2 {
  background: rgb(23, 44, 60);
  -webkit-transition: width 1.5s ease-in-out;
  transition: width 1.5s ease-in-out;
}

#zero,
#one,
#two,
#three {
  box-shadow: 2px 2px 2px 2px var(--switch-button-shadow); 
  cursor: pointer;
  border: solid;
  border-radius: 10px;
  padding: 10px;
  border-color: grey;
  transition: background-color 500ms;
  backdrop-filter: blur(4px);
  background-color: rgba(169, 169, 169, 0.226);
  
}

h1 {
  color:var(--switch-text-color);
  font-size: 5rem;
  
}
#zero:hover {
  background-color: lightgray;
}
#one:hover {
  background-color: lightgray;
}
#two:hover {
  background-color: lightgray;
}
#three:hover {
  background-color: lightgray;
}

.active_header {
  color: #2098d1;
  box-shadow: inset 2px 2px 2px 2px var(--switch-button-shadow) !important;
}

/* .active_header:hover {
  background-color: rgba(148, 32, 94, 0.309) !important;
} */

.text {
  font-family: "Indie Flower", cursive;
  display: flex;
  justify-content: center;
  text-align: center;
  border-radius: 10px;
}

ul.tabs_menu,
ul.tabs_menu_2 {
  display: block;
  text-align: center;
  margin-right: 40px;
}
.tabs_menu li,
.tabs_menu_2 li {
  list-style-type: none;
  margin-top: 5px;
  display: inline-block;
}

li a {
  font-size: 20px;
}
.tabs_menu li a,
.tabs_menu_2 li a {
  border: 1px solid;
  color: #1e1e1f;
  cursor: pointer;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 2px;
  margin-top: 5px;
  padding: 3px 10px;

  text-transform: uppercase;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.tabs_menu .active,
.tabs_menu_2 .active {
  background: #ca3d26 none repeat scroll 0 0;
  border-color: #ca3d26;
  color: #fff;
}

ul.tabs_menu a:hover {
  background: #ca3d26 none repeat scroll 0 0;
  border-color: #ca3d26;
  color: #fff;
}
ul.tabs_menu_2 a:hover {
  background: #ca3d26 none repeat scroll 0 0;
  border-color: #ca3d26;
  color: #fff;
}

.Portfollio {
  display: none;
}

.tab-content {
  overflow: hidden;
  border: solid 3px;
  border-style: inset;
  border-radius: 1rem;
  background-color: rgba(238, 238, 238,0.2);
  backdrop-filter: blur(4px);
}
.nav-tabs > li {
  float: none;
  display: inline-block;
  zoom: 1;
}

.nav-tabs {
  text-align: center;
  border-bottom: 0px;
}

.hidden {
  display: none;
}

.nav {
  cursor: pointer;
}

.hvr {
  background: rgba(0, 0, 0, 0.5);
}

.toggleWrapper {
  opacity:0;
  display: block;
  position: fixed;
  top: 5%;
  right: 2%;
  overflow: hidden;
  padding: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 1s;
}
.toggleWrapper input {
  position: absolute;
  opacity:0;
}

.toggle {
  cursor: pointer;
  display: inline-block;
  position: relative;
  width: 90px;
  height: 50px;
  background-color: #83d8ff;
  border-radius: 84px;
  transition: background-color 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.toggle:before {
  content: "AM";
  position: absolute;
  left: -50px;
  top: 15px;
  font-size: 18px;
}
.toggle:after {
  content: "PM";
  position: absolute;
  right: -48px;
  top: 15px;
  font-size: 18px;
  color: #749ed7;
}

.toggle__handler {
  display: inline-block;
  position: relative;
  z-index: 1;
  top: 3px;
  left: 3px;
  width: 44px;
  height: 44px;
  background-color: #ffcf96;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: rotate(-45deg);
}
.toggle__handler .crater {
  position: absolute;
  background-color: #e8cda5;
  opacity: 0;
  transition: opacity 200ms ease-in-out;
  border-radius: 100%;
}
.toggle__handler .crater--1 {
  top: 18px;
  left: 10px;
  width: 4px;
  height: 4px;
}
.toggle__handler .crater--2 {
  top: 28px;
  left: 22px;
  width: 6px;
  height: 6px;
}
.toggle__handler .crater--3 {
  top: 10px;
  left: 25px;
  width: 8px;
  height: 8px;
}

.star {
  position: absolute;
  background-color: #ffffff;
  transition: all 300ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
  border-radius: 50%;
}

.star--1 {
  top: 10px;
  left: 35px;
  z-index: 0;
  width: 30px;
  height: 3px;
}

.star--2 {
  top: 18px;
  left: 28px;
  z-index: 1;
  width: 30px;
  height: 3px;
}

.star--3 {
  top: 27px;
  left: 40px;
  z-index: 0;
  width: 30px;
  height: 3px;
}

.star--4,
.star--5,
.star--6 {
  opacity: 0;
  transition: all 300ms 0 cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.star--4 {
  top: 16px;
  left: 11px;
  z-index: 0;
  width: 2px;
  height: 2px;
  transform: translate3d(3px, 0, 0);
}

.star--5 {
  top: 32px;
  left: 17px;
  z-index: 0;
  width: 3px;
  height: 3px;
  transform: translate3d(3px, 0, 0);
}

.star--6 {
  top: 36px;
  left: 28px;
  z-index: 0;
  width: 2px;
  height: 2px;
  transform: translate3d(3px, 0, 0);
}

input:checked + .toggle {
  background-color: #749dd6;
}
input:checked + .toggle:before {
  color: #749ed7;
}
input:checked + .toggle:after {
  color: #ffffff;
}
input:checked + .toggle .toggle__handler {
  background-color: #ffe5b5;
  transform: translate3d(40px, 0, 0) rotate(0);
}
input:checked + .toggle .toggle__handler .crater {
  opacity: 1;
}
input:checked + .toggle .star--1 {
  width: 2px;
  height: 2px;
}
input:checked + .toggle .star--2 {
  width: 4px;
  height: 4px;
  transform: translate3d(-5px, 0, 0);
}
input:checked + .toggle .star--3 {
  width: 2px;
  height: 2px;
  transform: translate3d(-7px, 0, 0);
}
input:checked + .toggle .star--4,
input:checked + .toggle .star--5,
input:checked + .toggle .star--6 {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
input:checked + .toggle .star--4 {
  transition: all 300ms 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
input:checked + .toggle .star--5 {
  transition: all 300ms 300ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
input:checked + .toggle .star--6 {
  transition: all 300ms 400ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

/* Fullscreen BUtton */
#fullscreen {
  display: block;
  position: fixed;
  bottom: 5vh;
  left: 2%;
  overflow: hidden;
  padding: 0;
}

#fullscreen:hover {
  cursor: pointer; 
}

#fullscreenButton { 
  display: none;
  position: relative;
  all: unset;
  width: max(5vh,5vw);
  height: auto;

}
:focus {
  outline: auto;
}
#fullscreensvg {
  display: none;
  fill:var(--switch-text-color);
  width: 100%;
  height: auto;
  padding: 10%;
}
path {
  transition: transform.25s ease-in;
}
[aria-label^="C"] path {
  transform: translate(62%, 62%);
}
[aria-label^="C"] path:nth-of-type(2) {
  transform: translate(-62%, 62%);
}
[aria-label^="C"] path:nth-of-type(3) {
  transform: translate(-62%, -62%);
}
[aria-label^="C"] path:nth-of-type(4) {
  transform: translate(62%, -62%);
}


