/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : 12 April 2022, 22:02:00
    Author     : Corentin Bodin
*/

/* COLOR VAR */

:root {
  /*--title:;
    --text:;*/
  --darkgrey: #1d1d1b;
  --greywhite: #e4e4e4;
  --grey: #7a7a77;
  --lightgrey: #c9c9c9;
  --mauve: #8070d4;
}

/*HTML MAIN*/

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  /*height: 100vh;
    width: 100%;*/
  background: linear-gradient(to top, #c1c1c1 0%, #fdfdfe 100%);
  /*background: linear-gradient(230deg, #fdfdfe, #c1c1c1);*/
}

header {
  height: 100px;
  text-align: end;
  /*position: absolute;*/
}

main {
  /*display: grid;
    grid-template-rows: auto 1fr auto;*/
  color: var(--darkgrey);
  min-height: 100vh;
}
/*
main {
        scroll-snap-type: mandatory;
    scroll-snap-points-y: repeat(3rem);
    scroll-snap-type: y mandatory;
}

@supports (scroll-snap-align: start) {
    main {
        scroll-snap-type: mandatory;
        scroll-snap-points-y: repeat(3rem);
        scroll-snap-type: y mandatory;
    }
    section {
        scroll-snap-align: center;
    }
}

section {
    scroll-snap-align: center;
     height: 100vh;
      width: 100vw;
}
*/

section {
  display: block;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}

/*
body, main, section {
    height: 100%;
    width: 100%;
}*/

h1,
h2 {
  text-align: center;
}

h2 {
  margin: 0;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

ul,
ol {
  list-style: none;
}

img {
  /*min-width: 180px;*/
  height: auto;
}

figure img:hover {
  cursor: pointer;
}

.container {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
}

/*anciennement .row*/
.flexcontainer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

/*.wrapper {
    flex-basis: auto;
    flex-grow: 1;
}*/

.gridcontainer {
  display: grid;
}

.activeMODAL {
  display: block !important;
}

/*FONTS*/
h1,
nav {
  font-family: "orbitron";
}

h2,
h3,
h4,
p,
#dwldbtn,
.progresstab,
#skillslist > div:nth-child(3) > ul,
label,
input,
input::placeholder,
textarea,
textarea::placeholder,
.button1 {
  font-family: "electrolize";
}

/* navbar */

nav {
  display: block;
  width: 100%;
  height: 75px;
  z-index: 1;
}

nav input,
nav span {
  display: none;
}

nav ul {
  text-decoration: none;
  list-style: none;
}

nav ul li {
  display: inline-block;
  width: 14%;
  min-width: 165px;
}

nav ul li a {
  display: block;
  text-decoration: none;
  color: var(--darkgrey);
  font-size: larger;
}

nav ul li a:hover {
  color: #df1a60;
  transition: all ease-in 0.5s;
}

/*
nav ul li a::before {
    content: '';
    display: block;
    width: 100%;
    height: 9px;
    background-color: var(--darkgrey);
}
*/

nav ul li a:hover::before {
  background-color: #df1a60;
  -webkit-box-shadow: 0px 0px 30px 0px rgba(223, 26, 96, 1);
  -moz-box-shadow: 0px 0px 30px 0px rgba(223, 26, 96, 1);
  box-shadow: 0px 0px 30px 0px rgba(223, 26, 96, 1);
  transition: all ease-in 0.5s;
}

/* PORTFOLIO */

#portfolio {
  color: var(--darkgrey);
  padding-bottom: 20px;
}

#portfolio h2 {
  color: var(--darkgrey);
}

#portfolionav {
  /*display: inline-block;
    position: relative;
    justify-self: center;*/
  display: inline-flex;
  width: 100%;
  justify-content: center;
  padding: 0;
  margin: 0;
  z-index: 1;
}

.portfoliomenu {
  /*display: block;
    float: left;*/
  background: var(--darkgrey);
  border-right: 2px solid rgba(0, 0, 0, 0);
}

.portfoliomenu:hover {
  background: var(--mauve);
  transition: opacity 0.3s ease-in-out;
}

.portfoliomenu:last-child {
  border: none;
}

.portfoliomenu label {
  text-align: center;
  text-decoration: none;
  color: #fdfdfe;
  margin: 0;
  cursor: pointer;
}

.portfoliomenu label h4 {
  margin: 0;
  padding: 15px 20px;
}

/*Portfolio tabs & radio*/
#portfolio input[type="radio"] {
  display: none;
}

/* needs to be dynamic value */
#tab1:checked ~ div * figure {
  display: block !important;
}

#tab2:checked ~ div .ARTWORK {
  display: block !important;
}

#tab3:checked ~ div .3d {
  display: block !important;
}

#tab4:checked ~ div .INFOGRAPHIE {
  display: block !important;
}

#tab5:checked ~ div .WEB {
  display: block !important;
}

#tab6:checked ~ div .STUDIES {
  display: block !important;
}

#tab1:checked ~ ul li:first-child {
  background: var(--mauve);
}

/* PORTFOLIO GALLERY */

#portfoliodisplay {
}

/* GALLERY FLEX */
#portfoliodisplay div {
  margin-top: 5%;
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

#portfoliodisplay div figure {
  display: none;
  width: 260px;
  height: 260px; /*160px*/
  margin: 10px;
  /*flex: 1;*/
  box-shadow: 0.3rem 0.4rem 0.4rem rgba(0, 0, 0, 0.4);
  border-radius: 1%;
  overflow: hidden;
  /*border: solid 10px var(--darkgrey);*/
}

#portfoliodisplay div figure img {
  min-width: 180px;
  height: inherit;
  width: 100%;
  object-fit: cover;
}

#portfoliodisplay div figure:hover {
  filter: blur(1px);
  transition: opacity 0.3s ease-in-out;
}

/* MODAL */

.modal {
  display: none;
  position: fixed;
  background: rgba(0, 0, 0, 0.9);
  width: 100%;
  height: 100%;
  margin: 0;
  top: 0;
  left: 0;
  /*overflow-y: scroll;*/
  z-index: 1;
}

#exitmodal {
  position: absolute;
  right: 0;
  width: 64px;
  height: 64px;
  background-color: #00e5ff;
  border: none;
  cursor: pointer;
}

#exitmodal:focus {
  outline: none;
}

#exitmodal::before,
#exitmodal::after {
  content: " ";
  width: 60%;
  height: 2px;
  background-color: var(--darkgrey);
  -webkit-transform-origin: center center;
  transform-origin: center center;
  position: absolute;
  left: 50%;
  top: 50%;
}

#exitmodal::before {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
  transform: translate(-50%, -50%) rotate(-45deg);
}

#exitmodal::after {
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  transform: translate(-50%, -50%) rotate(45deg);
}

/*MODAL SLIDER*/
#modalslider {
  margin-top: 83px;
}

.modal .arrowL {
  margin-right: 1px;
}

.modal .arrowL,
.modal .arrowR {
  display: flex;
  float: left;
  width: 64px;
  height: 64px;
  background-color: #00e5ff;
  color: var(--darkgrey);
  text-decoration: none;
  justify-content: center;
  line-height: 64px;
  flex-grow: 1;
}

.modalsliderzoom {
  margin: 0;
  min-height: 80vh;
}

.modalsliderzoom img:hover {
  cursor: initial;
}

#modalsliderimg {
  position: relative;
  order: -1;
  min-width: inherit;
  width: 100%;
  max-height: 600px;
  min-height: inherit;
  object-fit: contain;
}

/* ABOUT */

#about {
  min-height: 100vh;
}

#about h3 {
  border-bottom: 4px solid var(--mauve);
  width: 7.5em;
}

/* Me */

#about table {
  margin: 0 auto;
  border: 2px solid var(--darkgrey);
}

#about tr div {
  float: left;
  margin: 0;
}

#about td {
  border: 2px solid var(--darkgrey);
}

#logiciels,
#autres {
  width: 100%;
  /*min-width:100%;*/
}

#logiciels div,
#autres div {
  width: 60%;
  margin: 0 auto;
}

#logiciels ul,
#autres ul {
  display: flex;
  flex-wrap: wrap;
  /*margin: 0 auto; sans la div parent*/
}

/* SANS LA DIV PARENT
#logiciels ul {
    width: 60%;
}*/

#logiciels li,
#autres li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-right: 8px;
  margin-bottom: 8px;
  background-color: #222;
  padding: 3px 10px;
  font-size: 0.8em;
  border-radius: 4px;
  color: #bbb;
}

#logiciels img {
  height: 20px;
  aspect-ratio: auto 20 / 20;
  width: 20px;
}

#logiciels li p,
#autres li p {
  margin: 0;
  margin-left: 10px;
  text-align: left;
}

#autres li p {
  margin: 0;
}

/* CONTACT */

#contact {
  min-height: 100vh;
}

#contact-form {
  font-size: 20px;
  color: var(--darkgrey);
  justify-content: center;
  background: #242424;
  backdrop-filter: blur(10px);
  border-radius: 2px;
  padding: 50px 25px;
  /*clip-path: polygon(5% 0, 100% 0, 100% 90%, 95% 100%, 0 100%, 0% 15%);*/
  /*clip-path: polygon(4% 0, 0 10%, 0 100%, 96% 100%, 100% 90%, 100% 0);*/
  clip-path: polygon(2% 0, 0 5%, 0 100%, 98% 100%, 100% 95%, 100% 0);
}

.contactcontainer,
.contactcontainerlast {
  position: relative;
  padding-right: 15px;
  padding-left: 15px;
  -webkit-box-flex: 0;
}

.contactcontainer {
  /*max-width: 50%;*/
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
}

.contactcontainerlast {
  /*max-width: 100%;*/
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  color: var(--lightgrey);
}

.contactcontainer span {
  position: absolute;
  /*   left: 0;
       bottom: 0;*/
  width: 94.5%;
  height: 2px;
  background: var(--mauve);
  border-radius: 10px;
  pointer-events: none;
  transition: 0.5s;
}

.form-control:focus ~ span,
.form-control:not(:placeholder-shown) ~ span {
  height: 0;
}

/*
.form-control:focus ~ span, .form-control:not(:placeholder-shown) ~ span {
    height: 44px;
}*/

.contactcontainer label,
.contactcontainerlast label {
  position: absolute;
  padding: 0 0 0.85rem 0.75rem;
  /*margin-bottom: .5rem;*/
  color: var(--grey);
  pointer-events: none;
  transition: 0.5s;
}

.contactcontainer label {
  top: 14px;
}

.contactcontainerlast label {
  top: 9px;
}

/* OLD without placeholder soluce
.form-control input:valid ~ label {
    transform: translateY(-40px);
    padding: 0;
    color: var(--lightgrey);
}*/

.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1.5rem;
  line-height: 1.5;
  border: 0;
  border-radius: 0.25rem;
  height: 50px;
  font-size: 18px;
  color: var(--grey);

  background: transparent;
  background-size: 100% 200%;
  background-image: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(0, 0, 0, 0.3) 50%
  );
  -webkit-transition: background-position 0.5s;
  -moz-transition: background-position 0.5s;
  transition: background-position 0.5s;
}

.form-control,
.contactcontainer,
.contactcontainerlast {
  box-sizing: border-box;
}

/* if placeholder hidden (when filled) show */
.form-control:focus ~ label,
.form-control:not(:placeholder-shown) ~ label {
  transform: translateY(-40px);
  padding: 0;
  color: var(--lightgrey);
}

.form-control:focus,
.form-control:not(:placeholder-shown) {
  outline: none;
  background-position: 0 100%;
}

textarea {
  overflow: auto;
  resize: vertical;
  min-height: 50px;
}

.comments {
  font-size: 18px;
  color: var(--darkgrey);
  height: 25px;
  margin-top: 5px;
}

#contact-form input[type="submit"] {
  margin: 40px auto 0px;
  display: block;
}

.button1 {
  font-weight: bold;
  text-transform: uppercase;
  color: var(--grey);
  border: 1px solid var(--grey);
  display: inline-block;
  margin-top: 20px;
  padding: 18px 50px;
  border-radius: 3px;
  transition: all 0.3s ease-in 0s;
  background: transparent;
}

.button1:hover {
  /* background: #db014e; ROSE ROUGE*/
  background: var(--mauve);
  color: #fdfdfe;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

/* FOOTER */

footer {
  padding: 20px 0 40px;
  /*
    position: relative;
    bottom: 0;
    right: 0;
    left: 0;*/
  text-align: center;
  text-decoration: none;
  color: #fdfdfe;
  line-height: 20px;
  background: var(--darkgrey);
}

footer p {
  margin-top: 30px;
  margin-bottom: 0;
}

/* ARROW RETURN */

/* custom scrollbar */

html::-webkit-scrollbar {
  width: 15px;
}

html::-webkit-scrollbar-track {
  background-color: var(--darkgrey);
}

html::-webkit-scrollbar-thumb {
  /*border-radius: 100px;*/
  border: solid transparent;
  border-left: 15px;
  border-right: 15px;
  background-clip: content-box;
  background-color: var(--mauve);
  margin: 0;
  padding: 0;
}

/* BANNER */

#banner {
  height: 100vh;
}

#effect {
  position: absolute;
  width: 100%;
  margin: 0;
  height: 100%;
  top: 0;
  font-weight: 100;
  background: radial-gradient(#a23982, #1f1013);
  -webkit-overflow-y: hidden;
  -moz-overflow-y: hidden;
  -o-overflow-y: hidden;
  overflow-y: hidden;
  z-index: -1;
}

.light {
  position: absolute;
  width: 0px;
  opacity: 0.75;
  background-color: white;
  box-shadow: #e9f1f1 0px 0px 20px 2px;
  opacity: 0;
  top: 100vh;
  bottom: 0px;
  left: 0px;
  right: 0px;
  margin: auto;
}

.x1 {
  -webkit-animation: floatUp 4s infinite linear;
  -moz-animation: floatUp 4s infinite linear;
  -o-animation: floatUp 4s infinite linear;
  animation: floatUp 4s infinite linear;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

.x2 {
  -webkit-animation: floatUp 7s infinite linear;
  -moz-animation: floatUp 7s infinite linear;
  -o-animation: floatUp 7s infinite linear;
  animation: floatUp 7s infinite linear;
  -webkit-transform: scale(1.6);
  -moz-transform: scale(1.6);
  -o-transform: scale(1.6);
  transform: scale(1.6);
  left: 15%;
}

.x3 {
  -webkit-animation: floatUp 2.5s infinite linear;
  -moz-animation: floatUp 2.5s infinite linear;
  -o-animation: floatUp 2.5s infinite linear;
  animation: floatUp 2.5s infinite linear;
  -webkit-transform: scale(0.5);
  -moz-transform: scale(0.5);
  -o-transform: scale(0.5);
  transform: scale(0.5);
  left: -15%;
}

.x4 {
  -webkit-animation: floatUp 4.5s infinite linear;
  -moz-animation: floatUp 4.5s infinite linear;
  -o-animation: floatUp 4.5s infinite linear;
  animation: floatUp 4.5s infinite linear;
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
  left: -34%;
}

.x5 {
  -webkit-animation: floatUp 8s infinite linear;
  -moz-animation: floatUp 8s infinite linear;
  -o-animation: floatUp 8s infinite linear;
  animation: floatUp 8s infinite linear;
  -webkit-transform: scale(2.2);
  -moz-transform: scale(2.2);
  -o-transform: scale(2.2);
  transform: scale(2.2);
  left: -57%;
}

.x6 {
  -webkit-animation: floatUp 3s infinite linear;
  -moz-animation: floatUp 3s infinite linear;
  -o-animation: floatUp 3s infinite linear;
  animation: floatUp 3s infinite linear;
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
  left: -81%;
}

.x7 {
  -webkit-animation: floatUp 5.3s infinite linear;
  -moz-animation: floatUp 5.3s infinite linear;
  -o-animation: floatUp 5.3s infinite linear;
  animation: floatUp 5.3s infinite linear;
  -webkit-transform: scale(3.2);
  -moz-transform: scale(3.2);
  -o-transform: scale(3.2);
  transform: scale(3.2);
  left: 37%;
}

.x8 {
  -webkit-animation: floatUp 4.7s infinite linear;
  -moz-animation: floatUp 4.7s infinite linear;
  -o-animation: floatUp 4.7s infinite linear;
  animation: floatUp 4.7s infinite linear;
  -webkit-transform: scale(1.7);
  -moz-transform: scale(1.7);
  -o-transform: scale(1.7);
  transform: scale(1.7);
  left: 62%;
}

.x9 {
  -webkit-animation: floatUp 4.1s infinite linear;
  -moz-animation: floatUp 4.1s infinite linear;
  -o-animation: floatUp 4.1s infinite linear;
  animation: floatUp 4.1s infinite linear;
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -o-transform: scale(0.9);
  transform: scale(0.9);
  left: 85%;
}

@-webkit-keyframes floatUp {
  0% {
    top: 100vh;
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  50% {
    top: 0vh;
    opacity: 0.8;
  }
  75% {
    opacity: 1;
  }
  100% {
    top: -100vh;
    opacity: 0;
  }
}
@-moz-keyframes floatUp {
  0% {
    top: 100vh;
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  50% {
    top: 0vh;
    opacity: 0.8;
  }
  75% {
    opacity: 1;
  }
  100% {
    top: -100vh;
    opacity: 0;
  }
}
@-o-keyframes floatUp {
  0% {
    top: 100vh;
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  50% {
    top: 0vh;
    opacity: 0.8;
  }
  75% {
    opacity: 1;
  }
  100% {
    top: -100vh;
    opacity: 0;
  }
}
@keyframes floatUp {
  0% {
    top: 100vh;
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  50% {
    top: 0vh;
    opacity: 0.8;
  }
  75% {
    opacity: 1;
  }
  100% {
    top: -100vh;
    opacity: 0;
  }
}

/* OW ANIM GRADIENT */
/*
body {
    background: linear-gradient(230deg, #1e3f5d, #186098, #2d8ca9, #878cea, #7a98ee);
    background-size: 100% 100%;

    -webkit-animation: ow 21s ease infinite;
    -moz-animation: ow 21s ease infinite;
    animation: ow 21s ease infinite;
}

@-webkit-keyframes ow {
    0%{
        background-position:0% 27%
    }
    50%{
        background-position:100% 74%
    }
    100%{
        background-position:0% 27%
    }
}
@-moz-keyframes ow {
    0%{
        background-position:0% 27%
    }
    50%{
        background-position:100% 74%
    }
    100%{
        background-position:0% 27%
    }
}
@keyframes ow {
    0%{
        background-position:0% 27%
    }
    50%{
        background-position:100% 74%
    }
    100%{
        background-position:0% 27%
    }
}
*/
