/* =============================================================================
   HTML5 CSS Reset Minified - Eric Meyer
   ========================================================================== */

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}
li{list-style:none}


/* =============================================================================
   My CSS
   ========================================================================== */

/* ---- base ---- */

html,body{ 
	width:100%;
	height:100%;
	background-color: #EBE7E7;
}

html{
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body{
  font-family: Hack, sans-serif;
}

div{
  display:block;
}

canvas{
  display:block;
  vertical-align:bottom;
}

h1{
  font-size: 80px;
  color: white;
}

h3{
  color: black;
}

a{
  color: black;
  font-family: 'Open Sans', sans-serif;
}

.text-center{
  text-align: center;
}

/* ---- stats.js ---- */

.count-particles{
  background: #000022;
  position: absolute;
  top: 48px;
  left: 0;
  width: 80px;
  color: #13E8E9;
  font-size: .8em;
  text-align: left;
  text-indent: 4px;
  line-height: 14px;
  padding-bottom: 2px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
}

.js-count-particles{
  font-size: 1.1em;
}

#stats,
.count-particles{
  -webkit-user-select: none;
  margin-top: 5px;
  margin-left: 5px;
}

#stats{
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}

.count-particles{
  border-radius: 0 0 3px 3px;
}


/* ---- particles.js container ---- */

#particles-js{
  width: 100%;
  height: 100%;
  background-color: #000;
  background-image: url('');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

/* Image Header - Floating */

.float{
  animation: anime 2s infinite ease-in-out alternate;
  -webkit-animation : anime 1s infinite ease-in-out alternate;

}

.anime-delay{
  animation-delay: 2s;
}

.imgProfil{
  width: 50%;
}

@keyframes anime{
  100% {
    transform: translateY(20px);
    -webkit-transform : translateY(20px);
    -moz-transform : translateY(20px);
    -ms-transform : translateY(20px);
    -o-transform : translateY(20px);
  }
}

.particles-box {
  position : relative;
  height: 100%;
  background-color: #111;
}

.Nom{
  font-size: 80px;
  color: white;
  margin-top: 35px;
}

.banner-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display : flex;
  justify-content : center ; 
  align-items : center;
  flex-direction : column;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Text Effect */

.style-glow {
  font-weight: 700;
  text-align: center;
  font-size: 25px;
  font-family: Hack, sans-serif;
  text-transform: uppercase;
  background: linear-gradient(90deg, #000, #fff, #000);
  letter-spacing: 5px;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-repeat: no-repeat;
  background-size: 80%;
  animation: shine 5s linear infinite;
  position: relative;
}

@keyframes shine {
  0% {
    background-position-x: -500%;
  }
  100% {
    background-position-x: 500%;
  }
}

.column {
  display: inline-grid;
  grid-auto-flow: row;
  grid-gap: 24px;
  justify-items: center;
  margin: auto;
}

@media (min-width: 500px) {
  .column {
    grid-auto-flow: column;
  }
}

.column a {
  color: white;
  text-decoration: none;
  box-shadow: inset 0 -1px 0 hsla(0, 0%, 100%, 0.4);
}

.column a:hover {
  box-shadow: inset 0 -1.2em 0 hsla(0, 0%, 100%, 0.4);
}

.column li:last-child {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.column li:hover ~ li p {
  animation: wave-animation 0.3s infinite;
}

/* below is just for demo styling */

.footer-class {
  display: flex;;
  width: 100%;
  background-color: #000;
  line-height: 1.3;
  font-family: Menlo, monospace;
}

@keyframes wave-animation {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(20deg);
  }
  75% {
    transform: rotate(-15deg);
  }
}


/* Compétences */ 

.background-body {
  background-color: #EBE7E7;
}

.flex{
  display: flex;
}

.frame{
  padding: 30px ;
}

p {
  margin-bottom:1em;
  color: slategrey;
}
hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,.3);
  border-bottom: 1px solid rgba(0,0,0,.08);
  margin: 2.5em 0;
  position: relative;
}
hr:before,hr:after {
  content: '';
  position: absolute;
  bottom:0px;
  height: 5em;
  width: 100%;
  background: radial-gradient(ellipse at bottom, rgba(255,255,255,0.35) 0%,rgba(255,255,255,0) 70%);
  z-index:0;
}
hr:after {
  top:0px;
  bottom:auto;
  height: 1.5em;
  background: radial-gradient(ellipse at top, rgba(0,0,0,0.06) 0%,rgba(0,0,0,0) 70%);
}

.body-text {
  max-width: 30em;
  margin: 4em auto 2em;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.5em;
  background-color: #ddd;
  padding: 0 6% 2em;
  box-shadow: 0 0 40px rgba(0,0,0,.1),
    3px 2px 10px rgba(0,0,0,.15);
  border-radius:4px;
}

.body-desc {
  max-width: 30em;
  margin: 4em auto 2em;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.5em;
  background-color: #ddd;
  padding: 0 3% 1em;
  box-shadow: 0 0 40px rgba(0,0,0,.1), 3px 2px 10px rgba(0,0,0,.15);
  border-radius: 12px;
}

/* Veille */

.body-large{
  max-width: 30em;
  margin: 4em auto 2em;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.5em;
  background-color: #ddd;
  padding: 0 6% 2em;
  box-shadow: 0 0 40px rgba(0,0,0,.1),
    3px 2px 10px rgba(0,0,0,.15);
  border-radius:4px;
}

.body-embed{
  width: 800px;
  height: 800px;
  margin: 4em auto 2em;
  border-radius: 4px;

}
/* Cybersecurite */

.wonder-box{
  display: flex;
  flex-wrap: nowrap;
  padding-top: 30px;
  justify-content: center;
  gap: 9px;
}

.separ{
  padding-left: 100px;
}

.trans{
  webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s cubic-bezier(0.1, 0.5, 0.4, 0.73);
    opacity: 0.85;
}

.trans:hover{
  transform: translateY(-20px);
}

.shadow-box {
  box-shadow: 10px 0 90px rgba(0, 0, 0, 0.32), 3px 2px 10px rgba(0, 0, 0, 0.3);
  background: #eeedec;
}

.geo-box {
  padding: 40px;
  border-radius: 20px;
  box-sizing: border-box;
  width: 85%;
  height: 95%;
}

.geo-box img{
  margin-bottom: 15px;
}


.esp-div {
    width: 100%;
    padding-right: 5px;
    padding-left: 5px;
    /* margin-right: auto; */
    /* margin-left: auto; */
    margin: 15px 0px 25px
}

/* Contact */

.content{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 50px 0px 45px;
}

.card {
  width: 50%;
  padding: 30px 90px 90px 90px;
  border: 6px solid rgba(0, 0, 0, 0.3);
  box-shadow: 20px 20px 0 rgba(0, 0, 0, 0.3);
  border-radius: 50px;
  position: relative;
}

.card h2 {
  color: rgba(0, 0, 0, 0.3);
  font-size: 60px;
  text-transform: uppercase;
}

.card .row {
  position: relative;
  width: 100%;
  display: grid;
  grid: auto / auto auto;
  grid-template-columns: repeat(auto-fit,minmax(40%, 1fr));
  grid-gap: 30px;
}

.card .row .col {
  position: relative;
  width: 100%;
  margin: 30px 20px 40px 0;
  transition: 0.5s;
}

.card .row .form-group {
  position: relative;
  width: 100%;
  height: 40px;
  color: #ffffff;
}

.card .row .form-group input,
.card .row .form-group textarea {
  position: absolute;
  width: 90%;
  height: 100%;
  background: transparent;
  outline: none;
  font-size: 24px;
  padding: 10px 0 10px 20px;
  border: 5px solid rgba(0, 0, 0, 0.3);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.3);
  color: rgba(0, 0, 0, 0.3);
  border-radius: 50px;
}

.card .row .form-group label {
  line-height: 40px;
  color: rgba(0, 0, 0, 0.3);
  font-size: 24px;
  margin: 0 0 0 30px;
  display: block;
  pointer-events: none;
}

.row .col:nth-child(6) {
  margin-top: 64px;
}

.card .row .form-group input:focus,
.card .row .form-group textarea:focus {
  border: 5px solid #ffffff;
  transition: all 0.5s;
}

.card .row input[type="submit"] {
  border: 5px solid rgba(0, 0, 0, 0.3);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.3);
  padding: 10px;
  height: 100%;
  width: 50%;
  cursor: pointer;
  outline: none;
  background: transparent;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.3);
  line-height: 40px;
  font-size: 24px;
  font-weight: 700;
  border-radius: 45px;
  transition: all 0.4s;
}

.card .row input[type="submit"]:hover {
  border: 5px solid rgba(255, 255, 255, 1);
  color: rgba(0, 0, 0, 0.3);
  transition: all 0.4s;
}

@media screen and (max-width: 900px) {
  .card .row {
    grid-template-columns: repeat(auto-fit,minmax(70%, 1fr));
  }
  
  .card {
    padding: 20px;
  }
  
  .card h2 {
    font-size: 34px;
  }
  
  .card .row input[type="submit"] {
    width: 100%;
  }
}